remove rerolling for ghosts

This commit is contained in:
Couls
2019-05-02 22:07:36 -04:00
parent db8cb1403a
commit 32e36f06dd
-21
View File
@@ -650,7 +650,6 @@ var/global/list/multiverse = list()
M.visible_message("<span class = 'warning'> A massive amount of flesh sloughs off [M] and a skeleton rises up!</span>")
M.grab_ghost() // yoinks the ghost if its not in the body
M.revive()
M.verbs += /mob/living/carbon/human/proc/skeleton_reset
equip_skeleton(M)
spooky_scaries |= M
to_chat(M, "<span class='userdanger'>You have been revived by </span><B>[user.real_name]!</B>")
@@ -732,7 +731,6 @@ var/global/list/multiverse = list()
H.update_body()
H.grab_ghost()
H.revive()
H.verbs += /mob/living/carbon/human/proc/skeleton_reset
H.equip_to_slot_or_del(new /obj/item/clothing/shoes/sandal(H), slot_shoes)
H.equip_to_slot_or_del(new /obj/item/clothing/head/kitty(H), slot_head)
H.equip_to_slot_or_del(new /obj/item/clothing/under/schoolgirl(H), slot_w_uniform)
@@ -882,22 +880,3 @@ var/global/list/multiverse = list()
heal_brute = 25
heal_burn = 25
heal_oxy = 25
/mob/living/carbon/human/proc/skeleton_reset()
set name = "Offer skeleton to ghosts"
set category = "Skeleton"
set desc = "Give up your skeleton to ghosts so you can observe the round."
src.verbs -= /mob/living/carbon/human/proc/skeleton_reset
if (src.stat != DEAD)
var/list/mob/dead/observer/candidates = pollCandidates("Do you want to play as Skeleton?", ROLE_WIZARD, 0, 100)
var/mob/dead/observer/new_stand = null
if(candidates.len && src.stat != DEAD) // make sure they haven't died since
new_stand = pick(candidates)
to_chat(src,"Your body has been given up and taken over by someone else.")
message_admins("[key_name_admin(new_stand)] has taken control of ([key_name_admin(src)])")
src.ghostize()
src.key = new_stand.key
else
to_chat(src, "There were no ghosts willing to take control. Looks like you're stuck as a skeleton for now.")
spawn(600)
src.verbs += /mob/living/carbon/human/proc/skeleton_reset