move list_node mention to docstring

This commit is contained in:
InspectorCaracal 2022-09-26 16:41:30 -06:00
parent bcf5766c71
commit 587ba06468

View file

@ -27,6 +27,15 @@ more than one. The example has a requirement of choosing exactly 3 options,
but you can change it to a maximum or minimum number of required options -
or remove the requirement check entirely.
## Simple List Options
If you just want a straightforward list of options, without any of the back-and-forth
navigation or modifying of option text, evennia has an easy to use decorator
available: `@list_node`
For an example of how to use it, check out the documentation for evennia.utils.evmenu
- there's lots of other useful EvMenu tools too!
## Starting Objects
Allows players to choose from a selection of starting objects.
@ -300,18 +309,6 @@ def _set_multichoice(caller, raw_string, selected=[], **kwargs):
return ("menunode_multi_choice", {"selected": selected})
#########################################################
# Simple List Options
#########################################################
# If you just want a straightforward list of options, without any of the
# back-and-forth navigation or modifying of option text, evennia has an
# easy to use decorator available: `@list_node`
# For an example of how to use it, check out the documentation for
# evennia.utils.evmenu - there's lots of other useful EvMenu tools too!
#########################################################
# Starting Objects
#########################################################