mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-26 22:50:26 +01:00
Change maint crate spawners to be randomized (#62742)
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
This commit is contained in:
@@ -112,8 +112,13 @@
|
||||
|
||||
/obj/structure/closet/crate/maint
|
||||
|
||||
/obj/structure/closet/crate/maint/Initialize(mapload)
|
||||
..()
|
||||
return INITIALIZE_HINT_QDEL
|
||||
|
||||
/obj/structure/closet/crate/maint/PopulateContents()
|
||||
. = ..()
|
||||
new /obj/effect/spawner/random/structure/crate_empty(loc)
|
||||
for(var/i in 1 to rand(2,6))
|
||||
new /obj/effect/spawner/random/maintenance(src)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user