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.
/🆑
This commit is contained in:
John Willard
2023-07-10 13:26:22 -04:00
committed by GitHub
parent de3fb72973
commit ee78ceea95
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