Project Zomboid

Project Zomboid

1,580 평점
eris_food_expiry
8
4
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
태그: Mod
파일 크기
게시일
업데이트일
122.212 KB
2019년 2월 9일 오후 11시 33분
2019년 4월 26일 오전 5시 31분
변경 사항 15개 ( 보기 )

다운로드 위해 구독하기
eris_food_expiry

설명
eris_food_expiry

Displays expiration date of food as inventory bar + tooltip.

Requires Nutritionist trait to see exact stale and rot timer. (Optional)

Idea is based on an existing mod, food expiry date.

Features
  • Exact food expiry time for packaged foods. (Best-before/Use by/After opening)
  • Accounts for sandbox settings (FridgeFactor, FoodRotSpeed).
  • More time intervals (weeks, months, years).
  • Displays fresh-bar in inventory when the item list is expanded.

More info
Requires Nutritionist trait to see exact use-by times. (Optional)
Shows a rough description of the item state without the trait (very fresh, fresh, looks ok, almost rotten, rotten).

Food with extreme expiry times will show as "does not expire".

Shows the 3 largest intervals of time (e.g. years, months, days), (e.g. months, weeks, hours) by default. (Optional)

Options
Edit the file at Contents\mods\eris_food_expiry\media\lua\client\eris_food_expiry.lua to change the following three options:

-show_seconds: show seconds, will tick over very quickly, default is false (disabled).
-show_inventory_bar: show freshness bar in inventory when item list is expanded.
-require_trait: Require Nutritionist trait to see exact time, default is true (enabled, needs nutritionist).
-max_intervals: Increase for more accuracy if required. Not generally needed, default is 3. Default max value is 6. Max value is 7 if seconds are enabled.

------------------------------------------------------------------------------------------ ----------------------------------------OPTIONS------------------------------------- ------------------------------------------------------------------------------------------ local show_seconds = false; local show_inventory_bar = true; local require_trait = true; local max_intervals = 3; ------------------------------------------------------------------------------------------ ----------------------------------------/OPTIONS------------------------------------ ------------------------------------------------------------------------------------------

Translations
Thank-you to all the translators so far! JDog_HLM, Atlas1205, KAZP, Caco and Tomas!

If you would like to add a translation, see this thread for details: Translations


Credits
Translators
JDog_HLM - Russian.
Atlas1205 - Simplified Chinese, Traditional Chinese.
KAZP - Spanish(South America).
Caco - Brazilian Portuguese.
Tomas - Czech.

Modders
Original mod by abreu20011, April 12, 2015 - Forum thread here[theindiestone.com]


Final notes
My other mods:

Join us on TheGoodOldDayz Server!

Workshop ID: 1651019937
Mod ID: eris_food_expiry
인기 토론 모두 보기(1)
12
2024년 10월 3일 오후 10시 47분
Translation Table
eris
댓글 104
JuryOfYourFears 2024년 11월 22일 오전 6시 05분 
Oh, and if you want to get rid of the tooltip that says a fish is dead (covers this mod's tooltip a bit):

Go to line 106 and 139 and replace IGUI_Dead with a space so it's getText(" ").
JuryOfYourFears 2024년 11월 22일 오전 6시 02분 
So, I noticed a few people asking about Snake's Modpack, which I love, but doesn't have as good a system as this mod for expiration imo.

It's a quick and dirty solution (doesn't mess with traits or anything), but you can go to the Snake Utils Pack mod folder (my filepath is C:\Program Files (x86)\Steam\steamapps\workshop\content\108600\2719327441\mods\Snake Utils Pack\media\lua\client) and open "tooltip.lua"

Then go down to line 1154 and comment out (add double dashes -- to the beginning of each line) or delete the following:

if self.item:getCategory() == "Food" then
self:MakeFoodInfo(self.item, lh, tw, th, self.tooltip);
end

That will disable the food expiration tooltip for Snake's.

Just fyi: If you don't localize the mod first, then if Snake updates or you have to verify your files, you'll lose these changes. Hope this helps someone :)
aubri 2024년 10월 24일 오전 10시 49분 
i love u
010100011 2024년 7월 5일 오후 6시 04분 
does anyone know of a mod that does not spawn rotten food in fridges when you adjust months since Apocalypse ? . the game does not spawn food already frozen in fridges . it spawns rotten food the refrigerates it . this is infuriating
Ichinin 2024년 5월 7일 오전 3시 31분 
Love this mod, makes it easier to keep track of your food longevity, even when frozen.
NineLiang 2023년 12월 2일 오전 7시 08분 
I got the solution. Just change local require trait = "true" to "false" and it will display normally. It seems to be a problem with trait.
Sonov Belial 2023년 11월 18일 오전 1시 34분 
Same here. Mod enabled no issues. I guess you have a conflicting mod enabled that interferes with it or that is itself the cause of the issue.
Davetiger 2023년 11월 17일 오후 10시 19분 
@notthebees that's odd I have this mod loaded and I can barricade windows & doors...
NineLiang 2023년 10월 22일 오후 8시 20분 
plz update it plz, I need it, itsbso good
X23 2023년 10월 4일 오전 7시 04분 
I know there's no support here but just letting people know that I had to disable this mod pack because it was preventing me from being able to barricade windows/doors.