-
class InventoryTarget:
Target
¶ InventoryTarget is an extension of the Target class injected into the prism namespace by the Inventory module. This overrides the standard range builder function, and treats items in inventory as always being in range.
-
__new(self:
Target
, ...:unknown
)¶ Creates a new Target and accepts components and sends them to with().
-
inInventory(self:
InventoryTarget
):InventoryTarget
¶ Checks if the target is in the owner’s inventory.
-
outsideInventory(self:
InventoryTarget
):InventoryTarget
¶ Checks that the target is not in the owner’s inventory.
Other members:
Inherited from
Object
:_serializationBlacklist
,adopt()
,assertType()
,className
,deserialize()
,extend()
,instanceOf()
,is()
,isInstance()
,mixin()
,prettyprint()
,serializationBlacklist
,serialize()
Inherited from
Target
:_optional
,filter()
,hint
,inLevel
,isPrototype()
,isType()
,los()
,optional()
,outsideLevel()
,range()
,reqcomponents
,sensed()
,setHint()
,type
,validators
,with()
-
__new(self: