Project Zomboid

Project Zomboid

1,515 ratings
eris_food_expiry
8
4
   
Award
Favorite
Favorited
Unfavorite
Tags: Mod
File Size
Posted
Updated
122.212 KB
9 Feb, 2019 @ 11:33pm
26 Apr, 2019 @ 5:31am
15 Change Notes ( view )

Subscribe to download
eris_food_expiry

Description
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
Popular Discussions View All (1)
11
23 Feb, 2022 @ 11:55am
Translation Table
eris
101 Comments
010100011 5 Jul @ 6:04pm 
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 7 May @ 3:31am 
Love this mod, makes it easier to keep track of your food longevity, even when frozen.
NineLiang 2 Dec, 2023 @ 7:08am 
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 18 Nov, 2023 @ 1:34am 
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 17 Nov, 2023 @ 10:19pm 
@notthebees that's odd I have this mod loaded and I can barricade windows & doors...
NineLiang 22 Oct, 2023 @ 8:20pm 
plz update it plz, I need it, itsbso good
X23 4 Oct, 2023 @ 7:04am 
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.
Diakon 11 Aug, 2023 @ 12:47am 
I don't know if this will get fixed or not, but there are two Nutritionist Traits in the basegame: Nutritionist and Nutritionist2. The mod only accounts for the first, which is picked from the trait list. There is another, though, Nutritionist2, which is given to you with the Fitness Instructor profession. Also likely given by any skillbook that gives a trait
Peni4 18 Apr, 2023 @ 3:54am 
The mod doesn't seem to tell the difference between food in the fridge and food in the freezer, showing them the same time to expiration and rot
^1 5 Mar, 2023 @ 8:08am 
Seems to over-estimate quite a bit, especially when I check after sleeping and leaving base on refrigerated items.