mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
[SEMI-MODULAR] CUSTOMIZATION - Makes robot people behave in a robotic way (#847)
* Robits! * stuffs * Pfixes * bugfixes * smol balance * fixxx * hello * Update alcohol_reagents.dm * WHAT DOES IT WANT OF ME * oh right those too * Update alcohol_reagents.dm * Update alcohol_reagents.dm * grrr
This commit is contained in:
@@ -500,6 +500,12 @@
|
||||
update_disabled()
|
||||
if(updating_health)
|
||||
owner.updatehealth()
|
||||
//SKYRAT EDIT ADDITION BEGIN - CUSTOMIZATION
|
||||
//Consider moving this to a new species proc "spec_heal" maybe?
|
||||
if(owner.stat == DEAD && owner?.dna?.species && (REVIVES_BY_HEALING in owner.dna.species.species_traits))
|
||||
if(owner.health > 50 && !owner.hellbound)
|
||||
owner.revive(FALSE)
|
||||
//SKYRAT EDIT ADDITION END
|
||||
cremation_progress = min(0, cremation_progress - ((brute_dam + burn_dam)*(100/max_damage)))
|
||||
return update_bodypart_damage_state()
|
||||
|
||||
|
||||
@@ -460,6 +460,10 @@
|
||||
L.brutestate = 0
|
||||
L.burnstate = 0
|
||||
|
||||
//SKYRAT EDIT ADDITION BEGIN - CUSTOMIZATION
|
||||
if(dna?.species && (ROBOTIC_LIMBS in dna.species.species_traits))
|
||||
L.change_bodypart_status(BODYPART_ROBOTIC)
|
||||
//SKYRAT EDIT ADDITION END
|
||||
if(!L.attach_limb(src, 1))
|
||||
qdel(L)
|
||||
return FALSE
|
||||
|
||||
Reference in New Issue
Block a user