mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-15 01:54:52 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user