Jump to content

CoxisLootSpawn - further enhance LootModifier


Dr_Cox1911

Recommended Posts

poster.png.1fefdb23af6c6248d3d9254728ccd682.png

 

with the help of @Fenris_Wolf I've made a little mod that further customizes the way loot is spawned. I made that for the gameserver project-zomboid.de, but of course everyone can use it.

Right now it's pretty much in the testing phase and I therefore could use your help.

 

You can Download the mod from github: https://github.com/DrCox1911/CoxisLootSpawn

 

The way this works:

With the mod there ships a "CoxisDistribution.ini", where you can define loot modifiers for categories and for special items.

If you don't define a loot modifier for a category the one set with the normal sandbox options will be used.

 

This mod needs the CoxisUtil mod, which you can download from github here: https://github.com/DrCox1911/coxisutil

 

Steam Workshop

Edited by Dr_Cox1911
added steam workshop link
Link to comment
Share on other sites

Just took a brief look (haven't tested yet), the only potential problem I see is no override for ItemPicker.rollContainerItem

To clarify, if .rollItem spawns a container (like a backpack on a zombie, or a garbage bag inside a garbage can), .rollContainerItem is then called (at line 96 in your file) to fill out items inside that new container.  Without overriding that as well, it will bypass the new loot settings.

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...