mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Grant TRAIT_NOFIRE while cloning (#25327)
* Grant TRAIT_NOFIRE while cloning * Update code/game/machinery/clonepod.dm Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com> Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> --------- Signed-off-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: DGamerL <108773801+DGamerL@users.noreply.github.com> Co-authored-by: Burzah <116982774+Burzah@users.noreply.github.com>
This commit is contained in:
co-authored by
Burzah
DGamerL
parent
f8ebba6ed1
commit
4a1f396707
@@ -358,6 +358,7 @@
|
||||
clone.set_heartattack(FALSE) //you are not allowed to die
|
||||
clone.adjustCloneLoss(25) //to punish early ejects
|
||||
clone.Weaken(4 SECONDS)
|
||||
ADD_TRAIT(clone, TRAIT_NOFIRE, "cloning") // Plasmamen shouldn't catch fire while cloning
|
||||
|
||||
//Ejects a clone. The force var ejects even if there's still clone damage.
|
||||
/obj/machinery/clonepod/proc/eject_clone(force = FALSE)
|
||||
@@ -376,6 +377,7 @@
|
||||
patient_mind.transfer_to(clone)
|
||||
clone.grab_ghost()
|
||||
clone.update_revive()
|
||||
REMOVE_TRAIT(clone, TRAIT_NOFIRE, "cloning")
|
||||
to_chat(clone, "<span class='userdanger'>You remember nothing from the time that you were dead!</span>")
|
||||
to_chat(clone, "<span class='notice'>There's a bright flash of light, and you take your first breath once more.</span>")
|
||||
|
||||
@@ -393,7 +395,8 @@
|
||||
patient_mind.transfer_to(clone)
|
||||
clone.grab_ghost()
|
||||
clone.update_revive()
|
||||
to_chat(clone, "<span class='userdanger'>You remember nothing from the time that you were dead!")
|
||||
REMOVE_TRAIT(clone, TRAIT_NOFIRE, "cloning")
|
||||
to_chat(clone, "<span class='userdanger'>You remember nothing from the time that you were dead!</span>")
|
||||
to_chat(clone, "<span class='danger'>You're ripped out of blissful oblivion! You feel like shit.</span>")
|
||||
|
||||
reset_cloning()
|
||||
|
||||
Reference in New Issue
Block a user