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 15:38:47 +02:00
committed by GitHub
co-authored by moxian
parent 52f3323760
commit bdf50ea894
43 changed files with 188 additions and 189 deletions
+4 -4
View File
@@ -6,15 +6,15 @@
desc = "It turns lights on and off. What are you, simple?"
icon = 'icons/obj/power.dmi'
icon_state = "light1"
anchored = 1.0
var/on = 1
anchored = TRUE
var/on = TRUE
var/area/area = null
var/otherarea = null
// luminosity = 1
settagwhitelist = list("logic_id_tag")
var/light_connect = 1 //Allows the switch to control lights in its associated areas. When set to 0, using the switch won't affect the lights.
var/light_connect = TRUE //Allows the switch to control lights in its associated areas. When set to FALSE, using the switch won't affect the lights.
var/logic_id_tag = "default" //Defines the ID tag to send logic signals to.
var/logic_connect = 0 //Set this to allow the switch to send out logic signals.
var/logic_connect = FALSE //Set this to allow the switch to send out logic signals.
/obj/machinery/light_switch/New(turf/loc, w_dir=null)