[MIRROR] Moves "catch this var/flag" code from obj/init and datum/new into the types that use it [MDB IGNORE] (#16091)

* Moves "catch this var/flag" code from obj/init and datum/new into the types that use it

* Update atoms_movable.dm

* Update airlock.dm

* SRCC

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Zonespace <41448081+Zonespace27@users.noreply.github.com>
Co-authored-by: John Doe <gamingskeleton3@gmail.com>
This commit is contained in:
SkyratBot
2022-09-12 07:21:16 +02:00
committed by GitHub
parent 7d84a2c507
commit 049b19bb18
29 changed files with 191 additions and 99 deletions
@@ -10,8 +10,6 @@
circuit_flags = CIRCUIT_FLAG_OUTPUT_SIGNAL //trigger_output
network_id = __NETWORK_CIRCUITS
/// The list type
var/datum/port/input/option/list_options
@@ -21,6 +19,10 @@
/// Encryption key
var/datum/port/input/enc_key
/obj/item/circuit_component/ntnet_receive/Initialize(mapload)
. = ..()
init_network_id(__NETWORK_CIRCUITS)
/obj/item/circuit_component/ntnet_receive/populate_options()
list_options = add_option_port("List Type", GLOB.wiremod_basic_types)
@@ -11,8 +11,6 @@
circuit_flags = CIRCUIT_FLAG_INPUT_SIGNAL
network_id = __NETWORK_CIRCUITS
/// The list type
var/datum/port/input/option/list_options
@@ -22,6 +20,10 @@
/// Encryption key
var/datum/port/input/enc_key
/obj/item/circuit_component/ntnet_send/Initialize(mapload)
. = ..()
init_network_id(__NETWORK_CIRCUITS)
/obj/item/circuit_component/ntnet_send/populate_options()
list_options = add_option_port("List Type", GLOB.wiremod_basic_types)