Integrated the component printer into the integrated circuit UI. You can now link integrated circuits to component printers (#62287)

Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
This commit is contained in:
Watermelon914
2021-10-28 11:42:57 -07:00
committed by GitHub
co-authored by Watermelon914
parent bfe0fcc601
commit 44a2af780d
86 changed files with 571 additions and 34 deletions
@@ -6,6 +6,7 @@
/obj/item/circuit_component/clock
display_name = "Clock"
desc = "A component that repeatedly fires."
category = "Utility"
/// Whether the clock is on or not
var/datum/port/input/on
@@ -9,6 +9,7 @@
/obj/item/circuit_component/delay
display_name = "Delay"
desc = "A component that delays a signal by a specified duration. Timer gets reset when triggered again."
category = "Utility"
/// Amount to delay by
var/datum/port/input/delay_amount
@@ -6,6 +6,7 @@
/obj/item/circuit_component/router
display_name = "Router"
desc = "Copies the input chosen by \"Input Selector\" to the output chosen by \"Output Selector\"."
category = "Utility"
circuit_flags = CIRCUIT_FLAG_INPUT_SIGNAL|CIRCUIT_FLAG_OUTPUT_SIGNAL
var/datum/port/input/option/router_options
@@ -12,6 +12,7 @@
/obj/item/circuit_component/timepiece
display_name = "Timepiece"
desc = "A component that outputs the current station time. The text output port is used for time formats while the numerical output port is used for units of time."
category = "Utility"
circuit_flags = CIRCUIT_FLAG_INPUT_SIGNAL|CIRCUIT_FLAG_OUTPUT_SIGNAL
/// The time format of the text output
@@ -6,6 +6,7 @@
/obj/item/circuit_component/typecast
display_name = "Typecast"
desc = "A component that casts a value to a type if it matches or outputs null."
category = "Utility"
circuit_flags = CIRCUIT_FLAG_INPUT_SIGNAL|CIRCUIT_FLAG_OUTPUT_SIGNAL
var/datum/port/input/option/typecast_options
@@ -9,6 +9,7 @@
/obj/item/circuit_component/compare/typecheck
display_name = "Typecheck"
desc = "A component that checks the type of its input."
category = "Utility"
input_port_amount = 1
var/datum/port/input/option/typecheck_options