objectshort |
Discworld expression help |
objectshort |
Name
objectshort - match the short description
Syntax
array object objectshort(array object obs, string short)
Description
This method will find the objects that match the short passed in. It does this only on the passed in objects. The short is match explicately, so it does not do matching like in the parser. The short of an object is what you will see in your inventory when you do an inventory (without any modifiers like (lit)).
Examples
objectshort(objects, 'katana')