Open AmberFennek opened 7 years ago
I was looking at this issue, it doesn't seem we have a drink
command. Trying to research on how to create one. We could add a drinkable
attribute to flasks and fountains.
Wait, there is a drink
method associated with the fountain of refreshment. I'm confused where it is being called from. Hmm. Searching the repo for drink
is returning any useful results.
This is a Mile 2 issue, and requires #8 to be completed first.
In the case of drink
, it isn't actually a command, but a verb. If the particular object responds to the drink verb (e.g. it's drinkable), the drink method on the object class (the one on line 427) should be triggered to cause the drink effect to take place. Because that step is missing, verbs trigger, but only offer a generic response until the verb interaction functionality is added.
See verbs.
Currently having health is a disadvantage. If you have no health trait, you are unencumbered, but if you have a health trait and it is 0, then you become immobilized. Except for testing, no characters should be manually given a health trait until the end of Mile 2.
Suggestion
Suggestion from @tricuspa is to restore health by drinking from
Fountain of refreshment
, currently located inGreat Fog
. Set as a goal for Mile 2Time stamping
Allow return of up to 20 health every 12 hours by time-stamping the character's fountain use. Fountain also removes thirst.
Effects ticker
Employ an effects ticker to restore the health gradually, initially restoring 10 health then slowly adding the remainder until the total restored is 20 or the character returns to health max, whichever occurs first.