mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-22 19:47:47 +01:00
Convert some bools to TRUE/FALSE instead of 1/0. (#11100)
Co-authored-by: Aronai Sieyes <arokha@arokha.com>
This commit is contained in:
co-authored by
Aronai Sieyes
parent
9ce7af6ca1
commit
577b986ba6
@@ -3,8 +3,8 @@
|
||||
desc = "Holds antimatter."
|
||||
icon = 'icons/obj/machines/antimatter.dmi'
|
||||
icon_state = "jar"
|
||||
density = 0
|
||||
anchored = 0
|
||||
density = FALSE
|
||||
anchored = FALSE
|
||||
force = 8
|
||||
throwforce = 10
|
||||
throw_speed = 1
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
desc = "This device injects antimatter into connected shielding units, the more antimatter injected the more power produced. Wrench the device to set it up."
|
||||
icon = 'icons/obj/machines/antimatter.dmi'
|
||||
icon_state = "control"
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
use_power = USE_POWER_IDLE
|
||||
idle_power_usage = 100
|
||||
active_power_usage = 1000
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/obj/machinery/power/am_engine
|
||||
icon = 'icons/am_engine.dmi'
|
||||
density = 1
|
||||
anchored = 1.0
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
flags = ON_BORDER
|
||||
|
||||
/obj/machinery/power/am_engine/bits
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
icon = 'icons/obj/items.dmi'
|
||||
icon_state = "rcdammo"
|
||||
opacity = 0
|
||||
density = 0
|
||||
anchored = 0.0
|
||||
density = FALSE
|
||||
anchored = FALSE
|
||||
var/fuel = 0
|
||||
var/s_time = 1.0
|
||||
var/content = null
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
|
||||
icon = 'icons/obj/machines/antimatter.dmi'
|
||||
icon_state = "shield"
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
dir = 1
|
||||
use_power = USE_POWER_OFF //Living things generally dont use power
|
||||
idle_power_usage = 0
|
||||
|
||||
@@ -81,7 +81,7 @@ GLOBAL_LIST_EMPTY(apcs)
|
||||
icon = 'icons/obj/power.dmi'
|
||||
icon_state = "apc0"
|
||||
layer = ABOVE_WINDOW_LAYER
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
use_power = USE_POWER_OFF
|
||||
clicksound = "switch"
|
||||
req_access = list(access_engine_equip)
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
//directwired = 0
|
||||
var/icon_state_on = "bbox_on"
|
||||
var/icon_state_off = "bbox_off"
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
circuit = /obj/item/weapon/circuitboard/breakerbox
|
||||
var/on = 0
|
||||
var/busy = 0
|
||||
|
||||
@@ -45,7 +45,7 @@ var/list/possible_cable_coil_colours = list(
|
||||
|
||||
/obj/structure/cable
|
||||
level = 1
|
||||
anchored =1
|
||||
anchored =TRUE
|
||||
var/datum/powernet/powernet
|
||||
name = "power cable"
|
||||
desc = "A flexible superconducting cable for heavy-duty power transfer."
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
plane = PLATING_PLANE
|
||||
layer = PIPES_LAYER - 0.05 //Just below pipes
|
||||
color = null
|
||||
unacidable = 1
|
||||
unacidable = TRUE
|
||||
var/id = null
|
||||
|
||||
/obj/structure/cable/ender/get_connections(var/powernetless_only = 0)
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/obj/machinery/power/debug_items/
|
||||
icon = 'icons/obj/power.dmi'
|
||||
icon_state = "tracker"
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
var/show_extended_information = 1 // Set to 0 to disable extra information on examining (for example, when used on admin events)
|
||||
|
||||
/obj/machinery/power/debug_items/examine(mob/user)
|
||||
|
||||
@@ -12,11 +12,11 @@ GLOBAL_LIST_EMPTY(fusion_cores)
|
||||
desc = "An enormous solenoid for generating extremely high power electromagnetic fields. It includes a kinetic energy harvester."
|
||||
icon = 'icons/obj/machines/power/fusion.dmi'
|
||||
icon_state = "core0"
|
||||
density = 1
|
||||
density = TRUE
|
||||
use_power = USE_POWER_IDLE
|
||||
idle_power_usage = 50
|
||||
active_power_usage = 500 //multiplied by field strength
|
||||
anchored = 0
|
||||
anchored = FALSE
|
||||
|
||||
circuit = /obj/item/weapon/circuitboard/fusion_core
|
||||
|
||||
@@ -30,7 +30,7 @@ GLOBAL_LIST_EMPTY(fusion_cores)
|
||||
var/reactant_dump = FALSE // Does the tokomak actively try to syphon materials?
|
||||
|
||||
/obj/machinery/power/fusion_core/mapped
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
|
||||
/obj/machinery/power/fusion_core/Initialize()
|
||||
. = ..()
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
name = "fuel compressor"
|
||||
icon = 'icons/obj/machines/power/fusion.dmi'
|
||||
icon_state = "fuel_compressor1"
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
|
||||
circuit = /obj/item/weapon/circuitboard/fusion_fuel_compressor
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ GLOBAL_LIST_EMPTY(fuel_injectors)
|
||||
name = "fuel injector"
|
||||
icon = 'icons/obj/machines/power/fusion.dmi'
|
||||
icon_state = "injector0"
|
||||
density = 1
|
||||
anchored = 0
|
||||
density = TRUE
|
||||
anchored = FALSE
|
||||
req_access = list(access_engine)
|
||||
use_power = USE_POWER_IDLE
|
||||
idle_power_usage = 10
|
||||
@@ -31,7 +31,7 @@ GLOBAL_LIST_EMPTY(fuel_injectors)
|
||||
return ..()
|
||||
|
||||
/obj/machinery/fusion_fuel_injector/mapped
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
|
||||
/obj/machinery/fusion_fuel_injector/process()
|
||||
if(injecting)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/obj/effect/fusion_particle_catcher
|
||||
icon = 'icons/effects/effects.dmi'
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
invisibility = 101
|
||||
var/obj/effect/fusion_em_field/parent
|
||||
var/mysize = 0
|
||||
@@ -26,10 +26,10 @@
|
||||
|
||||
/obj/effect/fusion_particle_catcher/proc/UpdateSize()
|
||||
if(parent.size >= mysize)
|
||||
density = 1
|
||||
density = TRUE
|
||||
name = "collector [mysize] ON"
|
||||
else
|
||||
density = 0
|
||||
density = FALSE
|
||||
name = "collector [mysize] OFF"
|
||||
|
||||
/obj/effect/fusion_particle_catcher/bullet_act(var/obj/item/projectile/Proj)
|
||||
|
||||
@@ -18,7 +18,7 @@ GLOBAL_LIST_EMPTY(gyrotrons)
|
||||
|
||||
|
||||
/obj/machinery/power/emitter/gyrotron/anchored
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
state = 2
|
||||
|
||||
/obj/machinery/power/emitter/gyrotron/Initialize()
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
desc = "A device for extracting power from high-energy plasma in toroidal fields."
|
||||
icon = 'icons/obj/machines/power/fusion.dmi'
|
||||
icon_state = "mag_trap0"
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
var/list/things_in_range = list()//what is in a radius of us?
|
||||
var/list/fields_in_range = list()//What EM fields are in that radius?
|
||||
var/list/active_field = list()//Our active field.
|
||||
|
||||
@@ -4,8 +4,8 @@ GLOBAL_LIST_EMPTY(all_turbines)
|
||||
name = "thermoelectric generator"
|
||||
desc = "It's a high efficiency thermoelectric generator."
|
||||
icon_state = "teg-unassembled"
|
||||
density = 1
|
||||
anchored = 0
|
||||
density = TRUE
|
||||
anchored = FALSE
|
||||
|
||||
use_power = USE_POWER_IDLE
|
||||
idle_power_usage = 100 //Watts, I hope. Just enough to do the computer and display things.
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
name = "gravity generator control"
|
||||
desc = "A computer to control a local gravity generator. Qualified personnel only."
|
||||
icon_state = "airtunnel0e"
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
var/obj/machinery/gravity_generator = null
|
||||
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
desc = "A device which produces a gravaton field when set up."
|
||||
icon = 'icons/obj/singularity.dmi'
|
||||
icon_state = "TheSingGen"
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
use_power = USE_POWER_IDLE
|
||||
idle_power_usage = 200
|
||||
active_power_usage = 1000
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
than the alternative."
|
||||
icon_state = "gridchecker_on"
|
||||
circuit = /obj/item/weapon/circuitboard/grid_checker
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
var/power_failing = FALSE // Turns to TRUE when the grid check event is fired by the Game Master, or perhaps a cheeky antag.
|
||||
// Wire stuff below.
|
||||
var/datum/wires/grid_checker/wires
|
||||
|
||||
@@ -24,7 +24,7 @@ var/global/list/light_type_cache = list()
|
||||
desc = "A light fixture under construction."
|
||||
icon = 'icons/obj/lighting.dmi'
|
||||
icon_state = "tube-construct-stage1"
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
plane = MOB_PLANE
|
||||
layer = ABOVE_MOB_LAYER
|
||||
var/stage = 1
|
||||
@@ -166,7 +166,7 @@ var/global/list/light_type_cache = list()
|
||||
desc = "A small light fixture under construction."
|
||||
icon = 'icons/obj/lighting.dmi'
|
||||
icon_state = "bulb-construct-stage1"
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
stage = 1
|
||||
fixture_type = /obj/machinery/light/small
|
||||
sheets_refunded = 1
|
||||
@@ -185,7 +185,7 @@ var/global/list/light_type_cache = list()
|
||||
desc = "A floor light fixture under construction."
|
||||
icon = 'icons/obj/lighting.dmi'
|
||||
icon_state = "flamp-construct-stage1"
|
||||
anchored = 0
|
||||
anchored = FALSE
|
||||
plane = OBJ_PLANE
|
||||
layer = OBJ_LAYER
|
||||
stage = 1
|
||||
@@ -208,7 +208,7 @@ var/global/list/light_type_cache = list()
|
||||
var/base_state = "tube" // base description and icon_state
|
||||
icon_state = "tube1"
|
||||
desc = "A lighting fixture."
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
plane = MOB_PLANE
|
||||
layer = ABOVE_MOB_LAYER
|
||||
use_power = USE_POWER_ACTIVE
|
||||
@@ -1051,7 +1051,7 @@ var/global/list/light_type_cache = list()
|
||||
src.visible_message("<font color='red'>[name] shatters.</font>","<font color='red'> You hear a small glass object shatter.</font>")
|
||||
status = LIGHT_BROKEN
|
||||
force = 5
|
||||
sharp = 1
|
||||
sharp = TRUE
|
||||
playsound(src, 'sound/effects/Glasshit.ogg', 75, 1)
|
||||
update_icon()
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@
|
||||
icon = 'icons/obj/lighting_vr.dmi'
|
||||
icon_state = "floortube-construct-stage1"
|
||||
stage = 1
|
||||
anchored = 0
|
||||
anchored = FALSE
|
||||
fixture_type = /obj/machinery/light/floortube
|
||||
sheets_refunded = 2
|
||||
|
||||
@@ -101,8 +101,8 @@
|
||||
base_state = "big_flamp"
|
||||
desc = "A set of tube lights on a raised, solid fixture"
|
||||
shows_alerts = FALSE
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
plane = MOB_PLANE
|
||||
layer = ABOVE_MOB_LAYER
|
||||
construct_type = /obj/machinery/light_construct/bigfloorlamp
|
||||
@@ -116,7 +116,7 @@
|
||||
icon = 'icons/obj/lighting32x64.dmi'
|
||||
icon_state = "big_flamp-construct-stage1"
|
||||
stage = 1
|
||||
anchored = 0
|
||||
anchored = FALSE
|
||||
fixture_type = /obj/machinery/light/bigfloorlamp
|
||||
sheets_refunded = 3
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
desc = "A portable generator for emergency backup power"
|
||||
icon = 'icons/obj/power_vr.dmi' //VOREStation Edit
|
||||
icon_state = "portgen0" //VOREStation Edit
|
||||
density = 1
|
||||
anchored = 0
|
||||
density = TRUE
|
||||
anchored = FALSE
|
||||
use_power = USE_POWER_OFF
|
||||
interact_offline = TRUE
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
icon_state = "potato"
|
||||
time_per_sheet = 1152 //same power output, but a 50 sheet stack will last 4 hours at max safe power
|
||||
power_gen = 50000 //watts
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
|
||||
// Circuits for the RTGs below
|
||||
/obj/item/weapon/circuitboard/machine/rtg
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
/obj/machinery/power
|
||||
name = null
|
||||
icon = 'icons/obj/power.dmi'
|
||||
anchored = 1.0
|
||||
anchored = TRUE
|
||||
var/datum/powernet/powernet = null
|
||||
use_power = USE_POWER_OFF
|
||||
idle_power_usage = 0
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
/obj/machinery/power/sensor
|
||||
name = "Powernet Sensor"
|
||||
desc = "Small machine which transmits data about specific powernet"
|
||||
anchored = 1
|
||||
density = 0
|
||||
anchored = TRUE
|
||||
density = FALSE
|
||||
layer = ABOVE_UTILITY
|
||||
icon = 'icons/obj/objects.dmi'
|
||||
icon_state = "floor_beacon" // If anyone wants to make better sprite, feel free to do so without asking me.
|
||||
|
||||
@@ -11,8 +11,8 @@
|
||||
light_color = "#ffcc33"
|
||||
|
||||
//computer stuff
|
||||
density = 1
|
||||
anchored = 1.0
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
circuit = /obj/item/weapon/circuitboard/powermonitor
|
||||
var/alerting = 0
|
||||
use_power = USE_POWER_IDLE
|
||||
|
||||
@@ -6,8 +6,8 @@ var/global/list/rad_collectors = list()
|
||||
desc = "A device which uses Hawking Radiation and phoron to produce power."
|
||||
icon = 'icons/obj/singularity.dmi'
|
||||
icon_state = "ca"
|
||||
anchored = 0
|
||||
density = 1
|
||||
anchored = FALSE
|
||||
density = TRUE
|
||||
req_access = list(access_engine_equip)
|
||||
// use_power = 0
|
||||
var/obj/item/weapon/tank/phoron/P = null
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
desc = "An energy field."
|
||||
icon = 'icons/obj/singularity.dmi'
|
||||
icon_state = "Contain_F"
|
||||
anchored = 1
|
||||
density = 0
|
||||
unacidable = 1
|
||||
anchored = TRUE
|
||||
density = FALSE
|
||||
unacidable = TRUE
|
||||
use_power = USE_POWER_OFF
|
||||
light_range = 4
|
||||
var/obj/machinery/field_generator/FG1 = null
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
desc = "It is a heavy duty industrial laser."
|
||||
icon = 'icons/obj/singularity.dmi'
|
||||
icon_state = "emitter"
|
||||
anchored = 0
|
||||
density = 1
|
||||
anchored = FALSE
|
||||
density = TRUE
|
||||
req_access = list(access_engine_equip)
|
||||
var/id = null
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@ field_generator power level display
|
||||
desc = "A large thermal battery that projects a high amount of energy when powered."
|
||||
icon = 'icons/obj/machines/field_generator.dmi'
|
||||
icon_state = "Field_Gen"
|
||||
anchored = 0
|
||||
density = 1
|
||||
anchored = FALSE
|
||||
density = TRUE
|
||||
use_power = USE_POWER_OFF
|
||||
var/const/num_power_levels = 6 // Total number of power level icon has
|
||||
var/Varedit_start = 0
|
||||
@@ -67,7 +67,7 @@ field_generator power level display
|
||||
active = 1
|
||||
state = 2
|
||||
power = field_generator_max_power
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
warming_up = 3
|
||||
start_fields()
|
||||
update_icon()
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
desc = "An Odd Device which produces a Gravitational Singularity when set up."
|
||||
icon = 'icons/obj/singularity.dmi'
|
||||
icon_state = "TheSingGen"
|
||||
anchored = 0
|
||||
density = 1
|
||||
anchored = FALSE
|
||||
density = TRUE
|
||||
use_power = USE_POWER_OFF
|
||||
var/energy = 0
|
||||
var/creation_type = /obj/singularity
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
desc = "Small things moving very fast."
|
||||
icon = 'icons/obj/machines/particle_accelerator2.dmi'
|
||||
icon_state = "particle1"//Need a new icon for this
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
var/movement_range = 10
|
||||
var/energy = 10 //energy in eV
|
||||
var/mega_energy = 0 //energy in MeV
|
||||
|
||||
@@ -63,8 +63,8 @@ So, hopefully this is helpful if any more icons are to be added/changed/wonderin
|
||||
desc = "Part of a Particle Accelerator."
|
||||
icon = 'icons/obj/machines/particle_accelerator2.dmi'
|
||||
icon_state = "none"
|
||||
anchored = 0
|
||||
density = 1
|
||||
anchored = FALSE
|
||||
density = TRUE
|
||||
var/obj/machinery/particle_accelerator/control_box/master = null
|
||||
var/construction_state = 0
|
||||
var/reference = null
|
||||
@@ -252,8 +252,8 @@ So, hopefully this is helpful if any more icons are to be added/changed/wonderin
|
||||
desc = "Part of a Particle Accelerator."
|
||||
icon = 'icons/obj/machines/particle_accelerator2.dmi'
|
||||
icon_state = "none"
|
||||
anchored = 0
|
||||
density = 1
|
||||
anchored = FALSE
|
||||
density = TRUE
|
||||
use_power = USE_POWER_OFF
|
||||
idle_power_usage = 0
|
||||
active_power_usage = 0
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
icon = 'icons/obj/machines/particle_accelerator_vr.dmi' //VOREStation Edit
|
||||
icon_state = "control_box"
|
||||
reference = "control_box"
|
||||
anchored = 0
|
||||
density = 1
|
||||
anchored = FALSE
|
||||
density = TRUE
|
||||
use_power = USE_POWER_OFF
|
||||
idle_power_usage = 500
|
||||
active_power_usage = 70000 //70 kW per unit of strength
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
desc = "A strange device used to create exotic matter."
|
||||
icon = 'icons/obj/machines/particle_smasher.dmi'
|
||||
icon_state = "smasher"
|
||||
anchored = 0
|
||||
density = 1
|
||||
anchored = FALSE
|
||||
density = TRUE
|
||||
use_power = USE_POWER_OFF
|
||||
|
||||
var/successful_craft = FALSE // Are we waiting to be emptied?
|
||||
|
||||
@@ -7,11 +7,11 @@ GLOBAL_LIST_BOILERPLATE(all_singularities, /obj/singularity)
|
||||
desc = "A gravitational singularity."
|
||||
icon = 'icons/obj/singularity.dmi'
|
||||
icon_state = "singularity_s1"
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
plane = ABOVE_PLANE
|
||||
light_range = 6
|
||||
unacidable = 1 //Don't comment this out.
|
||||
unacidable = TRUE //Don't comment this out.
|
||||
|
||||
var/current_size = 1
|
||||
var/allowed_size = 1
|
||||
|
||||
@@ -10,8 +10,8 @@ GLOBAL_LIST_EMPTY(smeses)
|
||||
name = "power storage unit"
|
||||
desc = "A high-capacity superconducting magnetic energy storage (SMES) unit."
|
||||
icon_state = "smes"
|
||||
density = 1
|
||||
anchored = 1
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
use_power = USE_POWER_OFF
|
||||
circuit = /obj/item/weapon/circuitboard/smes
|
||||
clicksound = "switch"
|
||||
|
||||
@@ -11,8 +11,8 @@ GLOBAL_LIST_EMPTY(solars_list)
|
||||
desc = "A solar electrical generator."
|
||||
icon = 'icons/obj/power.dmi'
|
||||
icon_state = "sp_base"
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
use_power = USE_POWER_OFF
|
||||
idle_power_usage = 0
|
||||
active_power_usage = 0
|
||||
@@ -202,7 +202,7 @@ GLOBAL_LIST_EMPTY(solars_list)
|
||||
icon_state = "sp_base"
|
||||
item_state = "camera"
|
||||
w_class = ITEMSIZE_LARGE // Pretty big!
|
||||
anchored = 0
|
||||
anchored = FALSE
|
||||
var/tracker = 0
|
||||
|
||||
/obj/item/solar_assembly/attack_hand(var/mob/user)
|
||||
@@ -214,13 +214,13 @@ GLOBAL_LIST_EMPTY(solars_list)
|
||||
return 0
|
||||
if(!anchored)
|
||||
if(W.is_wrench())
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
user.visible_message("<span class='notice'>[user] wrenches the solar assembly into place.</span>")
|
||||
playsound(src, W.usesound, 75, 1)
|
||||
return 1
|
||||
else
|
||||
if(W.is_wrench())
|
||||
anchored = 0
|
||||
anchored = FALSE
|
||||
user.visible_message("<span class='notice'>[user] unwrenches the solar assembly from it's place.</span>")
|
||||
playsound(src, W.usesound, 75, 1)
|
||||
return 1
|
||||
@@ -264,8 +264,8 @@ GLOBAL_LIST_EMPTY(solars_list)
|
||||
desc = "A controller for solar panel arrays."
|
||||
icon = 'icons/obj/computer.dmi'
|
||||
icon_state = "solar"
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
use_power = USE_POWER_IDLE
|
||||
idle_power_usage = 250
|
||||
var/id = 0
|
||||
|
||||
@@ -103,8 +103,8 @@
|
||||
name = "Engine Setup Marker"
|
||||
desc = "You shouldn't see this."
|
||||
invisibility = 101
|
||||
anchored = 1
|
||||
density = 0
|
||||
anchored = TRUE
|
||||
density = FALSE
|
||||
icon = 'icons/mob/screen1.dmi'
|
||||
icon_state = "x3"
|
||||
|
||||
|
||||
@@ -53,8 +53,8 @@
|
||||
icon_state = "darkmatter"
|
||||
plane = MOB_PLANE // So people can walk behind the top part
|
||||
layer = ABOVE_MOB_LAYER // So people can walk behind the top part
|
||||
density = 1
|
||||
anchored = 0
|
||||
density = TRUE
|
||||
anchored = FALSE
|
||||
light_range = 4
|
||||
|
||||
var/gasefficency = 0.25
|
||||
@@ -166,7 +166,7 @@
|
||||
|
||||
message_admins("Supermatter exploded at ([x],[y],[z] - <A HREF='?_src_=holder;adminplayerobservecoodjump=1;X=[x];Y=[y];Z=[z]'>JMP</a>)",0,1)
|
||||
log_game("SUPERMATTER([x],[y],[z]) Exploded. Power:[power], Oxygen:[oxygen], Damage:[damage], Integrity:[get_integrity()]")
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
grav_pulling = 1
|
||||
exploded = 1
|
||||
sleep(pull_time)
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
desc = "It's an underfloor wiring terminal for power equipment."
|
||||
level = 1
|
||||
var/obj/machinery/power/master = null
|
||||
anchored = 1
|
||||
anchored = TRUE
|
||||
plane = PLATING_PLANE
|
||||
layer = WIRES_LAYER+0.01
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
desc = "A solar directional tracker."
|
||||
icon = 'icons/obj/power.dmi'
|
||||
icon_state = "tracker"
|
||||
anchored = 1
|
||||
density = 1
|
||||
anchored = TRUE
|
||||
density = TRUE
|
||||
use_power = USE_POWER_OFF
|
||||
var/glass_type = /obj/item/stack/material/glass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user