Version 1.1.0
156 downloads
Ballistic Armor Slots gives Ballistic Vests and Ballistic Leg Armor a random number of insert slots when they spawn inside loot crates, so players can slot protective plates (lead, asbestos, etc.). You decide how common each amount is with simple percentage chances.
Features
Random 0 to 3 insert slots on armor found in loot crates
Per-amount percentage chances, fully configurable
Make 3-slot armor rare loot, or keep it always maxed
Console warning if your chances don't add up to 100%
Never overwrites armor that already has slots
How it works
When ballistic armor is generated inside a loot container (Locked / Hackable Crates, Supply Drops, Elite Crates, Underwater Lab crates, etc.), the plugin rolls a slot count from your chances and applies it once, the moment the crate fills its loot. Player storage is never touched.
Always 3 slots
Set the 3-slot chance to 100 and the rest to 0.
Configuration
{
"Chance (%) - 0 slots": 50,
"Chance (%) - 1 slot": 30,
"Chance (%) - 2 slots": 10,
"Chance (%) - 3 slots": 10
}
Each value is the % chance that armor spawns with that many slots; they should total 100. If they don't, the plugin still works (it treats them proportionally) and prints a warning so you can fix it. Reload the plugin after editing.
Note:
Ballistic Helmet is excluded, armor slots for it are not implemented in the game by Facepunch.