Code Readability - Machinery (#18153)

* machinery

* comment change as per suggestion

Co-authored-by: moxian <moxian@users.noreply.github.com>

* added always_gib var to recycler as per recomendation

Co-authored-by: moxian <moxian@users.noreply.github.com>
This commit is contained in:
KalevTait
2022-07-05 14:38:47 +01:00
committed by GitHub
parent 52f3323760
commit bdf50ea894
43 changed files with 188 additions and 189 deletions
+2 -2
View File
@@ -9,7 +9,7 @@
desc = "A controller for the nearby pool."
icon = 'icons/obj/airlock_machines.dmi'
icon_state = "airlock_control_standby"
anchored = 1 //this is what I get for assuming /obj/machinery has anchored set to 1 by default
anchored = TRUE //this is what I get for assuming /obj/machinery has anchored set to 1 by default
var/list/linkedturfs = list() //List contains all of the linked pool turfs to this controller, assignment happens on New()
var/mobinpool = list() //List contains all of the mob in the pool, to prevent looping through the entire area to find mobs inside..
var/decalinpool = list() // List containing all of the cleanable decals in pool
@@ -54,7 +54,7 @@
if(!emagged) //If it is not already emagged, emag it.
to_chat(user, "<span class='warning'>You disable \the [src]'s temperature safeguards.</span>")//Inform the mob of what emagging does.
emagged = 1 //Set the emag var to true.
emagged = TRUE //Set the emag var to true.
/obj/machinery/poolcontroller/multitool_act(mob/user, obj/item/I)
. = TRUE