Config
#Settings
Groups the main configuration options for this resource. The child sections below document each nested setting.
#props
Defines a keyed collection of
propsentries. The child sections below document the fields available for each entry.
Example:
#props[x].model
Model name spawned for this prop template before it is attached to the player during the vending purchase animation.
Example:
#props[x].offset
Attachment offset for this prop template. The
vector3value is passed into the prop attachment step as the X, Y, and Z offset.
Example:
#props[x].rotation
Attachment rotation for this prop template. The
vector3value is passed into the prop attachment step as the X, Y, and Z rotation.
Example:
#props[x].bone
Ped bone ID used when attaching this prop template to the player during the vending purchase animation.
Example:
#machines
Defines a keyed collection of
machinesentries. The child sections below document the fields available for each entry.
Example:
#machines[x].interactOffset
Offset from the vending machine entity used to calculate where the player should stand for the purchase animation.
Example:
#machines[x].items
Defines a list of
itemsentries. The child sections below document the fields available for each entry.
Example:
#machines[x].items[x].name
Inventory item name sold by this vending machine option.
Example:
#machines[x].items[x].prop
Prop template key from
propsused to display the purchased item during the vending animation.
Example:
#machines[x].items[x].price
Cash price removed from the player when this vending machine item is purchased.
Example:
