mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
[MIRROR] Removes a ton of unused tablet vars, re-organizes the rest [MDB IGNORE] (#17014)
* 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 * Removes a ton of unused tablet vars, re-organizes the rest * cryopod Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com> Co-authored-by: tastyfish <crazychris32@gmail.com>
This commit is contained in:
co-authored by
John Willard
tastyfish
parent
b15516b1ee
commit
58752b0969
@@ -292,9 +292,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