Project Zomboid

Project Zomboid

Soul Filcher's Foraging Time
101 Comments
Zoomies 17 May @ 12:53pm 
I found the foraging bonuses in this mod didn't work, if you mouse over the eye in the foraging window none of them show up.

I believe it can be fixed by swapping Events.preAddSkillDefs.Add(function() with Events.OnGameStart.Add(function() in SFForage_Bonuses.lua

It seems to happen because the vanilla foraging table is wiped and overwritten after preAddSkillDefs
soulfilcher  [author] 28 Apr @ 7:34am 
It is an issue with the code that builds the list of professions. For B41 Profession Framework should fix that, but I don't know if only for professions added through the framework's code or all of them.
Woodland 27 Apr @ 7:43pm 
@soulfilcher Gotcha, thanks for the response, any idea on why this happens? I'm not expecting a "fix" or anything but I am curious as to why that happens.
soulfilcher  [author] 27 Apr @ 2:23pm 
It is a known issue in B41.
MqKosmos 27 Apr @ 1:16pm 
Yup, same issue. Chose it once, never saw it again :(
Woodland 29 Nov, 2024 @ 12:06pm 
"Maybe this is a glitch because i have lots of mods.
But i can only choose the homeless profession when starting a new save.
If i die and start a new character in the same world, the profession won't be listed.
I have no profession mods tho."

I am also having this issue on my dedicated server. Unsure what causing it but it's persistent.
Biznu 29 Nov, 2024 @ 11:39am 
@Perrito Having the same issue as well
Zackymanic 29 Oct, 2024 @ 7:22pm 
Why did you remove acrons?
Locked In Alien 4 Jul, 2024 @ 8:06pm 
Does this work with ForagingZ?
Ash 20 Jun, 2024 @ 11:17pm 
Maybe this is a glitch because i have lots of mods.
But i can only choose the homeless profession when starting a new save.
If i die and start a new character in the same world, the profession won't be listed.
I have no profession mods tho.
Greenthumb 27 Feb, 2024 @ 6:49pm 
mp?
Horbino 27 Jan, 2024 @ 10:59pm 
Works on existing save games?
Nagazora 18 Dec, 2023 @ 11:45am 
do acorns and raspberries work as bait for traps?
sunnybunny251 10 Oct, 2023 @ 7:28am 
This is really cool - I didn't download it since I haven't been playing for very long. I'm gonna favorite it so I don't forget.
compy 2 Sep, 2023 @ 8:15pm 
the homeless profession disappears after you die it wont reappear till you reboot the game. no idea why this happens, but its a little annoying...( I've encountered this in both multi and single)
Kitsune 26 Apr, 2023 @ 10:32am 
@soulfilcher my bad. I just didnt know how to forage. Did a quick search on how to. Good mod btw!
soulfilcher  [author] 26 Apr, 2023 @ 10:05am 
It doesn't require anything.
Kitsune 26 Apr, 2023 @ 9:42am 
@soulfilcher , none but I believe it doesn't work. maybe there might be pre requisite mods I need to download 1st for it to work? there is no forage option appearing when right clicking
soulfilcher  [author] 26 Apr, 2023 @ 8:38am 
@nIKNAKNUIE: I think everything in the trash category scales with loot rarity.

@Kitsune: As far as I know it is still working. Do you get any errors in console?
Kitsune 26 Apr, 2023 @ 2:20am 
Does this still work? Or maybe it conflicts with other mods. I tried launching a game three times already but it crashes
nIKNAKNUIE 22 Feb, 2023 @ 9:37pm 
That is news to me lmao, i didn't actually realise they were in the foraging loot table. Do you know if they scale with the loot rarity settings or nature settings or both? Also thank you for your response.
soulfilcher  [author] 22 Feb, 2023 @ 7:56am 
Recipe magazines do spawn by foraging, but I guess they are very rare.
nIKNAKNUIE 22 Feb, 2023 @ 12:53am 
An update for this allow one to find recipe's would be amazing. For context i am playing on a forest map and that makes it impossible to find recipes which cuts out a big chunk of gameplay. I haven't had much luck finding a suitable mod to circumvent this.
soulfilcher  [author] 11 Oct, 2022 @ 6:28am 
It will, I'm just waiting for other mods at the moment.
MrFlux 11 Oct, 2022 @ 5:52am 
will awesome time get updated?
rat 12 Sep, 2022 @ 2:44am 
Acorns can be found in the base game now.
Gaist Heidegger 11 Sep, 2022 @ 9:39am 
Curious if the homeless occupation has some of the various foraging item type buffs as well? With expanded descriptions a bunch of the other professions seem to have bonuses to finding e.g. medical supplies or the like, there just doesn't seem to be a similar tooltip for Homeless. Thanks!
ogbing 24 May, 2022 @ 2:13am 
Now I can be homeless
yolli11 #jinjiyanazadi 11 Apr, 2022 @ 12:20pm 
@soulfilcher it worked now somehow. Ty. :-)
soulfilcher  [author] 10 Apr, 2022 @ 2:42pm 
@R4ZH0R: There should not be any big issues.

@yolli11: I don't usually deal with servers so I can't really answer that. My guess is that once you enable it for the server it should work. If not, try enabling the mod before joining the server, this way the files will be already loaded when you get to the character screen.
yolli11 #jinjiyanazadi 10 Apr, 2022 @ 2:30pm 
I am trying to add mods to my server for the first time. I cannot see the Homeless Profession somehow. Is there something I have to consider or activate?
R4ZH0R 28 Mar, 2022 @ 7:36am 
Hello Soulfilcher
Does this mod works well with the Snake ones? Like le gourmet revolution that add a lot of stuff to foraging
soulfilcher  [author] 18 Mar, 2022 @ 6:26am 
It should be. I don't think 41.68 changed anything that can break this mod.
超级突刺 17 Mar, 2022 @ 7:51pm 
Compatible with 41.68?
ace 6 Mar, 2022 @ 10:07pm 
this should be made to work together with the mod that spawns you with items/clothing based on occupation, homeless should spawn with a small bag or something and some ripped clothes, would be cool but not really necessary
SH1TWORKS 4 Mar, 2022 @ 6:06pm 
@soulfilcher
That would be great. I can't wait, but I know that greatness can't be rushed. Thanks for making badass mods.
soulfilcher  [author] 4 Mar, 2022 @ 1:15pm 
I believe modded that should work as all items are included in vanilla categories.
ace 4 Mar, 2022 @ 12:58pm 
can you update the mod to support the new feature in 41.67
"Added Search Focus system for foraging"
unless it'd already work anyway
JackOverkill 4 Mar, 2022 @ 7:08am 
tested . at lv0 foraging its weaker and unemployed with outdoorman and short sighted with glasses . u need to up the job bonus
soulfilcher  [author] 4 Mar, 2022 @ 4:53am 
Hi, I'm glad you enjoy the mods. Profession Framework requirement will be removed in the next update.
SH1TWORKS 3 Mar, 2022 @ 6:39pm 
I love all of your mods. This one is an amazing mod with great features for any 41.65 SP playthroughs. Thumbs Up and Favorited, but Unsubscribed as the reliance on Profession Framework keeps creating duplicate "Profession" traits. Not a game-ender, just redundant for my experience.
JackOverkill 2 Mar, 2022 @ 12:21am 
wider detection range and less weather penalties while foraging. . how much in number ?
soulfilcher  [author] 27 Feb, 2022 @ 3:10pm 
You're probably using Profession Framwork b41 patch, and this mod is now using the other version.
loremipsum 26 Feb, 2022 @ 9:24pm 
I just tried testing out the actual profession itself- seems like the entire profession has been removed. Not sure why or if this helps.
soulfilcher  [author] 26 Feb, 2022 @ 3:15pm 
I will need more info, I don't get that one and it looks very weird, specially since line#4 has nothing in it.
loremipsum 26 Feb, 2022 @ 2:44pm 
Still getting this error upon startup:

function: Add -- file: SFForage_Bonuses.lua line # 4
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@ae9470bd
function: init -- file: forageSystem.lua line # 227
soulfilcher  [author] 26 Feb, 2022 @ 1:45pm 
Fixed.
soulfilcher  [author] 26 Feb, 2022 @ 1:23pm 
I'm investigating that.
Infernus 26 Feb, 2022 @ 10:49am 
Getting 1 error during save load. Tested in a new game with just this mod and its required Profession Framework and still get it, so it's probably not a mod compatibility issue.

-----------------------------------------
function: importDef -- file: forageSystem.lua line # 996
function: addSkillDef -- file: forageSystem.lua line # 1099
function: Add -- file: SFForage_Bonuses.lua line # 24
Callframe at: se.krka.kahlua.integration.expose.MultiLuaJavaInvoker@40896e0f
function: init -- file: forageSystem.lua line # 214
soulfilcher  [author] 23 Feb, 2022 @ 10:11am 
Yes, the profession bonuses need to be updated. That will happen when 41.66 is out of beta.