Sean-Meyers / The-Fix

0 stars 0 forks source link

Make macros for taking damage #15

Closed Sean-Meyers closed 1 year ago

Sean-Meyers commented 1 year ago

Unify the code that modifies the $health variable and the code that checks whether you've died so that it can all be called in one shot. Also, make it modify the $stress variable as well. When taking damage, stress should go up, when healing, it should go down.

May need to do this kinda thing for other stats as well.

Sean-Meyers commented 1 year ago

No longer necessary. Damage is checked every time the player moves locations, so if they're going to die, it's after they've walked for a few minutes after sustaining their inventory lol. Which may even be more realistic than dying on the spot tbh.