mirror of
https://github.com/evennia/evennia.git
synced 2026-04-05 23:47:16 +02:00
Fixed and debugged object_search to more generically search for any attribute name except 'key' (issue110). Also included alias-search as a last-resort if normal searches fail. This is now also working for global searches (issue106).
This commit is contained in:
parent
7e736d19e2
commit
8bedd4d793
5 changed files with 184 additions and 176 deletions
|
|
@ -418,8 +418,8 @@ class ObjectDB(TypedObject):
|
|||
(if None, uses default 'name')
|
||||
use_nicks : Use nickname replace (off by default)
|
||||
ignore_errors : Don't display any error messages even
|
||||
if there are none/multiple matches -
|
||||
just return the result as a list.
|
||||
if there are none/multiple matches -
|
||||
just return the result as a list.
|
||||
|
||||
Note - for multiple matches, the engine accepts a number
|
||||
linked to the key in order to separate the matches from
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue