mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-08-22 04:06:14 +01:00
pain hud display
This commit is contained in:
@@ -177,6 +177,16 @@
|
||||
desc = "You're severely dehydrated."
|
||||
icon_state = "dehydrated"
|
||||
|
||||
/obj/screen/alert/pain
|
||||
name = "Pain"
|
||||
desc = "You're in pain!"
|
||||
icon_state = "pain"
|
||||
|
||||
/obj/screen/alert/painmajor
|
||||
name = "Major Pain"
|
||||
desc = "You're in major pain!"
|
||||
icon_state = "pain_major"
|
||||
|
||||
/obj/screen/alert/gross
|
||||
name = "Grossed out."
|
||||
desc = "That was kind of gross..."
|
||||
|
||||
@@ -36,7 +36,7 @@ All effects don't start immediately, but rather get worse over time; the rate is
|
||||
*/
|
||||
|
||||
/datum/reagent/consumable/ethanol/on_mob_life(mob/living/carbon/C)
|
||||
M.adjustPainLoss(-0.25*REM, 0) //alchol dulls pain
|
||||
C.adjustPainLoss(-0.25*REM, 0) //alchol dulls pain
|
||||
if(C.drunkenness < volume * boozepwr * ALCOHOL_THRESHOLD_MODIFIER)
|
||||
var/booze_power = boozepwr
|
||||
if(HAS_TRAIT(C, TRAIT_ALCOHOL_TOLERANCE)) //we're an accomplished drinker
|
||||
|
||||
@@ -391,7 +391,7 @@ datum/reagent/medicine/styptic_powder/overdose_start(mob/living/M)
|
||||
/datum/reagent/medicine/mine_salve/on_mob_life(mob/living/carbon/C)
|
||||
C.hal_screwyhud = SCREWYHUD_HEALTHY
|
||||
C.adjustBruteLoss(-0.25*REM, 0)
|
||||
M.adjustPainLoss(-1*REM, 0)
|
||||
C.adjustPainLoss(-1*REM, 0)
|
||||
C.adjustFireLoss(-0.25*REM, 0)
|
||||
C.adjustStaminaLoss(-0.5*REM, 0)
|
||||
..()
|
||||
|
||||
Reference in New Issue
Block a user