Merge pull request #5416 from Citadel-Station-13/upstream-merge-35188
[MIRROR] Adds a SCP-294 ruin
This commit is contained in:
10
code/game/objects/effects/spawners/traps.dm
Normal file
10
code/game/objects/effects/spawners/traps.dm
Normal file
@@ -0,0 +1,10 @@
|
||||
/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
|
||||
Reference in New Issue
Block a user