Fix in tutorial. Resolve #3047

This commit is contained in:
Griatch 2023-01-06 21:03:30 +01:00
parent 0d76a4c584
commit d73afa6b54

View file

@ -81,9 +81,9 @@ inherits from `DefaultObject`!
This simple little Command takes its arguments and searches for a match. If it can't find it, `result` will be `None`. The error has already been reported to `self.caller` so we just abort with `return`.
You can use `.search` to find anything, not just stuff in the same room:
With the `global_search` flag, you can use `.search` to find anything, not just stuff in the same room:
volcano = self.caller.search("Vesuvio", global=True)
volcano = self.caller.search("Vesuvio", global_search=True)
You can limit your matches to particular typeclasses: