mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
[MODULAR] Prefs Menu Refactor: Fine, I'll Do It Myself Edition (#8695)
* We're getting there. * It's ugly but it works * Ladies and gentlemen, we got 'em. * Marking my Skyrat Edits and removing debug shit * A fix for the Other gender button * Augmented folks rejoice! * Update tgui/packages/tgui/interfaces/PreferencesMenu/MainPage.tsx Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
@@ -166,6 +166,9 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
//SKYRAT EDIT BEGIN
|
||||
data["preview_options"] = list(PREVIEW_PREF_JOB, PREVIEW_PREF_LOADOUT, PREVIEW_PREF_UNDERWEAR, PREVIEW_PREF_NAKED, PREVIEW_PREF_NAKED_AROUSED)
|
||||
data["preview_selection"] = preview_pref
|
||||
|
||||
data["quirks_balance"] = GetQuirkBalance()
|
||||
data["positive_quirk_count"] = GetPositiveQuirkCount()
|
||||
//SKYRAT EDIT END
|
||||
|
||||
data["character_preferences"] = compile_character_preferences(user)
|
||||
@@ -332,6 +335,10 @@ GLOBAL_LIST_EMPTY(preferences_datums)
|
||||
return FALSE
|
||||
|
||||
return TRUE
|
||||
|
||||
// For the quirks in the prefs menu.
|
||||
if ("get_quirks_balance")
|
||||
return TRUE
|
||||
//SKYRAT EDIT END
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user