mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 05:57:16 +02:00
'look' works proper now!
This commit is contained in:
parent
8a5e0a32ee
commit
c5c7d3dbbe
1 changed files with 2 additions and 2 deletions
|
|
@ -211,7 +211,7 @@ def init_fill_field(formtemplate, caller, formcallback, pretext="", posttext="",
|
|||
}
|
||||
|
||||
# Initialize menu of selections
|
||||
FieldEvMenu(caller, "evennia.contrib.fieldfill", startnode="menunode_fieldfill", **kwargs)
|
||||
FieldEvMenu(caller, "evennia.contrib.fieldfill", startnode="menunode_fieldfill", auto_look=False, **kwargs)
|
||||
|
||||
|
||||
def menunode_fieldfill(caller, raw_string, **kwargs):
|
||||
|
|
@ -261,7 +261,7 @@ def menunode_fieldfill(caller, raw_string, **kwargs):
|
|||
return None, None
|
||||
|
||||
# Test for 'look' command
|
||||
if raw_string.lower().strip() == "look":
|
||||
if raw_string.lower().strip() == "look" or raw_string.lower().strip() == "l":
|
||||
return text, options
|
||||
|
||||
# Test for 'clear' command
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue