mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 12:35:33 +01:00
Removes Destroy overrides from most circuit components (#60492)
Co-authored-by: Watermelon914 <3052169-Watermelon914@users.noreply.gitlab.com>
This commit is contained in:
@@ -35,15 +35,6 @@
|
||||
|
||||
on = add_input_port("On", PORT_TYPE_NUMBER)
|
||||
|
||||
|
||||
/obj/item/circuit_component/light/Destroy()
|
||||
red = null
|
||||
green = null
|
||||
blue = null
|
||||
brightness = null
|
||||
on = null
|
||||
return ..()
|
||||
|
||||
/obj/item/circuit_component/light/register_shell(atom/movable/shell)
|
||||
. = ..()
|
||||
TRIGGER_CIRCUIT_COMPONENT(src, null)
|
||||
|
||||
@@ -53,16 +53,6 @@
|
||||
|
||||
/obj/item/circuit_component/mmi/Destroy()
|
||||
remove_current_brain()
|
||||
message = null
|
||||
send = null
|
||||
eject = null
|
||||
north = null
|
||||
east = null
|
||||
south = null
|
||||
west = null
|
||||
attack = null
|
||||
secondary_attack = null
|
||||
clicked_atom = null
|
||||
return ..()
|
||||
|
||||
/obj/item/circuit_component/mmi/input_received(datum/port/input/port)
|
||||
|
||||
@@ -44,21 +44,6 @@
|
||||
failed = add_output_port("Failed", PORT_TYPE_SIGNAL)
|
||||
reason_failed = add_output_port("Fail reason", PORT_TYPE_STRING)
|
||||
|
||||
/obj/item/circuit_component/pathfind/Destroy()
|
||||
input_X = null
|
||||
input_Y = null
|
||||
id_card = null
|
||||
|
||||
output = null
|
||||
finished = null
|
||||
failed = null
|
||||
reason_failed = null
|
||||
|
||||
path = null
|
||||
old_dest = null
|
||||
next_turf = null
|
||||
return ..()
|
||||
|
||||
/obj/item/circuit_component/pathfind/input_received(datum/port/input/port)
|
||||
. = ..()
|
||||
if(.)
|
||||
|
||||
@@ -15,10 +15,6 @@
|
||||
. = ..()
|
||||
target = add_input_port("Target", PORT_TYPE_ATOM)
|
||||
|
||||
/obj/item/circuit_component/pull/Destroy()
|
||||
target = null
|
||||
return ..()
|
||||
|
||||
/obj/item/circuit_component/pull/input_received(datum/port/input/port)
|
||||
. = ..()
|
||||
if(.)
|
||||
|
||||
@@ -34,10 +34,7 @@
|
||||
trigger_output = add_output_port("Received", PORT_TYPE_SIGNAL)
|
||||
|
||||
/obj/item/circuit_component/radio/Destroy()
|
||||
freq = null
|
||||
code = null
|
||||
SSradio.remove_object(src, current_freq)
|
||||
radio_connection = null
|
||||
return ..()
|
||||
|
||||
/obj/item/circuit_component/radio/input_received(datum/port/input/port)
|
||||
|
||||
@@ -29,11 +29,6 @@
|
||||
volume = add_input_port("Volume", PORT_TYPE_NUMBER, default = 35)
|
||||
frequency = add_input_port("Frequency", PORT_TYPE_NUMBER, default = 0)
|
||||
|
||||
/obj/item/circuit_component/soundemitter/Destroy()
|
||||
frequency = null
|
||||
volume = null
|
||||
return ..()
|
||||
|
||||
/obj/item/circuit_component/soundemitter/populate_options()
|
||||
var/static/component_options = list(
|
||||
COMP_SOUND_BUZZ,
|
||||
|
||||
@@ -22,11 +22,6 @@
|
||||
. = ..()
|
||||
message = add_input_port("Message", PORT_TYPE_STRING, FALSE)
|
||||
|
||||
|
||||
/obj/item/circuit_component/speech/Destroy()
|
||||
message = null
|
||||
return ..()
|
||||
|
||||
/obj/item/circuit_component/speech/input_received(datum/port/input/port)
|
||||
. = ..()
|
||||
if(.)
|
||||
|
||||
Reference in New Issue
Block a user