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
| Option | Type | Description |
|---|---|---|
m_Enable | bool | With 1, enables the module. With 0, disables it. |
m_Corpses | array<object> | Corpse groups and rewards. |
m_Corpses[]
| Option | Type | Description |
|---|---|---|
m_Class | array<string> | Exact animal, player or infected classes matched by this group. |
m_QuantityMax | int | Limit on item instances for this corpse. |
m_Items | array<object> | Reward entries. |
m_Corpses[].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. |
