Stash
Descrição
Stash posiciona contêineres inspecionáveis em locais sorteados da configuração. Ao inspecionar um esconderijo, o inventário abre e o saque é gerado. Quando termina o intervalo de reposição, o contêiner remove os itens restantes e pode ser inspecionado novamente. Use o evento configurado para posicionar esconderijos funcionais.
Configuração
Configuração padrão
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": []
}
]
}
]
}Opções
| Opção | Tipo | Descrição |
|---|---|---|
m_Enable | bool | Com 1, ativa o módulo. Com 0, desativa. |
m_Logging | bool | Com 1, registra a criação de esconderijos e os sorteios. Com 0, omite esses registros. |
m_Stashs | array<object> | Grupos de esconderijos, locais e intervalos. |
m_RewardPools | array<object> | Conjuntos de recompensas por nome. |
m_Stashs[]
| Opção | Tipo | Descrição |
|---|---|---|
m_Name | string | Nome do grupo usado nos registros. |
m_Container | string | Classe exata do contêiner de esconderijo da seção Tipos. |
m_Quantity | int | Número de contêineres a posicionar para o grupo, limitado pelos locais válidos. |
m_TimeInspect | int | Segundos necessários para inspecionar o contêiner. |
m_ReloadInspect | int | Segundos até o contêiner ser esvaziado e aceitar nova inspeção. |
m_Positions | array<object> | Posições e orientações possíveis. |
m_RewardPools | array<string> | Nomes dos conjuntos de recompensa candidatos. Se nenhum nome for selecionado ou encontrado, o módulo sorteia entre todos os conjuntos configurados. |
m_Stashs[].m_Positions[]
| Opção | Tipo | Descrição |
|---|---|---|
m_Position | object | Coordenadas do mundo. |
m_Orientation | object | Rotação do objeto. |
m_Stashs[].m_Positions[].m_Position
| Opção | Tipo | Descrição |
|---|---|---|
m_X | float | Coordenada X do mundo, em metros. |
m_Y | float | Altura, em metros. |
m_Z | float | Coordenada Z do mundo, em metros. |
m_Stashs[].m_Positions[].m_Orientation
| Opção | Tipo | Descrição |
|---|---|---|
m_Yaw | float | Rotação horizontal em graus. |
m_Pitch | float | Inclinação vertical em graus. |
m_Roll | float | Inclinação lateral em graus. |
m_RewardPools[]
| Opção | Tipo | Descrição |
|---|---|---|
m_Name | string | Nome exato do conjunto usado nos grupos de esconderijos. |
m_QuantityMax | int | Limite de instâncias de itens por inspeção. |
m_Items | array<object> | Itens de recompensa. |
m_RewardPools[].m_Items[]
| Opção | Tipo | Descrição |
|---|---|---|
m_Class | string | Classe exata do item de recompensa. |
m_Chance | int | Chance percentual por sorteio. |
m_QuantityMax | int | Quantidade máxima de instâncias desta entrada por geração de recompensas. |
m_StackMin | int | Percentual mínimo da quantidade máxima do item. |
m_StackMax | int | Percentual máximo da quantidade máxima do item. |
m_Attachments | array<string> | Classes dos anexos do item. |
Tipos
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>Controles
| Controle | Ação |
|---|---|
| Inspect | Segure o controle normal de interação sobre um esconderijo fechado até concluir a inspeção. A ação dispensa ferramentas. |
