Terasology / Cooking

Cook things!
10 stars 55 forks source link

Cooking should depend on Hunger and Thirst or none of them #113

Open oniatus opened 7 years ago

oniatus commented 7 years ago

Cooking depends on Hunger at the moment. Nearly all food items provide the FoodComponent from the Hunger module.

However, nearly all food items also provide the DrinkComponent from the Thirst module.

Activating Cooking only will not activate (or download) the Thirst module, leaving the player with a hunger-bar only.

It's likely that cooking will function without hunger or thirst but this is probably very pointless :) For consistency, we should add thirst to the dependencies which also would make the testing much easier.

Cervator commented 7 years ago

Bumping this and adding it to new project board https://github.com/orgs/Terasology/projects/9 for @jellysnake :D

Likely outcome: Depend on a new "Sustenance" module that holds the shared functionality

jdrueckert commented 2 years ago

In addition to adding a dependency to Thirst, FillingModifier needs to be adjusted to also fill the thirst bar based on the DrinkComponents filling value for the ingredients.