mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 15:47:15 +01:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user