Project Zomboid

Project Zomboid

Trees Have Loot
116 Comments
Ventrir 31 Aug @ 9:23am 
y lo que debería salirte cuando buscas o talas las ramas, puede salir directamente o puede salir al terminar de talar el árbol
Ventrir 31 Aug @ 9:12am 
descubrí que si le das a talar árbol mientras esta haciendo la animación te permite. darle nuevamente a clic derecho y funciona, es raro pero funciona
Narcizo 29 Aug @ 6:20pm 
a alguien mas le da click derecho a los arboles y no le funciona
GM Grimlore 27 Aug @ 6:29pm 
I sure do miss this mod working
SlowPokeDerp 18 Aug @ 11:46am 
Yes also not working, context menu shows no option to search trees
NivJake 17 Aug @ 3:07pm 
id come to comment about it not working... but it appears others are also having issues after 42.11
Red Demon 8 Aug @ 2:06am 
esperamos la actualizacion
IIKEVINCFII 7 Aug @ 7:12am 
Actualicen lo! es parte fundamental en mi partida primitiva
ElZavier 6 Aug @ 8:29am 
broken in 42.11
TricksterTravvy 4 Aug @ 9:54pm 
Also reporting that it's not working after 42.11, same as Novkit. No errors, either. Just no option to search trees.
Novkit 4 Aug @ 6:57pm 
FYI: it looks like the 42.11 update broke this. Not getting anything in the context menu clicking on trees anymore.
Ryan 6 Jun @ 4:56pm 
@PepperCat is it compatible with treez & treezvisibility?
Trainingday 27 May @ 1:29am 
hola alexa! primero de todo buen trabajo con tus mods! por otra parte queria hacerte una consulta. En tu coleccion de mods tienes el calm before storm. Tienes algun link video de como activarlo en la 42? graciass y siento preguntar x aquí pero no se donde escribirte!
Sakana 22 May @ 3:25am 
Does this have trees that are hollow inside to possibly contain random loot like a stash? Lot of games have stashes like that.
PepperCat  [author] 18 Apr @ 6:30am 
@brendamcasey the loot is indeed affected by the size of the three and also, the amount of a certain type of loot as well.
However, TreeZ only upscales the size of the texture, internally, the trees still have the same size, so that mod won't impact this mod.
PepperCat  [author] 18 Apr @ 6:29am 
I don't see why not. Whenever I have time I can do that
stalksetcup 17 Apr @ 9:52am 
Hi, can I ask to add the ability to find hives in trees when the mod is enabled https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3430224478
brendanmcasey 12 Apr @ 11:30am 
Just wondering if your loot metrics have any base in the size of a tree and, if so, would this be effected by the new 'Treez' mod? If not, might it be an idea internally to the mod for the larger tree models to possibly have additional cones, fruit, birds, squirrels and number of branches to harvest? It was just a thought, not meant to put weight on you as a modder.

Long time subscriber, first time commenter.
tantanix01 2 Apr @ 2:08am 
okay for existing save
PepperCat  [author] 31 Mar @ 5:57am 
@Skapman: just because I couldn't find a nice animation for it, didn't want it to look ugly
@Darnexx B.I.G.: I have no clue how to do the controller support, If I learn how to do it I will
@KWG: it depends on your foraging level, size of the tree and season, Higher foraging level, bigger trees and summer are the best combination to find items
B.I.G. 24 Mar @ 3:59am 
I agree. I'm not adding this mod just because there's still no controller support
KWG 17 Mar @ 6:04pm 
Searching in trees isn't giving me any item and I can't search in big trees. Cuting down branch is working fine though. Nice mod!
Darnexx 14 Mar @ 3:11pm 
Wish it would work with the Controller. I can't see anything using it, but with the Mouse I can.
乂αvı'չ 2 Mar @ 5:50pm 
Does it work on saved games?
Skapman 20 Feb @ 11:31pm 
Any reason why you can't use a saw to cut from the tree?
PepperCat  [author] 19 Feb @ 7:14am 
You can already obtain branches with bare hands, however it is waaaaay more rare as there's a lot of other items in the loot table. If you don't wear gloves you can get scratches.
Greez 19 Feb @ 7:10am 
Thanks for the great mod! Is it possible to add the ability to get branches from trees without a knife and an axe? With my bare hands. With a high probability of getting a scratch or injury.
I started the game away from cities and loot. In the current state of the game, it's easy to find rocks and logs in the deep forest, but not branches. I just can't make a stone axe. I thought this mod would help me, but for some reason a sharp stone is not suitable for getting branches from a tree :(
ps. sorry for my english. google translator
Blkbeard 14 Feb @ 4:30am 
Would it be possible to add controller functionality? When I interact with a tree via controller the option to "Search Tree" / "Cut Branch" is missing, but works when I right click the tree. Thanks in advance!
Art Tippet 18 Jan @ 6:10pm 
Ciao! @PepperCat.
I translated your mod into Italian, thanks for your work and for sharing it with the community!
Blkbeard 14 Jan @ 3:17pm 
Amazing mod! One of my faves and should be a vanilla feature! 10/10:steamthumbsup:
retr0l0gy 14 Jan @ 3:50am 
yes thank you its very helpful
croemiles 13 Jan @ 10:50pm 
anyway thanks for your mod PepperCat
retr0l0gy 13 Jan @ 10:17am 
after some time. i deconfirm what SSteve said. you can get branches though getting saplings is much more common for some reason
retr0l0gy 13 Jan @ 10:14am 
also is it normal that i can infinitely search 1 tree?
retr0l0gy 13 Jan @ 10:13am 
can confirm what SSteve said
SSteve 11 Jan @ 9:43pm 
you actually cant get branches, only saplings for some reason?
PepperCat  [author] 7 Jan @ 10:13am 
You can cut branches and will always get branches. Did you test the mod or you're just speaking without trying it?
croemiles 7 Jan @ 9:35am 
ok PepperCat but why it is so hard to find branches in trees ? It is not logical...
PepperCat  [author] 6 Jan @ 2:51pm 
The more you increase your foraging levels, the more chances to obtain things, being 100% chance when at Lv10 and tree size 6 (the maximum)
Clone4082 6 Jan @ 2:33pm 
I have searched several trees in maldrugh, and haven't found SHIT, no matter what tree I search, big or small
PepperCat  [author] 6 Jan @ 6:34am 
What you mean? @croemiles
croemiles 6 Jan @ 2:06am 
trees without branches ....
Tesla Coyle 4 Jan @ 2:21pm 
I wish vanilla foraging was like this, where you would do a timed action of searching something specific and it would grant foraging xp and some item instead of wondering around with an overlay.
PepperCat  [author] 1 Jan @ 7:02am 
Yeah it was intentional because I did the update quickly and thought that most of the crafts were going to use saplings. it ended up that only Spears... haha I will definitely look at the loot table really soon and add all Tree Branches, Saplings, Broken Branch, etc
Bomjus 1 Jan @ 4:56am 
not sure if intentional, but the "cut branch from tree" is ONLY giving me saplings. i can't craft most rudimentary tools from saplings, is it possible to add actual "Tree Branch" to that loot pool?
PepperCat  [author] 25 Dec, 2024 @ 6:29am 
Please do it!
As soon as I have time I will do the update.
About saplings and branches yeah, I need to adjust that, my intention is that you can get more new loot from B42 now, even broken branches.
Von Bon 25 Dec, 2024 @ 5:30am 
My fix amounted more to simply copying your two arrays from TreeMenu for all wood choppers and sharpknives, and changing the IF in CutBranchFromTreeAction functions.

Though by default your script only provides Saplings and not Branches, I included a 50/50 chance of receiving a branch or sapling mainly for testing the new crafting stuff. ( I didn't get very far because there's no craft for crude saw). If you want I can copy-paste the code into a thread if it'll help.
PepperCat  [author] 22 Dec, 2024 @ 1:49pm 
50 percent? it should be much lower but yeah, you have chances
F1tgal911 22 Dec, 2024 @ 1:33pm 
50 percent of the time you get a rotten squirrel from getting a sapling...
PepperCat  [author] 22 Dec, 2024 @ 12:54pm 
Oh, so now the Sharp Flint has the SharpKnife tag? thanks! I will need to exclude that one. If you want to create a thread with that, it would be useful!