Project Zomboid

Project Zomboid

More Loot Settings v1.3.6 [41.78]
RudyTheNinja 29. juli 2023 kl. 22:24
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
Sidst redigeret af RudyTheNinja; 11. okt. 2023 kl. 7:54
< >
Viser 1-10 af 10 kommentarer
Champy  [udvikler] 23. sep. 2023 kl. 5:41 
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 kl. 1:41 
Oprindeligt skrevet af 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://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3078251044

So like loot in the bag?
Like when you find a map inside a hiking bag?
Sidst redigeret af RudyTheNinja; 11. nov. 2023 kl. 1:08
Champy  [udvikler] 10. nov. 2023 kl. 2:23 
"and bags" means the loot inside bags and other containers
RudyTheNinja 10. nov. 2023 kl. 2:39 
Oprindeligt skrevet af 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
Sidst redigeret af RudyTheNinja; 10. nov. 2023 kl. 2:44
Champy  [udvikler] 10. nov. 2023 kl. 2:45 
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 kl. 3:45 
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  [udvikler] 10. nov. 2023 kl. 5:17 
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 kl. 1:14 
Oprindeligt skrevet af 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)

Oprindeligt skrevet af 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

Oprindeligt skrevet af 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
Sidst redigeret af RudyTheNinja; 11. nov. 2023 kl. 1:17
RudyTheNinja 11. nov. 2023 kl. 2:27 
Oprindeligt skrevet af 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
Sidst redigeret af RudyTheNinja; 11. nov. 2023 kl. 2:55
Champy  [udvikler] 11. nov. 2023 kl. 4:07 
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.
< >
Viser 1-10 af 10 kommentarer
Per side: 1530 50