mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user