cataclysmbnteam / Cataclysm-BN

Cataclysm: Bright Nights, A fork/variant of Cataclysm:DDA by CleverRaven.
https://docs.cataclysmbn.org
Other
672 stars 265 forks source link

Conservative Nonperishable Use #130

Open Allmyusualnamesaretaken opened 3 years ago

Allmyusualnamesaretaken commented 3 years ago

Is your feature request related to a problem? Please describe.

Right now, the game doesn't seem to differentiate between canned perishable goods that have been opened and those that are still preserved, which can lead to 5 open jars of fruit jam that are near-full instead of reliably pulling from the same jar.

Describe the solution you'd like

Have crafting prefer to use already opened containers of preserved goods instead of opening new ones. Ideally, have them also prefer to use the oldest open variant as well.

Describe alternatives you've considered

Alternatively, implement a menu to let players choose which source they want to use for cooking. This seems like more work for minimal gain though.

Additional context

image My pain

Coolthulhu commented 3 years ago

It might be doable with the same mechanism that prefers non-rotten food. The problem is, non-rotten food checks the food itself, while here, we want to check the container.