mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Modular Tablets: Converting PDAs to the NtOS System (#65755)
Converts PDA functions and applications over to modular tablets and devices, namely the messaging function. HREF data code is quite honestly clunky and difficult to work with, as I've definitely experienced whilst working on this. By moving from this system over the easier to read (and frankly, easier to add to) TGUI system, you get cleaner looking and more user friendly UIs and a greater degree of standardization amongst other UIs. Co-authored-by: Seth Scherer <supernovaa41@gmx.com> Co-authored-by: GoldenAlpharex <58045821+GoldenAlpharex@users.noreply.github.com> Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
This commit is contained in:
co-authored by
Seth Scherer
GoldenAlpharex
Aleksej Komarov
parent
ee7f0d0a60
commit
cd1b891d79
@@ -124,7 +124,6 @@
|
||||
uniform = /obj/item/clothing/under/rank/civilian/clown
|
||||
back = /obj/item/storage/backpack/clown
|
||||
backpack_contents = list()
|
||||
belt = /obj/item/pda/clown
|
||||
ears = /obj/item/radio/headset/headset_srv
|
||||
shoes = /obj/item/clothing/shoes/clown_shoes
|
||||
mask = /obj/item/clothing/mask/gas/clown_hat
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
. = ..()
|
||||
dead_ai.name = src.name
|
||||
dead_ai.real_name = src.name
|
||||
dead_ai.aiPDA.toff = TRUE //turns the AI's PDA messenger off, stopping it showing up on player PDAs
|
||||
|
||||
///dead slimes, with a var for whatever color you want.
|
||||
/obj/effect/mob_spawn/corpse/slime
|
||||
|
||||
@@ -197,7 +197,7 @@
|
||||
/obj/effect/mob_spawn/ghost_role/human/doctor/alive/equip(mob/living/carbon/human/doctor)
|
||||
. = ..()
|
||||
// Remove radio and PDA so they wouldn't annoy station crew.
|
||||
var/list/del_types = list(/obj/item/pda, /obj/item/radio/headset)
|
||||
var/list/del_types = list(/obj/item/modular_computer/tablet, /obj/item/radio/headset)
|
||||
for(var/del_type in del_types)
|
||||
var/obj/item/unwanted_item = locate(del_type) in doctor
|
||||
qdel(unwanted_item)
|
||||
|
||||
@@ -255,9 +255,9 @@
|
||||
. = ..()
|
||||
if(conceal_presence)
|
||||
// We don't want corpse PDAs to show up in the messenger list.
|
||||
var/obj/item/pda/messenger = locate(/obj/item/pda) in spawned_human
|
||||
var/obj/item/modular_computer/tablet/pda/messenger = locate(/obj/item/modular_computer/tablet/pda/) in spawned_human
|
||||
if(messenger)
|
||||
messenger.toff = TRUE
|
||||
messenger.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