mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-14 01:24:21 +01:00
[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:
@@ -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