- 12.87 kB
Give kits to all Rust npcs by location/type. Also mods weapon drop and condition.
Give custom Kits to all default Rust npc types, and control what, if anything, becomes lootable when the npc is killed.
Also has control for dropping weapon on death, weapon condition, and magazine contents.
Please make sure that the weapons you're giving to the npcs are suitable.
Oilrig npcs, in particular, seem to become stupid with certain weapons.
- Military Tunnel
- Junkpile Scientist
- Mounted Scientist (CH47)
- Compound Scientist
Options per type:
- "enabled": false,
- "Kits": ,
- "Health": 150,
- "Weapon_Drop_Percent": 100,
- "Min_Weapon_Drop_Condition_Percent": 100,
- "Max_Weapon_Drop_Condition_Percent": 100,
- "Dropped_Weapon_Has_Ammo_Percent_Chance": 100,
- "Wipe_Default_Inventory", Wipe default inventory of spawned npc.
- "Wipe_Main_Percent": 100, - Remove from corpse anything placed in main by Kits plugin
- "Wipe_Clothing_Percent": 100, - Remove from corpse anything placed in clothing by Kits plugin
- "Wipe_Belt_Percent": 100, - Remove from corpse anything placed in belt by Kits plugin
- "Default_Corpse_Loot_Percent": 100 - Remove from corpse default loot given by Rust
Note : Kits follows the same format as BotSpawn kits.
If multiple are listed, one is chosen at random each time.
"Kits":["Kit One"] "Kits":["Kit One", "Kit Two", "Kit Three"]
Object hook OnNpcKits(ulong) is provided.
Return non null to prevent this plugin from giving kits to your spawned npcs.