Files
Bubberstation/code/__DEFINES/loot.dm
T
Mothblocks 73d471637b Closets now initialize their contents on demand (more than 1.6 seconds of init time saved) (#69587)
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
2022-09-04 09:34:56 +12:00

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, \
)