From da51d5fc1f46a77d6015246c0f69a31f444b8809 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 20 Jun 2021 11:18:55 +0200 Subject: [PATCH] Changed clickable help-links to default to True --- evennia/commands/default/help.py | 9 ++++----- evennia/settings_default.py | 4 ++-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/evennia/commands/default/help.py b/evennia/commands/default/help.py index 93201f07db..5354440f4a 100644 --- a/evennia/commands/default/help.py +++ b/evennia/commands/default/help.py @@ -17,7 +17,6 @@ from evennia.utils import create, evmore from evennia.utils.ansi import ANSIString from evennia.help.filehelp import FILE_HELP_ENTRIES from evennia.utils.eveditor import EvEditor -from evennia.utils.evmenu import ask_yes_no from evennia.utils.utils import ( class_from_module, inherits_from, @@ -204,14 +203,14 @@ class CmdHelp(COMMAND_DEFAULT_CLASS): be titled with the category name or not. While pointless in a general index, the title should probably show when explicitly listing the category itself. - click_topics (bool, optional): Should help topics be clickable. Default is True. - + click_topics (bool, optional): If help-topics are clickable or not + (for webclient or telnet clients with MXP support). Returns: str: The help index organized into a grid. - Notes + Notes: The input are the pre-loaded help files for commands and database-helpfiles - respectively. You can override this method to return a custom display of the list of + respectively. You can override this method to return a custom display of the list of commands and topics. """ diff --git a/evennia/settings_default.py b/evennia/settings_default.py index 227d3db96c..36bc7e5377 100644 --- a/evennia/settings_default.py +++ b/evennia/settings_default.py @@ -615,8 +615,8 @@ DEFAULT_HELP_CATEGORY = "general" # entries. They can be used together with in-database entries created in-game. FILE_HELP_ENTRY_MODULES = ["world.help_entries"] # if topics listed in help should be clickable -# clickable links only work on clients that support MXP -HELP_CLICKABLE_TOPICS = False +# clickable links only work on clients that support MXP. +HELP_CLICKABLE_TOPICS = True ###################################################################### # FuncParser