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
@@ -101,6 +101,10 @@
var/can_move = TRUE
var/obj/item/chameleon/master = null
/obj/effect/dummy/chameleon/Initialize()
. = ..()
ADD_TRAIT(src, TRAIT_EFFECT_CAN_TELEPORT, ROUNDSTART_TRAIT)
/obj/effect/dummy/chameleon/proc/activate(obj/O, mob/M, new_icon, new_iconstate, new_overlays, new_underlays, obj/item/chameleon/C)
name = O.name
desc = O.desc