From b092cbba9a94e47353b073622ba6794fc3586c4f Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 25 Apr 2021 00:29:47 +0200 Subject: [PATCH] Updated HTML docs --- docs/0.9.5/.buildinfo | 2 +- .../api/evennia.commands.default.admin.html | 2 +- .../evennia.commands.default.building.html | 8 +- .../api/evennia.commands.default.comms.html | 6 +- .../api/evennia.commands.default.general.html | 6 +- .../api/evennia.commands.default.system.html | 4 +- .../evennia.commands.default.unloggedin.html | 6 +- docs/0.9.5/api/evennia.contrib.barter.html | 2 +- docs/0.9.5/api/evennia.contrib.clothing.html | 2 +- .../api/evennia.contrib.email_login.html | 6 +- .../evennia.contrib.turnbattle.tb_basic.html | 2 +- .../evennia.contrib.turnbattle.tb_equip.html | 2 +- .../evennia.contrib.turnbattle.tb_items.html | 2 +- .../evennia.contrib.turnbattle.tb_magic.html | 2 +- .../evennia.contrib.turnbattle.tb_range.html | 2 +- ...b.tutorial_examples.cmdset_red_button.html | 4 +- ...vennia.contrib.tutorial_world.objects.html | 8 +- .../evennia.contrib.tutorial_world.rooms.html | 4 +- docs/0.9.5/api/evennia.utils.eveditor.html | 2 +- docs/0.9.5/api/evennia.utils.evmore.html | 2 +- docs/1.0-dev/.buildinfo | 2 +- docs/1.0-dev/Components/FuncParser.html | 9 +- .../_modules/evennia/accounts/accounts.html | 2 +- .../_modules/evennia/commands/command.html | 14 +- .../_modules/evennia/contrib/rpsystem.html | 8 +- .../_modules/evennia/objects/objects.html | 6 +- .../evennia/prototypes/prototypes.html | 6 +- .../_modules/evennia/server/deprecations.html | 2 +- .../evennia/server/portal/portal.html | 2 +- .../_modules/evennia/server/server.html | 9 +- .../evennia/server/sessionhandler.html | 2 +- .../_modules/evennia/utils/evmenu.html | 170 +++++++++++++++++- .../_sources/Components/FuncParser.md.txt | 12 +- .../1.0-dev/api/evennia.commands.command.html | 14 +- .../api/evennia.commands.default.account.html | 4 +- .../api/evennia.commands.default.admin.html | 4 +- ...evennia.commands.default.batchprocess.html | 4 +- .../evennia.commands.default.building.html | 8 +- .../api/evennia.commands.default.comms.html | 8 +- .../api/evennia.commands.default.general.html | 20 +-- .../api/evennia.commands.default.system.html | 4 +- .../evennia.commands.default.unloggedin.html | 8 +- docs/1.0-dev/api/evennia.contrib.chargen.html | 4 +- .../api/evennia.contrib.email_login.html | 8 +- .../evennia.contrib.evscaperoom.commands.html | 24 +-- .../api/evennia.contrib.extended_room.html | 4 +- ...vennia.contrib.ingame_python.commands.html | 4 +- .../1.0-dev/api/evennia.contrib.rpsystem.html | 10 +- .../evennia.contrib.turnbattle.tb_basic.html | 4 +- .../evennia.contrib.turnbattle.tb_equip.html | 4 +- .../evennia.contrib.turnbattle.tb_items.html | 4 +- .../evennia.contrib.turnbattle.tb_magic.html | 4 +- .../evennia.contrib.turnbattle.tb_range.html | 4 +- ....contrib.tutorial_examples.red_button.html | 16 +- ...vennia.contrib.tutorial_world.objects.html | 16 +- .../evennia.contrib.tutorial_world.rooms.html | 12 +- docs/1.0-dev/api/evennia.utils.eveditor.html | 4 +- docs/1.0-dev/api/evennia.utils.evmenu.html | 137 ++++++++++++++ docs/1.0-dev/api/evennia.utils.evmore.html | 4 +- docs/1.0-dev/genindex.html | 42 ++++- docs/1.0-dev/objects.inv | Bin 84490 -> 84587 bytes docs/1.0-dev/searchindex.js | 2 +- 62 files changed, 528 insertions(+), 171 deletions(-) diff --git a/docs/0.9.5/.buildinfo b/docs/0.9.5/.buildinfo index 890a721a78..c53b00fbca 100644 --- a/docs/0.9.5/.buildinfo +++ b/docs/0.9.5/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: e6e50d960095d686adee5bba2606fc00 +config: e2e36286f12af4d61c234efb18b404f9 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/0.9.5/api/evennia.commands.default.admin.html b/docs/0.9.5/api/evennia.commands.default.admin.html index b0e3dc9578..3e77e62100 100644 --- a/docs/0.9.5/api/evennia.commands.default.admin.html +++ b/docs/0.9.5/api/evennia.commands.default.admin.html @@ -238,7 +238,7 @@ to accounts respectively.

-aliases = ['remit', 'pemit']
+aliases = ['pemit', 'remit']
diff --git a/docs/0.9.5/api/evennia.commands.default.building.html b/docs/0.9.5/api/evennia.commands.default.building.html index 07b2735ac5..43e0f73d42 100644 --- a/docs/0.9.5/api/evennia.commands.default.building.html +++ b/docs/0.9.5/api/evennia.commands.default.building.html @@ -493,7 +493,7 @@ You can specify the /force switch to bypass this confirmation.

-aliases = ['delete', 'del']
+aliases = ['del', 'delete']
@@ -1182,7 +1182,7 @@ server settings.

-aliases = ['swap', 'parent', 'update', 'type']
+aliases = ['parent', 'swap', 'type', 'update']
@@ -1351,7 +1351,7 @@ If object is not specified, the current location is examined.

-aliases = ['ex', 'exam']
+aliases = ['exam', 'ex']
@@ -1477,7 +1477,7 @@ one is given.

-aliases = ['locate', 'search']
+aliases = ['search', 'locate']
diff --git a/docs/0.9.5/api/evennia.commands.default.comms.html b/docs/0.9.5/api/evennia.commands.default.comms.html index 7314fd7b7f..01abedc804 100644 --- a/docs/0.9.5/api/evennia.commands.default.comms.html +++ b/docs/0.9.5/api/evennia.commands.default.comms.html @@ -63,7 +63,7 @@ aliases to an already joined channel.

-aliases = ['aliaschan', 'chanalias']
+aliases = ['chanalias', 'aliaschan']
@@ -115,7 +115,7 @@ for that channel.

-aliases = ['delchanalias', 'delaliaschan']
+aliases = ['delaliaschan', 'delchanalias']
@@ -218,7 +218,7 @@ Use addcom/delcom to join and leave channels

-aliases = ['clist', 'all channels', 'channellist', 'chanlist', 'comlist']
+aliases = ['chanlist', 'channellist', 'clist', 'all channels', 'comlist']
diff --git a/docs/0.9.5/api/evennia.commands.default.general.html b/docs/0.9.5/api/evennia.commands.default.general.html index 2e89d1ba9f..924f317876 100644 --- a/docs/0.9.5/api/evennia.commands.default.general.html +++ b/docs/0.9.5/api/evennia.commands.default.general.html @@ -244,7 +244,7 @@ inv

-aliases = ['i', 'inv']
+aliases = ['inv', 'i']
@@ -590,7 +590,7 @@ automatically begin with your name.

-aliases = ['emote', ':']
+aliases = [':', 'emote']
@@ -644,7 +644,7 @@ which permission groups you are a member of.

-aliases = ['hierarchy', 'groups']
+aliases = ['groups', 'hierarchy']
diff --git a/docs/0.9.5/api/evennia.commands.default.system.html b/docs/0.9.5/api/evennia.commands.default.system.html index 93071cf620..fed7146990 100644 --- a/docs/0.9.5/api/evennia.commands.default.system.html +++ b/docs/0.9.5/api/evennia.commands.default.system.html @@ -293,7 +293,7 @@ required since whole classes of scripts often have the same name.

-aliases = ['globalscript', 'listscripts']
+aliases = ['listscripts', 'globalscript']
@@ -348,7 +348,7 @@ given, <nr> defaults to 10.

-aliases = ['db', 'listobjects', 'stats', 'listobjs']
+aliases = ['listobjs', 'db', 'stats', 'listobjects']
diff --git a/docs/0.9.5/api/evennia.commands.default.unloggedin.html b/docs/0.9.5/api/evennia.commands.default.unloggedin.html index 029e1ec2ba..a7ba59c826 100644 --- a/docs/0.9.5/api/evennia.commands.default.unloggedin.html +++ b/docs/0.9.5/api/evennia.commands.default.unloggedin.html @@ -58,7 +58,7 @@ connect “account name” “pass word”

-aliases = ['co', 'conn', 'con']
+aliases = ['con', 'conn', 'co']
@@ -207,7 +207,7 @@ All it does is display the connect screen.

-aliases = ['look', 'l']
+aliases = ['l', 'look']
@@ -251,7 +251,7 @@ for simplicity. It shows a pane of info.

-aliases = ['h', '?']
+aliases = ['?', 'h']
diff --git a/docs/0.9.5/api/evennia.contrib.barter.html b/docs/0.9.5/api/evennia.contrib.barter.html index 903c6a9849..d8ed59a894 100644 --- a/docs/0.9.5/api/evennia.contrib.barter.html +++ b/docs/0.9.5/api/evennia.contrib.barter.html @@ -650,7 +650,7 @@ try to influence the other part in the deal.

-aliases = ['offers', 'deal']
+aliases = ['deal', 'offers']
diff --git a/docs/0.9.5/api/evennia.contrib.clothing.html b/docs/0.9.5/api/evennia.contrib.clothing.html index 7037242b2f..b88480403e 100644 --- a/docs/0.9.5/api/evennia.contrib.clothing.html +++ b/docs/0.9.5/api/evennia.contrib.clothing.html @@ -597,7 +597,7 @@ inv

-aliases = ['i', 'inv']
+aliases = ['inv', 'i']
diff --git a/docs/0.9.5/api/evennia.contrib.email_login.html b/docs/0.9.5/api/evennia.contrib.email_login.html index 6da519dae0..4429f4be20 100644 --- a/docs/0.9.5/api/evennia.contrib.email_login.html +++ b/docs/0.9.5/api/evennia.contrib.email_login.html @@ -73,7 +73,7 @@ the module given by settings.CONNECTION_SCREEN_MODULE.

-aliases = ['co', 'conn', 'con']
+aliases = ['con', 'conn', 'co']
@@ -210,7 +210,7 @@ All it does is display the connect screen.

-aliases = ['look', 'l']
+aliases = ['l', 'look']
@@ -249,7 +249,7 @@ for simplicity. It shows a pane of info.

-aliases = ['h', '?']
+aliases = ['?', 'h']
diff --git a/docs/0.9.5/api/evennia.contrib.turnbattle.tb_basic.html b/docs/0.9.5/api/evennia.contrib.turnbattle.tb_basic.html index 697aed5087..52c32bffe5 100644 --- a/docs/0.9.5/api/evennia.contrib.turnbattle.tb_basic.html +++ b/docs/0.9.5/api/evennia.contrib.turnbattle.tb_basic.html @@ -559,7 +559,7 @@ if there are still any actions you can take.

-aliases = ['hold', 'wait']
+aliases = ['wait', 'hold']
diff --git a/docs/0.9.5/api/evennia.contrib.turnbattle.tb_equip.html b/docs/0.9.5/api/evennia.contrib.turnbattle.tb_equip.html index 8275cb9482..3ee48e7e0e 100644 --- a/docs/0.9.5/api/evennia.contrib.turnbattle.tb_equip.html +++ b/docs/0.9.5/api/evennia.contrib.turnbattle.tb_equip.html @@ -676,7 +676,7 @@ if there are still any actions you can take.

-aliases = ['hold', 'wait']
+aliases = ['wait', 'hold']
diff --git a/docs/0.9.5/api/evennia.contrib.turnbattle.tb_items.html b/docs/0.9.5/api/evennia.contrib.turnbattle.tb_items.html index dd5bc378dc..85135cbad3 100644 --- a/docs/0.9.5/api/evennia.contrib.turnbattle.tb_items.html +++ b/docs/0.9.5/api/evennia.contrib.turnbattle.tb_items.html @@ -710,7 +710,7 @@ if there are still any actions you can take.

-aliases = ['hold', 'wait']
+aliases = ['wait', 'hold']
diff --git a/docs/0.9.5/api/evennia.contrib.turnbattle.tb_magic.html b/docs/0.9.5/api/evennia.contrib.turnbattle.tb_magic.html index 6650ac1cef..ef49f7ee95 100644 --- a/docs/0.9.5/api/evennia.contrib.turnbattle.tb_magic.html +++ b/docs/0.9.5/api/evennia.contrib.turnbattle.tb_magic.html @@ -582,7 +582,7 @@ if there are still any actions you can take.

-aliases = ['hold', 'wait']
+aliases = ['wait', 'hold']
diff --git a/docs/0.9.5/api/evennia.contrib.turnbattle.tb_range.html b/docs/0.9.5/api/evennia.contrib.turnbattle.tb_range.html index 7cd74cd0dc..33d21a0459 100644 --- a/docs/0.9.5/api/evennia.contrib.turnbattle.tb_range.html +++ b/docs/0.9.5/api/evennia.contrib.turnbattle.tb_range.html @@ -994,7 +994,7 @@ if there are still any actions you can take.

-aliases = ['hold', 'wait']
+aliases = ['wait', 'hold']
diff --git a/docs/0.9.5/api/evennia.contrib.tutorial_examples.cmdset_red_button.html b/docs/0.9.5/api/evennia.contrib.tutorial_examples.cmdset_red_button.html index 5519177fb4..39645aba68 100644 --- a/docs/0.9.5/api/evennia.contrib.tutorial_examples.cmdset_red_button.html +++ b/docs/0.9.5/api/evennia.contrib.tutorial_examples.cmdset_red_button.html @@ -104,7 +104,7 @@ push the lid of the button away.

-aliases = ['press button', 'push', 'press']
+aliases = ['press button', 'press', 'push']
@@ -281,7 +281,7 @@ of causing the lamp to break.

-aliases = ['examine', 'ex', 'listen', 'feel', 'get', 'l']
+aliases = ['listen', 'ex', 'get', 'examine', 'l', 'feel']
diff --git a/docs/0.9.5/api/evennia.contrib.tutorial_world.objects.html b/docs/0.9.5/api/evennia.contrib.tutorial_world.objects.html index 4db85ecfb0..223e3938c4 100644 --- a/docs/0.9.5/api/evennia.contrib.tutorial_world.objects.html +++ b/docs/0.9.5/api/evennia.contrib.tutorial_world.objects.html @@ -350,7 +350,7 @@ of the object. We overload it with our own version.

-aliases = ['light', 'burn']
+aliases = ['burn', 'light']
@@ -476,7 +476,7 @@ shift green root up/down

-aliases = ['shiftroot', 'move', 'push', 'pull']
+aliases = ['pull', 'move', 'shiftroot', 'push']
@@ -524,7 +524,7 @@ yellow/green - horizontal roots

-aliases = ['press button', 'button', 'push button']
+aliases = ['press button', 'push button', 'button']
@@ -689,7 +689,7 @@ parry - forgoes your attack but will make you harder to hit on next

-aliases = ['defend', 'stab', 'bash', 'thrust', 'kill', 'parry', 'pierce', 'slash', 'fight', 'chop', 'hit']
+aliases = ['fight', 'stab', 'pierce', 'bash', 'chop', 'thrust', 'kill', 'slash', 'parry', 'hit', 'defend']
diff --git a/docs/0.9.5/api/evennia.contrib.tutorial_world.rooms.html b/docs/0.9.5/api/evennia.contrib.tutorial_world.rooms.html index 3aa12b93d7..40542929d4 100644 --- a/docs/0.9.5/api/evennia.contrib.tutorial_world.rooms.html +++ b/docs/0.9.5/api/evennia.contrib.tutorial_world.rooms.html @@ -672,7 +672,7 @@ if they fall off the bridge.

-aliases = ['h', '?']
+aliases = ['?', 'h']
@@ -819,7 +819,7 @@ to find something.

-aliases = ['search', 'fiddle', 'feel around', 'feel', 'l']
+aliases = ['fiddle', 'feel around', 'feel', 'l', 'search']
diff --git a/docs/0.9.5/api/evennia.utils.eveditor.html b/docs/0.9.5/api/evennia.utils.eveditor.html index 06f2086dd9..9f50aaef9c 100644 --- a/docs/0.9.5/api/evennia.utils.eveditor.html +++ b/docs/0.9.5/api/evennia.utils.eveditor.html @@ -264,7 +264,7 @@ indentation.

-aliases = [':DD', ':uu', ':i', ':q', ':y', ':!', ':j', ':q!', ':=', ':h', ':w', '::', ':>', ':echo', ':I', ':', ':f', ':S', ':dw', ':p', ':fd', ':A', ':x', ':u', ':wq', ':<', ':r', ':dd', ':UU', ':s', ':fi', ':::']
+aliases = [':dd', ':I', '::', ':DD', ':y', ':fd', ':S', ':!', ':i', ':s', ':::', ':A', ':<', ':', ':UU', ':h', ':u', ':wq', ':uu', ':fi', ':echo', ':q', ':w', ':>', ':f', ':p', ':r', ':j', ':x', ':=', ':dw', ':q!']
diff --git a/docs/0.9.5/api/evennia.utils.evmore.html b/docs/0.9.5/api/evennia.utils.evmore.html index e9e2f5d8a4..0c934de234 100644 --- a/docs/0.9.5/api/evennia.utils.evmore.html +++ b/docs/0.9.5/api/evennia.utils.evmore.html @@ -74,7 +74,7 @@ the caller.msg() construct every time the page is updated.

-aliases = ['q', 'abort', 't', 'top', 'a', 'n', 'b', 'next', 'quit', 'end', 'e', 'back']
+aliases = ['a', 'top', 't', 'end', 'b', 'quit', 'abort', 'back', 'q', 'n', 'e', 'next']
diff --git a/docs/1.0-dev/.buildinfo b/docs/1.0-dev/.buildinfo index cf454a4a17..f5ffcb307f 100644 --- a/docs/1.0-dev/.buildinfo +++ b/docs/1.0-dev/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: 85d1ba8a9d6142a720cf36c1f6eab249 +config: 7e6c40631e59488f9a8a623e87a463e3 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/1.0-dev/Components/FuncParser.html b/docs/1.0-dev/Components/FuncParser.html index 2d236a569a..0de54b42a9 100644 --- a/docs/1.0-dev/Components/FuncParser.html +++ b/docs/1.0-dev/Components/FuncParser.html @@ -39,6 +39,9 @@

The Inline Function Parser

+

+
+

The FuncParser extracts and executes ‘inline functions’ embedded in a string on the form $funcname(args, kwargs). Under the hood, this will @@ -106,7 +109,7 @@ Evennia expects you to do in a proper text editor, outside of the game, not from

Using the FuncParser

You can apply inline function parsing to any string. The -FuncParser is found in evennia.utils.funcparser.py.

+FuncParser is imported as evennia.utils.funcparser.

- + @@ -11805,6 +11831,8 @@
  • (evennia.utils.evmenu.EvMenuCmdSet attribute)
  • (evennia.utils.evmenu.InputCmdSet attribute) +
  • +
  • (evennia.utils.evmenu.YesNoQuestionCmdSet attribute)
  • node_apply_diff() (in module evennia.prototypes.menus) @@ -12669,6 +12697,8 @@
  • (evennia.utils.evmenu.EvMenuCmdSet attribute)
  • (evennia.utils.evmenu.InputCmdSet attribute) +
  • +
  • (evennia.utils.evmenu.YesNoQuestionCmdSet attribute)
  • (evennia.utils.evmore.CmdSetMore attribute)
  • @@ -12867,6 +12897,8 @@
  • (evennia.utils.evmenu.EvMenuCmdSet attribute)
  • (evennia.utils.evmenu.InputCmdSet attribute) +
  • +
  • (evennia.utils.evmenu.YesNoQuestionCmdSet attribute)
  • (evennia.utils.evmore.CmdSetMore attribute)
  • @@ -14233,6 +14265,8 @@
  • (evennia.utils.evmenu.CmdEvMenuNode attribute)
  • (evennia.utils.evmenu.CmdGetInput attribute) +
  • +
  • (evennia.utils.evmenu.CmdYesNoQuestion attribute)
  • (evennia.utils.evmore.CmdMore attribute)
  • @@ -17124,6 +17158,10 @@

    Y

    1
     2
     3
    @@ -133,7 +136,7 @@ available to the parser as you parse strings with it. It can either be

    to include and how they should be named. Do you want a callable to be available under more than one name? Just add it multiple times to the dict, with a different key.

  • A module or (more commonly) a python-path to a module. This module can define a dict -FUNCPARSER_CALLABLES = {"funcname": callable, ...} - this will be imported and used like ther dict above. +FUNCPARSER_CALLABLES = {"funcname": callable, ...} - this will be imported and used like the dict above. If no such variable is defined, every top-level function in the module (whose name doesn’t start with an underscore _) will be considered a suitable callable. The name of the function will be the $funcname by which it can be called.

  • @@ -174,7 +177,7 @@ is the raise_errors

    Here the callable will be called as

    1
     2
    _test('foo', bar='4', mydefault=2, myreserved=[1, 2, 3], 
    -      funcparser=<FuncParser>, raise_errrors=False) 
    +      funcparser=<FuncParser>, raise_errors=False) 
     

    The mydefault=2 kwarg could be overwritten if we made the call as $test(mydefault=...) diff --git a/docs/1.0-dev/_modules/evennia/accounts/accounts.html b/docs/1.0-dev/_modules/evennia/accounts/accounts.html index d1b0ae6394..e5086eb54e 100644 --- a/docs/1.0-dev/_modules/evennia/accounts/accounts.html +++ b/docs/1.0-dev/_modules/evennia/accounts/accounts.html @@ -1540,7 +1540,7 @@ ) ) result.append("\n\n |whelp|n - more commands") - result.append("\n |wooc <Text>|n - talk on public channel") + result.append("\n |wpublic <Text>|n - talk on public channel") charmax = _MAX_NR_CHARACTERS diff --git a/docs/1.0-dev/_modules/evennia/commands/command.html b/docs/1.0-dev/_modules/evennia/commands/command.html index b374babe4d..feced9619c 100644 --- a/docs/1.0-dev/_modules/evennia/commands/command.html +++ b/docs/1.0-dev/_modules/evennia/commands/command.html @@ -58,6 +58,13 @@ from evennia.utils.ansi import ANSIString +

    [docs]class InterruptCommand(Exception): + + """Cleanly interrupt a command.""" + + pass
    + + def _init_command(cls, **kwargs): """ Helper command. @@ -708,13 +715,6 @@ if "mode" not in kwargs: kwargs["mode"] = "footer" return self._render_decoration(*args, **kwargs)
    - - -
    [docs]class InterruptCommand(Exception): - - """Cleanly interrupt a command.""" - - pass
    diff --git a/docs/1.0-dev/_modules/evennia/contrib/rpsystem.html b/docs/1.0-dev/_modules/evennia/contrib/rpsystem.html index 93f1ec90de..485fa3a3ba 100644 --- a/docs/1.0-dev/_modules/evennia/contrib/rpsystem.html +++ b/docs/1.0-dev/_modules/evennia/contrib/rpsystem.html @@ -523,7 +523,7 @@ return string, mapping -
    [docs]def send_emote(sender, receivers, emote, anonymous_add="first"): +
    [docs]def send_emote(sender, receivers, emote, anonymous_add="first", **kwargs): """ Main access function for distribute an emote. @@ -551,7 +551,9 @@ # we escape the object mappings since we'll do the language ones first # (the text could have nested object mappings). emote = _RE_REF.sub(r"{{#\1}}", emote) - + # if anonymous_add is passed as a kwarg, collect and remove it from kwargs + if 'anonymous_add' in kwargs: + anonymous_add = kwargs.pop('anonymous_add') if anonymous_add and not "#%i" % sender.id in obj_mapping: # no self-reference in the emote - add to the end key = "#%i" % sender.id @@ -609,7 +611,7 @@ receiver_sdesc_mapping[rkey] = process_sdesc(receiver.key, receiver) # do the template replacement of the sdesc/recog {#num} markers - receiver.msg(sendemote.format(**receiver_sdesc_mapping))
    + receiver.msg(sendemote.format(**receiver_sdesc_mapping), from_obj=sender, **kwargs)
    # ------------------------------------------------------------ diff --git a/docs/1.0-dev/_modules/evennia/objects/objects.html b/docs/1.0-dev/_modules/evennia/objects/objects.html index 9bca109ab9..d1db9b4e36 100644 --- a/docs/1.0-dev/_modules/evennia/objects/objects.html +++ b/docs/1.0-dev/_modules/evennia/objects/objects.html @@ -716,7 +716,7 @@ logger.log_trace() kwargs["options"] = options try: - if not self.at_msg_receive(text=text, **kwargs): + if not self.at_msg_receive(text=text, from_obj=from_obj, **kwargs): # if at_msg_receive returns false, we abort message to this object return except Exception: @@ -1561,7 +1561,7 @@ } ) - location.msg_contents(string, exclude=(self,), mapping=mapping) + location.msg_contents(string, exclude=(self,), from_obj=self, mapping=mapping)
    [docs] def announce_move_to(self, source_location, msg=None, mapping=None, **kwargs): """ @@ -1623,7 +1623,7 @@ } ) - destination.msg_contents(string, exclude=(self,), mapping=mapping)
    + destination.msg_contents(string, exclude=(self,), from_obj=self, mapping=mapping)
    [docs] def at_after_move(self, source_location, **kwargs): """ diff --git a/docs/1.0-dev/_modules/evennia/prototypes/prototypes.html b/docs/1.0-dev/_modules/evennia/prototypes/prototypes.html index 5311a89be7..ef29d57388 100644 --- a/docs/1.0-dev/_modules/evennia/prototypes/prototypes.html +++ b/docs/1.0-dev/_modules/evennia/prototypes/prototypes.html @@ -425,10 +425,12 @@ else: mod_matches = _MODULE_PROTOTYPES + allow_fuzzy = True if key: if key in mod_matches: # exact match module_prototypes = [mod_matches[key]] + allow_fuzzy = False else: # fuzzy matching module_prototypes = [ @@ -452,7 +454,7 @@ if key: # exact or partial match on key exact_match = db_matches.filter(Q(db_key__iexact=key)).order_by("db_key") - if not exact_match: + if not exact_match and allow_fuzzy: # try with partial match instead db_matches = db_matches.filter(Q(db_key__icontains=key)).order_by("db_key") else: @@ -469,7 +471,7 @@ nmodules = len(module_prototypes) ndbprots = db_matches.count() if nmodules + ndbprots != 1: - raise KeyError(f"Found {nmodules + ndbprots} matching prototypes.") + raise KeyError(f"Found {nmodules + ndbprots} matching prototypes {module_prototypes}.") if return_iterators: # trying to get the entire set of prototypes - we must paginate diff --git a/docs/1.0-dev/_modules/evennia/server/deprecations.html b/docs/1.0-dev/_modules/evennia/server/deprecations.html index d5b5651b42..bbb979bb66 100644 --- a/docs/1.0-dev/_modules/evennia/server/deprecations.html +++ b/docs/1.0-dev/_modules/evennia/server/deprecations.html @@ -106,7 +106,7 @@ "replaces and generalizes that which inlinefuncs used to do).") if hasattr(settings, "INLINEFUNC_ENABLED"): raise DeprecationWarning(depstring.format( - "settings.INLINEFUNC_ENABLED", "FUNCPARSER_PARSE_OUTGOING_MESSAGES_ENABLE")) + "settings.INLINEFUNC_ENABLED", "FUNCPARSER_PARSE_OUTGOING_MESSAGES_ENABLED")) if hasattr(settings, "INLINEFUNC_STACK_MAXSIZE"): raise DeprecationWarning(depstring.format( "settings.INLINEFUNC_STACK_MAXSIZE", "FUNCPARSER_MAX_NESTING")) diff --git a/docs/1.0-dev/_modules/evennia/server/portal/portal.html b/docs/1.0-dev/_modules/evennia/server/portal/portal.html index ffbcb8ad5f..ddf4958c25 100644 --- a/docs/1.0-dev/_modules/evennia/server/portal/portal.html +++ b/docs/1.0-dev/_modules/evennia/server/portal/portal.html @@ -161,7 +161,7 @@ _MAINTENANCE_COUNT += 1 - if _MAINTENANCE_COUNT % (3600 * 7) == 0: + if _MAINTENANCE_COUNT % (60 * 7) == 0: # drop database connection every 7 hrs to avoid default timeouts on MySQL # (see https://github.com/evennia/evennia/issues/1376) connection.close() diff --git a/docs/1.0-dev/_modules/evennia/server/server.html b/docs/1.0-dev/_modules/evennia/server/server.html index 4902e16eea..231c759279 100644 --- a/docs/1.0-dev/_modules/evennia/server/server.html +++ b/docs/1.0-dev/_modules/evennia/server/server.html @@ -182,13 +182,16 @@ _GAMETIME_MODULE.SERVER_RUNTIME_LAST_UPDATED = now ServerConfig.objects.conf("runtime", _GAMETIME_MODULE.SERVER_RUNTIME) - if _MAINTENANCE_COUNT % 300 == 0: + if _MAINTENANCE_COUNT % 5 == 0: # check cache size every 5 minutes _FLUSH_CACHE(_IDMAPPER_CACHE_MAXSIZE) - if _MAINTENANCE_COUNT % 3700 == 0: + if _MAINTENANCE_COUNT % 60 == 0: + # validate scripts every hour + evennia.ScriptDB.objects.validate() + if _MAINTENANCE_COUNT % 61 == 0: # validate channels off-sync with scripts evennia.CHANNEL_HANDLER.update() - if _MAINTENANCE_COUNT % (3600 * 7) == 0: + if _MAINTENANCE_COUNT % (60 * 7) == 0: # drop database connection every 7 hrs to avoid default timeouts on MySQL # (see https://github.com/evennia/evennia/issues/1376) connection.close() diff --git a/docs/1.0-dev/_modules/evennia/server/sessionhandler.html b/docs/1.0-dev/_modules/evennia/server/sessionhandler.html index ceb026d560..dccc6fb904 100644 --- a/docs/1.0-dev/_modules/evennia/server/sessionhandler.html +++ b/docs/1.0-dev/_modules/evennia/server/sessionhandler.html @@ -219,7 +219,7 @@ global _FUNCPARSER if not _FUNCPARSER: from evennia.utils.funcparser import FuncParser - _FUNCPARSER = FuncParser(settings.FUNCPARSER_OUTGOING_MESSAGES_MODULE, raise_errors=True) + _FUNCPARSER = FuncParser(settings.FUNCPARSER_OUTGOING_MESSAGES_MODULES, raise_errors=True) options = kwargs.pop("options", None) or {} raw = options.get("raw", False) diff --git a/docs/1.0-dev/_modules/evennia/utils/evmenu.html b/docs/1.0-dev/_modules/evennia/utils/evmenu.html index 0f20d32a10..80932353a7 100644 --- a/docs/1.0-dev/_modules/evennia/utils/evmenu.html +++ b/docs/1.0-dev/_modules/evennia/utils/evmenu.html @@ -1596,7 +1596,7 @@ self.add(CmdGetInput())
    -class _Prompt(object): +class _Prompt: """Dummy holder""" pass @@ -1663,6 +1663,174 @@ caller.msg(prompt, session=session) +
    [docs]class CmdYesNoQuestion(Command): + """ + Handle a prompt for yes or no. Press [return] for the default choice. + + """ + + key = _CMD_NOINPUT + aliases = [_CMD_NOMATCH, "yes", "no", 'y', 'n', 'a', 'abort'] + arg_regex = r"^$" + + def _clean(self): + del self.caller.ndb._yes_no_question + self.caller.cmdset.remove(YesNoQuestionCmdSet) + + +
    [docs] def func(self): + """This is called when user enters anything.""" + caller = self.caller + try: + yes_no_question = caller.ndb._yes_no_question + if not yes_no_question and hasattr(caller, "account"): + yes_no_question = caller.account.ndb._yes_no_question + caller = caller.account + + inp = self.cmdname + + if inp == _CMD_NOINPUT: + raw = self.raw_cmdname.strip() + if not raw: + # use default + inp = yes_no_question.default + else: + inp = raw + + if inp in ('a', 'abort') and yes_no_question.allow_abort: + caller.msg("Aborted.") + self._clean() + return + + caller.ndb._yes_no_question.session = self.session + + args = yes_no_question.args + kwargs = yes_no_question.kwargs + kwargs['caller_session'] = self.session + + ok = False + if inp in ('yes', 'y'): + yes_no_question.yes_callable(caller, *args, **kwargs) + elif inp in ('no', 'n'): + yes_no_question.no_callable(caller, *args, **kwargs) + else: + # invalid input. Resend prompt without cleaning + caller.msg(yes_no_question.prompt, session=self.session) + return + + # cleanup + self._clean() + except Exception: + # make sure to clean up cmdset if something goes wrong + caller.msg("|rError in ask_yes_no. Choice not confirmed (report to admin)|n") + logger.log_trace("Error in ask_yes_no") + self._clean()
    + + +
    [docs]class YesNoQuestionCmdSet(CmdSet): + """ + This stores the input command + """ + + key = "yes_no_question_cmdset" + priority = 1 + mergetype = "Replace" + no_objs = True + no_exits = True + no_channels = False + +
    [docs] def at_cmdset_creation(self): + """called once at creation""" + self.add(CmdYesNoQuestion())
    + + +
    [docs]def ask_yes_no(caller, prompt, yes_action, no_action, default=None, + allow_abort=False, session=None, *args, **kwargs): + """ + A helper question for asking a simple yes/no question. This will cause + the system to pause and wait for input from the player. + + Args: + prompt (str): The yes/no question to ask. This takes an optional formatting + marker `{suffix}` which will be filled with 'Y/N', [Y]/N or Y/[N] + depending on the setting of `default`. If `allow_abort`, then the + `A(bort)` will also be available. + yes_action (callable or str): If a callable, this will be called + with `(caller, *args, **kwargs) when the yes-choice is made. + If a string, this string will be echoed back to the caller. + no_action (callable or str): If a callable, this will be called + with `(caller, *args, **kwargs)` when the no-choice is made. + If a string, this string will be echoed back to the caller. + default (str optional): One of "N", "Y", "A" or None for no default. + If "A" is given, `allow_abort` is assumed set. The user can choose + the default option just by pressing return. + allow_abort (bool, optional): If set, the Q(uit) option is available, + which is neither yes or no. + session (Session, optional): This allows to specify the + session to send the prompt to. It's usually only needed if `caller` + is an Account in multisession modes greater than 2. The session is + then updated by the command and is available (for example in + callbacks) through `caller.ndb._yes_no_question.session`. + *args, **kwargs: These are passed into the callables, if any. + + Raises: + RuntimeError: If default and allow_abort clashes. + + Example: + + ask_yes_no(caller, "Are you happy {suffix}?", + "you answered yes", "you answered no") + ask_yes_no(caller, "Are you sad {suffix}?", + _callable_yes, _callable_no, allow_abort=True) + + """ + def _callable_yes_txt(caller, *args, **kwargs): + yes_txt = kwargs['yes_txt'] + session = kwargs['caller_session'] + caller.msg(yes_txt, session=session) + + def _callable_no_txt(caller, *args, **kwargs): + no_txt = kwargs['no_txt'] + session = kwargs['caller_session'] + caller.msg(no_txt, session=session) + + if not callable(yes_action): + kwargs['yes_txt'] = str(yes_action) + yes_action = _callable_yes_txt + + if not callable(no_action): + kwargs['no_txt'] = str(no_action) + no_action = _callable_no_txt + + # prepare the prompt with suffix + suffix = "Y/N" + abort_txt = "/Abort" if allow_abort else "" + if default: + default = default.lower() + if default == "y": + suffix = "[Y]/N" + elif default == "n": + suffix = "Y/[N]" + elif default == "a": + allow_abort = True + abort_txt = "/[A]bort" + suffix += abort_txt + prompt = prompt.format(suffix=suffix) + + caller.ndb._yes_no_question = _Prompt() + caller.ndb._yes_no_question.session = session + caller.ndb._yes_no_question.prompt = prompt + caller.ndb._yes_no_question.default = default + caller.ndb._yes_no_question.allow_abort = allow_abort + caller.ndb._yes_no_question.yes_callable = yes_action + caller.ndb._yes_no_question.no_callable = no_action + caller.ndb._yes_no_question.args = args + caller.ndb._yes_no_question.kwargs = kwargs + + caller.cmdset.add(YesNoQuestionCmdSet) + caller.msg(prompt, session=session)
    + + # ------------------------------------------------------------- # # Menu generation from menu template string diff --git a/docs/1.0-dev/_sources/Components/FuncParser.md.txt b/docs/1.0-dev/_sources/Components/FuncParser.md.txt index 696b20c3be..e17e23bf15 100644 --- a/docs/1.0-dev/_sources/Components/FuncParser.md.txt +++ b/docs/1.0-dev/_sources/Components/FuncParser.md.txt @@ -1,5 +1,9 @@ # The Inline Function Parser +``` + +``` + The [FuncParser](api:evennia.utils.funcparser#evennia.utils.funcparser.FuncParser) extracts and executes 'inline functions' embedded in a string on the form `$funcname(args, kwargs)`. Under the hood, this will @@ -65,7 +69,7 @@ The FuncParser can be applied to any string. Out of the box it's applied in a fe ## Using the FuncParser You can apply inline function parsing to any string. The -[FuncParser](api:evennia.utils.funcparser.FuncParser) is found in `evennia.utils.funcparser.py`. +[FuncParser](api:evennia.utils.funcparser.FuncParser) is imported as `evennia.utils.funcparser`. ```python from evennia.utils import funcparser @@ -85,7 +89,7 @@ available to the parser as you parse strings with it. It can either be to include and how they should be named. Do you want a callable to be available under more than one name? Just add it multiple times to the dict, with a different key. - A `module` or (more commonly) a `python-path` to a module. This module can define a dict - `FUNCPARSER_CALLABLES = {"funcname": callable, ...}` - this will be imported and used like ther `dict` above. + `FUNCPARSER_CALLABLES = {"funcname": callable, ...}` - this will be imported and used like the `dict` above. If no such variable is defined, _every_ top-level function in the module (whose name doesn't start with an underscore `_`) will be considered a suitable callable. The name of the function will be the `$funcname` by which it can be called. @@ -123,7 +127,7 @@ Here the callable will be called as ```python _test('foo', bar='4', mydefault=2, myreserved=[1, 2, 3], - funcparser=, raise_errrors=False) + funcparser=, raise_errors=False) ``` The `mydefault=2` kwarg could be overwritten if we made the call as `$test(mydefault=...)` @@ -379,4 +383,4 @@ all the defaults (like `$toint()`). The parsed result of the above would be something like this: This is the current uptime: - ------- 343 seconds ------- \ No newline at end of file + ------- 343 seconds ------- diff --git a/docs/1.0-dev/api/evennia.commands.command.html b/docs/1.0-dev/api/evennia.commands.command.html index ef24f2b097..0053d85388 100644 --- a/docs/1.0-dev/api/evennia.commands.command.html +++ b/docs/1.0-dev/api/evennia.commands.command.html @@ -41,6 +41,13 @@

    evennia.commands.command

    The base Command class.

    All commands in Evennia inherit from the ‘Command’ class in this module.

    +
    +
    +exception evennia.commands.command.InterruptCommand[source]
    +

    Bases: Exception

    +

    Cleanly interrupt a command.

    +
    +
    class evennia.commands.command.CommandMeta(*args, **kwargs)[source]
    @@ -434,13 +441,6 @@ detailing the contents of the table.

    -
    -
    -exception evennia.commands.command.InterruptCommand[source]
    -

    Bases: Exception

    -

    Cleanly interrupt a command.

    -
    - diff --git a/docs/1.0-dev/api/evennia.commands.default.account.html b/docs/1.0-dev/api/evennia.commands.default.account.html index 79fc4d4d79..d740d24319 100644 --- a/docs/1.0-dev/api/evennia.commands.default.account.html +++ b/docs/1.0-dev/api/evennia.commands.default.account.html @@ -70,7 +70,7 @@ method. Otherwise all text will be returned to all connected sessions.

    -aliases = ['l', 'ls']
    +aliases = ['ls', 'l']
    @@ -101,7 +101,7 @@ method. Otherwise all text will be returned to all connected sessions.

    -search_index_entry = {'aliases': 'l ls', 'category': 'general', 'key': 'look', 'tags': '', 'text': '\n look while out-of-character\n\n Usage:\n look\n\n Look in the ooc state.\n '}
    +search_index_entry = {'aliases': 'ls l', 'category': 'general', 'key': 'look', 'tags': '', 'text': '\n look while out-of-character\n\n Usage:\n look\n\n Look in the ooc state.\n '}
    diff --git a/docs/1.0-dev/api/evennia.commands.default.admin.html b/docs/1.0-dev/api/evennia.commands.default.admin.html index febf1ed115..ac7499b0de 100644 --- a/docs/1.0-dev/api/evennia.commands.default.admin.html +++ b/docs/1.0-dev/api/evennia.commands.default.admin.html @@ -254,7 +254,7 @@ to accounts respectively.

    -aliases = ['pemit', 'remit']
    +aliases = ['remit', 'pemit']
    @@ -285,7 +285,7 @@ to accounts respectively.

    -search_index_entry = {'aliases': 'pemit remit', 'category': 'admin', 'key': 'emit', 'tags': '', 'text': '\n admin command for emitting message to multiple objects\n\n Usage:\n emit[/switches] [<obj>, <obj>, ... =] <message>\n remit [<obj>, <obj>, ... =] <message>\n pemit [<obj>, <obj>, ... =] <message>\n\n Switches:\n room - limit emits to rooms only (default)\n accounts - limit emits to accounts only\n contents - send to the contents of matched objects too\n\n Emits a message to the selected objects or to\n your immediate surroundings. If the object is a room,\n send to its contents. remit and pemit are just\n limited forms of emit, for sending to rooms and\n to accounts respectively.\n '}
    +search_index_entry = {'aliases': 'remit pemit', 'category': 'admin', 'key': 'emit', 'tags': '', 'text': '\n admin command for emitting message to multiple objects\n\n Usage:\n emit[/switches] [<obj>, <obj>, ... =] <message>\n remit [<obj>, <obj>, ... =] <message>\n pemit [<obj>, <obj>, ... =] <message>\n\n Switches:\n room - limit emits to rooms only (default)\n accounts - limit emits to accounts only\n contents - send to the contents of matched objects too\n\n Emits a message to the selected objects or to\n your immediate surroundings. If the object is a room,\n send to its contents. remit and pemit are just\n limited forms of emit, for sending to rooms and\n to accounts respectively.\n '}
    diff --git a/docs/1.0-dev/api/evennia.commands.default.batchprocess.html b/docs/1.0-dev/api/evennia.commands.default.batchprocess.html index 90acc3491d..7720a7a54a 100644 --- a/docs/1.0-dev/api/evennia.commands.default.batchprocess.html +++ b/docs/1.0-dev/api/evennia.commands.default.batchprocess.html @@ -75,7 +75,7 @@ skipping, reloading etc.

    -aliases = ['batchcommand', 'batchcmd']
    +aliases = ['batchcmd', 'batchcommand']
    @@ -106,7 +106,7 @@ skipping, reloading etc.

    -search_index_entry = {'aliases': 'batchcommand batchcmd', 'category': 'building', 'key': 'batchcommands', 'tags': '', 'text': '\n build from batch-command file\n\n Usage:\n batchcommands[/interactive] <python.path.to.file>\n\n Switch:\n interactive - this mode will offer more control when\n executing the batch file, like stepping,\n skipping, reloading etc.\n\n Runs batches of commands from a batch-cmd text file (*.ev).\n\n '}
    +search_index_entry = {'aliases': 'batchcmd batchcommand', 'category': 'building', 'key': 'batchcommands', 'tags': '', 'text': '\n build from batch-command file\n\n Usage:\n batchcommands[/interactive] <python.path.to.file>\n\n Switch:\n interactive - this mode will offer more control when\n executing the batch file, like stepping,\n skipping, reloading etc.\n\n Runs batches of commands from a batch-cmd text file (*.ev).\n\n '}
    diff --git a/docs/1.0-dev/api/evennia.commands.default.building.html b/docs/1.0-dev/api/evennia.commands.default.building.html index d3f9e921ac..dafcecae3a 100644 --- a/docs/1.0-dev/api/evennia.commands.default.building.html +++ b/docs/1.0-dev/api/evennia.commands.default.building.html @@ -1268,7 +1268,7 @@ server settings.

    -aliases = ['update', 'parent', 'type', 'swap']
    +aliases = ['type', 'parent', 'update', 'swap']
    @@ -1299,7 +1299,7 @@ server settings.

    -search_index_entry = {'aliases': 'update parent type swap', 'category': 'building', 'key': 'typeclass', 'tags': '', 'text': "\n set or change an object's typeclass\n\n Usage:\n typeclass[/switch] <object> [= typeclass.path]\n typeclass/prototype <object> = prototype_key\n\n typeclass/list/show [typeclass.path]\n swap - this is a shorthand for using /force/reset flags.\n update - this is a shorthand for using the /force/reload flag.\n\n Switch:\n show, examine - display the current typeclass of object (default) or, if\n given a typeclass path, show the docstring of that typeclass.\n update - *only* re-run at_object_creation on this object\n meaning locks or other properties set later may remain.\n reset - clean out *all* the attributes and properties on the\n object - basically making this a new clean object.\n force - change to the typeclass also if the object\n already has a typeclass of the same name.\n list - show available typeclasses. Only typeclasses in modules actually\n imported or used from somewhere in the code will show up here\n (those typeclasses are still available if you know the path)\n prototype - clean and overwrite the object with the specified\n prototype key - effectively making a whole new object.\n\n Example:\n type button = examples.red_button.RedButton\n type/prototype button=a red button\n\n If the typeclass_path is not given, the current object's typeclass is\n assumed.\n\n View or set an object's typeclass. If setting, the creation hooks of the\n new typeclass will be run on the object. If you have clashing properties on\n the old class, use /reset. By default you are protected from changing to a\n typeclass of the same name as the one you already have - use /force to\n override this protection.\n\n The given typeclass must be identified by its location using python\n dot-notation pointing to the correct module and class. If no typeclass is\n given (or a wrong typeclass is given). Errors in the path or new typeclass\n will lead to the old typeclass being kept. The location of the typeclass\n module is searched from the default typeclass directory, as defined in the\n server settings.\n\n "}
    +search_index_entry = {'aliases': 'type parent update swap', 'category': 'building', 'key': 'typeclass', 'tags': '', 'text': "\n set or change an object's typeclass\n\n Usage:\n typeclass[/switch] <object> [= typeclass.path]\n typeclass/prototype <object> = prototype_key\n\n typeclass/list/show [typeclass.path]\n swap - this is a shorthand for using /force/reset flags.\n update - this is a shorthand for using the /force/reload flag.\n\n Switch:\n show, examine - display the current typeclass of object (default) or, if\n given a typeclass path, show the docstring of that typeclass.\n update - *only* re-run at_object_creation on this object\n meaning locks or other properties set later may remain.\n reset - clean out *all* the attributes and properties on the\n object - basically making this a new clean object.\n force - change to the typeclass also if the object\n already has a typeclass of the same name.\n list - show available typeclasses. Only typeclasses in modules actually\n imported or used from somewhere in the code will show up here\n (those typeclasses are still available if you know the path)\n prototype - clean and overwrite the object with the specified\n prototype key - effectively making a whole new object.\n\n Example:\n type button = examples.red_button.RedButton\n type/prototype button=a red button\n\n If the typeclass_path is not given, the current object's typeclass is\n assumed.\n\n View or set an object's typeclass. If setting, the creation hooks of the\n new typeclass will be run on the object. If you have clashing properties on\n the old class, use /reset. By default you are protected from changing to a\n typeclass of the same name as the one you already have - use /force to\n override this protection.\n\n The given typeclass must be identified by its location using python\n dot-notation pointing to the correct module and class. If no typeclass is\n given (or a wrong typeclass is given). Errors in the path or new typeclass\n will lead to the old typeclass being kept. The location of the typeclass\n module is searched from the default typeclass directory, as defined in the\n server settings.\n\n "}
    @@ -1452,7 +1452,7 @@ If object is not specified, the current location is examined.

    -aliases = ['ex', 'exam']
    +aliases = ['exam', 'ex']
    @@ -1549,7 +1549,7 @@ non-persistent data stored on object

    -search_index_entry = {'aliases': 'ex exam', 'category': 'building', 'key': 'examine', 'tags': '', 'text': '\n get detailed information about an object\n\n Usage:\n examine [<object>[/attrname]]\n examine [*<account>[/attrname]]\n\n Switch:\n account - examine an Account (same as adding *)\n object - examine an Object (useful when OOC)\n\n The examine command shows detailed game info about an\n object and optionally a specific attribute on it.\n If object is not specified, the current location is examined.\n\n Append a * before the search string to examine an account.\n\n '}
    +search_index_entry = {'aliases': 'exam ex', 'category': 'building', 'key': 'examine', 'tags': '', 'text': '\n get detailed information about an object\n\n Usage:\n examine [<object>[/attrname]]\n examine [*<account>[/attrname]]\n\n Switch:\n account - examine an Account (same as adding *)\n object - examine an Object (useful when OOC)\n\n The examine command shows detailed game info about an\n object and optionally a specific attribute on it.\n If object is not specified, the current location is examined.\n\n Append a * before the search string to examine an account.\n\n '}
    diff --git a/docs/1.0-dev/api/evennia.commands.default.comms.html b/docs/1.0-dev/api/evennia.commands.default.comms.html index 61df209298..9212a0e202 100644 --- a/docs/1.0-dev/api/evennia.commands.default.comms.html +++ b/docs/1.0-dev/api/evennia.commands.default.comms.html @@ -64,7 +64,7 @@ aliases to an already joined channel.

    -aliases = ['aliaschan', 'chanalias']
    +aliases = ['chanalias', 'aliaschan']
    @@ -95,7 +95,7 @@ aliases to an already joined channel.

    -search_index_entry = {'aliases': 'aliaschan chanalias', 'category': 'comms', 'key': 'addcom', 'tags': '', 'text': '\n add a channel alias and/or subscribe to a channel\n\n Usage:\n addcom [alias=] <channel>\n\n Joins a given channel. If alias is given, this will allow you to\n refer to the channel by this alias rather than the full channel\n name. Subsequent calls of this command can be used to add multiple\n aliases to an already joined channel.\n '}
    +search_index_entry = {'aliases': 'chanalias aliaschan', 'category': 'comms', 'key': 'addcom', 'tags': '', 'text': '\n add a channel alias and/or subscribe to a channel\n\n Usage:\n addcom [alias=] <channel>\n\n Joins a given channel. If alias is given, this will allow you to\n refer to the channel by this alias rather than the full channel\n name. Subsequent calls of this command can be used to add multiple\n aliases to an already joined channel.\n '}
    @@ -234,7 +234,7 @@ Use addcom/delcom to join and leave channels

    -aliases = ['channellist', 'chanlist', 'comlist', 'all channels', 'clist']
    +aliases = ['all channels', 'comlist', 'chanlist', 'clist', 'channellist']
    @@ -265,7 +265,7 @@ Use addcom/delcom to join and leave channels

    -search_index_entry = {'aliases': 'channellist chanlist comlist all channels clist', 'category': 'comms', 'key': 'channels', 'tags': '', 'text': "\n list all channels available to you\n\n Usage:\n channels\n clist\n comlist\n\n Lists all channels available to you, whether you listen to them or not.\n Use 'comlist' to only view your current channel subscriptions.\n Use addcom/delcom to join and leave channels\n "}
    +search_index_entry = {'aliases': 'all channels comlist chanlist clist channellist', 'category': 'comms', 'key': 'channels', 'tags': '', 'text': "\n list all channels available to you\n\n Usage:\n channels\n clist\n comlist\n\n Lists all channels available to you, whether you listen to them or not.\n Use 'comlist' to only view your current channel subscriptions.\n Use addcom/delcom to join and leave channels\n "}
    diff --git a/docs/1.0-dev/api/evennia.commands.default.general.html b/docs/1.0-dev/api/evennia.commands.default.general.html index dc148be34c..3b8f65f418 100644 --- a/docs/1.0-dev/api/evennia.commands.default.general.html +++ b/docs/1.0-dev/api/evennia.commands.default.general.html @@ -112,7 +112,7 @@ look *<account&g
    -aliases = ['l', 'ls']
    +aliases = ['ls', 'l']
    @@ -143,7 +143,7 @@ look *<account&g
    -search_index_entry = {'aliases': 'l ls', 'category': 'general', 'key': 'look', 'tags': '', 'text': '\n look at location or object\n\n Usage:\n look\n look <obj>\n look *<account>\n\n Observes your location or objects in your vicinity.\n '}
    +search_index_entry = {'aliases': 'ls l', 'category': 'general', 'key': 'look', 'tags': '', 'text': '\n look at location or object\n\n Usage:\n look\n look <obj>\n look *<account>\n\n Observes your location or objects in your vicinity.\n '}
    @@ -205,7 +205,7 @@ for everyone to use, you need build privileges and the alias command.

    -aliases = ['nickname', 'nicks']
    +aliases = ['nicks', 'nickname']
    @@ -237,7 +237,7 @@ for everyone to use, you need build privileges and the alias command.

    -search_index_entry = {'aliases': 'nickname nicks', 'category': 'general', 'key': 'nick', 'tags': '', 'text': '\n define a personal alias/nick by defining a string to\n match and replace it with another on the fly\n\n Usage:\n nick[/switches] <string> [= [replacement_string]]\n nick[/switches] <template> = <replacement_template>\n nick/delete <string> or number\n nicks\n\n Switches:\n inputline - replace on the inputline (default)\n object - replace on object-lookup\n account - replace on account-lookup\n list - show all defined aliases (also "nicks" works)\n delete - remove nick by index in /list\n clearall - clear all nicks\n\n Examples:\n nick hi = say Hello, I\'m Sarah!\n nick/object tom = the tall man\n nick build $1 $2 = create/drop $1;$2\n nick tell $1 $2=page $1=$2\n nick tm?$1=page tallman=$1\n nick tm\\=$1=page tallman=$1\n\n A \'nick\' is a personal string replacement. Use $1, $2, ... to catch arguments.\n Put the last $-marker without an ending space to catch all remaining text. You\n can also use unix-glob matching for the left-hand side <string>:\n\n * - matches everything\n ? - matches 0 or 1 single characters\n [abcd] - matches these chars in any order\n [!abcd] - matches everything not among these chars\n \\= - escape literal \'=\' you want in your <string>\n\n Note that no objects are actually renamed or changed by this command - your nicks\n are only available to you. If you want to permanently add keywords to an object\n for everyone to use, you need build privileges and the alias command.\n\n '}
    +search_index_entry = {'aliases': 'nicks nickname', 'category': 'general', 'key': 'nick', 'tags': '', 'text': '\n define a personal alias/nick by defining a string to\n match and replace it with another on the fly\n\n Usage:\n nick[/switches] <string> [= [replacement_string]]\n nick[/switches] <template> = <replacement_template>\n nick/delete <string> or number\n nicks\n\n Switches:\n inputline - replace on the inputline (default)\n object - replace on object-lookup\n account - replace on account-lookup\n list - show all defined aliases (also "nicks" works)\n delete - remove nick by index in /list\n clearall - clear all nicks\n\n Examples:\n nick hi = say Hello, I\'m Sarah!\n nick/object tom = the tall man\n nick build $1 $2 = create/drop $1;$2\n nick tell $1 $2=page $1=$2\n nick tm?$1=page tallman=$1\n nick tm\\=$1=page tallman=$1\n\n A \'nick\' is a personal string replacement. Use $1, $2, ... to catch arguments.\n Put the last $-marker without an ending space to catch all remaining text. You\n can also use unix-glob matching for the left-hand side <string>:\n\n * - matches everything\n ? - matches 0 or 1 single characters\n [abcd] - matches these chars in any order\n [!abcd] - matches everything not among these chars\n \\= - escape literal \'=\' you want in your <string>\n\n Note that no objects are actually renamed or changed by this command - your nicks\n are only available to you. If you want to permanently add keywords to an object\n for everyone to use, you need build privileges and the alias command.\n\n '}
    @@ -535,7 +535,7 @@ placing it in their inventory.

    -aliases = ["'", '"']
    +aliases = ['"', "'"]
    @@ -561,7 +561,7 @@ placing it in their inventory.

    -search_index_entry = {'aliases': '\' "', 'category': 'general', 'key': 'say', 'tags': '', 'text': '\n speak as your character\n\n Usage:\n say <message>\n\n Talk to those in your current location.\n '}
    +search_index_entry = {'aliases': '" \'', 'category': 'general', 'key': 'say', 'tags': '', 'text': '\n speak as your character\n\n Usage:\n say <message>\n\n Talk to those in your current location.\n '}
    @@ -641,7 +641,7 @@ automatically begin with your name.

    -aliases = ['emote', ':']
    +aliases = [':', 'emote']
    @@ -677,7 +677,7 @@ space.

    -search_index_entry = {'aliases': 'emote :', 'category': 'general', 'key': 'pose', 'tags': '', 'text': "\n strike a pose\n\n Usage:\n pose <pose text>\n pose's <pose text>\n\n Example:\n pose is standing by the wall, smiling.\n -> others will see:\n Tom is standing by the wall, smiling.\n\n Describe an action being taken. The pose text will\n automatically begin with your name.\n "}
    +search_index_entry = {'aliases': ': emote', 'category': 'general', 'key': 'pose', 'tags': '', 'text': "\n strike a pose\n\n Usage:\n pose <pose text>\n pose's <pose text>\n\n Example:\n pose is standing by the wall, smiling.\n -> others will see:\n Tom is standing by the wall, smiling.\n\n Describe an action being taken. The pose text will\n automatically begin with your name.\n "}
    @@ -700,7 +700,7 @@ which permission groups you are a member of.

    -aliases = ['hierarchy', 'groups']
    +aliases = ['groups', 'hierarchy']
    @@ -731,7 +731,7 @@ which permission groups you are a member of.

    -search_index_entry = {'aliases': 'hierarchy groups', 'category': 'general', 'key': 'access', 'tags': '', 'text': '\n show your current game access\n\n Usage:\n access\n\n This command shows you the permission hierarchy and\n which permission groups you are a member of.\n '}
    +search_index_entry = {'aliases': 'groups hierarchy', 'category': 'general', 'key': 'access', 'tags': '', 'text': '\n show your current game access\n\n Usage:\n access\n\n This command shows you the permission hierarchy and\n which permission groups you are a member of.\n '}
    diff --git a/docs/1.0-dev/api/evennia.commands.default.system.html b/docs/1.0-dev/api/evennia.commands.default.system.html index c43f0df4b9..0ecf13f4c2 100644 --- a/docs/1.0-dev/api/evennia.commands.default.system.html +++ b/docs/1.0-dev/api/evennia.commands.default.system.html @@ -385,7 +385,7 @@ given, <nr> defaults to 10.

    -aliases = ['stats', 'db', 'listobjs', 'listobjects']
    +aliases = ['listobjects', 'stats', 'listobjs', 'db']
    @@ -411,7 +411,7 @@ given, <nr> defaults to 10.

    -search_index_entry = {'aliases': 'stats db listobjs listobjects', 'category': 'system', 'key': 'objects', 'tags': '', 'text': '\n statistics on objects in the database\n\n Usage:\n objects [<nr>]\n\n Gives statictics on objects in database as well as\n a list of <nr> latest objects in database. If not\n given, <nr> defaults to 10.\n '}
    +search_index_entry = {'aliases': 'listobjects stats listobjs db', 'category': 'system', 'key': 'objects', 'tags': '', 'text': '\n statistics on objects in the database\n\n Usage:\n objects [<nr>]\n\n Gives statictics on objects in database as well as\n a list of <nr> latest objects in database. If not\n given, <nr> defaults to 10.\n '}
    diff --git a/docs/1.0-dev/api/evennia.commands.default.unloggedin.html b/docs/1.0-dev/api/evennia.commands.default.unloggedin.html index b2a53897d7..67661726e1 100644 --- a/docs/1.0-dev/api/evennia.commands.default.unloggedin.html +++ b/docs/1.0-dev/api/evennia.commands.default.unloggedin.html @@ -59,7 +59,7 @@ connect “account name” “pass word”

    -aliases = ['conn', 'co', 'con']
    +aliases = ['co', 'conn', 'con']
    @@ -94,7 +94,7 @@ there is no object yet before the account has logged in)

    -search_index_entry = {'aliases': 'conn co con', 'category': 'general', 'key': 'connect', 'tags': '', 'text': '\n connect to the game\n\n Usage (at login screen):\n connect accountname password\n connect "account name" "pass word"\n\n Use the create command to first create an account before logging in.\n\n If you have spaces in your name, enclose it in double quotes.\n '}
    +search_index_entry = {'aliases': 'co conn con', 'category': 'general', 'key': 'connect', 'tags': '', 'text': '\n connect to the game\n\n Usage (at login screen):\n connect accountname password\n connect "account name" "pass word"\n\n Use the create command to first create an account before logging in.\n\n If you have spaces in your name, enclose it in double quotes.\n '}
    @@ -272,7 +272,7 @@ for simplicity. It shows a pane of info.

    -aliases = ['h', '?']
    +aliases = ['?', 'h']
    @@ -298,7 +298,7 @@ for simplicity. It shows a pane of info.

    -search_index_entry = {'aliases': 'h ?', 'category': 'general', 'key': 'help', 'tags': '', 'text': '\n get help when in unconnected-in state\n\n Usage:\n help\n\n This is an unconnected version of the help command,\n for simplicity. It shows a pane of info.\n '}
    +search_index_entry = {'aliases': '? h', 'category': 'general', 'key': 'help', 'tags': '', 'text': '\n get help when in unconnected-in state\n\n Usage:\n help\n\n This is an unconnected version of the help command,\n for simplicity. It shows a pane of info.\n '}
    diff --git a/docs/1.0-dev/api/evennia.contrib.chargen.html b/docs/1.0-dev/api/evennia.contrib.chargen.html index 4bf64fbf93..dcdb762965 100644 --- a/docs/1.0-dev/api/evennia.contrib.chargen.html +++ b/docs/1.0-dev/api/evennia.contrib.chargen.html @@ -77,7 +77,7 @@ at them with this command.

    -aliases = ['l', 'ls']
    +aliases = ['ls', 'l']
    @@ -109,7 +109,7 @@ that is checked by the @ic command directly.

    -search_index_entry = {'aliases': 'l ls', 'category': 'general', 'key': 'look', 'tags': '', 'text': '\n ooc look\n\n Usage:\n look\n look <character>\n\n This is an OOC version of the look command. Since an Account doesn\'t\n have an in-game existence, there is no concept of location or\n "self".\n\n If any characters are available for you to control, you may look\n at them with this command.\n '}
    +search_index_entry = {'aliases': 'ls l', 'category': 'general', 'key': 'look', 'tags': '', 'text': '\n ooc look\n\n Usage:\n look\n look <character>\n\n This is an OOC version of the look command. Since an Account doesn\'t\n have an in-game existence, there is no concept of location or\n "self".\n\n If any characters are available for you to control, you may look\n at them with this command.\n '}
    diff --git a/docs/1.0-dev/api/evennia.contrib.email_login.html b/docs/1.0-dev/api/evennia.contrib.email_login.html index 3d8f4c8798..92e3af53e1 100644 --- a/docs/1.0-dev/api/evennia.contrib.email_login.html +++ b/docs/1.0-dev/api/evennia.contrib.email_login.html @@ -74,7 +74,7 @@ the module given by settings.CONNECTION_SCREEN_MODULE.

    -aliases = ['conn', 'co', 'con']
    +aliases = ['co', 'conn', 'con']
    @@ -104,7 +104,7 @@ there is no object yet before the account has logged in)

    -search_index_entry = {'aliases': 'conn co con', 'category': 'general', 'key': 'connect', 'tags': '', 'text': '\n Connect to the game.\n\n Usage (at login screen):\n connect <email> <password>\n\n Use the create command to first create an account before logging in.\n '}
    +search_index_entry = {'aliases': 'co conn con', 'category': 'general', 'key': 'connect', 'tags': '', 'text': '\n Connect to the game.\n\n Usage (at login screen):\n connect <email> <password>\n\n Use the create command to first create an account before logging in.\n '}
    @@ -270,7 +270,7 @@ for simplicity. It shows a pane of info.

    -aliases = ['h', '?']
    +aliases = ['?', 'h']
    @@ -296,7 +296,7 @@ for simplicity. It shows a pane of info.

    -search_index_entry = {'aliases': 'h ?', 'category': 'general', 'key': 'help', 'tags': '', 'text': '\n This is an unconnected version of the help command,\n for simplicity. It shows a pane of info.\n '}
    +search_index_entry = {'aliases': '? h', 'category': 'general', 'key': 'help', 'tags': '', 'text': '\n This is an unconnected version of the help command,\n for simplicity. It shows a pane of info.\n '}
    diff --git a/docs/1.0-dev/api/evennia.contrib.evscaperoom.commands.html b/docs/1.0-dev/api/evennia.contrib.evscaperoom.commands.html index 467eefd0b6..45d13e3437 100644 --- a/docs/1.0-dev/api/evennia.contrib.evscaperoom.commands.html +++ b/docs/1.0-dev/api/evennia.contrib.evscaperoom.commands.html @@ -147,7 +147,7 @@ the operation will be general or on the room.

    -aliases = ['quit', 'chicken out', 'abort', 'q']
    +aliases = ['chicken out', 'quit', 'q', 'abort']
    @@ -171,7 +171,7 @@ set in self.parse())

    -search_index_entry = {'aliases': 'quit chicken out abort q', 'category': 'evscaperoom', 'key': 'give up', 'tags': '', 'text': '\n Give up\n\n Usage:\n give up\n\n Abandons your attempts at escaping and of ever winning the pie-eating contest.\n\n '}
    +search_index_entry = {'aliases': 'chicken out quit q abort', 'category': 'evscaperoom', 'key': 'give up', 'tags': '', 'text': '\n Give up\n\n Usage:\n give up\n\n Abandons your attempts at escaping and of ever winning the pie-eating contest.\n\n '}
    @@ -192,7 +192,7 @@ set in self.parse())

    -aliases = ['l', 'ls']
    +aliases = ['ls', 'l']
    @@ -226,7 +226,7 @@ set in self.parse())

    -search_index_entry = {'aliases': 'l ls', 'category': 'evscaperoom', 'key': 'look', 'tags': '', 'text': '\n Look at the room, an object or the currently focused object\n\n Usage:\n look [obj]\n\n '}
    +search_index_entry = {'aliases': 'ls l', 'category': 'evscaperoom', 'key': 'look', 'tags': '', 'text': '\n Look at the room, an object or the currently focused object\n\n Usage:\n look [obj]\n\n '}
    @@ -364,7 +364,7 @@ emote /me points to /box and /lever.

    -aliases = ['pose', ':']
    +aliases = [':', 'pose']
    @@ -403,7 +403,7 @@ set in self.parse())

    -search_index_entry = {'aliases': 'pose :', 'category': 'general', 'key': 'emote', 'tags': '', 'text': '\n Perform a free-form emote. Use /me to\n include yourself in the emote and /name\n to include other objects or characters.\n Use "..." to enact speech.\n\n Usage:\n emote <emote>\n :<emote\n\n Example:\n emote /me smiles at /peter\n emote /me points to /box and /lever.\n\n '}
    +search_index_entry = {'aliases': ': pose', 'category': 'general', 'key': 'emote', 'tags': '', 'text': '\n Perform a free-form emote. Use /me to\n include yourself in the emote and /name\n to include other objects or characters.\n Use "..." to enact speech.\n\n Usage:\n emote <emote>\n :<emote\n\n Example:\n emote /me smiles at /peter\n emote /me points to /box and /lever.\n\n '}
    @@ -426,7 +426,7 @@ looks and what actions is available.

    -aliases = ['e', 'ex', 'unfocus', 'examine']
    +aliases = ['examine', 'ex', 'unfocus', 'e']
    @@ -455,7 +455,7 @@ set in self.parse())

    -search_index_entry = {'aliases': 'e ex unfocus examine', 'category': 'evscaperoom', 'key': 'focus', 'tags': '', 'text': '\n Focus your attention on a target.\n\n Usage:\n focus <obj>\n\n Once focusing on an object, use look to get more information about how it\n looks and what actions is available.\n\n '}
    +search_index_entry = {'aliases': 'examine ex unfocus e', 'category': 'evscaperoom', 'key': 'focus', 'tags': '', 'text': '\n Focus your attention on a target.\n\n Usage:\n focus <obj>\n\n Once focusing on an object, use look to get more information about how it\n looks and what actions is available.\n\n '}
    @@ -517,7 +517,7 @@ set in self.parse())

    -aliases = ['i', 'inv', 'inventory', 'give']
    +aliases = ['i', 'give', 'inv', 'inventory']
    @@ -541,7 +541,7 @@ set in self.parse())

    -search_index_entry = {'aliases': 'i inv inventory give', 'category': 'evscaperoom', 'key': 'get', 'tags': '', 'text': '\n Use focus / examine instead.\n\n '}
    +search_index_entry = {'aliases': 'i give inv inventory', 'category': 'evscaperoom', 'key': 'get', 'tags': '', 'text': '\n Use focus / examine instead.\n\n '}
    @@ -562,7 +562,7 @@ set in self.parse())

    -aliases = ['@open', '@dig']
    +aliases = ['@dig', '@open']
    @@ -585,7 +585,7 @@ to all the variables defined therein.

    -search_index_entry = {'aliases': '@open @dig', 'category': 'general', 'key': 'open', 'tags': '', 'text': '\n Interact with an object in focus.\n\n Usage:\n <action> [arg]\n\n '}
    +search_index_entry = {'aliases': '@dig @open', 'category': 'general', 'key': 'open', 'tags': '', 'text': '\n Interact with an object in focus.\n\n Usage:\n <action> [arg]\n\n '}
    diff --git a/docs/1.0-dev/api/evennia.contrib.extended_room.html b/docs/1.0-dev/api/evennia.contrib.extended_room.html index f2f53ba043..cd5440d362 100644 --- a/docs/1.0-dev/api/evennia.contrib.extended_room.html +++ b/docs/1.0-dev/api/evennia.contrib.extended_room.html @@ -276,7 +276,7 @@ look *<account&g
    -aliases = ['l', 'ls']
    +aliases = ['ls', 'l']
    @@ -296,7 +296,7 @@ look *<account&g
    -search_index_entry = {'aliases': 'l ls', 'category': 'general', 'key': 'look', 'tags': '', 'text': '\n look\n\n Usage:\n look\n look <obj>\n look <room detail>\n look *<account>\n\n Observes your location, details at your location or objects in your vicinity.\n '}
    +search_index_entry = {'aliases': 'ls l', 'category': 'general', 'key': 'look', 'tags': '', 'text': '\n look\n\n Usage:\n look\n look <obj>\n look <room detail>\n look *<account>\n\n Observes your location, details at your location or objects in your vicinity.\n '}
    diff --git a/docs/1.0-dev/api/evennia.contrib.ingame_python.commands.html b/docs/1.0-dev/api/evennia.contrib.ingame_python.commands.html index 8c938540a6..33442d9f7a 100644 --- a/docs/1.0-dev/api/evennia.contrib.ingame_python.commands.html +++ b/docs/1.0-dev/api/evennia.contrib.ingame_python.commands.html @@ -52,7 +52,7 @@
    -aliases = ['@callback', '@calls', '@callbacks']
    +aliases = ['@callbacks', '@callback', '@calls']
    @@ -133,7 +133,7 @@ on user permission.

    -search_index_entry = {'aliases': '@callback @calls @callbacks', 'category': 'building', 'key': '@call', 'tags': '', 'text': '\n Command to edit callbacks.\n '}
    +search_index_entry = {'aliases': '@callbacks @callback @calls', 'category': 'building', 'key': '@call', 'tags': '', 'text': '\n Command to edit callbacks.\n '}
    diff --git a/docs/1.0-dev/api/evennia.contrib.rpsystem.html b/docs/1.0-dev/api/evennia.contrib.rpsystem.html index ab8a2fe89b..e00bed964f 100644 --- a/docs/1.0-dev/api/evennia.contrib.rpsystem.html +++ b/docs/1.0-dev/api/evennia.contrib.rpsystem.html @@ -332,7 +332,7 @@ _PREFIX-tagged structures in the emote:
    -evennia.contrib.rpsystem.send_emote(sender, receivers, emote, anonymous_add='first')[source]
    +evennia.contrib.rpsystem.send_emote(sender, receivers, emote, anonymous_add='first', **kwargs)[source]

    Main access function for distribute an emote.

    Parameters
    @@ -636,7 +636,7 @@ a different language.

    -aliases = ["'", '"']
    +aliases = ['"', "'"]
    @@ -662,7 +662,7 @@ a different language.

    -search_index_entry = {'aliases': '\' "', 'category': 'general', 'key': 'say', 'tags': '', 'text': '\n speak as your character\n\n Usage:\n say <message>\n\n Talk to those in your current location.\n '}
    +search_index_entry = {'aliases': '" \'', 'category': 'general', 'key': 'say', 'tags': '', 'text': '\n speak as your character\n\n Usage:\n say <message>\n\n Talk to those in your current location.\n '}
    @@ -801,7 +801,7 @@ Using the command without arguments will list all current recogs.

    -aliases = ['recognize', 'forget']
    +aliases = ['forget', 'recognize']
    @@ -828,7 +828,7 @@ Using the command without arguments will list all current recogs.

    -search_index_entry = {'aliases': 'recognize forget', 'category': 'general', 'key': 'recog', 'tags': '', 'text': '\n Recognize another person in the same room.\n\n Usage:\n recog\n recog sdesc as alias\n forget alias\n\n Example:\n recog tall man as Griatch\n forget griatch\n\n This will assign a personal alias for a person, or forget said alias.\n Using the command without arguments will list all current recogs.\n\n '}
    +search_index_entry = {'aliases': 'forget recognize', 'category': 'general', 'key': 'recog', 'tags': '', 'text': '\n Recognize another person in the same room.\n\n Usage:\n recog\n recog sdesc as alias\n forget alias\n\n Example:\n recog tall man as Griatch\n forget griatch\n\n This will assign a personal alias for a person, or forget said alias.\n Using the command without arguments will list all current recogs.\n\n '}
    diff --git a/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_basic.html b/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_basic.html index 2fb1ae32c2..bc64ccbc3a 100644 --- a/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_basic.html +++ b/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_basic.html @@ -570,7 +570,7 @@ if there are still any actions you can take.

    -aliases = ['hold', 'wait']
    +aliases = ['wait', 'hold']
    @@ -591,7 +591,7 @@ if there are still any actions you can take.

    -search_index_entry = {'aliases': 'hold wait', 'category': 'combat', 'key': 'pass', 'tags': '', 'text': '\n Passes on your turn.\n\n Usage:\n pass\n\n When in a fight, you can use this command to end your turn early, even\n if there are still any actions you can take.\n '}
    +search_index_entry = {'aliases': 'wait hold', 'category': 'combat', 'key': 'pass', 'tags': '', 'text': '\n Passes on your turn.\n\n Usage:\n pass\n\n When in a fight, you can use this command to end your turn early, even\n if there are still any actions you can take.\n '}
    diff --git a/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_equip.html b/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_equip.html index 5b9cd7b127..42a3a58f2c 100644 --- a/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_equip.html +++ b/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_equip.html @@ -687,7 +687,7 @@ if there are still any actions you can take.

    -aliases = ['hold', 'wait']
    +aliases = ['wait', 'hold']
    @@ -708,7 +708,7 @@ if there are still any actions you can take.

    -search_index_entry = {'aliases': 'hold wait', 'category': 'combat', 'key': 'pass', 'tags': '', 'text': '\n Passes on your turn.\n\n Usage:\n pass\n\n When in a fight, you can use this command to end your turn early, even\n if there are still any actions you can take.\n '}
    +search_index_entry = {'aliases': 'wait hold', 'category': 'combat', 'key': 'pass', 'tags': '', 'text': '\n Passes on your turn.\n\n Usage:\n pass\n\n When in a fight, you can use this command to end your turn early, even\n if there are still any actions you can take.\n '}
    diff --git a/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_items.html b/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_items.html index 4ffb1a91f4..c7258234b9 100644 --- a/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_items.html +++ b/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_items.html @@ -721,7 +721,7 @@ if there are still any actions you can take.

    -aliases = ['hold', 'wait']
    +aliases = ['wait', 'hold']
    @@ -742,7 +742,7 @@ if there are still any actions you can take.

    -search_index_entry = {'aliases': 'hold wait', 'category': 'combat', 'key': 'pass', 'tags': '', 'text': '\n Passes on your turn.\n\n Usage:\n pass\n\n When in a fight, you can use this command to end your turn early, even\n if there are still any actions you can take.\n '}
    +search_index_entry = {'aliases': 'wait hold', 'category': 'combat', 'key': 'pass', 'tags': '', 'text': '\n Passes on your turn.\n\n Usage:\n pass\n\n When in a fight, you can use this command to end your turn early, even\n if there are still any actions you can take.\n '}
    diff --git a/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_magic.html b/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_magic.html index fc652d3b9b..81434b90e3 100644 --- a/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_magic.html +++ b/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_magic.html @@ -593,7 +593,7 @@ if there are still any actions you can take.

    -aliases = ['hold', 'wait']
    +aliases = ['wait', 'hold']
    @@ -614,7 +614,7 @@ if there are still any actions you can take.

    -search_index_entry = {'aliases': 'hold wait', 'category': 'combat', 'key': 'pass', 'tags': '', 'text': '\n Passes on your turn.\n\n Usage:\n pass\n\n When in a fight, you can use this command to end your turn early, even\n if there are still any actions you can take.\n '}
    +search_index_entry = {'aliases': 'wait hold', 'category': 'combat', 'key': 'pass', 'tags': '', 'text': '\n Passes on your turn.\n\n Usage:\n pass\n\n When in a fight, you can use this command to end your turn early, even\n if there are still any actions you can take.\n '}
    diff --git a/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_range.html b/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_range.html index 8e6c82d133..e2534cbfb4 100644 --- a/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_range.html +++ b/docs/1.0-dev/api/evennia.contrib.turnbattle.tb_range.html @@ -1020,7 +1020,7 @@ if there are still any actions you can take.

    -aliases = ['hold', 'wait']
    +aliases = ['wait', 'hold']
    @@ -1041,7 +1041,7 @@ if there are still any actions you can take.

    -search_index_entry = {'aliases': 'hold wait', 'category': 'combat', 'key': 'pass', 'tags': '', 'text': '\n Passes on your turn.\n\n Usage:\n pass\n\n When in a fight, you can use this command to end your turn early, even\n if there are still any actions you can take.\n '}
    +search_index_entry = {'aliases': 'wait hold', 'category': 'combat', 'key': 'pass', 'tags': '', 'text': '\n Passes on your turn.\n\n Usage:\n pass\n\n When in a fight, you can use this command to end your turn early, even\n if there are still any actions you can take.\n '}
    diff --git a/docs/1.0-dev/api/evennia.contrib.tutorial_examples.red_button.html b/docs/1.0-dev/api/evennia.contrib.tutorial_examples.red_button.html index d69e7f78cd..6619433954 100644 --- a/docs/1.0-dev/api/evennia.contrib.tutorial_examples.red_button.html +++ b/docs/1.0-dev/api/evennia.contrib.tutorial_examples.red_button.html @@ -79,7 +79,7 @@ such as when closing the lid and un-blinding a character.

    -aliases = ['press button', 'push', 'press']
    +aliases = ['press', 'push', 'press button']
    @@ -108,7 +108,7 @@ check if the lid is open or closed.

    -search_index_entry = {'aliases': 'press button push press', 'category': 'general', 'key': 'push button', 'tags': '', 'text': '\n Push the red button (lid closed)\n\n Usage:\n push button\n\n '}
    +search_index_entry = {'aliases': 'press push press button', 'category': 'general', 'key': 'push button', 'tags': '', 'text': '\n Push the red button (lid closed)\n\n Usage:\n push button\n\n '}
    @@ -178,7 +178,7 @@ check if the lid is open or closed.

    -aliases = ['smash lid', 'break lid', 'smash']
    +aliases = ['break lid', 'smash lid', 'smash']
    @@ -205,7 +205,7 @@ break.

    -search_index_entry = {'aliases': 'smash lid break lid smash', 'category': 'general', 'key': 'smash glass', 'tags': '', 'text': '\n Smash the protective glass.\n\n Usage:\n smash glass\n\n Try to smash the glass of the button.\n\n '}
    +search_index_entry = {'aliases': 'break lid smash lid smash', 'category': 'general', 'key': 'smash glass', 'tags': '', 'text': '\n Smash the protective glass.\n\n Usage:\n smash glass\n\n Try to smash the glass of the button.\n\n '}
    @@ -305,7 +305,7 @@ be mutually exclusive.

    -aliases = ['press button', 'push', 'press']
    +aliases = ['press', 'push', 'press button']
    @@ -334,7 +334,7 @@ set in self.parse())

    -search_index_entry = {'aliases': 'press button push press', 'category': 'general', 'key': 'push button', 'tags': '', 'text': '\n Push the red button\n\n Usage:\n push button\n\n '}
    +search_index_entry = {'aliases': 'press push press button', 'category': 'general', 'key': 'push button', 'tags': '', 'text': '\n Push the red button\n\n Usage:\n push button\n\n '}
    @@ -432,7 +432,7 @@ be mutually exclusive.

    -aliases = ['listen', 'l', 'feel', 'examine', 'ex', 'get']
    +aliases = ['examine', 'feel', 'ex', 'l', 'get', 'listen']
    @@ -458,7 +458,7 @@ be mutually exclusive.

    -search_index_entry = {'aliases': 'listen l feel examine ex get', 'category': 'general', 'key': 'look', 'tags': '', 'text': "\n Looking around in darkness\n\n Usage:\n look <obj>\n\n ... not that there's much to see in the dark.\n\n "}
    +search_index_entry = {'aliases': 'examine feel ex l get listen', 'category': 'general', 'key': 'look', 'tags': '', 'text': "\n Looking around in darkness\n\n Usage:\n look <obj>\n\n ... not that there's much to see in the dark.\n\n "}
    diff --git a/docs/1.0-dev/api/evennia.contrib.tutorial_world.objects.html b/docs/1.0-dev/api/evennia.contrib.tutorial_world.objects.html index 2c1b67e9a0..4683cc487f 100644 --- a/docs/1.0-dev/api/evennia.contrib.tutorial_world.objects.html +++ b/docs/1.0-dev/api/evennia.contrib.tutorial_world.objects.html @@ -361,7 +361,7 @@ of the object. We overload it with our own version.

    -aliases = ['light', 'burn']
    +aliases = ['burn', 'light']
    @@ -388,7 +388,7 @@ to sit on a “lightable” object, we operate only on self.obj.

    -search_index_entry = {'aliases': 'light burn', 'category': 'tutorialworld', 'key': 'on', 'tags': '', 'text': '\n Creates light where there was none. Something to burn.\n '}
    +search_index_entry = {'aliases': 'burn light', 'category': 'tutorialworld', 'key': 'on', 'tags': '', 'text': '\n Creates light where there was none. Something to burn.\n '}
    @@ -492,7 +492,7 @@ shift green root up/down

    -aliases = ['pull', 'move', 'push', 'shiftroot']
    +aliases = ['shiftroot', 'pull', 'push', 'move']
    @@ -528,7 +528,7 @@ yellow/green - horizontal roots

    -search_index_entry = {'aliases': 'pull move push shiftroot', 'category': 'tutorialworld', 'key': 'shift', 'tags': '', 'text': '\n Shifts roots around.\n\n Usage:\n shift blue root left/right\n shift red root left/right\n shift yellow root up/down\n shift green root up/down\n\n '}
    +search_index_entry = {'aliases': 'shiftroot pull push move', 'category': 'tutorialworld', 'key': 'shift', 'tags': '', 'text': '\n Shifts roots around.\n\n Usage:\n shift blue root left/right\n shift red root left/right\n shift yellow root up/down\n shift green root up/down\n\n '}
    @@ -545,7 +545,7 @@ yellow/green - horizontal roots

    -aliases = ['press button', 'push button', 'button']
    +aliases = ['push button', 'press button', 'button']
    @@ -571,7 +571,7 @@ yellow/green - horizontal roots

    -search_index_entry = {'aliases': 'press button push button button', 'category': 'tutorialworld', 'key': 'press', 'tags': '', 'text': '\n Presses a button.\n '}
    +search_index_entry = {'aliases': 'push button press button button', 'category': 'tutorialworld', 'key': 'press', 'tags': '', 'text': '\n Presses a button.\n '}
    @@ -715,7 +715,7 @@ parry - forgoes your attack but will make you harder to hit on next

    -aliases = ['bash', 'hit', 'chop', 'thrust', 'kill', 'fight', 'slash', 'parry', 'defend', 'stab', 'pierce']
    +aliases = ['defend', 'pierce', 'chop', 'slash', 'bash', 'parry', 'stab', 'thrust', 'hit', 'kill', 'fight']
    @@ -741,7 +741,7 @@ parry - forgoes your attack but will make you harder to hit on next

    -search_index_entry = {'aliases': 'bash hit chop thrust kill fight slash parry defend stab pierce', 'category': 'tutorialworld', 'key': 'attack', 'tags': '', 'text': '\n Attack the enemy. Commands:\n\n stab <enemy>\n slash <enemy>\n parry\n\n stab - (thrust) makes a lot of damage but is harder to hit with.\n slash - is easier to land, but does not make as much damage.\n parry - forgoes your attack but will make you harder to hit on next\n enemy attack.\n\n '}
    +search_index_entry = {'aliases': 'defend pierce chop slash bash parry stab thrust hit kill fight', 'category': 'tutorialworld', 'key': 'attack', 'tags': '', 'text': '\n Attack the enemy. Commands:\n\n stab <enemy>\n slash <enemy>\n parry\n\n stab - (thrust) makes a lot of damage but is harder to hit with.\n slash - is easier to land, but does not make as much damage.\n parry - forgoes your attack but will make you harder to hit on next\n enemy attack.\n\n '}
    diff --git a/docs/1.0-dev/api/evennia.contrib.tutorial_world.rooms.html b/docs/1.0-dev/api/evennia.contrib.tutorial_world.rooms.html index 8eee5f99f0..1726c15489 100644 --- a/docs/1.0-dev/api/evennia.contrib.tutorial_world.rooms.html +++ b/docs/1.0-dev/api/evennia.contrib.tutorial_world.rooms.html @@ -184,7 +184,7 @@ code except for adding in the details.

    -aliases = ['l', 'ls']
    +aliases = ['ls', 'l']
    @@ -199,7 +199,7 @@ code except for adding in the details.

    -search_index_entry = {'aliases': 'l ls', 'category': 'tutorialworld', 'key': 'look', 'tags': '', 'text': '\n looks at the room and on details\n\n Usage:\n look <obj>\n look <room detail>\n look *<account>\n\n Observes your location, details at your location or objects\n in your vicinity.\n\n Tutorial: This is a child of the default Look command, that also\n allows us to look at "details" in the room. These details are\n things to examine and offers some extra description without\n actually having to be actual database objects. It uses the\n return_detail() hook on TutorialRooms for this.\n '}
    +search_index_entry = {'aliases': 'ls l', 'category': 'tutorialworld', 'key': 'look', 'tags': '', 'text': '\n looks at the room and on details\n\n Usage:\n look <obj>\n look <room detail>\n look *<account>\n\n Observes your location, details at your location or objects\n in your vicinity.\n\n Tutorial: This is a child of the default Look command, that also\n allows us to look at "details" in the room. These details are\n things to examine and offers some extra description without\n actually having to be actual database objects. It uses the\n return_detail() hook on TutorialRooms for this.\n '}
    @@ -713,7 +713,7 @@ if they fall off the bridge.

    -aliases = ['h', '?']
    +aliases = ['?', 'h']
    @@ -739,7 +739,7 @@ if they fall off the bridge.

    -search_index_entry = {'aliases': 'h ?', 'category': 'tutorial world', 'key': 'help', 'tags': '', 'text': '\n Overwritten help command while on the bridge.\n '}
    +search_index_entry = {'aliases': '? h', 'category': 'tutorial world', 'key': 'help', 'tags': '', 'text': '\n Overwritten help command while on the bridge.\n '}
    @@ -865,7 +865,7 @@ to find something.

    -aliases = ['fiddle', 'l', 'search', 'feel', 'feel around']
    +aliases = ['fiddle', 'feel', 'l', 'search', 'feel around']
    @@ -893,7 +893,7 @@ random chance of eventually finding a light source.

    -search_index_entry = {'aliases': 'fiddle l search feel feel around', 'category': 'tutorialworld', 'key': 'look', 'tags': '', 'text': '\n Look around in darkness\n\n Usage:\n look\n\n Look around in the darkness, trying\n to find something.\n '}
    +search_index_entry = {'aliases': 'fiddle feel l search feel around', 'category': 'tutorialworld', 'key': 'look', 'tags': '', 'text': '\n Look around in darkness\n\n Usage:\n look\n\n Look around in the darkness, trying\n to find something.\n '}
    diff --git a/docs/1.0-dev/api/evennia.utils.eveditor.html b/docs/1.0-dev/api/evennia.utils.eveditor.html index 628700d82b..bb17cc7d7f 100644 --- a/docs/1.0-dev/api/evennia.utils.eveditor.html +++ b/docs/1.0-dev/api/evennia.utils.eveditor.html @@ -274,7 +274,7 @@ indentation.

    -aliases = [':i', ':UU', ':j', ':q!', ':u', ':s', ':=', ':', ':y', ':dw', ':DD', ':::', ':f', ':>', ':S', ':h', ':fi', ':uu', ':<', ':p', ':I', ':r', ':w', '::', ':A', ':fd', ':echo', ':q', ':!', ':x', ':dd', ':wq']
    +aliases = [':>', ':', ':j', ':w', ':I', ':wq', ':DD', ':fd', ':uu', ':dw', ':dd', ':S', ':echo', ':i', ':=', ':!', ':<', ':fi', ':UU', ':p', ':f', ':x', ':h', ':y', ':::', ':u', ':q', '::', ':q!', ':r', ':A', ':s']
    @@ -302,7 +302,7 @@ efficient presentation.

    -search_index_entry = {'aliases': ':i :UU :j :q! :u :s := : :y :dw :DD ::: :f :> :S :h :fi :uu :< :p :I :r :w :: :A :fd :echo :q :! :x :dd :wq', 'category': 'general', 'key': ':editor_command_group', 'tags': '', 'text': '\n Commands for the editor\n '}
    +search_index_entry = {'aliases': ':> : :j :w :I :wq :DD :fd :uu :dw :dd :S :echo :i := :! :< :fi :UU :p :f :x :h :y ::: :u :q :: :q! :r :A :s', 'category': 'general', 'key': ':editor_command_group', 'tags': '', 'text': '\n Commands for the editor\n '}
    diff --git a/docs/1.0-dev/api/evennia.utils.evmenu.html b/docs/1.0-dev/api/evennia.utils.evmenu.html index c80c5eba17..179871e7c1 100644 --- a/docs/1.0-dev/api/evennia.utils.evmenu.html +++ b/docs/1.0-dev/api/evennia.utils.evmenu.html @@ -908,6 +908,143 @@ get_input chain, EvMenu should be considered for anything beyond a single question.

    +
    +
    +class evennia.utils.evmenu.CmdYesNoQuestion(**kwargs)[source]
    +

    Bases: evennia.commands.command.Command

    +

    Handle a prompt for yes or no. Press [return] for the default choice.

    +
    +
    +key = '__noinput_command'
    +
    + +
    +
    +aliases = ['__nomatch_command', 'y', 'a', 'yes', 'abort', 'no', 'n']
    +
    + +
    +
    +arg_regex = re.compile('^$', re.IGNORECASE)
    +
    + +
    +
    +func()[source]
    +

    This is called when user enters anything.

    +
    + +
    +
    +help_category = 'general'
    +
    + +
    +
    +lock_storage = 'cmd:all();'
    +
    + +
    +
    +search_index_entry = {'aliases': '__nomatch_command y a yes abort no n', 'category': 'general', 'key': '__noinput_command', 'tags': '', 'text': '\n Handle a prompt for yes or no. Press [return] for the default choice.\n\n '}
    +
    + +
    + +
    +
    +class evennia.utils.evmenu.YesNoQuestionCmdSet(cmdsetobj=None, key=None)[source]
    +

    Bases: evennia.commands.cmdset.CmdSet

    +

    This stores the input command

    +
    +
    +key = 'yes_no_question_cmdset'
    +
    + +
    +
    +priority = 1
    +
    + +
    +
    +mergetype = 'Replace'
    +
    + +
    +
    +no_objs = True
    +
    + +
    +
    +no_exits = True
    +
    + +
    +
    +no_channels = False
    +
    + +
    +
    +at_cmdset_creation()[source]
    +

    called once at creation

    +
    + +
    +
    +path = 'evennia.utils.evmenu.YesNoQuestionCmdSet'
    +
    + +
    + +
    +
    +evennia.utils.evmenu.ask_yes_no(caller, prompt, yes_action, no_action, default=None, allow_abort=False, session=None, *args, **kwargs)[source]
    +

    A helper question for asking a simple yes/no question. This will cause +the system to pause and wait for input from the player.

    +
    +
    Parameters
    +
      +
    • prompt (str) – The yes/no question to ask. This takes an optional formatting +marker {suffix} which will be filled with ‘Y/N’, [Y]/N or Y/[N] +depending on the setting of default. If allow_abort, then the +A(bort) will also be available.

    • +
    • yes_action (callable or str) – If a callable, this will be called +with **(caller, *args, **kwargs) when the yes-choice is made. +If a string, this string will be echoed back to the caller.

    • +
    • no_action (callable or str) – If a callable, this will be called +with (caller, *args, **kwargs) when the no-choice is made. +If a string, this string will be echoed back to the caller.

    • +
    • default (str optional) – One of “N”, “Y”, “A” or None for no default. +If “A” is given, allow_abort is assumed set. The user can choose +the default option just by pressing return.

    • +
    • allow_abort (bool, optional) – If set, the Q(uit) option is available, +which is neither yes or no.

    • +
    • session (Session, optional) – This allows to specify the +session to send the prompt to. It’s usually only needed if caller +is an Account in multisession modes greater than 2. The session is +then updated by the command and is available (for example in +callbacks) through caller.ndb._yes_no_question.session.

    • +
    • *args – These are passed into the callables, if any.

    • +
    • **kwargs

      These are passed into the callables, if any.

      +

    • +
    +
    +
    Raises
    +

    RuntimeError – If default and allow_abort clashes.

    +
    +
    +

    Example

    +
    +
    ask_yes_no(caller, “Are you happy {suffix}?”,

    “you answered yes”, “you answered no”)

    +
    +
    ask_yes_no(caller, “Are you sad {suffix}?”,

    _callable_yes, _callable_no, allow_abort=True)

    +
    +
    +
    +
    evennia.utils.evmenu.parse_menu_template(caller, menu_template, goto_callables=None)[source]
    diff --git a/docs/1.0-dev/api/evennia.utils.evmore.html b/docs/1.0-dev/api/evennia.utils.evmore.html index 7d0e50d55b..4b5921efef 100644 --- a/docs/1.0-dev/api/evennia.utils.evmore.html +++ b/docs/1.0-dev/api/evennia.utils.evmore.html @@ -75,7 +75,7 @@ the caller.msg() construct every time the page is updated.

    -aliases = ['quit', 'a', 'n', 't', 'top', 'q', 'abort', 'back', 'end', 'e', 'next', 'b']
    +aliases = ['a', 'abort', 'e', 'quit', 'end', 'n', 'b', 't', 'next', 'q', 'top', 'back']
    @@ -101,7 +101,7 @@ the caller.msg() construct every time the page is updated.

    -search_index_entry = {'aliases': 'quit a n t top q abort back end e next b', 'category': 'general', 'key': '__noinput_command', 'tags': '', 'text': '\n Manipulate the text paging\n '}
    +search_index_entry = {'aliases': 'a abort e quit end n b t next q top back', 'category': 'general', 'key': '__noinput_command', 'tags': '', 'text': '\n Manipulate the text paging\n '}
    diff --git a/docs/1.0-dev/genindex.html b/docs/1.0-dev/genindex.html index 8952495da4..80b13e50c9 100644 --- a/docs/1.0-dev/genindex.html +++ b/docs/1.0-dev/genindex.html @@ -1122,6 +1122,8 @@
  • (evennia.utils.evmenu.CmdEvMenuNode attribute)
  • (evennia.utils.evmenu.CmdGetInput attribute) +
  • +
  • (evennia.utils.evmenu.CmdYesNoQuestion attribute)
  • (evennia.utils.evmore.CmdMore attribute)
  • @@ -1236,10 +1238,10 @@
  • ansi_re (evennia.utils.ansi.ANSIParser attribute)
  • -
  • arguments (evennia.server.evennia_launcher.MsgLauncher2Portal attribute) @@ -1363,6 +1367,8 @@
  • ask_input() (evennia.server.connection_wizard.ConnectionWizard method)
  • ask_node() (evennia.server.connection_wizard.ConnectionWizard method) +
  • +
  • ask_yes_no() (in module evennia.utils.evmenu)
  • ask_yesno() (evennia.server.connection_wizard.ConnectionWizard method)
  • @@ -1564,6 +1570,8 @@
  • (evennia.utils.evmenu.EvMenuCmdSet method)
  • (evennia.utils.evmenu.InputCmdSet method) +
  • +
  • (evennia.utils.evmenu.YesNoQuestionCmdSet method)
  • (evennia.utils.evmore.CmdSetMore method)
  • @@ -3445,6 +3453,8 @@
  • CmdWipe (class in evennia.commands.default.building)
  • CmdWithdraw (class in evennia.contrib.turnbattle.tb_range) +
  • +
  • CmdYesNoQuestion (class in evennia.utils.evmenu)
  • code (evennia.contrib.evscaperoom.objects.CodeInput attribute)
  • @@ -7250,6 +7260,8 @@
  • (evennia.utils.evmenu.CmdEvMenuNode method)
  • (evennia.utils.evmenu.CmdGetInput method) +
  • +
  • (evennia.utils.evmenu.CmdYesNoQuestion method)
  • (evennia.utils.evmore.CmdMore method)
  • @@ -8474,6 +8486,8 @@
  • (evennia.utils.evmenu.CmdEvMenuNode attribute)
  • (evennia.utils.evmenu.CmdGetInput attribute) +
  • +
  • (evennia.utils.evmenu.CmdYesNoQuestion attribute)
  • (evennia.utils.evmore.CmdMore attribute)
  • @@ -9492,10 +9506,14 @@
  • (evennia.utils.evmenu.CmdEvMenuNode attribute)
  • (evennia.utils.evmenu.CmdGetInput attribute) +
  • +
  • (evennia.utils.evmenu.CmdYesNoQuestion attribute)
  • (evennia.utils.evmenu.EvMenuCmdSet attribute)
  • (evennia.utils.evmenu.InputCmdSet attribute) +
  • +
  • (evennia.utils.evmenu.YesNoQuestionCmdSet attribute)
  • (evennia.utils.evmore.CmdMore attribute)
  • @@ -10234,6 +10252,8 @@
  • (evennia.utils.evmenu.CmdEvMenuNode attribute)
  • (evennia.utils.evmenu.CmdGetInput attribute) +
  • +
  • (evennia.utils.evmenu.CmdYesNoQuestion attribute)
  • (evennia.utils.evmore.CmdMore attribute)
  • @@ -10864,6 +10884,8 @@
  • (evennia.utils.evmenu.EvMenuCmdSet attribute)
  • (evennia.utils.evmenu.InputCmdSet attribute) +
  • +
  • (evennia.utils.evmenu.YesNoQuestionCmdSet attribute)
  • message() (evennia.comms.models.Msg property) @@ -11763,6 +11785,8 @@
  • (evennia.utils.evmenu.EvMenuCmdSet attribute)
  • (evennia.utils.evmenu.InputCmdSet attribute) +
  • +
  • (evennia.utils.evmenu.YesNoQuestionCmdSet attribute)
  • no_exits (evennia.commands.cmdset.CmdSet attribute) @@ -11777,6 +11801,8 @@
  • (evennia.utils.evmenu.EvMenuCmdSet attribute)
  • (evennia.utils.evmenu.InputCmdSet attribute) +
  • +
  • (evennia.utils.evmenu.YesNoQuestionCmdSet attribute)
  • +