mirror of
https://github.com/evennia/evennia.git
synced 2026-04-04 23:17:17 +02:00
Limit connection wizard to game index only for now
This commit is contained in:
parent
aef294e1c6
commit
12f001104e
1 changed files with 8 additions and 5 deletions
|
|
@ -8,6 +8,7 @@ import pprint
|
|||
from django.conf import settings
|
||||
from evennia.utils.utils import list_to_string, mod_import
|
||||
|
||||
|
||||
class ConnectionWizard(object):
|
||||
|
||||
def __init__(self):
|
||||
|
|
@ -169,11 +170,13 @@ def node_start(wizard):
|
|||
Use `quit` at any time to abort and throw away unsaved changes.
|
||||
"""
|
||||
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, {}),
|
||||
"2": ("Add MSSP information (for mud-list crawlers)",
|
||||
node_mssp_start, {}),
|
||||
"3": ("View and Save created settings",
|
||||
# "2": ("Add MSSP information (for mud-list crawlers)",
|
||||
# node_mssp_start, {}),
|
||||
# "3": ("Add Grapevine listing",
|
||||
# node_grapevine_start, {}),
|
||||
"2": ("View and Save created settings",
|
||||
node_view_and_apply_settings, {}),
|
||||
}
|
||||
|
||||
|
|
@ -203,6 +206,7 @@ def node_game_index_start(wizard, **kwargs):
|
|||
else:
|
||||
node_start(wizard)
|
||||
|
||||
|
||||
def node_game_index_fields(wizard, status=None):
|
||||
|
||||
# reset the listing if needed
|
||||
|
|
@ -473,4 +477,3 @@ def node_view_and_apply_settings(wizard):
|
|||
wizard.display("... cancelled.")
|
||||
wizard.ask_continue()
|
||||
node_start(wizard)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue