Project Zomboid

Project Zomboid

131 ratings
Food Expiration Date and Bar
 
Rate  
Favorite
Favorited
Unfavorite
Mod: Mod
File Size
Posted
Updated
0.326 MB
Apr 7, 2018 @ 5:10pm
Oct 21, 2018 @ 5:27am
6 Change Notes ( view )

Subscribe to download
Food Expiration Date and Bar

Subscribed
Unsubscribe
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.
Compatible with versions 38.30, 39.66.3, 39.67.5.
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)
18
Jul 1, 2018 @ 6:18am
Feedback
rez
< >
33 Comments
star Jan 6 @ 8:45am 
Similar mod will be incompatible with your mod.
You can try not to overwrite the functions.
rez  [author] Oct 21, 2018 @ 5:30am 
Chrono, I have added translation.
Had to change several lines as you got the old version somewhere, but it should work nevertheless. Please provide feedback if something is incorrect.
Chrono Oct 18, 2018 @ 11:14am 
https://mega . nz/ #!3LokGQqK!ADyPKNsRqjC_-hRUyZgRqsaYYoxN-pby3MXP0EuDkO4
rez  [author] Oct 18, 2018 @ 9:59am 
OK you can try adding spaces like: m e g a upload %dot% com/ASDF1234
Chrono Oct 17, 2018 @ 9:33pm 
trying to link mega. but the steam is automatically removing
rez  [author] Oct 17, 2018 @ 10:13am 
Chrono, please upload it to any hosting you prefer so I could snatch it and include in the next release. Thank you!
Chrono Oct 16, 2018 @ 9:57am 
Translate Ready!
rez  [author] Oct 15, 2018 @ 11:45pm 
I don't speak Portuguese, but if you want it in, you can send me the translation and I will add it for everyone.
Chrono Oct 15, 2018 @ 4:10pm 
Translate Portuguese
rez  [author] Sep 27, 2018 @ 5:35am 
It does not change states, it only draws what it gets from the game. You can test it better if you have a trait. Moreover, without it it's more like 'it smells fine', and the game still prints '(Fresh)' if the food is fresh and '(Rotten)' for rotten food. None for stale.

I have seen lags in MP setup when your containers with food were seen last time long ago, but that's what the client gets from the server, I'm afraid, so I cannot fix that.