Made effect teleporting into a trait. (#24640)

This commit is contained in:
Charlie Nolan
2024-03-15 21:40:27 -07:00
committed by GitHub
parent aa740508e2
commit 521abceae8
6 changed files with 19 additions and 1 deletions
+4
View File
@@ -178,6 +178,10 @@ GLOBAL_LIST_EMPTY(total_extraction_beacons)
desc = "you shouldnt see this"
var/atom/movable/stored_obj
/obj/effect/extraction_holder/Initialize()
. = ..()
ADD_TRAIT(src, TRAIT_EFFECT_CAN_TELEPORT, ROUNDSTART_TRAIT)
/obj/item/extraction_pack/proc/check_for_living_mobs(atom/A)
if(isliving(A))
var/mob/living/L = A
@@ -405,6 +405,10 @@
icon = 'icons/effects/effects.dmi'
var/can_destroy = FALSE
/obj/effect/immortality_talisman/Initialize()
. = ..()
ADD_TRAIT(src, TRAIT_EFFECT_CAN_TELEPORT, ROUNDSTART_TRAIT)
/obj/effect/immortality_talisman/attackby()
return