[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
@@ -3,7 +3,6 @@
desc = "A basic wireless network card for usage with standard NTNet frequencies."
power_usage = 50
icon_state = "radio_mini"
network_id = NETWORK_CARDS // Network we are on
var/hardware_id = null // Identification ID. Technically MAC address of this device. Can't be changed by user.
var/identification_string = "" // Identification string, technically nickname seen in the network. Can be set by user.
var/long_range = 0
@@ -11,6 +10,9 @@
malfunction_probability = 1
device_type = MC_NET
/obj/item/computer_hardware/network_card/Initialize(mapload)
. = ..()
init_network_id(NETWORK_CARDS)
/obj/item/computer_hardware/network_card/diagnostics(mob/user)
..()