mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-06-10 00:27:04 +01:00
73d471637b
About The Pull Request Closets now initialize their contents once in dump_contents(). This saves more than 1.6 seconds of init time (all /obj/structure/closet now initialize in 84ms). Not sure what assumptions this will break, there's a lot of closets, so separate PR. cl del: You can no longer see maint spawners before the round starts (but your rounds start faster now :) ) /cl
14 lines
542 B
Plaintext
14 lines
542 B
Plaintext
/// The loot table for spawning a random crate
|
|
#define RANDOM_CRATE_LOOT list( \
|
|
/obj/structure/closet/crate = 20, \
|
|
/obj/structure/closet/crate/wooden = 1, \
|
|
/obj/structure/closet/crate/internals = 1, \
|
|
/obj/structure/closet/crate/medical = 1, \
|
|
/obj/structure/closet/crate/freezer = 1, \
|
|
/obj/structure/closet/crate/radiation = 1, \
|
|
/obj/structure/closet/crate/hydroponics = 1, \
|
|
/obj/structure/closet/crate/engineering = 1, \
|
|
/obj/structure/closet/crate/engineering/electrical = 1, \
|
|
/obj/structure/closet/crate/science = 1, \
|
|
)
|