mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
Merge pull request #3024 from Cameron653/master
Prevents halloss showing up as actual wounds on self examine
This commit is contained in:
@@ -166,11 +166,13 @@
|
|||||||
var/list/status = list()
|
var/list/status = list()
|
||||||
var/brutedamage = org.brute_dam
|
var/brutedamage = org.brute_dam
|
||||||
var/burndamage = org.burn_dam
|
var/burndamage = org.burn_dam
|
||||||
if(halloss > 0)
|
/*
|
||||||
|
if(halloss > 0) //Makes halloss show up as actual wounds on self examine.
|
||||||
if(prob(30))
|
if(prob(30))
|
||||||
brutedamage += halloss
|
brutedamage += halloss
|
||||||
if(prob(30))
|
if(prob(30))
|
||||||
burndamage += halloss
|
burndamage += halloss
|
||||||
|
*/
|
||||||
switch(brutedamage)
|
switch(brutedamage)
|
||||||
if(1 to 20)
|
if(1 to 20)
|
||||||
status += "bruised"
|
status += "bruised"
|
||||||
@@ -460,4 +462,4 @@
|
|||||||
/mob/living/carbon/can_feel_pain(var/check_organ)
|
/mob/living/carbon/can_feel_pain(var/check_organ)
|
||||||
if(isSynthetic())
|
if(isSynthetic())
|
||||||
return 0
|
return 0
|
||||||
return !(species.flags & NO_PAIN)
|
return !(species.flags & NO_PAIN)
|
||||||
|
|||||||
Reference in New Issue
Block a user