Refactor machinery to default to being anchored

This commit is contained in:
Jordan Brown
2018-06-01 12:27:38 -04:00
committed by letterjay
parent 340c6d2e83
commit 5e15a988f6
142 changed files with 269 additions and 175 deletions
@@ -14,7 +14,6 @@
icon = 'icons/obj/machines/antimatter.dmi'
icon_state = "shield"
anchored = TRUE
density = TRUE
dir = NORTH
use_power = NO_POWER_USE//Living things generally dont use power
-1
View File
@@ -50,7 +50,6 @@
desc = "A control terminal for the area's electrical systems."
icon_state = "apc0"
anchored = TRUE
use_power = NO_POWER_USE
req_access = null
max_integrity = 200
-1
View File
@@ -41,7 +41,6 @@
desc = "A pole with powerful mounted lights on it. Due to its high power draw, it must be powered by a direct connection to a wire node."
icon = 'icons/obj/lighting.dmi'
icon_state = "floodlight"
anchored = TRUE
density = TRUE
max_integrity = 100
integrity_failure = 80
-1
View File
@@ -2,7 +2,6 @@
name = "thermoelectric generator"
desc = "It's a high efficiency thermoelectric generator."
icon_state = "teg"
anchored = TRUE
density = TRUE
use_power = NO_POWER_USE
-1
View File
@@ -22,7 +22,6 @@ GLOBAL_LIST_EMPTY(gravity_generators) // We will keep track of this by adding ne
name = "gravitational generator"
desc = "A device which produces a graviton field when set up."
icon = 'icons/obj/machines/gravity_generator.dmi'
anchored = TRUE
density = TRUE
use_power = NO_POWER_USE
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
-1
View File
@@ -187,7 +187,6 @@
var/base_state = "tube" // base description and icon_state
icon_state = "tube"
desc = "A lighting fixture."
anchored = TRUE
layer = WALL_OBJ_LAYER
max_integrity = 100
use_power = ACTIVE_POWER_USE
-1
View File
@@ -7,7 +7,6 @@
icon = 'icons/obj/power.dmi'
icon_state = "rtg"
density = TRUE
anchored = TRUE
use_power = NO_POWER_USE
circuit = /obj/item/circuitboard/machine/rtg
@@ -5,7 +5,6 @@
desc = "An energy field."
icon = 'icons/obj/singularity.dmi'
icon_state = "Contain_F"
anchored = TRUE
density = FALSE
resistance_flags = INDESTRUCTIBLE | LAVA_PROOF | FIRE_PROOF | UNACIDABLE | ACID_PROOF
use_power = NO_POWER_USE
-1
View File
@@ -19,7 +19,6 @@
desc = "A high-capacity superconducting magnetic energy storage (SMES) unit."
icon_state = "smes"
density = TRUE
anchored = TRUE
use_power = NO_POWER_USE
circuit = /obj/item/circuitboard/machine/smes
var/capacity = 5e6 // maximum charge
-2
View File
@@ -6,7 +6,6 @@
desc = "A solar panel. Generates electricity when in contact with sunlight."
icon = 'goon/icons/obj/power.dmi'
icon_state = "sp_base"
anchored = TRUE
density = TRUE
use_power = NO_POWER_USE
idle_power_usage = 0
@@ -257,7 +256,6 @@
desc = "A controller for solar panel arrays."
icon = 'icons/obj/computer.dmi'
icon_state = "computer"
anchored = TRUE
density = TRUE
use_power = IDLE_POWER_USE
idle_power_usage = 250
+1 -2
View File
@@ -8,9 +8,8 @@
icon_state = "term"
desc = "It's an underfloor wiring terminal for power equipment."
level = 1
var/obj/machinery/power/master = null
anchored = TRUE
layer = WIRE_TERMINAL_LAYER //a bit above wires
var/obj/machinery/power/master = null
/obj/machinery/power/terminal/Initialize()
-1
View File
@@ -8,7 +8,6 @@
desc = "A solar directional tracker."
icon = 'goon/icons/obj/power.dmi'
icon_state = "tracker"
anchored = TRUE
density = TRUE
use_power = NO_POWER_USE
max_integrity = 250
-2
View File
@@ -27,7 +27,6 @@
desc = "The compressor stage of a gas turbine generator."
icon = 'icons/obj/atmospherics/pipes/simple.dmi'
icon_state = "compressor"
anchored = TRUE
density = TRUE
resistance_flags = FIRE_PROOF
CanAtmosPass = ATMOS_PASS_DENSITY
@@ -48,7 +47,6 @@
desc = "A gas turbine used for backup power generation."
icon = 'icons/obj/atmospherics/pipes/simple.dmi'
icon_state = "turbine"
anchored = TRUE
density = TRUE
resistance_flags = FIRE_PROOF
CanAtmosPass = ATMOS_PASS_DENSITY