From d88e2f4d9936a5dc08201d0f5b7f326d6e3c3f85 Mon Sep 17 00:00:00 2001 From: Geeves Date: Sat, 27 Feb 2021 14:54:35 +0200 Subject: [PATCH] Stamina Full (#11311) --- code/_onclick/hud/screen_objects.dm | 2 +- code/modules/mob/living/carbon/human/life.dm | 1 + html/changelogs/geeves-stamina_full.yml | 7 +++++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 html/changelogs/geeves-stamina_full.yml diff --git a/code/_onclick/hud/screen_objects.dm b/code/_onclick/hud/screen_objects.dm index cf986fb07e7..a75d55fe935 100644 --- a/code/_onclick/hud/screen_objects.dm +++ b/code/_onclick/hud/screen_objects.dm @@ -414,7 +414,7 @@ else if (!user.stamina_bar) user.stamina_bar = new(user, user.max_stamina, src) - + user.stamina_bar.goal = user.max_stamina user.stamina_bar.update(user.stamina) if (user.m_intent == M_RUN) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index a2a8e0721e8..9eaaae67e79 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -626,6 +626,7 @@ to_chat(src, SPAN_WARNING(pick("The itch is becoming progressively worse.", "You need to scratch that itch!", "The itch isn't going!"))) sprint_speed_factor = species.sprint_speed_factor + max_stamina = species.stamina stamina_recovery = species.stamina_recovery sprint_cost_factor = species.sprint_cost_factor move_delay_mod = 0 diff --git a/html/changelogs/geeves-stamina_full.yml b/html/changelogs/geeves-stamina_full.yml new file mode 100644 index 00000000000..2841f0e18de --- /dev/null +++ b/html/changelogs/geeves-stamina_full.yml @@ -0,0 +1,7 @@ +author: Geeves + +delete-after: True + +changes: + - bugfix: "Synaptizine no longer exponentially increases your stamina into infinity." + - bugfix: "The stamina bar above your move intent now properly updates your max stamina value." \ No newline at end of file