Terasology / Terasology/Cooking

Cooking should depend on Hunger and Thirst or none of them

Open
#113 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Category: Gameplay Content Good First Issue Size: S Topic: UI/UX Type: Improvement
Dominant language
Java
Stars
10
Forks
55
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the Cooking module's declared Hunger dependency and the related module metadata. Check how activating Cooking handles food items that also provide DrinkComponent, then verify that the dependency behavior is consistent when Hunger and Thirst are enabled together or when neither is enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.