Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Future of food preservation. #24145

Closed
nexusmrsep opened this issue Jul 1, 2018 · 64 comments
Closed

Future of food preservation. #24145

nexusmrsep opened this issue Jul 1, 2018 · 64 comments
Labels
Items: Food / Vitamins Comestibles and drinks <Suggestion / Discussion> Talk it out before implementing

Comments

@nexusmrsep
Copy link
Contributor

nexusmrsep commented Jul 1, 2018

This is a discussion thread for further development of food, food preserving methods and all related things.
I'm making this tread, becouse of recently merged changes, to diagnose if and where there is room for more, and what is the direction it should go. There were some fine ideas scattered among merged PR's some of which were adopted on the go, some need to be done separately or go under discussion.

Sum-up of recent changes:

  1. immortal food overhaul [PR [Rdy] [CR] Immortal food overhaul - long lasting but rotting food. #23986] - a big chunk of non-perishables became perishable, some with long periods of shelf life.
  2. better food decay indication/feedback [PR More feedback about food's relative age and spoil progress. #24057] - now, when you [e]xamine food, you will not only get it's shelf life time (default), but you will be informed how old it is. This however will require some skill in cooking or survival.
  3. underground termperature overhaul [PR Underground temperature and food rot calculation overhaul. #24073]- basements, mines, caves as long as they are underground, have significantly lower temperatures then that above ground, and it is not weather dependant
  4. root cellars [PR [DONE] [CR] Root Cellar - food preserving option. #24083] - a new construction you can make in your backyard, that works like an underground storage for food, it keeps it in a constant low temperature, and protected from weather conditions - people used to have those when there were no refrigerators.

What I want to achieve is a TODO list of things, that i will sum-up while this discussion will go ahead, be editing this post.

Try to propose:

  • mechanics that would improve the game, it's depth, balance or playability in food-department
  • recipes for food based on existing ingredients, that would achieve something (for example im planning a suggested PR on pickled eggs, that will add a new way to preserve them)

Try NOT to propose:

  • reverts on introduced mechanics, spoil times unless with a proposition of better mechanic or solid data backing
  • recipes for food harvested from the cookbook, just for the sake of it - there is already a ton of recipes and in my opinion only those serving a purpose (like preserving ingredients that were not preserved before in any way) might be worth considering.

Feel free to restate again your previous ideas in that matter here.

Ideas proposed:

Mechanics:

  1. Food stored outside proper furniture would get penalty (extra decay), to discourage "floor-pasta" and encourage proper storage. (where to go from that? - should it be a special 'pantry' furniture or any 'kitchen' furniture would be fine?)
  • food flags (maybe: frozen, cool, dry, sealed) and then checks for proper storages based on flags set.
  1. Packaging. Maybe packing food should have some impact? There is no way to use recykled bags and other pacing material, but that might be an idea to talk about at least. How would it work and why?
  • packaging may prevent vermin/carrion effects
  1. Food irradiator - industrial machinery that sterilizes perishable food converting it into non-perishable (or perishable with longer shelf-life) irradiated food (that already exists in-game). High energy consumption might require a separate generator/reactor (plutonium?). Components/elements: generator/reactor, food tray, control panel, rad-emmiter, rad-scrubber (cleans up secondary radiation) . Possible side-effects, radiation based. Game balance control: energy usage, irradiation factor --> scrubber energy/material consumption.

  2. [ PR Added variability in initial decay of pre-cataclysm food. #24209 MERGED ] Introduce RNG to decay state of food spawned in game originating from before cataclysm to simulate different storage conditions. Some food might be less some more decayed when found. (20% +/- change?)

  3. [ PR [DONE] [CR] Field dressing corpses aka Butchery overhaul #24480 ]Field dressing of hunted game as a method preventing fast meat spoilage, plus corpse's rot should affect meat's rot if it was not field dressed before

  4. [ PR [READY] [CR] Freezer & freeze mechanics overhaul #24228 ] Freezer - a variant of mini-fridge that is designed to keep food under zero degrees Celsius.

  • FROZEN and NOFREEZE flags as potential method to simulate thawing process and food that doesn't like to be frozen
  1. possibility to eat food past rotten state and old food with increasing risks, also: degradation of nutrition values and fun of old food

  2. embedding recipe components (ex. carrots) to the resulting product (ex. pickled vegetables (carrots)) for more specific use in further recipes.

  3. possibility of jarred/canned food to spoil, but not linear way, just a rng chance rate (that maybe starts after content's nominal spoil time ends)

  4. Revisit Make Nutrition Great Again #23141

  5. [DONE] [CR] Smoking rack interactions expansion #24307 - Smoking rack interactions expansion, ability to batch smoke/dehydrate food while away form the smoking rack

  6. Add food composition system: CARBS/FAT/PROTEIN and appropriate needs and effects for each.

  7. Migrate comestibles nutrient values to kcal values, made possible by [CR]Add "calories" field to it_comest #14613. Display nutrient values in kcal in game menus.

Recipes:

  1. [edit: PR pickled eggs, recipe, and a jar of fermenting eggs #24149 MERGED] Pickled eggs - in addition to pickling cucumbers/pickes, veggies and meat, to preserve them
    2 [[Rdy] Quick fix for garlic cloves decay time #24225] Fix for garlic clove not rotting as it should.
@TechyBen
Copy link
Contributor

TechyBen commented Jul 1, 2018

I'd recommend not making kitchen furniture a special case. But allowing any non drafty/moldy cupboard to count for storage. Kitchen furniture would still be artistic etc, but functionally it is the same as any other place with doors + storage. But something like a wire basket or a book case would not have the needed effect on food, as there are no closed spaces in them.

Indicating this to a player would help. Such as "you put your apple in the clean cupboard" or "you drop your salami in the cool cellar".

Would this allow some rotten food in jars/bags/cans to go rotten but not generate pests? As it would be rotten, but still sealed? Whereas unsealed rotten food would? It would add a layer of storage vs protection vs checking. You would need to check for quality of food, but checking for pests is a different dynamic, and the two systems have their own needs and requirements, instead of both being exactly the same. :)

@GroeneAppel
Copy link

Sailors from past centuries would disagree. They preserved even water (see: grog) and even tightly locked barrels of dry products (hardtack, wheat) after 'only' a few months of sailing would develop an unpleasent addition of protein in form of maggots and other insects.

I would like to point out here that you are using a rather extreme example. Food preservation on ships was extremely hard due to moist, poor humidity, germs and other nasty conditions. Not to consider the difference in knowledge between that of a typical sailor and the survivor today. Simple knowledge of knowing not to sneeze or cough into a barrel of food already made a huge difference.

We should not take extremities when looking at rot timers. I'm well aware that this has been discussed endlessly in the other PR. However it feels like the current consensus by some is that we should take rather extreme conditions when thinking about rot timers. Why wouldn't a survivor be capable of storing his food in decent conditions? We shouldnt assume that every nook and crany is automaticly infested with insects, maggots and mice. A well kept car, room or other area is going to be virtually pest free if a survivor bothers to keep it clean. Especially if the moisture is kept low in the area. Which can be done with primitive tools. Examples here are coal, salt and even simple rocks. All of which can reduce the humidity in a room and in such help fight fungus, insects etc.

Underground basements for temperature control are an excellent idea. But the use of a clean room with some coals spread out around should be adequate to storm dry products for a longer amount of time. No t to mention when properly packed. A simple plastic container can already be a great aid here.

However I feel like the bigger question here is if such additions are worth the trouble. Part of a fun game is fluent gameplay. Are we really going to force the player to think about packaging their food? Is extreme realism really the way to go? Wouldn't it be better to simply assume the player isn't a blatant fool that throws his food in the dirt without even bothering putting a bag on it. Or perhaps a simple approach where leaving some canvas bags or plastic containers on the floor ensures that the player automaticly puts them to use when storing food.

To keep things more specific: Small elevated tables (made with construction), crates, cupboards and plastic containers should all help reduce spoilage. The use of salt, charcoal and other moisture absorbers should further help reduce spoilage. Even floor-pasta as you refer to it, should be a possiblity if a room is prepared for that beforehand.

lastly I think storage in cars deserves some serious attention. The amount of players that choose a nomadic life in a deathmobile is likely to be higher than the group that chooses a farmers life. Many players may never even bother storing food in a cupboard in some house, as they'll never make one.

@TechyBen
Copy link
Contributor

TechyBen commented Jul 1, 2018

That seems a good idea and reasonable, that the game is assumed to do the micromanaging. We don't need to simulate drying out or cleaning an area IMO. Beyond the current game items (rote/splatter etc). Adding a "moist" tile would complicate things, along with adding the need for coal or dehumidifying items.

It can easily be assumed any non-damaged surface (tile)/container (item) is "clean" and "dry". The floor-pasta seems more a gameplay mechanic choice and one of simplicity. While storing food on the floor is possible (see grain silos), in real life it is rarely done. In addition, a player is more likely to think "floor bad, table good" for storing food, and reflecting that in the code (either requiring cupboards, or relaxing the rules to allow tables) will IMO better reflect the expectations of a player.

@RadHazard
Copy link
Contributor

I agree with the other points. Before we start nerfing rot timers to account for average apocalypse conditions, we need to make sure the player has tools to keep their own food in better-than-average conditions.

My suggestion would be to allow containers like boxes, bags, jars, etc. to increase the shelf-life of food and prevent/reduce pest spawns (probably depending on the container - jars and cans are virtually pest-proof but boxes and bags aren't). Realistically this should stack with the "pantry" idea, but I'm not sure if that ends up being too much micromanagement for the player.

To support that, we will also need the ability to put food back into the various containers without having a recipe for every single combination. Vacuum-sealing, canning, and jarring should also be expanded to a system that can be used for most kind of foods (maybe with flags to control which items can be preserved with those methods).

There's also a need for player-craftable food containers for people who can't find real ones (e.g. wilderness runs). They don't need to be able to match pre-cataclysm containers in effectiveness, but they should be easily crafted (things like wooden boxes).

@ZhilkinSerg ZhilkinSerg added <Suggestion / Discussion> Talk it out before implementing Items: Food / Vitamins Comestibles and drinks labels Jul 1, 2018
@kevingranade
Copy link
Member

allowing any non drafty/moldy cupboard to count for storage.

This misses the point, cupboards do not protect food from temperature, humidity, or small vermin (in theory they protect from large vermin such as rats).

Why wouldn't a survivor be capable of storing his food in decent conditions?

No one has said they're not capable, but that they need to take measures to make it happen.

We shouldnt assume that every nook and crany is automaticly infested with insects, maggots and mice.

We absolutely should, because in reality, in the area in question, they are. Modern homes have a lot of features present to keep out vermin, but if unmaintained, those measures are going to be quickly defeated.

Are we really going to force the player to think about packaging their food? Is extreme realism really the way to go?

Yes and yes. If you want to maintain a store of permafood, you need to put some thought into it. Likewise were putting a fairly hard cap on the lifespan of pre-cataclysm food that isn't stored properly to push the player to acquire it elsewhere as they transition from short-term scavenging to long term sustainability. Or they can keep scavenging preserved foods nearly indefinitely, there are a lot of options.

Or perhaps a simple approach where leaving some canvas bags or plastic containers on the floor ensures that the player automaticly puts them to use when storing food.

How is this semi-magical interaction any more streamlined than building a larder to store your food in?

To keep things more specific: ...

Please provide sources for these mechanisms being useful. Also I don't even know what you mean about "using salt", are you just scattering handfuls of salt around your food storage area? I'm very sceptical that's going to meaningfully impact humidity levels.

lastly I think storage in cars deserves some serious attention.

Give it some attention then, propose some craftable food storage areas 5hat can go in a vehicle. Or don't, it's perfectly fine if nomads have more trouble maintaining their food supply.

@DemAvalon
Copy link
Contributor

Give it some attention then, propose some craftable food storage areas 5hat can go in a vehicle. Or don't, it's perfectly fine if nomads have more trouble maintaining their food supply.

How about a fridge?, like those we already have in every single house?, I remember someone mentioning in the forums that there was a mod that allowed the player to unplug fridges (on the construction menu) and that turned them into an item like the mini fridge (but with much more room)

Also mobile kitchen units, FOODCO kitchen buddy and on-board chemistry labs should count as proper storage places for food (the same as a pantry)

@GroeneAppel
Copy link

No one has said they're not capable, but that they need to take measures to make it happen.

That is fair, but this means that some form of extra action has to be taken to reduce this.

We absolutely should, because in reality, in the area in question, they are. Modern homes have a lot of features present to keep out vermin, but if unmaintained, those measures are going to be quickly defeated.

Here I have doubts. I see little reason that every single area of a building or car is automaticly going to be infested with vermin or other living organisms that will spoil food quickly. Any chance that you have some sources for that?
Regardless, would players be required to 'prepare' an area beforehand by cleaning it? Aside from a larder or the use of coal that is. Kitchen cabinets, or storage areas in cars may already exist beforehand. If we follow the thought that all areas are infested, these areas will need cleaning. This would add some more use to soap and detergent. This is turn would turn an area 'clean' and better for storage.

How is this semi-magical interaction any more streamlined than building a larder to store your food in?

Quite simple. Building a larder requires construction, tools and materials. The use of for example plastic containers is a great alternative to this. Conserving food should not be linked to one single method. Even more so, the use of both a larder and proper containers, should be rewarded with less spoilage. After all, vermin will have a somewhat harder time to reach something in a plastic container/larder

Please provide sources for these mechanisms being useful. Also I don't even know what you mean about "using salt", are you just scattering handfuls of salt around your food storage area? I'm very sceptical that's going to meaningfully impact humidity levels.

This one is harder. Coal and salt have long been used to help reduce humidity and ensure longer lasting food. Amusingly I keep a bag of coals in my fridge right at this moment, as it helps reduce the moisture in there. What kind of sources are you looking for? Research papers are typically much more specific (and not accesible for many due to the pay-to-read structure). However pulling some recommendation on food storage from google feels much less reliable.

Regardless:
http://www.andatech.com.au/resource/reduce-indoor-humidity-without-dehumidifier/
https://www.saimm.co.za/Journal/v102n07p417.pdf
https://www.omicsonline.org/open-access/effect-of-wood-charcoal-powder-on-rate-of-microbial-production-of-lactic-acid-in-dehulled-and-undehulled-vigna-unguiculata-pastes-2155-9600-1000587.php?aid=87336

Overall these articles show that coal strongly helps reduce moisture and bacteria production in an area. In addition one can find many sources on the internet with a simple search that show the use of coal (or salt) to reduce moisture in an area.

Give it some attention then, propose some craftable food storage areas 5hat can go in a vehicle. Or don't, it's perfectly fine if nomads have more trouble maintaining their food supply.

The existing fridge is an absolutely fine option here. Alternatively a wooden cupboard (12x 2x4?) OR metal cupboard (steel frame) could form good alternatives to storing food in a car. The interresting subject to food storage in cars is that of heat and cold due to the environment. The concept of cars boiling those inside them on a sunny day is not a strange one. However when those cars are running, their airconditioning can keep the inside temperature and humiditiy more than enjoyable. This can and should be utilized in Cataclysm. A simple option to turn on airconditioning would be a good addition here.

Currently entering a car in deep winter will offer the player a comfortable temperature (provided the car has no holes in it). However this should not be the case without some proper heating or airconditioning. Adding this option would, much like the car stereo, offer players a choice in reducing the spoilage of their food and perhaps more importantly; their own comfort.

Anyway, overall i'm happy that we can enter a discussion on this topic. Even though the system in cataclysm will never be perfect. It's pleasant to know that we can atleast discuss it. Food spoilage is an interesting, if not complex topic, but one well worth discussing.

@TechyBen
Copy link
Contributor

TechyBen commented Jul 1, 2018

This misses the point, cupboards do not protect food from temperature, humidity, or small vermin (in theory they protect from large vermin such as rats).

Yep. I was only commenting on when/what we choose as a place to store should automatically be considered clean and dry. If we only consider functioning fridges and the proposed player constructed larder, then that's great.

I'm merely suggesting that adding damp/dirty tile flags and player interaction is possible (other games such as Rimworld have this and work well!) but can be rather hard for a player to manage. But if it is being implemented, then with the NPC camp PR, would be manageable, as it would be offloading the work to NPCS. But if as a single player, cleaning/drying constantly in game could get tedious.

Perhaps clean/dirty etc should be a seperate part of this? As said, we could assume any non-player produced area is "dirty" and thus, if cleaning is added later, would it be too hard to integrate into this mechanic? Is it better to develop with this one, or as a separate system? As an example, rags currently drop clean. Same with clothes in storage (moths/rats/etc would chew at these!). Should we go the full hog with this roadmap, or just concentrate first on the spoilage + storage, then look at dirty vs clean later?

PS, family has been doing some old fashioned self jaring/pickling etc from the allotment. The main risk is as you all say, heat and damp for jars to prevent spoilage and rust on the lids. But hanging onions, putting marrow on a table etc is all that's needed if rats cannot get in. It's once the fruit/veg starts to rot (in heat is quick) that the smaller pests get in/on it. [cititaton boya!] https://www.express.co.uk/life-style/garden/729085/Dream-Gardens-Alan-Titchmarsh-vegetables-fruit-fridge-storage-winter
(So to continue current game shelf lifes, cool + wrapped + dry is needed. But if an item freezes IRL it can then rot easier on defrosting. The current game does not simulate this... so more complexity)

And a use for all those newspaper pages found in a survival game! XD

@Tharn
Copy link
Contributor

Tharn commented Jul 2, 2018

I can only repeat myself. Tupperware and other sealable plastic containers are ubiquitous today. No reason they shouldn't be in the future. I'm sorry if this is too easy or too obvious of a solution, but if we're going for realism, let's be fair about it.

Vermin are definitely on the rise during the cataclysm, but if a house is still intact and no windows are broken, for example, there's no reason to assume it'll be any more prone to infestation than a house is today. Well, depending on construction. Plants and vines may crack walls or bad plumbing may wear.

I do think cupboards etc. are not enough to protect from all vermin. Moths for example have the uncanny ability to get in almost anywhere that's not properly sealed. They can and will ruin rice, flour, sugar and grains.

I think in this context, it may be a good idea to have several storage modifiers, like frozen, cool, dry, sealed. Not all foods should require all four to preserve, but most will require at least two. You may use a combination of storage to attain these modifiers. A homemade cellar will probably be cool but humid, requiring use of good storage containers. Fridges also get humid as soon as you store unsealed perishables like fruits, veg and meat in there.

I think the next big thing could be that these cardboard boxes and plastic bags that most food comes in may serve the function of extending shelf life. So if you have a habit of (U)nloading all your food into piles, you save space but spoilage will accelerate. And that sealable plastic boxes could be a thing.

@TechyBen
Copy link
Contributor

TechyBen commented Jul 2, 2018

Deserted places can still be used to hang/raise food out of reach of larger pests. Then it's down to container control to keep the smaller ones off? As a reference, Chernobyle has a ton of pictures to show what happens when a place is deserted suddenly (no, the radiation does not affect pest numbers ;) ).
https://www.pond5.com/stock-footage/78857882/kindergarden-ghost-town-pripyat-chernobyl-exclusion-zone-ukr.html
https://www.ibtimes.co.uk/chernobyl-haunting-photos-abandoned-ghost-towns-30-years-after-nuclear-disaster-1553840
http://www.dailymail.co.uk/news/article-3176005/Inside-Chernobyl-s-no-zone-Eerie-scenes-towns-abandoned-radiation-disaster-30-years-ago-reveal-desolate-hospitals-rotting-homes-discarded-possessions.html

This is over 30 years, so much longer than most games would ever hit. While it's is a mess, and a lot of potential for vermin, an open space can be treated the same as an open field/forest? That should at least simplify the mechanic. We only need one set of rules, and it would apply to any area. Leaving only the type of furniture (as said, possibly limiting to functioning fridges/larders/food cellars only) as a valid "safe" food storage area.

Any survival/forest/camping storage options we add (keeping off the ground, keeping cool, keeping dry, packing in plastic/cans etc) will be the same in abandoned buildings as in a field camping. Would you agree?

@Kelenius
Copy link
Contributor

Kelenius commented Jul 2, 2018

I have mixed thoughts about the latest change. I'm going to try to break it down.

First off, I do not like how quickly the change came - one of the points of #23986 was that food is now considered to be always stored in bad conditions, without allowing the player to actually create good conditions. The old situation wasn't exactly realistic, because food in the houses isn't going to last forever, but it's also not realistic now, because realistically you should be able to put your rice into a sealed container and it will stay like that for a very long time. Essentially, we went from "food is always considered to be stored in good conditions" to "food is always considered to be stored in bad conditions". I think that the ability to protect food from the elements should have been added before lowering the rot timers.

Secondly, I believe that any food that can be stored for more than an year shouldn't rot at all. From the gameplay perspective, if the players allows food in their storage to rot away after keeping it for so long, food is probably not an issue for them. It just clutters the menus. From the realism perspective, this idea also has its flaws - for example, all rice in the game takes exactly the same time to start rotting; for the food with short rot timers it's not very noticeable, but food that can be stored for years should have a very large variance in this timer - taking rice for example, if it's dry and contained, it will last for years, but in bad conditions it can become bad a lot faster.

I think that a better idea for gradually removing the food from scavenging would be to introduce a scaling chance that some types of food generated on the map wouldn't spawn or would spawn spoiled - e.g. the chance that starts at 0% after an year and goes to 100% after three years, so after an year you start randomly finding spoiled rice, and after three years all rice that you can find is spoiled, but the rice that you already have with you won't go bad - we assume that the player character is keeping it dry.

@Zireael07
Copy link
Contributor

I have mixed thoughts about the latest change

What latest change are you referring to?

@Kelenius
Copy link
Contributor

Kelenius commented Jul 2, 2018

What latest change are you referring to?

#23986

@nexusmrsep
Copy link
Contributor Author

@Kelenius There are some serious misconceptions behind your opinion.

food is now considered to be always stored in bad conditions

Thats wrong.

  1. Although storing condition's possible influence was discussed in PR [Rdy] [CR] Immortal food overhaul - long lasting but rotting food. #23986, the final verdict was: "do not take it into consideration" for the purpose of spoilage time. None of the proposed values were neither lowered nor raised based on any such circumstance. Lets set this strait: There was NO such thinking as: "lets set food x spoil value at 1/2 or 1/3 of RL time because New England's weather is harsh on food and insects flourish, and storing conditions were bad." Period.
  2. Those values are based purely on sources (multiple), and if sources were scarce or inconsistent I gave explanation for each such value. Mind that sources assume that storing conditions are proper already. With that assumption in mind, what I want to say here is that those values are already set on proper storing conditions.
  3. There is currently no code that would penalize decay rate base on storage, nor give any bonuses on that principle (excluding temperature). However you have plethora of ways to prevent spoilage and perhaps more to come - just drop some ideas with good backing.
  4. Whats the difference if it was a quick change or not? You wanted to prepare yourself for the change? You never will. Change is always harsh and no one wants change when it ruins old habbits and lazy short-cuts developed for convenience.

Secondly, I believe that any food that can be stored for more than an year shouldn't rot at all.

I disagree with that. Lot of nonperishables got so long spoil time, as for game's perspective (and You noticed that too), that I don't know why anyone should be hectic about it. With all the posibilities for food producing, you just make this long-lasting perishable food and you'll eat before you ever consider it going bad. Hoarder? Drop them in the basement or in (hopefully soon to be merged) rootcellar and more then double it's life.

I think that a better idea for gradually removing the food from scavenging would be to introduce a scaling chance that some types of food generated on the map wouldn't spawn or would spawn spoiled.

Now, this is something that I think is achievable, by manipulating rot time on item spawn (RNG to the rescue). I will add this to the list of ideas, when i sum up the discussion.

Also let me restate the basic conception of temperature'e influence - many people think that spoil rate is fixed. It is not - this value represents room temperature standard for decay. Lower the food's temperature and you get longer lasting food. Raise it (hot summer time) and your pizza might not last a day. Pray that @kevingranade won't ask for humidity check for food decay, becouse code-wise its more then possible to do. :) "All glory to the weather daemon."

I'ts not a coincidence that PR #23986 was introduced along with #24073, #24057, and (pending) #24083. And even #24149 for that matter. Those are new mechanics for the player to actively seek ways of food preservation. If there is more to be done - here we are to find out.

As for realism - aspic (and so many other short lived comestibles) was an immortal food for how much time? I couldn't pass by such na insult for realism.

@TechyBen rather then Chernobyl check reports and videos from Fukushima quarantaine zone about time-induced destruction and decay - its more relevant if you think about how much less time has passed there from the event.

@Tharn I like the idea about flags for different storage conditions. It's a solid one. For example if you place fresh meat in a container (Tupperware or not) it's not gonna last any longer that a piece left unpacked. You may vacuum seal it, with the same effect. Other food types however need other storage conditions, some even like high humidity for example. Some hate freezing, etc. If the ability to put food in a package (foil, plactic bags, even wrapping ppaer, etc.) will find its way into the game, I'd like to see that happen.

Also - rain falling down on food left outside might be directly influencing (penalty) food decay. Just something that might be implemented.

@GroeneAppel my not-so-extreme example was RL counter for other extreme examples but on other side of the spectrum, like the immortal food concept that still lives I see in people's minds. I also like to watch Youtube wideos of MRE opening from WW2 or Wietnam Era, but that does not mitigate the fact that even military-grade MRE's have a time stamp on them, and army's stocks are replaced on a schedule. I will say this again and again - no food is immortal, and as I and @kevingranade said multiple times - its all about storing conditions. Extreme examples often include industrial vacuum packaging (canning) of vacuum freeze drying products that removes more water than any household can achieve. Then it is stored in invariable conditions in cold dry places. In such conditions it can achieve extreme out-of-spec duration of edibility lifetime. I do not deny that. But it was not those extremes that were considered, becouse we talk about food that is either made for standard consumption, not for ultra-survival needs, or simply home-made product. Its average food with average life, no extremities, and sources used for determining life-time assume that too. Nor do I deny any present method of making food immortal, like pickling in glass jars, vacuum-drying, etc. Other methods prolong comestibles' life, but not eternaly and that's a good thing.

But as mentioned above - storing conditions were not influencing the values set. We may now, at this point, consider how those conditions should be used. This is what this discussion is about and thank you all for participating. I however must remind everyone that it's not for contesting approved ideas, but to find a way to move on with the further development on this matter.

@DemAvalon
Copy link
Contributor

DemAvalon commented Jul 2, 2018

Actually, we have irradiated food, right? and we already have atomic coffee machines right?, so why not make a "Portable" food irradiator, a machine that you weld to a vehicle and drains loads of power when active and it just sterilizes all food placed within it (after like two hours or so) increasing their shelf life dramaticly.

It could be a rare spawn in groceries or something (factories?) or possible craftable with high mechanics and electronics, using the plutonium batteries or the microreactor CBM as ingredients.

@nexusmrsep
Copy link
Contributor Author

@DemAvalon That is a brilliant, fantastic idea, although I'd prefer it was a food factory industrial machinery, as citizens don't walk or drive around withe a portable hi-power x-ray machine. I already have few implementation ideas in my head, including possible radiation based side effects, etc. Definitly a queued PR on my side. Would need food factory json'ized map also. Ideas welcomed.

@TechyBen
Copy link
Contributor

TechyBen commented Jul 2, 2018

@nexusmrsep
Thanks! I was not arguing against the rot, just providing examples for building deterioration, even at extreme (for game) time periods. As to "clean" and "dry" those buildings were the same as any field/woods or newly damage building. It's very location or weather dependant. A case by case basis. But if we are counting New England as having a natural disaster, or large scale riot damage, then we would consider the buildings "rotting" or infested? As a player, are they going to expect (or be signposted by artwork/descriptions) every location to be clean, or dirty, or each location to have individual cleanlyness?

I agree Fukushima is also a good example for short term damage and rot. See:
https://edition.cnn.com/style/gallery/cnnphotos-fukushima-aftermath/index.html?gallery=%2F%2Fcdn.cnn.com%2Fcnnnext%2Fdam%2Fassets%2F151007142119-01-cnnphotos-fukushima-aftermath-restricted.jpg

I see food on the shelves still, while vac/plastic packed. Almost certainly rotted if not long shelf life foods (it's fish, YUK! 😋 ), but not all torn by larger vermin, or spoilt by smaller (though again, depends on type of packaging and how long, cardboard would start to fall apart, plastic less so). A simple cupboard would keep rats out until they chewed through the wood. Plastic container would keep flies out for a long time. Anything left open on shelves would get infested and overrun very quickly though!

I'm just asking, if we consider packed/jar food to be vermin proof? Putting in player constructed long term food storage (currently only fridge and proposed food cellar) to be vermin proof? That seems reasonable, with all other areas being vermin risks. Would packed foods (plastic/jar/can) being much much more vermin proof in the short term? And having different levels of different vermin proof (plastic only fly proof, not rat proof)?

[edit]
PS, more photos (I search visually quicker than textually :P ), this time dated June 18th, months after the disaster. I can see sweet packets not yet torn up. So good to know we can keep those from vermin for a few months in game! (Though I've discovered how to craft Maple sweets in game... no worries! 👍 )

http://archive.boston.com/bigpicture/2011/12/japans_nuclear_exclusion_zone.html

Things like the oranges also show it's a "half life" like process, with some going quick, others holding on longer.

@Tharn
Copy link
Contributor

Tharn commented Jul 2, 2018

Also, irradiated food doesn't last forever. It's meant to extend shelf life, but what does that actually mean? I've read reports of shelf life of irradiated shellfish being around 6-7 days, irradiated and vacuum-packed papaya being 60 days.

@nexusmrsep
Copy link
Contributor Author

I updated the initial post.
@TechyBen great site, I almost feel like those pictures are from CDDA.
Also packaging food as a way to prevent newly introduced carrion effects is also great. Noting it down.

@nexusmrsep
Copy link
Contributor Author

nexusmrsep commented Jul 2, 2018

Also, irradiated food doesn't last forever. It's meant to extend shelf life

So (as always) there are two ways to approach that:

  1. go SCI-FI and allow irradiated food to be non-perishable (like now), but to counterbalance limit the use of irradiator machinery the way i described in initial post above,
  2. go RL, and make irradiated food perishable, but on different set of long(ish) shelf-life values, and loosen the grip on irradiator machinery, making it more common and easier to find & use (portable? vehicle part?)

I see benefits in both paths.

@TechyBen
Copy link
Contributor

TechyBen commented Jul 2, 2018

Yeah, I always though irradiated fruit and veg just gets a few extra days? And that the long shelf life in game was a missed update from when rotting/aging got introduced to the game? I cannot find any data on length of spoilage for irradiated foods, just "it helps", or "up to double", and mainly for meat. Already dried/preserved fruit and veg may get longer, but currently dried fruit/veg in game is already long term... However, when I've got irradiated fresh strawberries/salad (could also be UV treated in this country) it only adds a couple of days. So I guess we just need to decide which tech or process is being used. I'm no expert there.

@nexusmrsep Hahaha, yep, it's making me want to go there on holiday!
But I am also surprised that even up to July, not all the food on the shelves had been ransacked. It's very location dependant. Note the pig, the store it took up home in is totally empty, from the pig. The store (supposedly) locked, where only a single rat or so got in, has a couple of chocolate bars missing... but the rest seem untouched!

Certain foods could not be eaten in bulk by the animals large/small enough to get to them. Such as sugary sweets and rats vs sugary sweets and a pig. However, population explosions of rats/mice would destroy those stores quickly (see Mice Plague in Australian grain silos! :O ). So again, very location or storage dependant.

So it would depend on how we wish to simulate/artistically paint New England. Do we say closed grocery stores are rat proof but not cockroach proof? Or do we assume they are all run down and damaged from the first few hours of the fight?

@DemAvalon
Copy link
Contributor

DemAvalon commented Jul 2, 2018

I like the more RL approach, so instead of being the ultimate solution its then a excellent tool to aid food preservation, so that when all is combined (proper packaging, proper food storage and irradiation) it makes for food that will last a real long time.

I really don't like the Idea of having to go to a specific place and use a finite resource to help food preservation, I'm okay with it having adverse effects like atomic coffee though.

@nexusmrsep
Copy link
Contributor Author

For RL approach I need some values, so I've done some research. There is ton of sources about food irradiating (see for yourselves, very illuminating material) , but most of them are useless and not giving any values about shelf life impact or comparisons. Found fome science articles, not many though...

Few abstracts:
For example, according to the Council for Agricultural Science and Technology, irradiating strawberries extends their refrigerated shelf-life to up to three weeks without decay or shrinkage, versus three to five days for untreated berries.

Gamma irradiation was employed to restrain potato sprouting and kill pests in grain. Irradiation proved to be extremely beneficial in terms of prolonging the fruit and vegetable shelf life by 3–5 times.

The control bananas ripened within 6 days while the gamma irradiated bananas ripened within 26 days, indicating that the shelf life of banana was extended by 20 days thereby delaying banana ripening.

Mango in room temperature doubled its shelf life (on average). Average days taken to ripening 12-->22, average shelf life (90% batch overripe) 14-->25.

Dose range of 1.5–1.7kGy extended the storage life of pear by 14 days under ambient conditions. Control unirradiated pears were almost fully ripe within 8 days, while as the pears irradiated in the dose range of 1.5–1.7kGy were fully ripe within 22 days of ambient storage. Irradiation dose of 1.5–1.7kGy significantly inhibited the decaying of pears up to 16 days of ambient storage. [ambient=room temp.]

I do not believe that i will find more, aspecialy for each and every items that had irradiated variant in game, so in my opinion it's safe to assume at least tripling spoil time for irradiated food will be fine.

Objections? Thoughts?
P.S. Of course changing irradiated food spoil time must be in coordination with adding the machinery itself. This however still raises questions about portability as typical irradiation plant looks like one presented HERE or HERE or HERE. Rather not a household equipment however to look at it. There would be more then a pinch of SF needed to accept reducing it size to something portable and common. Which is a decision to make ... or not to make.

@Tharn
Copy link
Contributor

Tharn commented Jul 3, 2018

Personally, I would err on the side of longer spoil times, like 4x. I would also not add this radiation machine. Don't really see the use for it, when 1) better modes of preservation exist, 2) this one should realistically involve plutonium cells and 3) we're shrinking down an industrial complex into a more or less hand-held device.

I would rather see more recipes for primitive modes of preservation, such as being able to air-dry fruit.

@DemAvalon
Copy link
Contributor

DemAvalon commented Jul 3, 2018

Why not both?, you could have the factory one be safe, reliable and it has no adverse effects on the food, while you could have the "portable" (something you have to weld to a vehicle) be a piece of junk that uses loads of power, leaves radiation behind (like atomic coffee, for example) and could even mutate fruit (add a mutant fruit item that could have all kinds of effects when ingested) but the trade off is that you can put it on your death mobile.

Also @Tharn you can already dehydrate fruit (and vegetables and meat) using a smoking rack(it counts as a charcoal smoker for recipes), that is pretty primitive.

@nexusmrsep
Copy link
Contributor Author

nexusmrsep commented Jul 3, 2018

@Tharn

  1. x4 would be acceptable too, in my opinion, based on those sources,
  2. This irradiated food didn't come from thin air. Irradiating machine is a must in my opinion, only its form and size is to be discussed. Also not adding a rad-machine while changing rad-food from non-perishable to perishable would lead to spoiled rad-food with no way to replenish it. It might be justified by death of technology, but there is no sophisticated tech in using radiation.
  3. Plutonium reqirement can be balanced in many ways - for example by simply adding a single plutonium rod for a lifetime of machine's need. Or convert it to energy, but deduct this energy at low-rate. RL process just exposes food to Cobalt-60 and basicly nothing else is required. Radiation protection required and safety standards is what makes this method more industrial. Else we'd have a Cobalt-60 home irradiator in a microwave format.
  4. I'm not against shrinking myself, but as stated in nr 3. I'd rather think that believeable shrinking limit would result in a fridge-sized equipment with thick lead walls, mounted plutonium rod, with a mechanism to cut-off rad-rays, and a tray for a single product to be placed for irradiation.
  5. Even if small equipment like in nr 4. would be implemented I'd still go with a food factory having either few of those or a larger version, just for RP reasons.
  6. There is also a non-plutonium approach - electron beam bombardment. See WIKI. "This system uses electrical energy and can be powered on and off." Hence, translating it into the game it might not use plutonium but electricity (vehicle part). Option to think about.

[edit: Electron-beam accelerators utilize an on-off technology, with a common design being similar to that of a cathode ray television.]

@DemAvalon
Copy link
Contributor

I'm not against shrinking myself, but as stated in nr 3. I'd rather think that believeable shrinking limit would result in a fridge-sized equipment with thick lead walls, mounted plutonium rod, with a mechanism to cut-off rad-rays, and a tray for a single product to be placed for irradiation.

Even if small equipment like in nr 4. would be implemented I'd still go with a food factory having either few of those or a larger version, just for RP reasons.

I think that is a great way to go about it, have food factories normally have the normal huge one, but rarely they have the "compact" one, and the description could justify by saying its cutting edge technology, and the factories were getting some to test it out, but then the cataclysm happened, so they never really installed those, so you could have them in a room (something like the final room in labs) that has some kind of challenge even (like having to find the factory manager's ID card or something to get in) so it could feel very rewarding to explore the factories.

Although that is probably out of the scope here, sorry.

@TechyBen
Copy link
Contributor

TechyBen commented Jul 7, 2018

I could have sworn I opened an issue about this. Field dressing, discards less valuable parts, makes the corpse more compact for carrying, and delays spoilage. My understanding is it's fairly rare to butcher kills immediately when hunting so something like this is very typical.

@kevingranade Yes, Ray Mears did this with a stone knife. Made some nice "deer chops" and "deer wings" to carry with him (no modern hygiene needed). (5 mins video clip : https://youtu.be/Th6EOlLK0DA?t=34m59s )

This would need training/experience. But after that, it would be a time and weather (rain/heat?) based limiting factor.

As I've mentioned before, signposting to players seems fine. If these foods are given lesser lifespans, then "it's dirty" or "it smells bad" (as it currently has) style flavour/lore text matches better than "it's rotten". Though, saying that, even quick rot food systems, may force players into managing eating rotten foods in emergencies (as in real life!). Would be an interesting mechanic if food supply balance in game went in that direction (due to zombie risks, or just supply/demand balance).

PS, the idea that a tiny amount of (just) recently spoilt food, having minor/manageable effects, then anything above having very bad effects (as rad builds up in game, but much quicker for food poisoning!) seems an interesting game mechanic. Just feeling queasy, vs the current game mechanic? Perhaps just from eating lots of "old" marked food (so actually adding more risk to the current system).

@Amariithynar
Copy link

As I brought up before, I actually really like the idea of food poisoning becoming something more like rads mechanically, so there's a lot more nuance to it instead of binary states, and it would allow the buildup across multiple foods. That way you're not just making a stack of sandwiches to carry around with you to eat as they get old, for example, because that's more of a risk. You'd make the good food when you're safe at base, and only enough to feed yourself in the short term. The rest would be aged, dried, converted to jerky, etc. for longer-term storage.

@DemAvalon
Copy link
Contributor

Random additional comment about refrigerators and freezers, home appliances tend to be grossly inefficient compared to travel versions, and incredibly heavy to boot.

Real life RVs already have refrigerators and freezers, but I guess those are different from the ones in houses, however, considering we can put tank cannons on our vehicles, I doubt the weight of a house fridge would mean much to the average death mobile, and laser cannons with quantum solar panels I don't think the power draw of a fridge would hamper much.

@FulcrumA
Copy link
Contributor

FulcrumA commented Jul 7, 2018

@Amariithynar

You'd make the good food when you're safe at base, and only enough to feed yourself in the short term. The rest would be aged, dried, converted to jerky, etc. for longer-term storage.

I think that with current, new spoilage system, we're getting there naturally, even without new food poisoning - you can only make so many sandwiches or other food before it'll get spoiled before you'll eat it all.
Not that non-binary food poisoning is a bad idea - I think it'd be nice to have it as some value increased due to eating some raw food (but only at random, it should still be a viable choice to eat raw, just with some risk the way it is now) and some spoiling (with "old" providing far less of "food poisoning points" than "rotten").

@kevingranade
Copy link
Member

kevingranade commented Jul 7, 2018

considering we can put tank cannons on our vehicles, I doubt the weight of a house fridge would mean much to the average death mobile

If you can manage to get a tank type vehicle working, yes a refrigerator isn't going to be much of a challenge, but expect this to get harder to accomplish over time.

and laser cannons with quantum solar panels I don't think the power draw of a fridge would hamper much.

Same situation here, power production is currently broken, expect it to be fixed in the future.

it would allow the buildup across multiple foods.

That's not how food poisoning works, it's generally not a poison, it's a chance of being infected. Theres no safe amount of risky food you can eat, every time you eat risky food there is a chance of getting sick.

@nexusmrsep
Copy link
Contributor Author

I also don't understand how food poisoning can be non-binary. You are either sick or not. Either your stomach and guts digest the food, and fight the bacteria or not. I see it more like a statistical chance based on strain that you force on your immune system. Let say your immune system is at nominal 100 value. If you eat large amount of maggot infested, mold ridden, rotten to the bone meat, it would count as lets say -150 value, so it blasts thru your system like a bacteriological bullet of a highest caliber, giving you no chance but to make world record attempts at projectile vomiting. But if you eat a bite of a slightly off venison that you held on for a day too long, that might be considered at lets say -25. 100 - 25 = 75 % to stay healthy and 25 % to spend the rest of the night in the outhouse. Also, your immune system got worse from chomping down the stinking venison, so if you are brave enough for another bit its a 75 - 25 = 50%. And now it fifty fifty, and you might not like those chances any more.

So at the end you get 0-1 system for the illness, and non-binary for the chance of it happening.
Also lets say there is a threshold of lets say minus 100 (values from the moon, don't consider them anything meaningful), so if you eat (100-200=-100) or (25-125=-100) or (50-75-75=-100), etc., you get lethal version of poisoning. Also if you already suffer food poisoning and still eat rotten food, it might end with the same result.

I'm not 100% sure if current hidden health value would be a good measurement for above, but it sounds as a good lead.

@Tharn
Copy link
Contributor

Tharn commented Jul 7, 2018

One way I could see it being non-binary: Different foods carry different bacteria. They also rot differently. Meat and eggs for example are known to easily become dangerous when they go off; even when fresh, you may need to cook them properly to not risk an illness. Fruits and veggies seldom are that dangerous even after they spoil. The risk here lies more in contamination with animal feces as fertilizer or during processing. Home-grown plants in Cataclysm should have a very low chance of causing food poisoning. Higher if fertilized or if the ground is contaminated by blood, bile, etc.

@TechyBen
Copy link
Contributor

TechyBen commented Jul 8, 2018

Yeah, don't quote me on hard figures here, but some food poisoning can kill you, others just make you feel queasy, others make you go the loo more often.

If it was linked to food portion size, so eating a tiny bit of old food having a small effect vs a whole rotten lasagne (though some chars just would not be able to "force" the eating, till at least "starving" status).

@Amariithynar
Copy link

That's not how food poisoning works, it's generally not a poison, it's a chance of being infected. Theres no safe amount of risky food you can eat, every time you eat risky food there is a chance of getting sick.

Actually, it is, for the most part. All food has bacteria and other microbes on it. The reason why food is considered "spoiled" is because it reaches a critical number of bacteria, which has a higher chance to overwhelm your system, but it's not guarenteed. Every time you consume something, your body's doing its duty, fighting off the bacteria. That's why HIV/AIDS is so deadly; it severely weakens the immune system, and you need to be extraordinarily careful of what you eat and how you eat it, so you don't introduce more to your weakened system than it can handle. Same with when you're already sick, your body comes to tolerate less of a range of foods and food qualities. These concepts are already (very) abstractly given in game via the "strong stomach" and "weak stomach" traits as well as "poison resistant", in that you're less likely to vomit (instead of purging the contaminated material, just able to fight it off) and you have a higher tolerance to poisoning, as well.

What IS binary is not whether the bacteria are there, but whether they've been successfully fought off. If they haven't, that's mild food poisoning. Your threshold is then weaker to the next bacteria, as they're still trying to fight off the first wave. This makes it easier to get a longer lasting case, or for another strain to set up inside of you as well. It's also not a one-and-done sort of check, but the bacteria constantly multiplying and either they release toxins to inhibit your immune system like campylobacter, where they can survive for weeks at a time before you suffer from the deleterious effects of food poisoning, as they gain critical mass inside your body rather than before ingestion, or things like salmonella, that just directly release toxins into our systems that weaken us by giving us the runs (the body reactively trying to cleanse the infection by flooding it out) and vomiting, losing a lot of nutrients and more importantly fluids which diverts resources from going to fighting the infection, so it's easier for them to multiply. E. coli strains release a verocytotoxin which damages blood cells and can cause irreparable damage to your kidneys, which can itself lead very quickly to death; it's naturally present in every animal's gut flora, too (which is why when making sausages you need to thoroughly clean them, invert them (exposing the inner surface they live on to the elements), scrape off the mucal layers (where most of the bacteria reside) and then salt-cure them to ensure no bacteria remain. Botulism's toxin seeks out nerve cells to infiltrate along a specific receptor path and damage the protein structure needed for the cell to communicate with others, which causes paralysis; if this happens to the heart, or the lungs, or the brain... well, you're dead. That's why botulism is so deadly, by the way. Not because it's hard to fight off, but because the toxins released are so potent that it only takes a little to cause a great effect. It's the toxin that kills you, not an overabundance of botulism. That's also why pressure-cooking and canning hve to be done right, because if you don't, then you don't destroy the spores and they produce more toxin. The toxin itself is rendered inactive by boiling for ten minutes.

Long and short of it is this: Modelling all that on different levels depending on what you eat is way too complex. That's why I gave the example of an abstraction to a rad-like value that increases as you consume foods and decays over time (representing your body successfully fighting off the infection of bacteria), but adding an influx of bacteria also means that your body is harder pressed to fight them, and the first symptoms can show up. Some bacterial colonies are so potent that they only need a little to infect you, so they'd have proportionately high 'food poisoning' values. Others would be low grade, but would last for a long time, passively reducing your natural food poisoning decay rate and increasing by small amounts over that long time, and so on and so forth.

@Tharn
Copy link
Contributor

Tharn commented Jul 17, 2018

Another small idea. Assume you have a single stack of food that lasts 3 years. You put a third of it in the fridge, then an hour later you put another third in the fridge, then another hour later another third. You now have 3 stacks.

It would be nice if long-lasting foods made spoilage checks more 'lazily' like once every day, so that player processing or very slight handling differences did not result in so many stacks.

@Kelenius
Copy link
Contributor

Assume you have a single stack of food that lasts 3 years. You put a third of it in the fridge, then an hour later you put another third in the fridge, then another hour later another third. You now have 3 stacks.

This is the main reason why I think that long-lasting food should be just immortal.

@nexusmrsep
Copy link
Contributor Author

#24306 made me thinking if it was ever considered that food nutrition can be based also on carbs/fat/protein composition, with appropriate daily need for each component. It is noticible that many irl hi-cal sweets are in game low nutrition items to offset the lack of C/F/P representation. This would be a fine and reasonable addition IMHO in the food department, even if it would be linked with no-vitamins mod/option by default.

@FulcrumA
Copy link
Contributor

I do like it. I recall individual components affecting final result being a suggestion made more than once, not only for food. Certainly it'd be pretty nice in general, though would also require quite some adjustment of qualities depending on ingredients. For food, though, it shouldn't be too hard, just take time.

As per #23141 though, first nutrition values of different ingredients should be rebalanced and made more believable. Both when it comes to 'hunger filling' value and actual vitamin/nutrient content as currently the game does pretty badly in this regard - as I've mentioned previously, a diet far more balanced and healthy than how many people live on average, in game still leads to considerable, even crippling deficiencies quite quickly.

@Amariithynar
Copy link

I like the idea of a protein/fats/carbs system, but it'd have to be handled properly. High carb food is great for energy stores, which would result in pretty quick saturation from high carb sources like potatoes. However, carbs also get digested a lot faster than proteins or fats do, which provide longer-lasting but slower energy gains. This should tie into the stamina system directly, as well, which honestly needs to be made a larger range, so that iit takes a longer to recover to peak stamina, but you can increase your recovery rate in the short term by ingesting more carbs, and over the long-term by ingesting more protein; fats are more of a mid-term, as they are a carbohydrate, but they're a complex one; a triglyceride that needs to go through lipid metabolism.

Furthermore, a high-carb diet that doesn't expend most of the excess calories consumed would lead to obesity and general health issues, just as a high-protein diet would lead to constipation, kidney stones, and osteoporosis. We could simulate this imbalance through temporary use of traits that already exist in the game, with the "Languorous" trait http://cddawiki.chezzo.com/cdda_wiki/index.php?title=Languorous for high-carb diets, and high-protein diets could get "Meat Intolerance" http://cddawiki.chezzo.com/cdda_wiki/index.php?title=Meat_Intolerance as their gut acts up and they have issues with digestion.

a diet far more balanced and healthy than how many people live on average, in game still leads to considerable, even crippling deficiencies quite quickly.

This really does need to be taken into consideration, though, first and foremost, if the current vitamin system remains. Honestly, though? I'd rather see it abstracted out to the common food groups- grains, meats/legumes, dairy, vegetables (legumes also count here), and fruits. This would also further encourage static bases, and you couldn't just pop vitamins all the time to have a balanced diet. This would give further strength to "deluxe" food items, and encourage people to make the higher-tiered food, as they contain a larger variety of ingredients in any given portion. 55g of dandelion greens, for example, contain all the vitamin A you need in a day, and 32% vitamin C, as well as 10% and 9% respectively of calcium and iron, so it's not like you NEED fruits over vegetables, even to deal with scurvy. http://nutritiondata.self.com/facts/vegetables-and-vegetable-products/2441/2 It would also deal with the issue where all baseline-edible 'meat' is considered the same item, without the need to add a whole bunch of variants for accuracy, and mean that you can't just subsist on nothing but bread from grains; you have to diversify your meal plan.

@FulcrumA
Copy link
Contributor

FulcrumA commented Jul 23, 2018

Kinda sorta chipping in with a new idea regarding preservation. I've read around and supposedly aluminum cans can be used for food preservation. Perhaps they could be used as an alternative to tin ones (with addition of 2, 3 pieces of scrap iron more since they'd probably use some tinkering to fit the role)? During the game aluminum cans keep piling up without having too much of use when they easily could fill the role of other items.

Alternatively, ability to slightly tinker with them and some soldering iron/welder could allow turning cans into metal canisters - which then could be used both for food preservation and, added bonus, other improvised things using those small metal canisters.

@nexusmrsep
Copy link
Contributor Author

Falls in under the "packaging" category. I have not yet even remotely visualized myself how would it work code-wise, but there certainly are some functions to pack items in containers, so there are some foundations for future PR's in this category.

But as of now, I'm working on "field dressing" behind the scenes and will create a PR when it's more or less done.

@FulcrumA
Copy link
Contributor

Looking forward to it, @nexusmrsep - I assume you mean to do it as a new feature?
I had an idea of doing something like that as a json based crafting recipe (since json edits are something I am actually still willing to work with as compared to my questionable programming experience most of which I lost anyway over the years) but I couldn't think of it in a way that wouldn't be clunky and mess with butchering ability of tools.

@nexusmrsep
Copy link
Contributor Author

Yes, new feature with nothing to do with recipes

@KorGgenT
Copy link
Member

KorGgenT commented Mar 6, 2019

number 13 is addressed by #28521

@KorGgenT
Copy link
Member

KorGgenT commented Mar 6, 2019

also number 8 is partially enabled by #27252

@Tharn
Copy link
Contributor

Tharn commented Mar 10, 2019

It looks like nuts from nut trees do not expire currently. This is incorrect. They last a while, but they expire because the fat goes rancid. Here's a great resource that you can use for various nuts: http://www.eatbydate.com/proteins/nuts/how-long-do-nuts-last-shelf-life-expiration-date/

Irradiated fruit also currently does not expire, which I assume is just because no one has looked at it yet. I would blanket set irradiated fruit to last 4 weeks longer than normal fruit. This seems to be a reasonable (probably too reasonable) median, but in the grand scheme of CDDA it's still not that long.

@nexusmrsep
Copy link
Contributor Author

This tracker issue is now obsolete, as majority of the ideas were done and merged, and even built upon. I may return to carbs/protein/fat idea later. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Items: Food / Vitamins Comestibles and drinks <Suggestion / Discussion> Talk it out before implementing
Projects
None yet
Development

No branches or pull requests

18 participants