/* Utility Closets * Contains: * Emergency Closet * Fire Closet * Tool Closet * Radiation Closet * Bombsuit Closet * Hydrant * First Aid */ /* * Emergency Closet */ /obj/structure/closet/emcloset name = "emergency closet" desc = "It's a storage unit for emergency breathmasks and O2 tanks." closet_appearance = /decl/closet_appearance/oxygen /obj/structure/closet/emcloset/Initialize() switch (pickweight(list("small" = 55, "aid" = 25, "tank" = 10, "both" = 10))) if ("small") starts_with = list( /obj/item/weapon/tank/emergency/oxygen = 2, /obj/item/clothing/mask/breath = 2, /obj/item/clothing/suit/space/emergency, /obj/item/clothing/head/helmet/space/emergency) if ("aid") starts_with = list( /obj/item/weapon/tank/emergency/oxygen, /obj/item/weapon/storage/toolbox/emergency, /obj/item/clothing/mask/breath, /obj/item/weapon/storage/firstaid/o2, /obj/item/clothing/suit/space/emergency, /obj/item/clothing/head/helmet/space/emergency) if ("tank") starts_with = list( /obj/item/weapon/tank/emergency/oxygen/engi = 2, /obj/item/clothing/mask/breath = 2) if ("both") starts_with = list( /obj/item/weapon/storage/toolbox/emergency, /obj/item/weapon/tank/emergency/oxygen/engi, /obj/item/clothing/mask/breath, /obj/item/weapon/storage/firstaid/o2, /obj/item/clothing/suit/space/emergency = 2, /obj/item/clothing/head/helmet/space/emergency = 2) return ..() /obj/structure/closet/emcloset/legacy starts_with = list( /obj/item/weapon/tank/oxygen, /obj/item/clothing/mask/gas) /* * Fire Closet */ /obj/structure/closet/firecloset name = "fire-safety closet" desc = "It's a storage unit for fire-fighting supplies." closet_appearance = /decl/closet_appearance/oxygen/fire starts_with = list( /obj/item/clothing/suit/fire/firefighter, /obj/item/clothing/mask/gas, /obj/item/weapon/tank/oxygen/red, /obj/item/weapon/extinguisher, /obj/item/clothing/head/hardhat/red) /obj/structure/closet/firecloset/full starts_with = list( /obj/item/clothing/suit/fire/firefighter, /obj/item/clothing/mask/gas, /obj/item/device/flashlight, /obj/item/weapon/tank/oxygen/red, /obj/item/weapon/extinguisher, /obj/item/clothing/head/hardhat/red) /obj/structure/closet/firecloset/full/double starts_with = list( /obj/item/clothing/suit/fire/firefighter = 2, /obj/item/clothing/mask/gas = 2, /obj/item/device/flashlight = 2, /obj/item/weapon/tank/oxygen/red = 2, /obj/item/weapon/extinguisher = 2, /obj/item/clothing/head/hardhat/red = 2) /* * Tool Closet */ /obj/structure/closet/toolcloset name = "tool closet" desc = "It's a storage unit for tools." closet_appearance = /decl/closet_appearance/secure_closet/engineering/tools /obj/structure/closet/toolcloset/Initialize() starts_with = list() if(prob(40)) starts_with += /obj/item/clothing/suit/storage/hazardvest if(prob(70)) starts_with += /obj/item/device/flashlight if(prob(70)) starts_with += /obj/item/weapon/tool/screwdriver if(prob(70)) starts_with += /obj/item/weapon/tool/wrench if(prob(70)) starts_with += /obj/item/weapon/weldingtool if(prob(70)) starts_with += /obj/item/weapon/tool/crowbar if(prob(70)) starts_with += /obj/item/weapon/tool/wirecutters if(prob(70)) starts_with += /obj/item/device/t_scanner if(prob(20)) starts_with += /obj/item/weapon/storage/belt/utility if(prob(30)) starts_with += /obj/item/stack/cable_coil/random if(prob(30)) starts_with += /obj/item/stack/cable_coil/random if(prob(30)) starts_with += /obj/item/stack/cable_coil/random if(prob(20)) starts_with += /obj/item/device/multitool if(prob(5)) starts_with += /obj/item/clothing/gloves/yellow if(prob(40)) starts_with += /obj/item/clothing/head/hardhat return ..() /* * Radiation Closet */ /obj/structure/closet/radiation name = "radiation suit closet" desc = "It's a storage unit for rad-protective suits." closet_appearance = /decl/closet_appearance/secure_closet/engineering/tools/radiation starts_with = list( /obj/item/clothing/suit/radiation = 2, /obj/item/clothing/head/radiation = 2, /obj/item/device/geiger = 2) /* * Bombsuit closet */ /obj/structure/closet/bombcloset name = "\improper EOD closet" desc = "It's a storage unit for explosion-protective suits." closet_appearance = /decl/closet_appearance/bomb starts_with = list( /obj/item/clothing/suit/bomb_suit, /obj/item/clothing/under/color/black, /obj/item/clothing/shoes/black, /obj/item/clothing/head/bomb_hood) /obj/structure/closet/bombcloset/double starts_with = list( /obj/item/clothing/suit/bomb_suit = 2, /obj/item/clothing/under/color/black = 2, /obj/item/clothing/shoes/black = 2, /obj/item/clothing/head/bomb_hood = 2) /obj/structure/closet/bombclosetsecurity name = "\improper EOD closet" desc = "It's a storage unit for explosion-protective suits." closet_appearance = /decl/closet_appearance/bomb/security starts_with = list( /obj/item/clothing/suit/bomb_suit/security, /obj/item/clothing/under/rank/security, /obj/item/clothing/shoes/brown, /obj/item/clothing/head/bomb_hood/security) /* * Hydrant */ /obj/structure/closet/hydrant //wall mounted fire closet name = "fire-safety closet" desc = "It's a storage unit for fire-fighting supplies." closet_appearance = /decl/closet_appearance/wall/hydrant plane = TURF_PLANE layer = ABOVE_TURF_LAYER anchored = 1 density = 0 wall_mounted = 1 starts_with = list( /obj/item/clothing/suit/fire/firefighter, /obj/item/clothing/mask/gas, /obj/item/device/flashlight, /obj/item/weapon/tank/oxygen/red, /obj/item/weapon/extinguisher, /obj/item/clothing/head/hardhat/red) /* * First Aid */ /obj/structure/closet/medical_wall //wall mounted medical closet name = "first-aid closet" desc = "It's wall-mounted storage unit for first aid supplies." closet_appearance = /decl/closet_appearance/wall/medical anchored = 1 density = 0 wall_mounted = 1