mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-05-18 12:50:29 +01:00
16 lines
473 B
Plaintext
16 lines
473 B
Plaintext
/obj/item/spell/spawner
|
|
name = "spawner template"
|
|
desc = "If you see me, someone messed up."
|
|
icon_state = "darkness"
|
|
cast_methods = CAST_RANGED
|
|
aspect = null
|
|
var/obj/effect/spawner_type = null
|
|
|
|
/obj/item/spell/spawner/on_ranged_cast(atom/hit_atom, mob/user)
|
|
var/turf/T = get_turf(hit_atom)
|
|
if(T)
|
|
new spawner_type(T)
|
|
to_chat(user, span_notice("You shift \the [src] onto \the [T]."))
|
|
log_and_message_admins("has casted [src] at [T.x],[T.y],[T.z].")
|
|
qdel(src)
|