[MIRROR] Circuit submodules (#6980)

* Circuit submodules (#60109)

Adds the module component that is basically a subroutine. Allows you to compact your logic into a bunch of functions.

* Circuit submodules

Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-07-19 10:12:15 +02:00
committed by GitHub
parent c3d3637fdb
commit b37a8b5ef0
12 changed files with 480 additions and 18 deletions

View File

@@ -214,15 +214,21 @@
build_path = /obj/item/circuit_component/select
/datum/design/component/tempsensor
name = "Temperature Sensor"
name = "Temperature Sensor Component"
id = "comp_tempsensor"
build_path = /obj/item/circuit_component/tempsensor
/datum/design/component/pressuresensor
name = "Pressure Sensor"
name = "Pressure Sensor Component"
id = "comp_pressuresensor"
build_path = /obj/item/circuit_component/pressuresensor
/datum/design/component/module
name = "Module Component"
id = "comp_module"
build_path = /obj/item/circuit_component/module
/datum/design/compact_remote_shell
name = "Compact Remote Shell"
desc = "A handheld shell with one big button."

View File

@@ -228,6 +228,7 @@
"comp_light",
"comp_logic",
"comp_mmi",
"comp_module",
"comp_multiplexer",
"comp_not",
"comp_pressuresensor",