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

[CR]Automatic food heating #372

Merged
merged 5 commits into from
Mar 30, 2021
Merged

[CR]Automatic food heating #372

merged 5 commits into from
Mar 30, 2021

Conversation

Coolthulhu
Copy link
Member

@Coolthulhu Coolthulhu commented Feb 24, 2021

Related to #318, part about heat pack.

How it works:

  • Food can't be hot, just heatable
  • When eating heatable food with an enabled heater item in crafting inventory, the heater item will be used (see below) and hot food bonus will be applied
  • There are 3 ways of heating food: over fire (free), using charges, using a consumable item that is then removed
  • To use charges or consumable item to heat food, you first have to enable their use for heating
  • Enabled heating items have (heats) added after name
  • Tiny bug introduced due to laziness: vehicle-mounted hotplate will always be enabled, yet interacting with the hotplate will allow disabling it, which won't work. That's a problem for future me.

TODO:

  • Implement heating with pot+fire (free, preferred above others)
  • Implement heating with hotplate (uses charges)
  • Implement heating with heat packs (consumes heat pack, turns it into used heat pack or its disassembly materials) EDIT: Just removes the food pack. This was easier.
  • Figure out how to handle player not wanting to consume hotplate/heat pack charges
  • Heating with vehicle-mounted hotplate

Optionally rebalance food heating.

Freezing will be handled in a similar way later. Food cooler will let you use the cool bonus.

@Coolthulhu Coolthulhu force-pushed the heat-impl branch 2 times, most recently from 348aa0b to 97ca8e0 Compare March 8, 2021 08:47
@Coolthulhu Coolthulhu changed the title [WiP]Automatic food heating [CR]Automatic food heating Mar 25, 2021
@Coolthulhu Coolthulhu merged commit 15dce59 into upload Mar 30, 2021
@Coolthulhu Coolthulhu deleted the heat-impl branch April 3, 2021 09:35
@olanti-p olanti-p mentioned this pull request Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant