Project Zomboid

Project Zomboid

160 个评价
GreenFire Patch 41.76+ (Extended)
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
52.750 KB
2022 年 9 月 22 日 上午 6:10
2022 年 9 月 22 日 下午 9:03
4 项改动说明 ( 查看 )

订阅以下载
GreenFire Patch 41.76+ (Extended)

描述
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
热门讨论 查看全部(2)
4
6 月 22 日 上午 12:14
Items Disappearing
Axvll
0
2023 年 9 月 6 日 上午 9:34
IF YOU ARE HAVING ISSUES WITH GREENFIRE, PLEASE READ!!
Axvll
47 条留言
Arthas 6 月 22 日 上午 12:12 
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 2024 年 12 月 31 日 上午 11:20 
?
Karmesh 2024 年 12 月 26 日 下午 6:34 
o7
aydenmorris1627 2024 年 12 月 19 日 下午 4:38 
will this be updated for build 42?
Kenny 2024 年 9 月 27 日 下午 8:27 
This mod is not compatible with Snake's gourmet revolution
Lynchblade 2024 年 8 月 1 日 下午 4:42 
still don't know but my character seems fine after smoking to counter depression/boredom
Lynchblade 2024 年 6 月 10 日 下午 2:00 
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 2023 年 5 月 26 日 下午 12:57 
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 2023 年 5 月 15 日 上午 3:02 
seems to be broken
pepa 2023 年 5 月 9 日 下午 11:25 
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?