Jump to content

NPCs not spawning with items set in data file

Pending 1.0.6

Just configured the plugin for the exact loot that I wanted on the scientist ... (custom loot table) called scientist and their bodies are empty. I have disabled the Loot Profiles in Alphaloot for the NPCs to see if there might be a a conflict of plugins. once I did that I retested to see if that would fix the issue and I still get the same result. After disabling, CustomLoot the items have appeared on their bodies but only vanilla items. Can you tell me how to fix this problem ?

Share this comment


Link to comment

Hi,

As long a the corpse/container type is set enabled: true in config, and the specific loot table has at least one category with > 0 probability, and that category has at least one item with > 0 probability, CustomLoot will spawn items.

Check those three things are true for some corpse/container type and see how that goes.

Share this comment


Link to comment

Ensure that your loot table is working by assigning it to some box you can test easily.
If it works as you expect then I'd unload all plugins (oxide.unload *) then just load BotSpawn and CustomLoot and test your npcs again.
Chances are some other plugin is wiping their inventory after CustomLoot does its thing.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.4k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.