Modular Computer Themes and PDA theme game preference option (#15735)

* themes and stuff

* theme app cleanup

* that should be it

* i said commit

* readability

* comment cleanup

* mooglecode

* moog spacing

Co-authored-by: Redmoogle <dakotamew@gmail.com>

* Bibby

* there actual names

* not needed

Co-authored-by: Redmoogle <dakotamew@gmail.com>
This commit is contained in:
Chubbygummibear
2022-10-01 04:38:09 -07:00
committed by GitHub
parent 73a4ef6681
commit 5b3acf10be
31 changed files with 1599 additions and 95 deletions

View File

@@ -507,7 +507,7 @@ SUBSYSTEM_DEF(job)
newplayer.new_character = living_mob
else
M = living_mob
SSpersistence.antag_rep_change[M.client.ckey] += job.GetAntagRep()
if(M.client.holder)
@@ -539,6 +539,7 @@ SUBSYSTEM_DEF(job)
job.give_map_flare(living_mob, M)
var/obj/item/modular_computer/RPDA = locate(/obj/item/modular_computer/tablet/pda) in living_mob.GetAllContents()
if(istype(RPDA))
RPDA.device_theme = GLOB.pda_themes[M.client.prefs.pda_theme]
var/obj/item/computer_hardware/hard_drive/hard_drive = RPDA.all_components[MC_HDD]
var/datum/computer_file/program/pdamessager/msgr = locate(/datum/computer_file/program/pdamessager) in hard_drive.stored_files
if(msgr)