mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 15:17:01 +01:00
[MIRROR] Drastically improved the USB connection for air alarms. Any airlock can now be made into a shell [MDB IGNORE] (#15270)
* Drastically improved the USB connection for air alarms. Any airlock can now be made into a shell (#68632) The USB connections for air alarms have been improved and now include scrubber control, vent control and the setting of the air alarm mode. Also fixes a bug where the limits were not being properly set. The scrubber, vent and limit control can be duplicated in the circuit to allow multiple limits/scrubbers/vents to be controlled by one circuit. Any airlock can be made into a shell during construction by configuring the airlock electronic before insert. * Drastically improved the USB connection for air alarms. Any airlock can now be made into a shell Co-authored-by: Watermelon914 <37270891+Watermelon914@users.noreply.github.com>
This commit is contained in:
co-authored by
Watermelon914
parent
f671c7348a
commit
fbce7aa40f
@@ -373,15 +373,15 @@
|
||||
* Returns a list that can then be added to the return list in get_ui_notices()
|
||||
* Used by components to list their available columns. Recommended to use at the end of get_ui_notices()
|
||||
*/
|
||||
/obj/item/circuit_component/proc/create_table_notices(list/entries)
|
||||
/obj/item/circuit_component/proc/create_table_notices(list/entries, column_name = "Column", column_name_plural = "Columns")
|
||||
SHOULD_BE_PURE(TRUE)
|
||||
SHOULD_NOT_OVERRIDE(TRUE)
|
||||
. = list()
|
||||
. += create_ui_notice("Available Columns:", "grey", "question-circle")
|
||||
. += create_ui_notice("Available [column_name_plural]:", "grey", "question-circle")
|
||||
|
||||
|
||||
for(var/entry in entries)
|
||||
. += create_ui_notice("Column Name: '[entry]'", "grey", "columns")
|
||||
. += create_ui_notice("[column_name] Name: '[entry]'", "grey", "columns")
|
||||
|
||||
/**
|
||||
* Called when a circuit component is added to an object with a USB port.
|
||||
|
||||
Reference in New Issue
Block a user