mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Add circuitboards to make overmap ship computers constructable.
This commit is contained in:
@@ -177,6 +177,30 @@
|
||||
build_path = /obj/machinery/computer/aifixer
|
||||
origin_tech = list(TECH_DATA = 3, TECH_BIO = 2)
|
||||
|
||||
|
||||
/obj/item/weapon/circuitboard/helm
|
||||
name = T_BOARD("helm control console")
|
||||
build_path = /obj/machinery/computer/ship/helm
|
||||
|
||||
/obj/item/weapon/circuitboard/engine
|
||||
name = T_BOARD("engine control console")
|
||||
build_path = /obj/machinery/computer/ship/engines
|
||||
|
||||
/obj/item/weapon/circuitboard/nav
|
||||
name = T_BOARD("navigation console")
|
||||
build_path = /obj/machinery/computer/ship/navigation
|
||||
|
||||
/obj/item/weapon/circuitboard/nav/tele
|
||||
name = T_BOARD("navigation telescreen")
|
||||
build_path = /obj/machinery/computer/ship/navigation/telescreen
|
||||
|
||||
/obj/item/weapon/circuitboard/sensors
|
||||
name = T_BOARD("sensors console")
|
||||
build_path = /obj/machinery/computer/ship/sensors
|
||||
|
||||
|
||||
|
||||
|
||||
/obj/item/weapon/circuitboard/area_atmos
|
||||
name = T_BOARD("area air control console")
|
||||
build_path = /obj/machinery/computer/area_atmos
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
name = "engine control console"
|
||||
icon_keyboard = "tech_key"
|
||||
icon_screen = "engines"
|
||||
circuit = /obj/item/weapon/circuitboard/engine
|
||||
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)
|
||||
|
||||
@@ -19,6 +19,7 @@ GLOBAL_LIST_EMPTY(all_waypoints)
|
||||
icon_keyboard = "teleport_key"
|
||||
icon_screen = "helm"
|
||||
light_color = "#7faaff"
|
||||
circuit = /obj/item/weapon/circuitboard/helm
|
||||
core_skill = /datum/skill/pilot
|
||||
var/autopilot = 0
|
||||
var/list/known_sectors = list()
|
||||
@@ -226,6 +227,7 @@ GLOBAL_LIST_EMPTY(all_waypoints)
|
||||
name = "navigation console"
|
||||
icon_keyboard = "generic_key"
|
||||
icon_screen = "helm"
|
||||
circuit = /obj/item/weapon/circuitboard/nav
|
||||
|
||||
/obj/machinery/computer/ship/navigation/ui_interact(mob/user, ui_key = "main", var/datum/nanoui/ui = null, var/force_open = 1)
|
||||
if(!linked)
|
||||
@@ -274,6 +276,7 @@ GLOBAL_LIST_EMPTY(all_waypoints)
|
||||
icon_state = "tele_nav"
|
||||
icon_keyboard = null
|
||||
icon_screen = null
|
||||
circuit = /obj/item/weapon/circuitboard/nav/tele
|
||||
density = 0
|
||||
|
||||
/obj/machinery/computer/ship/navigation/telescreen/update_icon()
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
icon_keyboard = "teleport_key"
|
||||
icon_screen = "teleport"
|
||||
light_color = "#77fff8"
|
||||
circuit = /obj/item/weapon/circuitboard/sensors
|
||||
extra_view = 4
|
||||
var/obj/machinery/shipsensors/sensors
|
||||
|
||||
|
||||
Reference in New Issue
Block a user