Versions / 0.4.1 / Item / RootInteractions / Weapons / Shortbow / Root_Weapon_Shortbow_Secondary_Guard.json
Root_Weapon_Shortbow_Secondary_Guard
Server/Item/RootInteractions/Weapons/Shortbow/Root_Weapon_Shortbow_Secondary_Guard.json, 811 B
Fields
| Field | Type |
|---|---|
RequireNewClick | boolean |
Rules | object |
Interactions | array[2] |
Tags | object |
Source
{
"RequireNewClick": true,
"Rules": {
"Interrupting": [
"Primary"
]
},
"Interactions": [
{
"Type": "StatsCondition",
"Costs": {
"Ammo": 1
},
"Next": {
"Type": "ChangeStat",
"Behaviour": "Set",
"StatModifiers": {
"Ammo": 0
},
"Next": {
"Type": "ModifyInventory",
"RequiredGameMode": "Adventure",
"ItemToAdd": {
"Id": "Weapon_Arrow_Crude",
"Quantity": 1
}
}
}
},
{
"Type": "Replace",
"Var": "Guard_Start",
"DefaultOk": true,
"DefaultValue": {
"Interactions": [
"Weapon_Shortbow_Secondary_Guard"
]
}
}
],
"Tags": {
"Attack": [
"Melee"
]
}
}