mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-01-04 14:33:10 +00:00
console stuff
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
/obj/machinery/computer/ship/engines
|
||||
name = "engine control console"
|
||||
icon_screen = "enginecontrol"
|
||||
icon_screen = "command"
|
||||
var/display_state = "status"
|
||||
|
||||
/obj/machinery/computer/ship/engines/ui_interact(mob/user, ui_key = "main", var/datum/nanoui/ui = null, var/force_open = 1)
|
||||
@@ -11,7 +11,7 @@
|
||||
return
|
||||
|
||||
var/data[0]
|
||||
data["state"] = display_state
|
||||
data["state"] = display_state
|
||||
data["global_state"] = linked.engines_state
|
||||
data["global_limit"] = round(linked.thrust_limit*100)
|
||||
var/total_thrust = 0
|
||||
@@ -77,7 +77,7 @@
|
||||
var/limit = Clamp(newlim/100, 0, 1)
|
||||
if(istype(E))
|
||||
E.set_thrust_limit(limit)
|
||||
return TOPIC_REFRESH
|
||||
return TOPIC_REFRESH
|
||||
if(href_list["limit"])
|
||||
var/datum/ship_engine/E = locate(href_list["engine"])
|
||||
var/limit = Clamp(E.get_thrust_limit() + text2num(href_list["limit"]), 0, 1)
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
/obj/machinery/computer/ship/helm
|
||||
name = "helm control console"
|
||||
icon_screen = "helm"
|
||||
icon_screen = "command"
|
||||
light_color = "#7faaff"
|
||||
var/autopilot = 0
|
||||
var/list/known_sectors = list()
|
||||
@@ -246,7 +246,7 @@
|
||||
|
||||
/obj/machinery/computer/ship/navigation
|
||||
name = "navigation console"
|
||||
icon_screen = "nav"
|
||||
icon_screen = "command"
|
||||
|
||||
/obj/machinery/computer/ship/navigation/ui_interact(mob/user, ui_key = "main", var/datum/nanoui/ui = null, var/force_open = 1)
|
||||
if(!linked)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/obj/machinery/computer/ship/sensors
|
||||
name = "sensors console"
|
||||
icon_screen = "sensors"
|
||||
icon_screen = "command"
|
||||
light_color = "#77fff8"
|
||||
extra_view = 4
|
||||
var/obj/machinery/shipsensors/sensors
|
||||
|
||||
Reference in New Issue
Block a user