mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-01 04:21:42 +00:00
11 lines
319 B
Plaintext
11 lines
319 B
Plaintext
/obj/effect/spawner/trap
|
|
name = "random trap"
|
|
icon = 'icons/obj/hand_of_god_structures.dmi'
|
|
icon_state = "trap_rand"
|
|
|
|
/obj/effect/spawner/trap/Initialize(mapload)
|
|
..()
|
|
var/new_type = pick(subtypesof(/obj/structure/trap) - typesof(/obj/structure/trap/ctf))
|
|
new new_type(get_turf(src))
|
|
return INITIALIZE_HINT_QDEL
|