Stash
Description
Stash places searchable containers at randomly selected configured locations. Inspecting one opens its inventory and generates loot. When the refill delay ends, the container clears remaining items and can be searched again. Use the configured event to place functioning stashes.
Configuration
Default configuration
Stash.json
json
{
"m_Enable": 0,
"m_Logging": 1,
"m_Stashs": [
{
"m_Name": "stash-01",
"m_Container": "AC_Stash_Box",
"m_TimeInspect": 10,
"m_ReloadInspect": 600,
"m_RewardPools": [
"supplies"
],
"m_Quantity": 1,
"m_Positions": [
{
"m_Position": {
"m_X": 4767.1142578125,
"m_Y": 339.28759765625,
"m_Z": 10374.0400390625
},
"m_Orientation": {
"m_Yaw": 0.0,
"m_Pitch": 0.0,
"m_Roll": 0.0
}
},
{
"m_Position": {
"m_X": 4760.412109375,
"m_Y": 339.2930908203125,
"m_Z": 10370.296875
},
"m_Orientation": {
"m_Yaw": 0.0,
"m_Pitch": 0.0,
"m_Roll": 0.0
}
},
{
"m_Position": {
"m_X": 4750.93359375,
"m_Y": 339.2930908203125,
"m_Z": 10364.6015625
},
"m_Orientation": {
"m_Yaw": 0.0,
"m_Pitch": 0.0,
"m_Roll": 0.0
}
}
]
},
{
"m_Name": "stash-02",
"m_Container": "AC_Stash_Box_Multi",
"m_TimeInspect": 10,
"m_ReloadInspect": 600,
"m_RewardPools": [],
"m_Quantity": 1,
"m_Positions": [
{
"m_Position": {
"m_X": 4770.08642578125,
"m_Y": 339.0552978515625,
"m_Z": 10368.599609375
},
"m_Orientation": {
"m_Yaw": 0.0,
"m_Pitch": 0.0,
"m_Roll": 0.0
}
},
{
"m_Position": {
"m_X": 4759.28173828125,
"m_Y": 339.06304931640627,
"m_Z": 10357.615234375
},
"m_Orientation": {
"m_Yaw": 0.0,
"m_Pitch": 0.0,
"m_Roll": 0.0
}
}
]
},
{
"m_Name": "stash-03",
"m_Container": "AC_Stash_WoodenCrate_3x",
"m_TimeInspect": 10,
"m_ReloadInspect": 600,
"m_RewardPools": [
"weapons"
],
"m_Quantity": 1,
"m_Positions": [
{
"m_Position": {
"m_X": 4774.0908203125,
"m_Y": 339.70062255859377,
"m_Z": 10353.099609375
},
"m_Orientation": {
"m_Yaw": 0.0,
"m_Pitch": 0.0,
"m_Roll": 0.0
}
},
{
"m_Position": {
"m_X": 4766.435546875,
"m_Y": 339.7008361816406,
"m_Z": 10347.1650390625
},
"m_Orientation": {
"m_Yaw": 0.0,
"m_Pitch": 0.0,
"m_Roll": 0.0
}
}
]
}
],
"m_RewardPools": [
{
"m_Name": "supplies",
"m_QuantityMax": 10,
"m_Items": [
{
"m_Class": "Apple",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 2,
"m_Attachments": []
},
{
"m_Class": "BandageDressing",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 2,
"m_Attachments": []
},
{
"m_Class": "WaterBottle",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 3,
"m_Attachments": []
},
{
"m_Class": "VitaminBottle",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 3,
"m_Attachments": []
},
{
"m_Class": "Tomato",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 2,
"m_Attachments": []
},
{
"m_Class": "PainkillerTablets",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 2,
"m_Attachments": []
},
{
"m_Class": "FirstAidKit",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 2,
"m_Attachments": []
},
{
"m_Class": "Rice",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 3,
"m_Attachments": []
},
{
"m_Class": "CharcoalTablets",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 2,
"m_Attachments": []
},
{
"m_Class": "SpaghettiCan",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 2,
"m_Attachments": []
},
{
"m_Class": "Canteen",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 4,
"m_Attachments": []
},
{
"m_Class": "TetracyclineAntibiotics",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 2,
"m_Attachments": []
},
{
"m_Class": "BakedBeansCan",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 2,
"m_Attachments": []
},
{
"m_Class": "Heatpack",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 2,
"m_Attachments": []
},
{
"m_Class": "TacticalBaconCan",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 1,
"m_Attachments": []
}
]
},
{
"m_Name": "weapons",
"m_QuantityMax": 10,
"m_Items": [
{
"m_Class": "Battery9V",
"m_Chance": 90,
"m_StackMin": 75,
"m_StackMax": 100,
"m_QuantityMax": 1,
"m_Attachments": []
},
{
"m_Class": "M68Optic",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 1,
"m_Attachments": []
},
{
"m_Class": "M68Optic",
"m_Chance": 25,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 1,
"m_Attachments": [
"Battery9V"
]
},
{
"m_Class": "Mag_STANAG_30Rnd",
"m_Chance": 75,
"m_StackMin": 50,
"m_StackMax": 100,
"m_QuantityMax": 3,
"m_Attachments": []
},
{
"m_Class": "Mag_AKM_30Rnd",
"m_Chance": 75,
"m_StackMin": 50,
"m_StackMax": 100,
"m_QuantityMax": 3,
"m_Attachments": []
},
{
"m_Class": "Mag_FAL_20Rnd",
"m_Chance": 75,
"m_StackMin": 50,
"m_StackMax": 100,
"m_QuantityMax": 3,
"m_Attachments": []
},
{
"m_Class": "M4_RISHndgrd",
"m_Chance": 75,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 5,
"m_Attachments": []
},
{
"m_Class": "AK_WoodHndgrd",
"m_Chance": 75,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 5,
"m_Attachments": []
},
{
"m_Class": "M4_OEBttstck",
"m_Chance": 75,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 5,
"m_Attachments": []
},
{
"m_Class": "AK_WoodBttstck",
"m_Chance": 75,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 5,
"m_Attachments": []
},
{
"m_Class": "Fal_FoldingBttstck",
"m_Chance": 75,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 5,
"m_Attachments": []
},
{
"m_Class": "M4_Suppressor",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 5,
"m_Attachments": []
},
{
"m_Class": "AK_Suppressor",
"m_Chance": 50,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 5,
"m_Attachments": []
},
{
"m_Class": "M4A1",
"m_Chance": 40,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 1,
"m_Attachments": []
},
{
"m_Class": "AKM",
"m_Chance": 30,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 1,
"m_Attachments": []
},
{
"m_Class": "FAL",
"m_Chance": 20,
"m_StackMin": 0,
"m_StackMax": 100,
"m_QuantityMax": 1,
"m_Attachments": []
}
]
}
]
}Options
| Option | Type | Description |
|---|---|---|
m_Enable | bool | With 1, enables the module. With 0, disables it. |
m_Logging | bool | With 1, logs stash creation and reward draws. With 0, skips those records. |
m_Stashs | array<object> | Stash groups, locations and timing. |
m_RewardPools | array<object> | Named reward pools. |
m_Stashs[]
| Option | Type | Description |
|---|---|---|
m_Name | string | Group name used in logs. |
m_Container | string | Exact stash container class from the Types section. |
m_Quantity | int | Number of containers to place for the group, limited by valid locations. |
m_TimeInspect | int | Seconds needed to inspect the container. |
m_ReloadInspect | int | Seconds before the container clears and can be inspected again. |
m_Positions | array<object> | Possible positions and orientations. |
m_RewardPools | array<string> | Names of candidate reward pools. If no name is chosen or found, the module picks from all configured pools. |
m_Stashs[].m_Positions[]
| Option | Type | Description |
|---|---|---|
m_Position | object | World coordinates. |
m_Orientation | object | Object rotation. |
m_Stashs[].m_Positions[].m_Position
| Option | Type | Description |
|---|---|---|
m_X | float | World X coordinate in metres. |
m_Y | float | Elevation in metres. |
m_Z | float | World Z coordinate in metres. |
m_Stashs[].m_Positions[].m_Orientation
| Option | Type | Description |
|---|---|---|
m_Yaw | float | Yaw in degrees. |
m_Pitch | float | Pitch in degrees. |
m_Roll | float | Roll in degrees. |
m_RewardPools[]
| Option | Type | Description |
|---|---|---|
m_Name | string | Exact pool name used in stash groups. |
m_QuantityMax | int | Limit on item instances per inspection. |
m_Items | array<object> | Reward items. |
m_RewardPools[].m_Items[]
| Option | Type | Description |
|---|---|---|
m_Class | string | Exact reward item class. |
m_Chance | int | Chance per roll as a percentage. |
m_QuantityMax | int | Maximum number of instances of this entry per reward draw. |
m_StackMin | int | Minimum percentage of the item’s maximum quantity. |
m_StackMax | int | Maximum percentage of the item’s maximum quantity. |
m_Attachments | array<string> | Item attachment classes. |
Types
types.xml
xml
<type name="AC_Stash_WoodenCase">
<lifetime>3888000</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>
<type name="AC_Stash_Box">
<lifetime>3888000</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>
<type name="AC_Stash_Box_Multi">
<lifetime>3888000</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>
<type name="AC_Stash_WoodenCrate">
<lifetime>3888000</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>
<type name="AC_Stash_WoodenCrate_3x">
<lifetime>3888000</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>
<type name="AC_Stash_WoodenCrate_5x">
<lifetime>3888000</lifetime>
<flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0" />
</type>Controls
| Control | Action |
|---|---|
| Inspect | Hold the normal interaction control on a closed stash until inspection completes. No tool is required. |
