mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-11 15:14:27 +01:00
Made effect teleporting into a trait. (#24640)
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user