mirror of
https://github.com/evennia/evennia.git
synced 2026-03-26 17:56:32 +01:00
Extensive cleanup of docs
This commit is contained in:
parent
95d063e4e0
commit
0c09388fd8
34 changed files with 779 additions and 1126 deletions
|
|
@ -85,6 +85,10 @@ You can use `.search` to find anything, not just stuff in the same room:
|
|||
|
||||
volcano = self.caller.search("Vesuvio", global=True)
|
||||
|
||||
You can limit your matches to particular typeclasses:
|
||||
|
||||
water_glass = self.caller.search("glass", typeclass="typeclasses.objects.WaterGlass")
|
||||
|
||||
If you only want to search for a specific list of things, you can do so too:
|
||||
|
||||
stone = self.caller.search("MyStone", candidates=[obj1, obj2, obj3, obj4])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue