Project Zomboid

Project Zomboid

331 ratings
Food Expiration Date and Bar
   
Award
Favorite
Favorited
Unfavorite
Tags: Mod
File Size
Posted
Updated
0.331 MB
Apr 7, 2018 @ 5:10pm
Oct 11, 2019 @ 5:42am
9 Change Notes ( view )

Subscribe to download
Food Expiration Date and Bar

Description
Description
Player can view more specific food condition. With the new trait player can additionally find out exact time to stale and rotten states with seconds precision. Trait costs 2 points as a generic human being is usually able to distinguish food state without intensive training.
Chefs and Burger flippers can automatically see additional info, as well as players which take Cook and Nutritionist traits (both cost more than a separate trait).
Compatible with versions 38.30, 40.43, 41.43, 41.45.
Additional configuration is possible: you can decide to see food status without a trait (for existing games) or disable seconds in tooltip if you don't like them ticking away so fast, see variables in 'tooltip.lua' for configuration. No in-game menus currently, feel free to add them if you need them or create patches and contact me.

How to Use
Hover the cursor over food in inventory or container. With the new trait 'Eye to food' tooltip shows a bar and time left to 'stale' and 'rotten' states with seconds precision. Otherwise, only rough estimation will be seen as a status, but still more detailed than in vanilla Zomboid.
Non-perishable food has 'No expiration date' message instead to help everyone distinguish it in-game without Wiki pages.

Food has 5 states (without trait) which are color-coded further for more convenience:
  • very fresh
  • fresh
  • okay
  • starting to rot
  • rotten (basically the in-game state)
States are rough estimates (consider them based on 'Best Before' date on the product) while colors are more like smelling actual food, and dates and smells can indicate different things. Use their combitation for better effect or spend 2 points for the new trait.

Translations
Translations are mostly made by users. If you'd like to translate this mod, send your translation file to me and I will add it with credits in-place.
  • English (EN)
  • Brazilian Portuguese (PTBR)
  • Chinese simplified (CN)
  • German (DE)
  • Polish (PL)
  • Russian (RU)
  • Spanish (ES)

Other versions
This is a rework of abreu20011's mod by Rez (October, 2017) for personal use that I now share with everyone interested due to outdated version already being uploaded to workshop.

Original work by abreu20011 (pretty much discontinued) and topic on TIS forum[theindiestone.com].
Outdated version (April, 2015) already uploaded here by Ralph Blue.

Workshop ID: 1355561500
Mod ID: ExpirationFoodR
Popular Discussions View All (1)
24
Apr 17 @ 6:39am
Feedback
rez
< >
70 Comments
Eliaz Oct 4 @ 9:14am 
@rez : ok thx for the answer, I did'nt noticed that your mod don't considerate the fridge or freeze status and I understood that it's intentional and why ;)
As for food spoilage speed setting, I'm not sure but I took a look at your LUA file and I didn't see anything about that
rez  [author] Oct 3 @ 3:56pm 
@Eliaz
Fridge efficiency should not play a role: counter tells exact time player has when the food is out of fridge/freezer. This way one doesn't have to guess which modifier is in place, just in-game time left in a food instance as if you have put it out.
Why? Because people have to thaw food before adding as ingredient, and at this point there may arise an unpleasant surprise when one thought they have enough time ('modified' by setting) whereas they actually don't.

As for food spoilage speed setting... I don't quite remember, but if it was not implemented, I will look into this.
Eliaz Oct 3 @ 12:56pm 
Your mod is reallu cool but the time to stale and rotten don't adapt with modified sandbox settings for fridge efficiency and time to rotten, could you add this function please ? :)
Szczelina odbytu Sep 27 @ 10:44am 
Is it only me or what? I think it's working perfectly fine on 41.54
YingSuHuaKai Sep 27 @ 4:33am 
It is heartening to know that you are still active
Looking forward to updates! I don't feel complete without this mod
rez  [author] Sep 26 @ 10:35pm 
@YingSuHuaKai
I will check it as soon as I have unmeterd connection to download 41.54, but probably they finally broke compatibility. Many mods stopped working since 41.54, and there's not so much we can do if we want to retain stable build compatibility (which is a priority).
rez  [author] Sep 26 @ 10:32pm 
@Ni-O
Thank you. Please post it anywhere you like and give me the link. You can also paste it in here and I will include it in.
Ni-O Sep 23 @ 6:30am 
How can you request Korean translation?
If you want, I will deliver the translated contents to the notepad.
YingSuHuaKai Sep 20 @ 6:38am 
not working on 41.54:steambored:
Szczelina odbytu Sep 1 @ 11:56am 
@rez
Just askin. I'm not familiar with how mods hold up in project zomboid when new game versions are released.
I'm actually super glad you made this mod. Thank you for your work.
Whenever I'm playing game like this or any other that has RPG elements I'm always searching for mod that adds bars for hunger/thirst etc. just like this one.