mirror of
https://github.com/vgstation-coders/vgstation13.git
synced 2025-12-10 18:32:03 +00:00
LIGHTING IS BACK.
AND A SHITLOAD FASTER. SANIC.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
name = "R-UST Mk. 7 Core Control"
|
||||
icon = 'code/WorkInProgress/Cael_Aislinn/Rust/rust.dmi'
|
||||
icon_state = "core_control"
|
||||
l_color = LIGHT_COLOR_ORANGE
|
||||
light_color = LIGHT_COLOR_ORANGE
|
||||
var/list/connected_devices = list()
|
||||
var/scan_range = 25
|
||||
|
||||
|
||||
@@ -52,7 +52,9 @@ max volume of plasma storeable by the field = the total volume of a number of ti
|
||||
icon = 'code/WorkInProgress/Cael_Aislinn/Rust/rust.dmi'
|
||||
icon_state = "core0"
|
||||
density = 1
|
||||
l_color = LIGHT_COLOR_BLUE
|
||||
light_power_on = 2
|
||||
light_range_on = 3
|
||||
light_color = LIGHT_COLOR_BLUE
|
||||
|
||||
var/obj/effect/rust_em_field/owned_field
|
||||
var/field_strength = 1//0.01
|
||||
@@ -117,7 +119,7 @@ max volume of plasma storeable by the field = the total volume of a number of ti
|
||||
owned_field = new(loc, src)
|
||||
owned_field.ChangeFieldStrength(field_strength)
|
||||
owned_field.ChangeFieldFrequency(field_frequency)
|
||||
SetLuminosity(2)
|
||||
set_light(light_range_on, light_power_on)
|
||||
icon_state = "core1"
|
||||
use_power = 2
|
||||
. = 1
|
||||
@@ -129,7 +131,7 @@ max volume of plasma storeable by the field = the total volume of a number of ti
|
||||
icon_state = "core0"
|
||||
qdel(owned_field)
|
||||
use_power = 1
|
||||
SetLuminosity(0)
|
||||
set_light(0)
|
||||
|
||||
/obj/machinery/power/rust_core/proc/AddParticles(var/name, var/quantity = 1)
|
||||
//writepanic("[__FILE__].[__LINE__] ([src.type])([usr ? usr.ckey : ""]) \\/obj/machinery/power/rust_core/proc/AddParticles() called tick#: [world.time]")
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/obj/machinery/computer/rust_core_monitor
|
||||
name = "R-UST Mk. 7 Tokamak Core Monitoring Computer"
|
||||
icon_state = "power"
|
||||
l_color = LIGHT_COLOR_YELLOW
|
||||
light_color = LIGHT_COLOR_YELLOW
|
||||
circuit = /obj/item/weapon/circuitboard/rust_core_monitor
|
||||
|
||||
var/obj/machinery/power/rust_core/linked_core
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
name = "Gyrotron Remote Controller"
|
||||
icon_state = "engine"
|
||||
circuit = /obj/item/weapon/circuitboard/rust_gyrotron_control
|
||||
l_color = LIGHT_COLOR_BLUE
|
||||
light_color = LIGHT_COLOR_BLUE
|
||||
|
||||
var/list/linked_gyrotrons[0] //List of linked gyrotrons.
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ var/global/list/atmos_controllers = list()
|
||||
var/overridden = 0 //not set yet, can't think of a good way to do it
|
||||
req_one_access = list(access_ce)
|
||||
|
||||
l_color = "#7BF9FF"
|
||||
light_color = LIGHT_COLOR_CYAN
|
||||
|
||||
/obj/machinery/computer/atmoscontrol/New()
|
||||
..()
|
||||
|
||||
@@ -421,7 +421,7 @@ obj/effect/bmode/buildholder/New()
|
||||
A.maptext = holder.buildmode.copycat.maptext
|
||||
A.maptext_height = holder.buildmode.copycat.maptext_height
|
||||
A.maptext_width = holder.buildmode.copycat.maptext_width
|
||||
A.l_color = holder.buildmode.copycat.l_color
|
||||
A.light_color = holder.buildmode.copycat.light_color
|
||||
A.luminosity = holder.buildmode.copycat.luminosity
|
||||
A.molten = holder.buildmode.copycat.molten
|
||||
A.pixel_x = holder.buildmode.copycat.pixel_x
|
||||
|
||||
Reference in New Issue
Block a user