Project Zomboid

Project Zomboid

More Loot Settings v1.3.6 [41.78]
RudyTheNinja 29 Jul, 2023 @ 10:24pm
Zombie Loot Chance Multiplier, bags?
I was gonna b smart n ask if "bags" was a type of zombies
But the more I thought about it, is it a type of category like Generic and Outift Zombies?

If you use the description given to you by hovering you get
"Loot of all types found on .. bags" so does it mean the loot IN the bag?

Or does it mean the chances of a zombie having a backpack/duffel on their backs?
Bcuz I'd like to turn down that down so that bags are harder to find

Definitely having a brain fart here, bcuz it can in fact b that simple
But the wording has me going in circles lol
Last edited by RudyTheNinja; 11 Oct, 2023 @ 7:54am
< >
Showing 1-10 of 10 comments
Champy  [developer] 23 Sep, 2023 @ 5:41am 
Bags are part of the zombie's outfit, and it's not possible to change the zombie outfit chances with this mod, that's out of scope.
RudyTheNinja 10 Nov, 2023 @ 1:41am 
Originally posted by Champygnakx:
Bags are part of the zombie's outfit, and it's not possible to change the zombie outfit chances with this mod, that's out of scope.
Right, so what does that mean then?
The full description is "Loot of all types found on generic zombies, zombie outfits, and bags"
What does the "and bags" refer to?

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3078251044

So like loot in the bag?
Like when you find a map inside a hiking bag?
Last edited by RudyTheNinja; 11 Nov, 2023 @ 1:08am
Champy  [developer] 10 Nov, 2023 @ 2:23am 
"and bags" means the loot inside bags and other containers
RudyTheNinja 10 Nov, 2023 @ 2:39am 
Originally posted by Champygnakx:
"and bags" means the loot inside bags and other containers
Specifically bags and containers on zombies? Not anywhere else right?
On vanilla I had a map in a hiking bag I found in a closet, but haven't gotten that ever again
Last edited by RudyTheNinja; 10 Nov, 2023 @ 2:44am
Champy  [developer] 10 Nov, 2023 @ 2:45am 
I mean portable containers that aren't bags. Like toolboxes, suitcases...
And the loot inside bags attached to zombies is the same as the loot inside bags found in buildings
RudyTheNinja 10 Nov, 2023 @ 3:45am 
Why does "Zombie Loot" affect toolboxes and suitcases?
Shouldnt it affect loot from zombies only?

N I was just saying that I'm not seeing any loot in bags anymore
But I don't think it's because of this mod
Probably from Essential Crafting mod
Champy  [developer] 10 Nov, 2023 @ 5:17am 
I don't remember exactly, it's been a while since I've worked on this mod. But the loot inside bags attached to zombies is the same as the loot inside bags found in buildings. Don't remember if the bags actually include toolboxes and such or it's just the bags that can be found on zombies now that I think about it.
RudyTheNinja 11 Nov, 2023 @ 1:14am 
Originally posted by Champygnakx:
But the loot inside bags attached to zombies is the same as the loot inside bags found in buildings
Are just you saying the loot table is the same?
Or that the "Zombie Loot" setting affects loot inside bags attached to zombies and loot in bags not attached to zombies? (bags in buildings)

Originally posted by Champygnakx:
Don't remember if the bags actually include toolboxes and such
N I never had a bag include other containers or any items at all since that one time there was a map in one
Maybe a sewing kit, but all bags I have ever gotten are always empty

Originally posted by Champygnakx:
or it's just the bags that can be found on zombies now that I think about it.
..So it does affect chances of zombie carrying a bag? lol
Last edited by RudyTheNinja; 11 Nov, 2023 @ 1:17am
RudyTheNinja 11 Nov, 2023 @ 2:27am 
Originally posted by Champygnakx:
I don't remember exactly, it's been a while since I've worked on this mod
Ya I get it, but as the creator couldn't you just take a look and see what interaction is has with bags
Whether it affects loot inside a bag, or the chances of a zombie carrying a bag

If I knew where to look, I 'd do it myself
I'd imagine it's easier for you to just jump to the Zombie Loot code n see what it does to bags


Actually I tried to see if I could track it down
And I don't think it affects loot inside bags or attached bags at all
Zombie Loot Chance Multiplier only affects ZombieLoot containers (a dead zombie)

There's only 1 multiplier for containers and it's ContainerLootMutiplier, which is in the Loot Rarity page, not the Zombie Loot page (Sandbox settings)

Unless there are other containers that arent zombie corpses that also count as a ZombieLoot container


There's this tho
local zombieLootCache = {} local function isZombieLoot(containerKey) if zombieLootCache[containerKey] ~= nil then return zombieLootCache[containerKey] end if string.match(containerKey, "Outfit_") or string.match(containerKey, "inventory") or string.match(containerKey, "Bag_") then zombieLootCache[containerKey] = true return true end zombieLootCache[containerKey] = false return false end
Which I don't know if it adds ZombieLoot tag to other containers
"If containerKey is Outfit/Inventory/Bag.. then true"
But i think even this doesn't affect bag spawn, just adds zombie loot
Last edited by RudyTheNinja; 11 Nov, 2023 @ 2:55am
Champy  [developer] 11 Nov, 2023 @ 4:07am 
I'm saying the loot table is the same. bag loot can be the bags on zombies or the bags found in buildings I'm pretty sure.

No it doesn't affect the chance of zombies wearing a bag. The bag is part of the outfit

Unless the bag is not part of the outfit(not equipped on the zombie), in which case it would be susceptible to zombie loot multiplier.
< >
Showing 1-10 of 10 comments
Per page: 1530 50