Pular para o conteúdo

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çãoTipoDescrição
m_EnableboolCom 1, ativa o módulo. Com 0, desativa.
m_LoggingboolCom 1, registra a criação de esconderijos e os sorteios. Com 0, omite esses registros.
m_Stashsarray<object>Grupos de esconderijos, locais e intervalos.
m_RewardPoolsarray<object>Conjuntos de recompensas por nome.

m_Stashs[] ​

OpçãoTipoDescrição
m_NamestringNome do grupo usado nos registros.
m_ContainerstringClasse exata do contêiner de esconderijo da seção Tipos.
m_QuantityintNúmero de contêineres a posicionar para o grupo, limitado pelos locais válidos.
m_TimeInspectintSegundos necessários para inspecionar o contêiner.
m_ReloadInspectintSegundos até o contêiner ser esvaziado e aceitar nova inspeção.
m_Positionsarray<object>Posições e orientações possíveis.
m_RewardPoolsarray<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çãoTipoDescrição
m_PositionobjectCoordenadas do mundo.
m_OrientationobjectRotação do objeto.

m_Stashs[].m_Positions[].m_Position ​

OpçãoTipoDescrição
m_XfloatCoordenada X do mundo, em metros.
m_YfloatAltura, em metros.
m_ZfloatCoordenada Z do mundo, em metros.

m_Stashs[].m_Positions[].m_Orientation ​

OpçãoTipoDescrição
m_YawfloatRotação horizontal em graus.
m_PitchfloatInclinação vertical em graus.
m_RollfloatInclinação lateral em graus.

m_RewardPools[] ​

OpçãoTipoDescrição
m_NamestringNome exato do conjunto usado nos grupos de esconderijos.
m_QuantityMaxintLimite de instâncias de itens por inspeção.
m_Itemsarray<object>Itens de recompensa.

m_RewardPools[].m_Items[] ​

OpçãoTipoDescrição
m_ClassstringClasse exata do item de recompensa.
m_ChanceintChance percentual por sorteio.
m_QuantityMaxintQuantidade máxima de instâncias desta entrada por geração de recompensas.
m_StackMinintPercentual mínimo da quantidade máxima do item.
m_StackMaxintPercentual máximo da quantidade máxima do item.
m_Attachmentsarray<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 ​

ControleAção
InspectSegure o controle normal de interação sobre um esconderijo fechado até concluir a inspeção. A ação dispensa ferramentas.

Distribuído sob a licença MIT.