Project Zomboid

Project Zomboid

29 ratings
Dragons Zombie Loot
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
199.458 KB
21 Jul, 2023 @ 7:58am
29 Aug, 2024 @ 2:43pm
6 Change Notes ( view )

Subscribe to download
Dragons Zombie Loot

Description


Description
Adds useful loot to zombies, with simple configuration settings that allows for customization of the way these items are added. Mod was inspired by Zombie Loot by Dylan.

What is included?
The primary focus of this mod is simplicity, versatility, balance and compatibility. I wanted a zombie loot mod that has some sensible presets, but also the ability to configure some aspects, such as which item "groups" to add, and their rarity. The full list of features in this mod are:

- Add items to male zombies toggle
- Add items to female toggle
- Loot chance flat adjustment
- Loot chance multiplier adjustment
- Add modded items (does nothing yet)
- Add misc items
- Add food items
- Add drink items
- Add medical items
- Add material items
- Add tool items
- Add melee weapon items
- Add ranged weapon items

Check out this discussion thread for base values and which items are added:

Flat increases are applied AFTER multiplication, and all settings only apply to items added through THIS mod. Normal sandbox loot rarity settings are also applied on top of the base rarity, so the rarity settings is mostly to make the added items more or less rare than what can already spawn in vanilla.

Customization
You can configure singleplayer settings through Mod Options. Servers use vanilla sandbox settings.

- Install Mod Options.
- Open Project Zomboid.
- Enable "Mod Options" in the mod menu.
- Go to "Options".
- Go to "Mods".
- Adjust settings for "Dragons Zombie Loot" to your liking.
- Apply.

NB: If you change settings while a save is loaded, you will have to reload the save for changes to apply. No need to shut down the game though.

NB: If you want to change the settings for a server, you need to use the sandbox settings instead. Remember to have the mod enabled if you use the "Host" approach, as the sandbox settings wont show/get added otherwise.

Default Settings
- Add to Male = true
- Add to Female = true
- Loot Chance Flat Adjustment = +0 (no changes)
- Loot Chance Multiplier Adjustment = +0% (no changes)
- Add Modded Items = false
- Add Misc Items = true
- Add Food Items = true
- Add Drink Items = true
- Add medical Items = true
- Add Material Items = true
- Add Tool Items = true
- Add Melee Weapon Items = true
- Add Ranged Weapon Items = true

Compatibility
- The mod is entirely self-contained and does NOT: modify loot chance of other mods.
- Existing save compatible, though zombies that have already spawned in wont be affected by changes to settings
- Keep in mind that if you have mods that remove/replace vanilla items, there could be some issues or unexpected behavior, but that is why the item group toggles are for.

Balance
It is a bit tricky to balance a mod like this due to how Project Zomboid distributes items into inventories. The main issues is that there is a hard limit on how many items in total that can be added to an inventory. What this means, is that high commonality items take precedence, and will "overwrite" items that are more rare if the amount limit is reached. In theory, this means that the more items you add to the loot table, the less of a chance there is for there to be a "slot" open for a rare item to spawn, thus making them even more rare than what the rarity stat implies.

For this reason, I have made an attempt at tweaking the rarity of these added items to be mostly on the more uncommon/rare side, compared to vanilla items. My design philosophy is that the zombie loot should be a nice bonus, but not something that should straight up replace say farming for food, or going to POIs to get weapons or ammo.

I have also noticed that some other loot mods only add items to male zombies, but this mod gives you the option to add items to both male and female zombies, which automatically doubles the chances that these items can spawn in, another reason why I would rather be a bit more on the conservative side when it comes to rarity.

Known Issues
None so far, but let me know if you encounter any.

Workshop ID: 3007689043
Mod ID: DragonsZombieLoot
Popular Discussions View All (2)
0
21 Jul, 2023 @ 8:34am
Suggestions
DragonKing
12 Comments
DragonKing  [author] 16 Jul, 2024 @ 12:30pm 
@jsy070228 - no clue, but for me, this is not a problem with my mod
jsy070228 16 Jul, 2024 @ 9:57am 
file doesn't match the one on the server
Is it possible to solve the problem by modifying both the client and the server?
DragonKing  [author] 15 Jul, 2024 @ 8:51am 
@jsy070228 - I have been running this mod on a test server without crashing, so, specify what error code?
jsy070228 15 Jul, 2024 @ 6:17am 
When applying to a multi-server and running the server, the game is forced to quit with a message in red on a black screen saying an error has occurred in .lua.
DragonKing  [author] 14 Jul, 2024 @ 10:45am 
@jsy070228 what problems
jsy070228 14 Jul, 2024 @ 9:07am 
0.05 -> 0.5
Even though I only changed the probability like this, problems occur when running the server.
DragonKing  [author] 11 Jul, 2024 @ 4:44am 
@jsy070228 - Could you be a bit more specific about what problem you are referring to? what value you changing?

I just made some adjustments to the mod so it only uses sandbox settings now, as an attempt to address some server-related issues. Though, from my testing, I might just revert that change soon, as it did not in fact solve the problem.
jsy070228 10 Jul, 2024 @ 3:18pm 
Why does a problem occur even though I just changed the value?
NoobNinj4 30 Jun, 2024 @ 9:36am 
muito bom
DragonKing  [author] 6 Aug, 2023 @ 3:00am 
@Inflectus You are welcome to add it to a collection, but if you insist on making your own mod upload with your own loot table etc. Then credit and a reference to this mod would be nice.

If you just straight up copy-paste the whole mod without changes though, then just use the collection system, that is what it is there for.