'look' works proper now!
This commit is contained in:
parent
6490267701
commit
5155f543d2
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
|
# 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):
|
def menunode_fieldfill(caller, raw_string, **kwargs):
|
||||||
|
|
@ -261,7 +261,7 @@ def menunode_fieldfill(caller, raw_string, **kwargs):
|
||||||
return None, None
|
return None, None
|
||||||
|
|
||||||
# Test for 'look' command
|
# 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
|
return text, options
|
||||||
|
|
||||||
# Test for 'clear' command
|
# Test for 'clear' command
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue