Limit connection wizard to game index only for now
This commit is contained in:
parent
1172067afc
commit
670bfe3641
1 changed files with 8 additions and 5 deletions
|
|
@ -8,6 +8,7 @@ import pprint
|
||||||
from django.conf import settings
|
from django.conf import settings
|
||||||
from evennia.utils.utils import list_to_string, mod_import
|
from evennia.utils.utils import list_to_string, mod_import
|
||||||
|
|
||||||
|
|
||||||
class ConnectionWizard(object):
|
class ConnectionWizard(object):
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
@ -169,11 +170,13 @@ def node_start(wizard):
|
||||||
Use `quit` at any time to abort and throw away unsaved changes.
|
Use `quit` at any time to abort and throw away unsaved changes.
|
||||||
"""
|
"""
|
||||||
options = {
|
options = {
|
||||||
"1": ("Add game to Evennia game index (also for closed-dev games)",
|
"1": ("Add your game to the Evennia game index (also for closed-dev games)",
|
||||||
node_game_index_start, {}),
|
node_game_index_start, {}),
|
||||||
"2": ("Add MSSP information (for mud-list crawlers)",
|
# "2": ("Add MSSP information (for mud-list crawlers)",
|
||||||
node_mssp_start, {}),
|
# node_mssp_start, {}),
|
||||||
"3": ("View and Save created settings",
|
# "3": ("Add Grapevine listing",
|
||||||
|
# node_grapevine_start, {}),
|
||||||
|
"2": ("View and Save created settings",
|
||||||
node_view_and_apply_settings, {}),
|
node_view_and_apply_settings, {}),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -203,6 +206,7 @@ def node_game_index_start(wizard, **kwargs):
|
||||||
else:
|
else:
|
||||||
node_start(wizard)
|
node_start(wizard)
|
||||||
|
|
||||||
|
|
||||||
def node_game_index_fields(wizard, status=None):
|
def node_game_index_fields(wizard, status=None):
|
||||||
|
|
||||||
# reset the listing if needed
|
# reset the listing if needed
|
||||||
|
|
@ -473,4 +477,3 @@ def node_view_and_apply_settings(wizard):
|
||||||
wizard.display("... cancelled.")
|
wizard.display("... cancelled.")
|
||||||
wizard.ask_continue()
|
wizard.ask_continue()
|
||||||
node_start(wizard)
|
node_start(wizard)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue