mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 18:02:57 +00:00
okay, let's watch the population drop - adds a config option that makes all stamina buffer actions free (TG-style gameplay) (#7608)
* "sTAM BAD REE" is like sandpaper on my nerves. so let's turn the server into a TG clone for a week and watch as the population dwindles to nothing just to prove a point! * and the config, too
This commit is contained in:
@@ -312,6 +312,7 @@
|
|||||||
staminas = new /obj/screen/staminas()
|
staminas = new /obj/screen/staminas()
|
||||||
infodisplay += staminas
|
infodisplay += staminas
|
||||||
|
|
||||||
|
if(!CONFIG_GET(flag/disable_stambuffer))
|
||||||
staminabuffer = new /obj/screen/staminabuffer()
|
staminabuffer = new /obj/screen/staminabuffer()
|
||||||
infodisplay += staminabuffer
|
infodisplay += staminabuffer
|
||||||
//END OF CIT CHANGES
|
//END OF CIT CHANGES
|
||||||
|
|||||||
@@ -350,3 +350,5 @@
|
|||||||
/datum/config_entry/number/monkeycap
|
/datum/config_entry/number/monkeycap
|
||||||
config_entry_value = 64
|
config_entry_value = 64
|
||||||
min_val = 0
|
min_val = 0
|
||||||
|
|
||||||
|
/datum/config_entry/flag/disable_stambuffer
|
||||||
|
|||||||
@@ -28,6 +28,9 @@
|
|||||||
|
|
||||||
. = ..()
|
. = ..()
|
||||||
|
|
||||||
|
if(CONFIG_GET(flag/disable_stambuffer))
|
||||||
|
togglesprint()
|
||||||
|
|
||||||
AddComponent(/datum/component/redirect, list(COMSIG_COMPONENT_CLEAN_ACT = CALLBACK(src, .proc/clean_blood)))
|
AddComponent(/datum/component/redirect, list(COMSIG_COMPONENT_CLEAN_ACT = CALLBACK(src, .proc/clean_blood)))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -542,3 +542,6 @@ ROUNDSTART_TRAITS
|
|||||||
|
|
||||||
## A cap on how many monkeys may be created via monkey cubes
|
## A cap on how many monkeys may be created via monkey cubes
|
||||||
MONKEYCAP 64
|
MONKEYCAP 64
|
||||||
|
|
||||||
|
## Uncomment to use TG-style combat
|
||||||
|
#DISABLE_STAMBUFFER
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
/mob/living/carbon/adjustStaminaLossBuffered(amount, updating_stamina = 1)
|
/mob/living/carbon/adjustStaminaLossBuffered(amount, updating_stamina = 1)
|
||||||
if(status_flags & GODMODE)
|
if(status_flags & GODMODE)
|
||||||
return 0
|
return 0
|
||||||
|
if(CONFIG_GET(flag/disable_stambuffer))
|
||||||
|
return
|
||||||
var/directstamloss = (bufferedstam + amount) - stambuffer
|
var/directstamloss = (bufferedstam + amount) - stambuffer
|
||||||
if(directstamloss > 0)
|
if(directstamloss > 0)
|
||||||
adjustStaminaLoss(directstamloss)
|
adjustStaminaLoss(directstamloss)
|
||||||
|
|||||||
Reference in New Issue
Block a user