Skip to content

Skinning ​

Description ​

Skinning supplies configurable loot for specified corpses. Finishing the skinning action spawns the configured rewards at the corpse, drops any items carried by a player corpse and removes the corpse.

Configuration ​

Default configuration ​

Skinning.json
json
{
    "m_Enable": 0,
    "m_Corpses": [
        {
            "m_Class": [
                "ZmbM_MotobikerFat_Black"
            ],
            "m_QuantityMax": 5,
            "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": []
                }
            ]
        }
    ]
}

Options ​

OptionTypeDescription
m_EnableboolWith 1, enables the module. With 0, disables it.
m_Corpsesarray<object>Corpse groups and rewards.

m_Corpses[] ​

OptionTypeDescription
m_Classarray<string>Exact animal, player or infected classes matched by this group.
m_QuantityMaxintLimit on item instances for this corpse.
m_Itemsarray<object>Reward entries.

m_Corpses[].m_Items[] ​

OptionTypeDescription
m_ClassstringExact reward item class.
m_ChanceintChance per roll as a percentage.
m_QuantityMaxintMaximum number of instances of this entry per reward draw.
m_StackMinintMinimum percentage of the item’s maximum quantity.
m_StackMaxintMaximum percentage of the item’s maximum quantity.
m_Attachmentsarray<string>Item attachment classes.

Released under the MIT License.