mirror of
https://github.com/evennia/evennia.git
synced 2026-03-17 05:16:31 +01:00
Changed object.search() to include nick-matching by default.
This commit is contained in:
parent
3430aa9eae
commit
bc8e27fea6
2 changed files with 3 additions and 3 deletions
|
|
@ -85,7 +85,7 @@ class Object(TypeClass):
|
|||
* Helper methods (see src.objects.objects.py for full headers)
|
||||
|
||||
search(ostring, global_search=False, global_dbref=False, attribute_name=None,
|
||||
use_nicks=False, location=None, ignore_errors=False, player=False)
|
||||
use_nicks=True, location=None, ignore_errors=False, player=False)
|
||||
execute_cmd(raw_string)
|
||||
msg(message, **kwargs)
|
||||
msg_contents(message, exclude=None, from_obj=None, **kwargs)
|
||||
|
|
@ -143,7 +143,7 @@ class Object(TypeClass):
|
|||
|
||||
def search(self, ostring,
|
||||
global_search=False,
|
||||
use_nicks=False,
|
||||
use_nicks=True,
|
||||
typeclass=None,
|
||||
location=None,
|
||||
attribute_name=None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue