Project Zomboid

Project Zomboid

Ocen: 1,580
eris_food_expiry
8
4
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Tagi: Mod
Rozmiar pliku
Zamieszczono
Zaktualizowano
122.212 KB
9 lutego 2019 o 23:33
26 kwietnia 2019 o 5:31
Listy zmian: 15 ( zobacz )

Zasubskrybuj, aby pobrać
eris_food_expiry

Opis
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
Popularne dyskusje Zobacz wszystkie (1)
12
3 października o 22:47
Translation Table
eris
Komentarzy: 104
JuryOfYourFears 22 listopada o 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 22 listopada o 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 24 października o 10:49 
i love u
010100011 5 lipca o 18: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 7 maja o 3:31 
Love this mod, makes it easier to keep track of your food longevity, even when frozen.
NineLiang 2 grudnia 2023 o 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 18 listopada 2023 o 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 17 listopada 2023 o 22:19 
@notthebees that's odd I have this mod loaded and I can barricade windows & doors...
NineLiang 22 października 2023 o 20:20 
plz update it plz, I need it, itsbso good
X23 4 października 2023 o 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.