eris_food_expiry

If you liked this item, please rate it up on Steam Workshop page.

Author: eris

Last revision: 26 Apr, 2019 at 12:31 UTC

File size: 119.81 KB

On Steam Workshop

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)
Default 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 Contentsmodseris_food_expirymedialuaclienteris_food_expiry.lua to change the following three options:

show_seconds: show seconds, will tick over very quickly, default is false (disabled).
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