Open nsmryan opened 2 years ago
Consider if different weapons should use different amounts of stamina, like the hammer might use 2 pips.
I would like to give stamina a try using this system and see how it goes. One thing I want to keep an eye on is whether or not it becomes tedious to always be pressing 5 to regain stamina after engaging in a series of actions.
Its possible that the system might work better if it is more immediate and uses smaller numbers. For example, you might have only three stamina, and you regain one per turn when you take any other action, or maybe one per turn when you rest. This would remove the three-turn counter as well, which might make it easier to reason about.
I’m really not sure what the best path is though so I think that the 5-stamina system is a good place to start.
There is now a stamina branch with an initial version of this concept.
I cleaned up this concept a bit, and fixed a few bugs. I was trying to get a visual similar to HP gain/lose for stamina and energy. The problem is that we were using green for HP gain, and red for HP loss. I was going to try yellow for energy and green for stamina, but then HP would have to be red for gain and loss. We do put a negative sign in front of the numbers, but it would still not be all that clear what was happening if we use these colors for both gain and loss of resources.
Implement the three stamina concept. Make 'took_turn' keep an enum of what they did. For now maybe just Nothing, Move, Attack, Run, Jump. Then gain or lose stamina based on this result in step.rs.
Cap HP and energy at 6. Pips should be full screen width, but stamina are twice as wide so they fill the same area.
Sooo, should yelling or throwing take stamina?
I have an initial implementation of this. The main thing that is not done is for attacks to take stamina, and for them to not occur if you don't have the stamina for them to occur.
This should now be implemented as described, with 3 stamina and the simpler rules for when it is gained and used.
This issue tracks the idea of trying out a new resource called stamina.
Stamina would be something like: five bars wall jumps, attacks use 1 of 5 and recover when you do other actions. Recovery is 1 per 3 turns.
Running may or may not- try this out. Try out passing turn gives 1 per turn instead of 1 per three turns.
Some way to translate energy into full stamina.
Consider using a green number to indicate gains and loss of stamina, and maybe yellow for energy.