Add Mod Support
This commit is contained in:
@ -4,7 +4,6 @@
|
||||
|
||||
init offset = -1
|
||||
|
||||
|
||||
################################################################################
|
||||
## Styles
|
||||
################################################################################
|
||||
@ -416,12 +415,13 @@ screen main_menu():
|
||||
else:
|
||||
add "gui/snootgame.png"
|
||||
vbox:
|
||||
spacing 25
|
||||
spacing 10
|
||||
xpos 1885
|
||||
yalign 0.9
|
||||
yalign 0.98
|
||||
use main_menu_buttons("gui/button/menubuttons/template_idle.png",
|
||||
[ \
|
||||
[ "Start", Start() ], \
|
||||
[ "Mods", ShowMenu("mod_menu") ], \
|
||||
[ "Load", ShowMenu("load") ], \
|
||||
[ "Options", ShowMenu("preferences") ], \
|
||||
[ "Help & About", ShowMenu("extras") ], \
|
||||
@ -467,6 +467,34 @@ style main_menu_title:
|
||||
# properties gui.text_properties("version")
|
||||
|
||||
|
||||
|
||||
## Mod Menu screen ############################################################
|
||||
##
|
||||
## Handles jumping to the mods scripts
|
||||
##
|
||||
screen mod_menu():
|
||||
|
||||
|
||||
tag menu
|
||||
viewport:
|
||||
yinitial 0
|
||||
scrollbars "vertical"
|
||||
mousewheel True
|
||||
draggable True
|
||||
pagekeys True
|
||||
|
||||
#side_yfill True
|
||||
|
||||
vbox:
|
||||
spacing 10
|
||||
xpos 1885
|
||||
yalign 0.98
|
||||
|
||||
for x in mod_menu_access:
|
||||
use main_menu_button("gui/button/menubuttons/template_idle.png",
|
||||
x[0], Start(x[1]) )
|
||||
|
||||
|
||||
## Game Menu screen ############################################################
|
||||
##
|
||||
## This lays out the basic common structure of a game menu screen. It's called
|
||||
|
Reference in New Issue
Block a user