- Языки
- Английский
About Custom Loot
Formerly NPCLoot.
Populate npc corpses, containers, and barrels with custom loot.
General info.
Users can create as many loottables as required, and assign them to npc/container types by name.
To create a new loot table, simply set the "lootTable" entry for some container type in config to a new made up name.
This will create a new /data file of that name, which you can customise.
The same loot table can be used for multiple corpse or container types.
New categories and items are added automatically so, hopefully, data should never need to be wiped.
Default loottable has all probabilities set to zero ( no loot) and will require customisation.
I intend to provide some sample loottables for free download in the near future.
Item choice is done by two-tier probability.
For each spawned item a category is chosen first, based on your category probabilities,
then an item is chosen from that category, based on your item probabilities for that category.
See notes at bottom for further info on probabilities.
Optional dependencies -