mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 08:08:49 +01:00
Aliens no longer gib [NON-MODULAR] (#1714)
* Update alien_embryo.dm * Update alien_embryo.dm * Some other minor bugfixes * Update alien_embryo.dm * Update alien_embryo.dm * Update code/modules/mob/living/carbon/alien/special/alien_embryo.dm Co-authored-by: Azarak <azarak10@gmail.com> * Update alien_embryo.dm * Update alien_embryo.dm * Update alien_embryo.dm Co-authored-by: Azarak <azarak10@gmail.com>
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
|
||||
|
||||
|
||||
/obj/item/organ/body_egg/alien_embryo/proc/AttemptGrow(gib_on_success=TRUE)
|
||||
/obj/item/organ/body_egg/alien_embryo/proc/AttemptGrow()
|
||||
if(!owner || bursting)
|
||||
return
|
||||
|
||||
@@ -102,13 +102,21 @@
|
||||
new_xeno.notransform = 0
|
||||
new_xeno.invisibility = 0
|
||||
|
||||
if(gib_on_success)
|
||||
new_xeno.visible_message("<span class='danger'>[new_xeno] bursts out of [owner] in a shower of gore!</span>", "<span class='userdanger'>You exit [owner], your previous host.</span>", "<span class='hear'>You hear organic matter ripping and tearing!</span>")
|
||||
owner.gib(TRUE)
|
||||
new_xeno.visible_message("<span class='danger'>[new_xeno] bursts out of [owner] in a shower of gore!</span>", "<span class='userdanger'>You exit [owner], your previous host.</span>", "<span class='hear'>You hear organic matter ripping and tearing!</span>")
|
||||
//owner.gib(TRUE) - ORIGINAL
|
||||
//SKYRAT EDIT CHANGE - ALIEN QOL
|
||||
if(owner.getBruteLoss() >= 150)
|
||||
for(var/obj/item/bodypart/BP in owner.bodyparts) //We want to check if there is a chest to dismember.
|
||||
if(BP.name == "chest")
|
||||
BP.dismember()
|
||||
break
|
||||
else
|
||||
new_xeno.visible_message("<span class='danger'>[new_xeno] wriggles out of [owner]!</span>", "<span class='userdanger'>You exit [owner], your previous host.</span>")
|
||||
owner.adjustBruteLoss(40)
|
||||
owner.cut_overlay(overlay)
|
||||
var/obj/item/bodypart/affecting = owner.get_bodypart("chest")
|
||||
if(affecting)
|
||||
affecting.receive_damage(40)
|
||||
owner.spawn_gibs()
|
||||
//SKYRAT EDIT END
|
||||
owner.cut_overlay(overlay)
|
||||
qdel(src)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user