mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-07-19 03:49:10 +01:00
Sensors and Helm consoles are now buildable.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
var/accellimit = 0.001 //manual limiter for acceleration
|
||||
|
||||
var/list/linked_helmets = list()
|
||||
circuit = /obj/item/circuitboard/ship/helm
|
||||
|
||||
/obj/machinery/computer/ship/helm/Initialize()
|
||||
. = ..()
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
light_color = "#77fff8"
|
||||
extra_view = 4
|
||||
var/obj/machinery/shipsensors/sensors
|
||||
circuit = /obj/item/circuitboard/ship/sensors
|
||||
|
||||
/obj/machinery/computer/ship/sensors/attempt_hook_up(obj/effect/overmap/visitable/ship/sector)
|
||||
. = ..()
|
||||
@@ -222,4 +223,4 @@
|
||||
// For small shuttles
|
||||
/obj/machinery/shipsensors/weak
|
||||
heat_reduction = 0.35 // Can sustain range 1
|
||||
desc = "Miniturized gravity scanner with various other sensors, used to detect irregularities in surrounding space. Can only run in vacuum to protect delicate quantum BS elements."
|
||||
desc = "Miniturized gravity scanner with various other sensors, used to detect irregularities in surrounding space. Can only run in vacuum to protect delicate quantum BS elements."
|
||||
|
||||
@@ -93,3 +93,10 @@ somewhere on that shuttle. Subtypes of these can be then used to perform ship ov
|
||||
|
||||
if(.)
|
||||
LAZYSET(linked.consoles, src, TRUE)
|
||||
|
||||
/obj/machinery/computer/ship/Initialize()
|
||||
. = ..()
|
||||
if(current_map.use_overmap && !linked)
|
||||
var/my_sector = map_sectors["[z]"]
|
||||
if (istype(my_sector, /obj/effect/overmap/visitable/ship))
|
||||
attempt_hook_up(my_sector)
|
||||
|
||||
Reference in New Issue
Block a user