Files
Cody Brittain 3f62424312 [MDB Ignore] [IDB Ignore] Kills off /obj/item/device (#21774)
This has zero reason to exist in our code base. We have no procs or
variables tied to this. I removed it to make future modifications
cleaner.

---------

Signed-off-by: Cody Brittain <1779662+Generalcamo@users.noreply.github.com>
2026-02-01 05:14:26 +00:00

114 lines
3.4 KiB
Plaintext

//added by cael from old bs12
//not sure if there's an immediate place for secure wall lockers, but i'm sure the players will think of something
/obj/structure/closet/walllocker
name = "wall locker"
desc = "A wall mounted storage locker."
icon = 'icons/obj/containers/walllocker.dmi'
icon_state = "walllocker" //...man, how OLD is this $#!?
door_anim_angle = 132
door_anim_squish = 0.38
door_hinge_x = -7
door_anim_time = 2.7
store_mobs = FALSE
density = FALSE
anchored = TRUE
wall_mounted = TRUE
/obj/structure/closet/walllocker/antagonist_hints(mob/user, distance, is_adjacent)
. = list()
/obj/structure/closet/walllocker/secure
name = "secure wall locker"
icon_door = "walllocker_secure"
icon_door_override = TRUE
locked = TRUE
secure = TRUE
/obj/structure/closet/walllocker/emerglocker
name = "emergency locker"
desc = "A wall mounted locker with emergency supplies."
icon_state = "emerg"
store_mobs = FALSE
door_anim_time = 0
/obj/structure/closet/walllocker/emerglocker/fill()
for(var/i = 1 to 3)
new /obj/item/tank/emergency_oxygen(src)
new /obj/item/clothing/mask/breath(src)
if(prob(20))
new /obj/item/reagent_containers/hypospray/autoinjector/emergency(src)
/obj/structure/closet/walllocker/emerglocker/north
pixel_y = 32
dir = SOUTH
/obj/structure/closet/walllocker/emerglocker/south
pixel_y = -32
dir = NORTH
/obj/structure/closet/walllocker/emerglocker/west
pixel_x = -32
dir = WEST
/obj/structure/closet/walllocker/emerglocker/east
pixel_x = 32
dir = EAST
/obj/structure/closet/walllocker/firecloset //wall mounted fire closet
name = "firefighting closet"
desc = "It's a storage unit for firefighting supplies."
icon_state = "hydrant"
/obj/structure/closet/walllocker/firecloset/fill()
new /obj/item/clothing/head/hardhat/firefighter(src)
new /obj/item/clothing/suit/fire(src)
new /obj/item/clothing/mask/gas/alt(src)
new /obj/item/flashlight(src)
new /obj/item/crowbar/rescue_axe/red(src)
new /obj/item/tank/oxygen/red(src)
new /obj/item/extinguisher(src)
new /obj/item/inflatable/door(src)
new /obj/item/inflatable/wall(src)
new /obj/item/inflatable/wall(src)
if (prob(25))
new /obj/item/ladder_mobile(src)
/obj/structure/closet/walllocker/firecloset/medical/fill()
new /obj/item/clothing/head/hardhat/firefighter(src)
new /obj/item/clothing/suit/fire(src)
new /obj/item/clothing/mask/gas/alt(src)
new /obj/item/flashlight(src)
new /obj/item/tank/oxygen/red(src)
new /obj/item/extinguisher(src)
new /obj/item/ladder_mobile(src)
new /obj/item/storage/bag/inflatable/emergency(src)
/obj/structure/closet/walllocker/medical //wall mounted medical closet
name = "medical closet"
desc = "It's a wall-mounted storage unit for medical supplies."
icon_state = "medical_wall"
/obj/structure/closet/walllocker/medical/firstaid
name = "first-aid closet"
desc = "It's a wall-mounted storage unit for first aid supplies."
/obj/structure/closet/walllocker/medical/firstaid/fill()
new /obj/item/storage/firstaid/regular(src)
/obj/structure/closet/walllocker/medical/secure
desc = "It's a secure wall-mounted storage unit for first aid supplies."
icon_door = "medical_wall_secure"
icon_door_override = TRUE
locked = TRUE
secure = TRUE
req_access = list(ACCESS_MEDICAL_EQUIP)
/obj/structure/closet/walllocker/medical/secure/donor_blood
name = "O- Blood Locker"
/obj/structure/closet/walllocker/medical/secure/donor_blood/fill()
for(var/i = 0 to 3)
new /obj/item/reagent_containers/blood/OMinus(src)