Skip to main content

containsimbue

Discworld expression help

containsimbue

Name

containsimbue - contains an imbue

Syntax

array object containsimbue(array object obs, string imbue)

Description

This method will find the objects that contain the specified imbue in the set of passed in objects.

If you set the imbue type you are looking for to "any" then it will match any sort of imbue.

To detect imbues one of the shop employees must be a priest.

Examples

containsimbue(objects, "ressurect")
containsimbue(objects, "any")

See also

containsspell, objects