OSU-Edu-Games / Sim-Fish

Sim Fish is a tamagotchi-like educational game where you learn to take care of a pet fish.
https://osu-edu-games.github.io/Sim-Fish/
0 stars 0 forks source link

Consequences for overfeeding/medicating #3

Closed sielerjm closed 2 years ago

sielerjm commented 2 years ago

Is your feature request related to a problem? Please describe. Currently, there are only penalties if the player neglects the fish (deductions in health, hunger, happiness). But overfeeding, -medicating, etc. can be detrimental to fish well being also.

Describe the solution you'd like Implement penalties for overdoing any action

sielerjm commented 2 years ago

I've made progress on this front, but it's not complete yet. For instance, if the tank brush is used and no algae are present the fish is made happier and the health declines. Same goes for medicating the fish when the pathogen is not present. However, if a pathogen is present and the wrong medication is used, the logic is not in place to check if it's the correct pathogen for the medicine, it's only looking broadly if a pathogen is present. More work is needed to specifically check if pathogen present matches medication administered.

sielerjm commented 2 years ago

Done. Added a medicationID that corresponds to a pathogenID in that if they equal each other then the correct medication was used, if they do not equal each other then it was mismedicated, and a deduction of health and happy points is applied (aka consequence).

Update (7/16): Adding gif.

IMB_wjnSEF