Jump to content

NPCs not spawning with items set in data file

Pending 1.0.6

P4R4N0RM4L
P4R4N0RM4L

Posted

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 ?

  • Administrator
Steenamaroo

Posted

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.

Sahyatt

Posted (edited)

I am having the same issue with bosses i created.  Did you get this figured out?  I attached my configs for bot spawn and custom loot incase anyone might need to look at them.

CustomLoot.json BotSpawn.json

Edited by Sahyatt
to edit
  • Administrator
Steenamaroo

Posted

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.

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.