wrenchConfig

Settings

Groups the main configuration options for this resource. The child sections below document each nested setting.

props

Defines a keyed collection of props entries. The child sections below document the fields available for each entry. Example:

props = {
    ["default"] = {
        model = "prop_ld_flow_bottle",
        offset = vector3(0.123, -0.039, 0.033),
        rotation = vector3(-103.202, -68.066, 2.815),
        bone = 18905,
    },
    ...
}

props[x].model

Model name spawned for this prop template before it is attached to the player during the vending purchase animation. Example:

model = "prop_ld_flow_bottle"

props[x].offset

Attachment offset for this prop template. The vector3 value 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 vector3 value 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 machines entries. 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 items entries. 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 props used 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:

Last updated