Merge pull request #749 from cadyn/linguist

Cadyn's traits changes part 1
This commit is contained in:
Nadyr
2020-10-26 00:01:38 -04:00
committed by GitHub
13 changed files with 254 additions and 17 deletions

View File

@@ -14,6 +14,7 @@
dir = SOUTH
organ_tag = "limb"
var/brokenpain = 50 //CHOMPEdit
// Strings
var/broken_description // fracture string if any.
var/damage_state = "00" // Modifier used for generating the on-mob damage overlay for this limb.
@@ -1053,10 +1054,12 @@ Note that amputating the affected organ does in fact remove the infection from t
return
if(owner)
owner.visible_message(\
//CHOMPEdit Begin
owner.custom_pain(pick(\
"<span class='danger'>You hear a loud cracking sound coming from \the [owner].</span>",\
"<span class='danger'>Something feels like it shattered in your [name]!</span>",\
"<span class='danger'>You hear a sickening crack.</span>")
"<span class='danger'>You hear a sickening crack.</span>"),brokenpain)
//CHOMPEdit End
jostle_bone()
if(organ_can_feel_pain() && !isbelly(owner.loc))
owner.emote("scream")