mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
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:
@@ -16,7 +16,7 @@
|
||||
var/list/network = list("SS13")
|
||||
var/c_tag = null
|
||||
var/c_tag_order = 999
|
||||
var/status = 1
|
||||
var/status = TRUE
|
||||
anchored = TRUE
|
||||
var/start_active = FALSE //If it ignores the random chance to start broken on round start
|
||||
var/invuln = null
|
||||
@@ -40,7 +40,7 @@
|
||||
wires = new(src)
|
||||
assembly = new(src)
|
||||
assembly.state = 4
|
||||
assembly.anchored = 1
|
||||
assembly.anchored = TRUE
|
||||
assembly.update_icon()
|
||||
|
||||
GLOB.cameranet.cameras += src
|
||||
@@ -386,7 +386,7 @@
|
||||
/obj/machinery/camera/portable/Initialize(mapload)
|
||||
. = ..()
|
||||
assembly.state = 0 //These cameras are portable, and so shall be in the portable state if removed.
|
||||
assembly.anchored = 0
|
||||
assembly.anchored = FALSE
|
||||
assembly.update_icon()
|
||||
|
||||
/obj/machinery/camera/portable/process() //Updates whenever the camera is moved.
|
||||
|
||||
Reference in New Issue
Block a user