Reimplement mods menu, Cleanup
This commit is contained in:
parent
a219f9784f
commit
a45127a52c
@ -110,3 +110,4 @@ style frame_button_text is choice_text:
|
||||
insensitive_color "#888"
|
||||
|
||||
image frame_spacer = Image("gui/creamy_pumpkin_pie/window_frame_spacer.png", oversample=4)
|
||||
image frame_spacer_book = Image("gui/creamy_pumpkin_pie/book/book_spacer.png", oversample=4)
|
||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -405,7 +405,6 @@ transform main_menu_background:
|
||||
rotate -12
|
||||
Fixed(Image("gui/creamy_pumpkin_pie/book/book_note.png", oversample=8), Text("Nice ass!\n{size=+12}👀{/size}", color="#000", size=12, align=(0.5, 0.5), text_align=0.5), fit_first=True)
|
||||
|
||||
|
||||
screen navigation(default_category="save", default_subcategory=None):
|
||||
style_prefix "navigation"
|
||||
|
||||
@ -456,6 +455,8 @@ screen navigation(default_category="save", default_subcategory=None):
|
||||
if not main_menu:
|
||||
textbutton _("Main Menu") action MainMenu() at navigation_tabs
|
||||
textbutton _("Credits") action Show("credits") at navigation_tabs
|
||||
null height 35
|
||||
textbutton _("Mods") action [SetLocalVariable("subcategory", None), SetLocalVariable("category", "mods")] selected (category=="mods") sensitive main_menu at navigation_tabs
|
||||
|
||||
at navigation_tabs_show
|
||||
|
||||
@ -554,6 +555,8 @@ screen navigation(default_category="save", default_subcategory=None):
|
||||
use help_tutorials
|
||||
elif subcategory == "controls":
|
||||
use help_controls
|
||||
elif category == "mods":
|
||||
use mods
|
||||
|
||||
transform navigation_tabs:
|
||||
subpixel True
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user