Project Zomboid

Project Zomboid

159 ratings
GreenFire Patch 41.76+ (Extended)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
52.750 KB
22 Sep, 2022 @ 6:10am
22 Sep, 2022 @ 9:03pm
4 Change Notes ( view )

Subscribe to download
GreenFire Patch 41.76+ (Extended)

Description
This was originally an exclusive patch in our server, I just separate it without further testing yet.

Patch list:
  • Fix/Overhaul Drying Time Calculation for 41.76
  • Change from daily update to every hours dry time transformation check. (can be changed in sandbox options)

Feature Addition:
  • Added Drying Time Tooltips
  • Added Sandbox options to set the drying time division
  • Added Sandbox options to show/hide tooltips
  • Added Sandbox options to change Auto-Drying check, start from 1 hours to 48 hours (2 days).
  • Added "Check Dry Level" context menu to every Fresh/Jar item, to update/make it dry if its stuck


    Plan/Todos:
    • [x] Refactor into shared code, to eliminate server using the original greenfire code, or avoiding server/client communication
    • [o] Gracefully Override by providing file with the same name as well instead of prefixed patch.
    • [o] Adding Server/Client side dry/cure check (can be enabled via sandbox options) for consistencies

    Several notes:
    If you hover over the Fresh items, there's "Remaning" tooltips that looks like this "44.xx (42.xx) hours left",
    The 44 is the saved remaining time (only updated once every set hours in sandbox options)
    The number 42 inside a parentheses is a real-time number that updated everytime you hover over it.
    This was to check if it's really the auto-update drying check really works, it's hardcoded and can't be set to hidden at the moment, unless you decide to uncheck the "Show Remaining Tooltips" option in the sandbox options.

    Known Bugs that are fixed or aren't fixed yet:
    • [o] If you don't untrim right away, then it supposed to dry, but you choose to trim it.
      it will reset the time to follow the trimmed time.
    • [x] Overlapped function in patch server code, sometimes it'll use the original client function instead of this client code, the overriden function will get fixed later, by refactoring into shared code (current workaround: check dry level manually)
    • [o] Due to time bug, I added hardcoded time threshold, which will turn into dried one if the dry time is below 0.9%, instead of waiting for it to be 0% or minus number, if you wish to change it instead of default 0.9 hours, probably I'll add that into sandbox options in the future.

    Make sure to load this after Greenfire,

    Asking for permission to include this in your modpack are much appreciated and honorable, however you don't need my permission to include this in your modpack, so feel free to examine, modify the code, include it in your modpack, except for redistributing the patch code publicly without credits

    Workshop ID: 2866186127
    Mod ID: SVR_GreenFire_Patch4176
Popular Discussions View All (2)
4
22 Jun @ 12:14am
Items Disappearing
Axvll
0
6 Sep, 2023 @ 9:34am
IF YOU ARE HAVING ISSUES WITH GREENFIRE, PLEASE READ!!
Axvll
47 Comments
Arthas 22 Jun @ 12:12am 
After drying the marijuana, if you save it directly from the box to the inventory, it disappears. You can only keep it if you throw it on the floor and then save it, or if you previously had marijuana in your inventory. :(
aydenmorris1627 31 Dec, 2024 @ 11:20am 
?
Karmesh 26 Dec, 2024 @ 6:34pm 
o7
aydenmorris1627 19 Dec, 2024 @ 4:38pm 
will this be updated for build 42?
Kenny 27 Sep, 2024 @ 8:27pm 
This mod is not compatible with Snake's gourmet revolution
Lynchblade 1 Aug, 2024 @ 4:42pm 
still don't know but my character seems fine after smoking to counter depression/boredom
Lynchblade 10 Jun, 2024 @ 2:00pm 
I smoked a joint with crushed leaf and my character said something along the lines of "If i keep smoking, i might die", does this mean my character will die from smoking or is it just a phrase? lmk thanks!
Charles E Cheese 26 May, 2023 @ 12:57pm 
To get the timers working you need the patch if you search "greenfire" in the workshop, youll find it. You can add it at any point mid game and it will still work.
Mega 15 May, 2023 @ 3:02am 
seems to be broken
pepa 9 May, 2023 @ 11:25pm 
Anyone knows how to seed cannabis? i read all the recipes and even the seed package, it could be le gourmet annoying the recipe or somethjing like that?