mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-12 11:13:16 +00:00
custom_pain makes you actually be in pain (#8973)
This commit is contained in:
@@ -17,6 +17,8 @@
|
|||||||
if(power >= 50)
|
if(power >= 50)
|
||||||
message = "<font size=3>[message]</font>"
|
message = "<font size=3>[message]</font>"
|
||||||
|
|
||||||
|
adjustHalLoss(halloss+power) // CHOMPEdit - Someone forgot to make it actually hurt
|
||||||
|
|
||||||
// Anti message spam checks
|
// Anti message spam checks
|
||||||
// If multiple limbs are injured, cooldown is ignored to print all injuries until all limbs are iterated over
|
// If multiple limbs are injured, cooldown is ignored to print all injuries until all limbs are iterated over
|
||||||
if(client?.prefs?.read_preference(/datum/preference/toggle/pain_frequency))
|
if(client?.prefs?.read_preference(/datum/preference/toggle/pain_frequency))
|
||||||
|
|||||||
@@ -1243,7 +1243,7 @@
|
|||||||
if(O.status & ORGAN_BROKEN)
|
if(O.status & ORGAN_BROKEN)
|
||||||
O.mend_fracture()
|
O.mend_fracture()
|
||||||
H.custom_pain("You feel the agonizing power of calcium mending your bones!",60)
|
H.custom_pain("You feel the agonizing power of calcium mending your bones!",60)
|
||||||
H.AdjustWeakened(1)
|
H.AdjustStunned(1) // CHOMPEdit - Crawling again, weakened to stunned
|
||||||
break // Only mend one bone, whichever comes first in the list
|
break // Only mend one bone, whichever comes first in the list
|
||||||
//VOREStation Edit End
|
//VOREStation Edit End
|
||||||
|
|
||||||
|
|||||||
@@ -736,7 +736,7 @@
|
|||||||
if(O.status & ORGAN_BROKEN)
|
if(O.status & ORGAN_BROKEN)
|
||||||
O.mend_fracture() //Only works if the bone won't rebreak, as usual
|
O.mend_fracture() //Only works if the bone won't rebreak, as usual
|
||||||
H.custom_pain("You feel a terrible agony tear through your bones!",60)
|
H.custom_pain("You feel a terrible agony tear through your bones!",60)
|
||||||
H.AdjustWeakened(1) //Bones being regrown will knock you over
|
H.AdjustStunned(1) //Bones being regrown will knock you over - CHOMPEdit - Crawling made this trivial, get stunned
|
||||||
//CHOMPEdit End
|
//CHOMPEdit End
|
||||||
|
|
||||||
/datum/reagent/myelamine
|
/datum/reagent/myelamine
|
||||||
|
|||||||
Reference in New Issue
Block a user