Code Readability - Structures (#18273)

* structures

* requested changes
This commit is contained in:
KalevTait
2022-07-10 14:00:25 +01:00
committed by GitHub
parent 6775604810
commit 8dcf49855b
34 changed files with 191 additions and 194 deletions
@@ -6,8 +6,8 @@
icon = 'icons/obj/kitchen.dmi'
icon_state = "spikeframe"
desc = "The frame of a meat spike."
density = 1
anchored = 0
density = TRUE
anchored = FALSE
max_integrity = 200
/obj/structure/kitchenspike_frame/attackby(obj/item/I, mob/user, params)
@@ -15,10 +15,10 @@
if(istype(I, /obj/item/wrench))
if(anchored)
to_chat(user, "<span class='notice'>You unwrench [src] from the floor.</span>")
anchored = 0
anchored = FALSE
else
to_chat(user, "<span class='notice'>You wrench [src] into place.</span>")
anchored = 1
anchored = TRUE
else if(istype(I, /obj/item/stack/rods))
var/obj/item/stack/rods/R = I
if(R.get_amount() >= 4)
@@ -37,8 +37,8 @@
icon = 'icons/obj/kitchen.dmi'
icon_state = "spike"
desc = "A spike for collecting meat from animals."
density = 1
anchored = 1
density = TRUE
anchored = TRUE
buckle_lying = FALSE
can_buckle = TRUE
max_integrity = 250