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
@@ -14,6 +14,7 @@
/obj/item/circuit_component/arithmetic
display_name = "Arithmetic"
desc = "General arithmetic component with arithmetic capabilities."
category = "Math"
/// The amount of input ports to have
var/input_port_amount = 4
@@ -6,6 +6,7 @@
/obj/item/circuit_component/binary_decimal/binary_conversion
display_name = "Binary Conversion"
desc = "Splits a decimal number into an array of binary digits, or bits, represented as 1 or 0 and often used in boolean or binary operations like AND, OR and XOR."
category = "Math"
/obj/item/circuit_component/binary_decimal/binary_conversion/populate_ports()
. = ..()
@@ -6,6 +6,7 @@
/obj/item/circuit_component/compare/comparison
display_name = "Comparison"
desc = "A component that compares two objects."
category = "Math"
var/datum/port/input/option/comparison_option
@@ -6,6 +6,7 @@
/obj/item/circuit_component/binary_decimal/decimal_conversion
display_name = "Decimal Conversion"
desc = "Merges an array of binary digits, or bits, represented as 1 or 0 and often used in boolean or binary operations, into a decimal number."
category = "Math"
/obj/item/circuit_component/binary_decimal/decimal_conversion/populate_ports()
. = ..()
@@ -6,6 +6,7 @@
/obj/item/circuit_component/length
display_name = "Length"
desc = "A component that returns the length of its input."
category = "Math"
/// The input port
var/datum/port/input/input_port
@@ -10,6 +10,7 @@
/obj/item/circuit_component/compare/logic
display_name = "Logic"
desc = "A component with 'and' and 'or' capabilities."
category = "Math"
var/datum/port/input/option/logic_options
@@ -6,6 +6,7 @@
/obj/item/circuit_component/not
display_name = "Not"
desc = "A component that inverts its input."
category = "Math"
/// The input port
var/datum/port/input/input_port
@@ -6,6 +6,7 @@
/obj/item/circuit_component/random
display_name = "Random"
desc = "A component that returns random values."
category = "Math"
/// The minimum value that the random number can be
var/datum/port/input/minimum
@@ -15,6 +15,7 @@
/obj/item/circuit_component/trigonometry
display_name = "Trigonometry"
desc = "General trigonometry component with main and inverse trigonometry functions."
category = "Math"
var/datum/port/input/option/trigonometric_function