mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-02 13:33:29 +00:00
* Refactor of object spawners * Migrate loot spawner file * actually this doesn't seem like it does anything!
13 lines
403 B
Plaintext
13 lines
403 B
Plaintext
/// Spawners that place objects with special logic and then delete themselves.
|
|
/// These are effects instead of datums so that they can be used for mapping (i.e. random loot placement and so on)
|
|
/obj/effect/spawner
|
|
name = "object spawner"
|
|
|
|
/obj/effect/spawner/Initialize(mapload, ...)
|
|
..()
|
|
do_spawn(arglist(args))
|
|
return INITIALIZE_HINT_QDEL
|
|
|
|
/obj/effect/spawner/proc/do_spawn(mapload, ...)
|
|
return
|