[MIRROR] Clear PDA now has all themes [MDB IGNORE] (#22345)

* Clear PDA now has all themes (#76674)

## About The Pull Request

Gives all themes to clear PDAs

## Why It's Good For The Game

Clear PDAs are found/purchased late into a round and theme apps would
generally already be found and installed in PDAs. This means there's
nothing left to install in the crystal PDA, so instead I thought why
shouldn't they just get all themes?

## Changelog

🆑
qol: Clear PDAs now has all themes in their themify app by default.
/🆑

* Clear PDA now has all themes

---------

Co-authored-by: John Willard <53777086+JohnFulpWillard@users.noreply.github.com>
Co-authored-by: Bloop <vinylspiders@gmail.com>
This commit is contained in:
SkyratBot
2023-07-12 21:41:05 +02:00
committed by GitHub
parent ee495653f8
commit 3eea41b8fc
2 changed files with 12 additions and 1 deletions
@@ -28,7 +28,11 @@
switch(action)
if("PRG_change_theme")
var/selected_theme = params["selected_theme"]
if(!GLOB.default_pda_themes.Find(selected_theme) && !imported_themes.Find(selected_theme) && !(computer.obj_flags & EMAGGED))
if( \
!GLOB.default_pda_themes.Find(selected_theme) && \
!imported_themes.Find(selected_theme) && \
!(computer.obj_flags & EMAGGED) \
)
return FALSE
computer.device_theme = GLOB.pda_name_to_theme[selected_theme]
return TRUE