Cleans up revive related procs (#47025)

* Cleans up revive related procs

* h

* fuck

* Fixes proc arguments

* Further fixes

* Unfucks line endings
This commit is contained in:
81Denton
2019-10-22 15:16:13 -07:00
committed by Rob Bailey
parent 588346133a
commit 6b1161ecd9
44 changed files with 64 additions and 63 deletions
+3 -3
View File
@@ -74,13 +74,13 @@
if(isliving(user))
var/mob/living/L = user
if(L.mob_biotypes & MOB_UNDEAD) //negative energy heals the undead
user.revive(full_heal = TRUE)
user.revive(full_heal = TRUE, admin_revive = FALSE)
to_chat(user, "<span class='notice'>You feel great!</span>")
return
to_chat(user, "<span class='warning'>You irradiate yourself with pure negative energy! \
[pick("Do not pass go. Do not collect 200 zorkmids.","You feel more confident in your spell casting skills.","You Die...","Do you want your possessions identified?")]\
</span>")
user.death(0)
user.death(FALSE)
/obj/item/gun/magic/wand/death/debug
desc = "In some obscure circles, this is known as the 'cloning tester's friend'."
@@ -116,7 +116,7 @@
</span>")
user.death(0)
return
user.revive(full_heal = TRUE)
user.revive(full_heal = TRUE, admin_revive = FALSE)
to_chat(user, "<span class='notice'>You feel great!</span>")
/obj/item/gun/magic/wand/resurrection/debug //for testing
+2 -2
View File
@@ -23,7 +23,7 @@
if(L.mob_biotypes & MOB_UNDEAD) //negative energy heals the undead
if(L.hellbound && L.stat == DEAD)
return BULLET_ACT_BLOCK
if(L.revive(full_heal = TRUE))
if(L.revive(full_heal = TRUE, admin_revive = FALSE))
L.grab_ghost(force = TRUE) // even suicides
to_chat(L, "<span class='notice'>You rise with a start, you're undead!!!</span>")
else if(L.stat != DEAD)
@@ -51,7 +51,7 @@
else
if(target.hellbound && target.stat == DEAD)
return BULLET_ACT_BLOCK
if(target.revive(full_heal = TRUE))
if(target.revive(full_heal = TRUE, admin_revive = FALSE))
target.grab_ghost(force = TRUE) // even suicides
to_chat(target, "<span class='notice'>You rise with a start, you're alive!!!</span>")
else if(target.stat != DEAD)