The Computer-ening (#13831)

This commit is contained in:
Wowzewow (Wezzy)
2022-06-05 05:19:33 +08:00
committed by GitHub
parent bf68049d59
commit c70f3e26cf
90 changed files with 350 additions and 202 deletions
@@ -2,7 +2,9 @@
/obj/machinery/computer/ship/engines
name = "engine control console"
icon_screen = "command"
icon_screen = "enginecontrol"
icon_keyboard = "cyan_key"
light_color = LIGHT_COLOR_CYAN
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)
@@ -92,4 +94,4 @@
E.toggle()
return TOPIC_REFRESH
return TOPIC_REFRESH
return TOPIC_NOACTION
return TOPIC_NOACTION
+6 -15
View File
@@ -3,8 +3,9 @@
/obj/machinery/computer/ship/helm
name = "helm control console"
icon_screen = "command"
light_color = "#7faaff"
icon_screen = "helm"
icon_keyboard = "cyan_key"
light_color = LIGHT_COLOR_CYAN
var/autopilot = 0
var/list/known_sectors = list()
var/dx //desitnation
@@ -252,7 +253,9 @@
/obj/machinery/computer/ship/navigation
name = "navigation console"
icon_screen = "command"
icon_screen = "nav"
icon_keyboard = "cyan_key"
light_color = LIGHT_COLOR_CYAN
/obj/machinery/computer/ship/navigation/ui_interact(mob/user, ui_key = "main", var/datum/nanoui/ui = null, var/force_open = 1)
if(!connected)
@@ -296,15 +299,3 @@
if (href_list["viewing"])
viewing_overmap(usr) ? unlook(usr) : look(usr)
return TOPIC_REFRESH
/obj/machinery/computer/ship/navigation/telescreen //little hacky but it's only used on one ship so it should be okay
icon_state = "tele_nav"
density = 0
/obj/machinery/computer/ship/navigation/telescreen/update_icon()
if(stat & (NOPOWER|BROKEN))
icon_state = "tele_off"
set_light(0)
else
icon_state = "tele_nav"
set_light(2, 2, "#33FAAA")
@@ -1,7 +1,8 @@
/obj/machinery/computer/ship/sensors
name = "sensors console"
icon_screen = "command"
light_color = "#77fff8"
icon_screen = "sensors"
icon_keyboard = "cyan_key"
light_color = LIGHT_COLOR_CYAN
extra_view = 4
var/obj/machinery/shipsensors/sensors
circuit = /obj/item/circuitboard/ship/sensors