Project Zomboid

Project Zomboid

65 ratings
Hard Forage
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
453.135 KB
9 Nov, 2022 @ 8:22am
6 May, 2023 @ 8:55am
7 Change Notes ( view )

Subscribe to download
Hard Forage

In 2 collections by spoon
Realismus Crisostomus
74 items
Project Realistic Overhaul
23 items
Description
Details :
  • Forage zones wont be refilled/updated daily but rather with weather events only.
  • Nerfed vegatation zone output goodies a little to encourage more forest trips.
  • Junk food category now only lets you find canned food.
  • Nerfed peoples specialities on certain item categories so they could have better chance of finding other stuff as well.
  • Worms and termites come in bulk now - 1 to 8 and 1 to 10 respectively.
  • Its a small workaround to force people to wonder further from their bases.
  • Goes hand in hand with my Hard Fishing mod.
  • Has two variants of the mod - the 'Plus' version should be used with 12 months later settings etc.

AND MOST IMPORTANTLY, after many hours of testing I discovered that large forage zones that are made smaller,overlaying them with other zones, will keep the original zone size it has on the objects.lua and the forage distribution script will spawn and distribute things based on that, no matter how small visually, these zones will always have plenty of stuff in them. This mod is a complementary mod for my Camden County map that have 14k+ small zones as an underlying layer. This will force players to use new locations, to forage more stuff as the zones will now get refilled slowly when picked clean. It will create a natural need to wonder further from your home area.










This is part of... :
Project Realistic Overhaul - Set of mods I've created that will overhaul the vanilla game experience to be more hardcore and true to life, but on the other hand leaves you the option to make it through and survive. It makes items and actions have more value and makes the world more alive.


Workshop ID: 2886457020
Mod ID: HardForage
Mod ID: HardForagePlus
14 Comments
Vorshim 17 Sep @ 2:11pm 
Hi Spoon! Nice to meet you!

Today, while exploring, I found the file saves/multiplayer/serverIp_id/global_mod_data.bin. It's a mini-database with globalModData tables fetched by the server at game start and client-generated data. This .bin file is saved only when the game closes.

On our server, used for a year, long-term players accumulate a huge file—95-99% of it is from the forageData table. One player has 800,000 lines and an 18MB file.

Could this negatively impact anything? I saw commented-out functions in the mod to reinitialize forageData. Since I’m unsure how the mod and vanilla logic work, would it be better to periodically reset them?

Could you share your thoughts and explain the purpose of forageData?

Thanks!
ArcadeBulls 6 Feb @ 12:14am 
Is this mod working as of right now? Would love to use it on our server with Camden County, but I'm not sure about the errors mentioned.
[PSS] Ave ΛVΞ 27 Nov, 2023 @ 4:54am 
Is there a chance for an addon that will also make it difficult for vegetables with the Soul Filcher's Farming Time and Soul Filcher's Awesome Time mods?
fin fin fin 15 Sep, 2023 @ 8:00am 
it felt easier to forage for me rn but im not sure
Ashlyn Bootrobba 15 Aug, 2023 @ 6:59pm 
I'm getting similar error messages. In practice, nothing will come up while foraging. At first I just had to toggle it off and back on, and it worked. Now I can toggle it multiple times and it won't show anything. It also randomly completely blacks out everything outside the investigation circle instead of being transparent.

function: getRefillBonus -- file: forageSystem.lua line # 1035 | MOD: Hard Forage
function: fillZone -- file: forageSystem.lua line # 329 | MOD: Hard Forage
function: createZoneData -- file: forageSystem.lua line # 296 | MOD: Hard Forage
function: getAndActivateZoneAtXY -- file: ISSearchManager.lua line # 985 | Vanilla
function: updateCurrentZone -- file: ISSearchManager.lua line # 995 | Vanilla
function: doUpdateEvents -- file: ISSearchManager.lua line # 1219 | Vanilla
function: toggleSearchMode -- file: ISSearchManager.lua line # 1446 | Vanilla
function: onMouseUp -- file: ISButton.lua line # 56 | Vanilla.
Alximik 30 Jul, 2023 @ 7:43am 
Hello spoon, with the help of the errorMagnifier mod, I noticed the following error: function: getRefillBonus -- file: forageSystem.lua line # 1035 | MOD: Hard Forage - Harder Version
function: fillZone -- file: forageSystem.lua line # 329 | MOD: Hard Forage - Harder Version
function: createZoneData -- file: forageSystem.lua line # 296 | MOD: Hard Forage - Harder Version
function: createForageZone -- file: forageSystem.lua line # 950 | MOD: Hard Forage - Harder Version
function: getAndActivateZoneAtXY -- file: ISSearchManager.lua line # 985 | Vanilla
function: updateCurrentZone -- file: ISSearchManager.lua line # 995 | Vanilla
function: doUpdateEvents -- file: ISSearchManager.lua line # 1219 | Vanilla
function: toggleSearchMode -- file: ISSearchManager.lua line # 1446 | Vanilla
function: onMouseUp -- file: ISButton.lua line # 56 | Vanilla
java.lang.RuntimeException: __div not defined for operands in getRefillBonus
DaniTresD 3 Jun, 2023 @ 9:12am 
Thanks, @spoon lml
spoon  [author] 3 Jun, 2023 @ 6:05am 
Yep, they work with every map.
DaniTresD 3 Jun, 2023 @ 5:04am 
Greetings, does this and hard fishing work with The Forest -- YAGODNYY UPDATE?
spoon  [author] 5 Mar, 2023 @ 2:39am 
@ditoseadio Yes fog is included too. In vanilla map it all won't make much difference anyways as its forage zones are made in a wrong way. I made this mod mostly for my own Camden County map.