Skip to content

Commit

Permalink
Fix: Immortality for everyone (#227)
Browse files Browse the repository at this point in the history
Вы это не видели
  • Loading branch information
Furrior authored Sep 23, 2023
1 parent 73ba873 commit 7a2800a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions modular_ss220/maps220/code/misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
new /obj/structure/closet/syndicate/resources/everything(loc)

if("Бессмертие")
user.verbs += /mob/living/carbon/human/verb/immortality
user.verbs |= /mob/living/carbon/human/proc/immortality

if("Покой")
for(var/mob/living/simple_animal/hostile/faithless/F in GLOB.mob_living_list)
Expand All @@ -79,7 +79,7 @@

#define TRAIT_REVIVAL_IN_PROGRESS "revival_in_progress"

/mob/living/carbon/human/verb/immortality()
/mob/living/carbon/human/proc/immortality()
set category = "Бессмертие"
set name = "Возрождение"

Expand All @@ -96,7 +96,6 @@
addtimer(CALLBACK(src, TYPE_PROC_REF(/mob/living/carbon/human, resurrect)), rand(80 SECONDS, 120 SECONDS))

/mob/living/carbon/human/proc/resurrect()
// Stolen from ling stasis
revive()
REMOVE_TRAIT(src, TRAIT_REVIVAL_IN_PROGRESS, "Immortality")
to_chat(src, span_notice("Вы вернулись из небытия."))
Expand Down

0 comments on commit 7a2800a

Please sign in to comment.