move list_node mention to docstring
This commit is contained in:
parent
aa3ab74b00
commit
f0ddea0ba9
1 changed files with 9 additions and 12 deletions
|
|
@ -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 -
|
but you can change it to a maximum or minimum number of required options -
|
||||||
or remove the requirement check entirely.
|
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
|
## Starting Objects
|
||||||
|
|
||||||
Allows players to choose from a selection of 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})
|
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
|
# Starting Objects
|
||||||
#########################################################
|
#########################################################
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue