Update screens.rpy to steam version on 05.07.2023

This commit is contained in:
2023-07-05 17:55:42 +03:00
parent c24084fe66
commit 4934b9b194
2 changed files with 30 additions and 14 deletions

View File

@ -558,16 +558,16 @@ screen quick_menu():
selected_idle 'main_interface/down_buttons/load_0.png' selected_idle 'main_interface/down_buttons/load_0.png'
action QuickLoad() action QuickLoad()
if persistent.muteall: if not _preferences.get_volume("sfx") and not _preferences.get_volume("music"):
imagebutton: imagebutton:
idle Transform('main_interface/down_buttons/sounds_off_0.png', alpha = 1.0) idle Transform('main_interface/down_buttons/sounds_off_0.png', alpha = 1.0)
hover 'main_interface/down_buttons/sounds_off_1.png' hover 'main_interface/down_buttons/sounds_off_1.png'
action Function(chk_snd) action Preference("all mute", "toggle")
else: else:
imagebutton: imagebutton:
idle Transform('main_interface/down_buttons/sounds_on_0.png', alpha = 1.0) idle Transform('main_interface/down_buttons/sounds_on_0.png', alpha = 1.0)
hover 'main_interface/down_buttons/sounds_on_1.png' hover 'main_interface/down_buttons/sounds_on_1.png'
action Function(chk_snd) action Preference("all mute", "toggle")
imagebutton: imagebutton:
idle Transform('main_interface/down_buttons/settings_0.png', alpha = 1.0) idle Transform('main_interface/down_buttons/settings_0.png', alpha = 1.0)
@ -1072,8 +1072,8 @@ screen navigation(main_mm=False):
imagebutton: imagebutton:
idle Transform('steam_button', zoom = 1.15) idle Transform('steam_button', zoom = 1.15)
hover Transform(im.MatrixColor('main_menu/steam_button.png', im.matrix.brightness(.3)), zoom = 1.15) hover Transform(im.MatrixColor('main_menu/steam_button.png', im.matrix.brightness(.3)), zoom = 1.15)
action OpenURL('https://store.steampowered.com/app/1846920/Lust_Academy__Season_1/')
action Function(OpenUrlOverlay, url = 'https://store.steampowered.com/app/1846920/Lust_Academy__Season_1/')
@ -1148,9 +1148,24 @@ screen main_menu():
imagebutton: imagebutton:
xalign .98 xalign .98
yalign .98 yalign .98
idle Transform('main_interface/review.png') idle 'main_menu/season2.png'
hover im.MatrixColor('main_interface/review.png', im.matrix.brightness(.2)) hover im.MatrixColor('main_menu/season2.png', im.matrix.brightness(.3))
action OpenURL('https://store.steampowered.com/app/1846920/Lust_Academy__Season_1/#app_reviews_hash') action Function(OpenUrlOverlay, url = 'https://store.steampowered.com/app/2126680/Lust_Academy__Season_2/')
imagebutton:
xalign .987
yalign .8
idle Transform('main_menu/wishlist_banner_le.png', zoom = .532)
hover Transform(im.MatrixColor('main_menu/wishlist_banner_le.png', im.matrix.brightness(.3)), zoom = .532)
action Function(OpenUrlOverlay, url = 'https://store.steampowered.com/app/2196490/Lust_Element__Season_1/')
default show_list_lang = False default show_list_lang = False
@ -1626,7 +1641,8 @@ screen game_menu(title, scroll=None, yinitial=0.0):
imagebutton: imagebutton:
idle Transform('steam_button', zoom = 1.15) idle Transform('steam_button', zoom = 1.15)
hover Transform(im.MatrixColor('main_menu/steam_button.png', im.matrix.brightness(.3)), zoom = 1.15) hover Transform(im.MatrixColor('main_menu/steam_button.png', im.matrix.brightness(.3)), zoom = 1.15)
action OpenURL('https://store.steampowered.com/app/1846920/Lust_Academy__Season_1/')
action Function(OpenUrlOverlay, url = 'https://store.steampowered.com/app/1846920/Lust_Academy__Season_1/')
if main_menu: if main_menu:
key "game_menu" action ShowMenu("main_menu") key "game_menu" action ShowMenu("main_menu")
@ -2979,7 +2995,7 @@ screen preferences():
xpos -27 xpos -27
textbutton _("MUTE ALL"): textbutton _("MUTE ALL"):
ypos 3 ypos 3
if not persistent.muteall: if _preferences.get_volume("sfx") or _preferences.get_volume("music"):
text_idle_color '#FFEEDE' text_idle_color '#FFEEDE'
text_hover_color '#FFEEDE' text_hover_color '#FFEEDE'
@ -2989,11 +3005,11 @@ screen preferences():
text_font 'fonts/h_font.ttf' text_font 'fonts/h_font.ttf'
text_size 20 text_size 20
action Function(chk_snd) action NullAction()
style "mute_all_button" style "mute_all_button"
imagebutton: imagebutton:
if not persistent.muteall: if _preferences.get_volume("sfx") or _preferences.get_volume("music"):
idle 'mute_icon_0' idle 'mute_icon_0'
hover 'mute_icon_0' hover 'mute_icon_0'
@ -3002,7 +3018,7 @@ screen preferences():
hover 'mute_icon' hover 'mute_icon'
focus_mask None focus_mask None
action Function(chk_snd) action Preference("all mute", "toggle")
if renpy.android and renpy.variant("small"): if renpy.android and renpy.variant("small"):
viewport: viewport:

View File

@ -1,6 +1,6 @@
--- a/game/screens.rpy --- a/game/screens.rpy
+++ b/game/screens.rpy +++ b/game/screens.rpy
@@ -1154,7 +1154,7 @@ @@ -1169,7 +1169,7 @@
default show_list_lang = False default show_list_lang = False
@ -9,7 +9,7 @@
@@ -1225,7 +1225,7 @@ @@ -1240,7 +1240,7 @@
yoffset -4 yoffset -4
xoffset 6 xoffset 6
spacing 2 spacing 2