Code Readability - Crates_Lockers (#18270)

* crates_lockers

* use SECONDS where appropraite

* timer isn't in seconds, add a comment explaining that
This commit is contained in:
KalevTait
2022-07-10 14:00:09 +01:00
committed by GitHub
parent ab73add7bd
commit 6775604810
7 changed files with 13 additions and 13 deletions
@@ -388,7 +388,7 @@
/obj/structure/closet/bluespace
name = "bluespace closet"
desc = "A storage unit that moves and stores through the fourth dimension."
density = 0
density = FALSE
icon_state = "bluespace"
open_door_sprite = "bluespace_door"
storage_capacity = 60
@@ -27,7 +27,7 @@
desc = "It's a storage unit for things that have no right being here."
icon_state = "syndicate1"
open_door_sprite = "syndicate1_door"
anchored = 0
anchored = FALSE
/obj/structure/closet/gimmick/russian
name = "russian surplus closet"
@@ -76,7 +76,7 @@
desc = "Everything you need!"
icon_state = "syndicate"
open_door_sprite = "syndicate_door"
anchored = 1
anchored = TRUE
/obj/structure/closet/thunderdome/tdred
name = "red-team Thunderdome closet"
@@ -1,8 +1,8 @@
/obj/structure/closet/secure_closet/syndicate/depot
name = "depot supply closet"
desc = ""
locked = 0
anchored = 1
locked = FALSE
anchored = TRUE
req_access = list()
layer = 2.9 // ensures the loot they drop always appears on top of them.
var/is_armory = FALSE
@@ -295,7 +295,7 @@
/obj/structure/closet/secure_closet/brig
name = "brig locker"
req_access = list(ACCESS_BRIG)
anchored = 1
anchored = TRUE
var/id = null
/obj/structure/closet/secure_closet/brig/populate_contents()
@@ -3,14 +3,14 @@
desc = "An incredibly lifelike marble carving"
icon = 'icons/obj/statue.dmi'
icon_state = "human_male"
density = 1
anchored = 1
density = TRUE
anchored = TRUE
max_integrity = 0 //destroying the statue kills the mob within
var/intialTox = 0 //these are here to keep the mob from taking damage from things that logically wouldn't affect a rock
var/intialFire = 0 //it's a little sloppy I know but it was this or the GODMODE flag. Lesser of two evils.
var/intialBrute = 0
var/intialOxy = 0
var/timer = 240 //eventually the person will be freed
var/timer = 240 // timer counts down durring process, eventually the person will be freed
/obj/structure/closet/statue/Initialize(mapload, mob/living/L)
. = ..()
@@ -3,7 +3,7 @@
desc = "A hefty wooden crate."
icon = 'icons/obj/crates.dmi'
icon_state = "largecrate"
density = 1
density = TRUE
var/obj/item/paper/manifest/manifest
/obj/structure/largecrate/Initialize(mapload)
@@ -6,14 +6,14 @@
name = "wall locker"
icon = 'icons/obj/walllocker.dmi'
icon_state = "wall-locker"
density = 0
anchored = 1
density = FALSE
anchored = TRUE
icon_closed = "wall-locker"
icon_opened = "wall-lockeropen"
/obj/structure/closet/walllocker/close()
..()
density = 0 //It's a locker in a wall, you aren't going to be walking into it.
density = FALSE //It's a locker in a wall, you aren't going to be walking into it.
/obj/structure/closet/walllocker/emerglocker
name = "emergency locker"