Project Zomboid

Project Zomboid

75 ratings
Customizable Zombie Loot
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
1.102 MB
Jan 10 @ 8:56am
Jan 15 @ 10:36pm
3 Change Notes ( view )

Subscribe to download
Customizable Zombie Loot

Description
Feel like something is missing from the zombie loot tables? Ammo? Cigarettes? Modded Items? Well this mod has got you covered!
Adding loot is slightly complicated

Presets have been added making some common uses cases as simple and checking a box on what you want



How to Properly Use Mod
Read carefully as mod will only accept full Item ID's ONLY
  1. Go to Custom Sandbox Setting and find the "Customizable Zombie Loot" box
  2. Find ID of items you want to add by using the Item Wiki [pzwiki.net] (Will take a bit to load)

    For example, Cigarette Packs will be Base.CigarettePacks (Make sure to include the "Base." prefix for vanilla or any modded prefixes)
  3. In Project Zomboid paste the item ID (With the "Base." Prefix) then a comma ( , ) followed by a number representing the rarity of the item.

    Item rarity in zomboid is not a simple 1-100%, however a rarity of 1 is roughly equivalent to 0.4% (THIS CAN AND WILL CHANGED BASED OFF LOOT SETTINGS AND ZOMBIE QUANTITY)
    Vanilla rarities are between 0.1 and 1 for most zombie drops
    Please see below for examples
  4. Repeating for each item you want separating every item and rarity by a comma ( , )
    The format for items will be:
    Base.ItemName,Rarity,Base.ItemName,Rarity, ...
  5. Start game and profit



Examples and Presets
Paste these into the "Customizable Zombie Loot" Box in mod setting to use
Or add what you see fit, your ammo type isnt listed? Go Add it!
All use cases have been left as examples, but are now added into the sandbox settings

Cigarette Packs ~1% of the time
Base.CigarettePack,2.5

Pistol, Shotgun and Rifle Ammo Boxes ~0.4% of the time
Base.Bullets9mmBox,1,Base.ShotgunShellsBox,1,Base.556Box,1

Basic Medical Supplies ([Bandages/Bandaid, Wipes] ~1.5%, [Tweezers, Sutures] ~0.4%)
Base.Bandage,4,Base.Bandaid,4,Base.AlcoholWipes,3,Base.Tweezers,1,Base.SutureNeedle,1

Beer ~1% and Other Alcoholic Beverages ~0.5% of time
Base.BeerBottle,2,Base.BeerCan,2,Base.BeerImported,1,Base.Vodka,0.5,Base.Whiskey,0.5



Notes
Items out of order or not properly formatting will still attempted to be added however may be buggy as the game is trying to add an item that doesnt exist. If a rarity is not specified it will default to a value of 1
B42 Only
Save Compatible

Check Out My Other Workshop Mods BELOW! (Click Image)


Workshop ID: 3404626879
Mod ID: SKITTLE_CustomizableZedLoot

Workshop ID: 3404626879
Mod ID: SKITTLE_CustomizableZedLoot
45 Comments
cringe! May 30 @ 1:20am 
here to warn people after i trolled myself, if you dont use the default apocalypse loot spawn settings (0.4) you will need to adjust stuff

for example on default apocalypse loot (0.4) you have to do Base.CigarettePack,2.5 to get 1%
but if you adjust the loot setting responsible for cigarettes from 0.4 to 1, you will need to do Base.CigarettePack,1 to get 1%
pretty sure this all applies to the presets aswell which assume apoc loot
fernandobenevides Feb 14 @ 4:55pm 
oh boy... how I miss Itemzed!
Carrolla Jan 29 @ 2:04pm 
I was wondering the same thing as Cpt.Moottorimarkka. How does the game define how many bullets are in a stack or how many bullets are loaded in a magazine/clip/gun you find on a corpse?
Cpt.Moottorimarkka ® Jan 28 @ 8:20pm 
Is it possible to define the max stack size for items that zombies can drop? For instance, a zombie having a chance to drop anywhere between 1-10 loose bullets, or being able to drop more than one bottle of beer or bag of chips?
Skittles  [author] Jan 23 @ 4:55pm 
Ah I simply changed them and didn't update the description you are correct it should be a 0.2% chance. I included the "1" that would be included by default simply for continuity and to not cause confusion for people looking
LeFrench Jan 23 @ 3:20am 
very nice mod. thanks. but....

why do your notes conflict with your preset examples?
eg. you say that if no rarity value is specified, the rarity will default to 1, but with your bullets preset you have specified "1" each time. Can you not just skip the rarity or will that break the game's understanding of the syntax?
eg. you say that 1 is roughly 0.4% drop chance, but in your alcohol preset you have "0.5" and then you estimate that 0.5 is 0.5% drop chance. but would 0.5 not be roughly 0.2% drop chance
Aurelius Jan 20 @ 3:21pm 
@Skittles Is there any chance we could get a preset for drinks like water, soda, and juice? I see items for containers on the wiki and it looks like containers and fluids have separate ids?

Containers:
Base.SodaCan
Base.PopBottle
Base.WaterBottle
Base.JuiceBox
Base.JuiceBoxApple
Base.JuiceBoxFruitpunch
Base.JuiceBoxOrange

Fluids:
Base.Cola
Base.GingerAle
Base.ColaDiet
Base.SodaPop
Base.Water
Base.CarbonatedWater
Base.JuiceApple
Base.JuiceFruitpunch
Base.JuiceOrange

I might have missed some. I believe that Base.SodaPop is orange soda? And Base.PopBottle is the orange soda bottle? Thanks for all your hard work with this mod. :)
MeFiu Dywan Jan 20 @ 5:34am 
They won't. I tested it by giving 250 chance for a generator and no of the 3 zombies had it.
Skittles  [author] Jan 19 @ 2:05pm 
From what I know items won’t spawn in if it’s over the container weight so that is prob why furniture isn’t spawning jn
MeFiu Dywan Jan 18 @ 3:47pm 
I tested it on a couple of random items(purple lightbulb,pizza slice,truck muffler, meat cleaver, widescreen TV) with high percentages and it works just fine, but I couldnt find a widescreen TV. Does furniture and heavy things which have bigger encumbrance than 12 (that the corpse can hold) not spawn in? Its late and I dont have more time to experiment with this (I could have fucked up the commas and your .split() didnt work properly or smth)