Removes a ton of unused tablet vars, re-organizes the rest (#70344)

* Removes a ton of unused vars, re-organizes the rest

Removes a ton of unused vars from Modular computers
Re-organizes the rest, and adds autodoc comments to most of them
Moved 2 vars (saved_image and invisible) from the tablet to the messenger app, since that's where it was used. I didn't see the point of having these vars be on every computer anyways, only PDAs have the app.
Renames Clown's honk virus var
Makes Messenger app's saved image, actually used.

* static list and NODECONSTRUCT_1 check

* oops
This commit is contained in:
John Willard
2022-10-19 20:34:08 -04:00
committed by GitHub
parent 6e95475519
commit 218a153464
10 changed files with 94 additions and 65 deletions
+5 -2
View File
@@ -254,9 +254,12 @@
. = ..()
if(conceal_presence)
// We don't want corpse PDAs to show up in the messenger list.
var/obj/item/modular_computer/tablet/pda/messenger = locate(/obj/item/modular_computer/tablet/pda/) in spawned_human
var/obj/item/modular_computer/tablet/pda/messenger = locate() in spawned_human
if(messenger)
messenger.invisible = TRUE
var/obj/item/computer_hardware/hard_drive/hdd = messenger.all_components[MC_HDD]
var/datum/computer_file/program/messenger/message_app = locate() in hdd.stored_files
if(message_app)
message_app.invisible = TRUE
// Or on crew monitors
var/obj/item/clothing/under/sensor_clothes = spawned_human.w_uniform
if(istype(sensor_clothes))