ContainerInformation
- class HorseMod.ContainerInformation
This class holds all the informations needed to find and identify a container attached to a horse, so the world item can be associated to the horse, and the horse can associate itself to the world item. The XYZ coordinates are stored to help find the world item again if needed and this data is added to the world item mod data.
-
x:
number X position of the world item used as container.
-
y:
number Y position…
-
z:
number Z position…
-
fullType:
string The full type of the inventory item used as container.
-
itemID:
number The ID of the inventory item used as container.
-
worldItem:
IsoWorldInventoryObject? Reference to the world item container, this gets automatically reassigned when the container is found again.
-
horseID:
number The ID of the horse the container is attached to.
-
slot:
HorseMod.AttachmentSlot The slot the container is attached to.
-
x: