fix indentation and change translation select sound

This commit is contained in:
2022-11-14 17:30:39 -06:00
parent a417554660
commit 9dc329be61
4 changed files with 413 additions and 413 deletions

View File

@ -291,26 +291,26 @@ screen quick_menu():
spacing 1 spacing 1
use quick_buttons("gui/button/uioptionbuttons/template_idle.png", use quick_buttons("gui/button/uioptionbuttons/template_idle.png",
[ [
[ "Skip", Skip() ], [ "Skip", Skip() ],
[ "Save", ShowMenu('save') ], [ "Save", ShowMenu('save') ],
[ "Auto", Preference("auto-forward", "toggle") ], [ "Auto", Preference("auto-forward", "toggle") ],
[ "Load", ShowMenu('load') ] [ "Load", ShowMenu('load') ]
] ) ] )
screen score_menu(): screen score_menu():
zorder 100 zorder 100
window: window:
background "gui/debug.webp" background "gui/debug.webp"
xalign -1.0 xalign -1.0
yalign 0.0 yalign 0.0
grid 1 3: grid 1 3:
style_prefix "score" style_prefix "score"
xalign 0.0 xalign 0.0
yalign 0.0 yalign 0.0
text "anons: " + str(anonscore) text "anons: " + str(anonscore)
text "fang: " + str(fangscore) text "fang: " + str(fangscore)
text "DEBUG SCORE CARD" text "DEBUG SCORE CARD"
## This code ensures that the quick_menu screen is displayed in-game, whenever ## This code ensures that the quick_menu screen is displayed in-game, whenever
@ -974,9 +974,9 @@ screen preferences():
use translator_roulette use translator_roulette
vbox: vbox:
style_prefix "check" style_prefix "check"
label _("Requires Restart") label _("Requires Restart")
textbutton _("Enable Forward-Scroll Movement") action [Function(onclick_audio, persistent.scroll), ToggleVariable("persistent.scroll", True, False)] textbutton _("Enable Forward-Scroll Movement") action [Function(onclick_audio, persistent.scroll), ToggleVariable("persistent.scroll", True, False)]
vbox: vbox:
style_prefix "check" style_prefix "check"
@ -1738,12 +1738,12 @@ screen quick_menu():
xalign 0.5 xalign 0.5
yalign 0.975 yalign 0.975
use quick_buttons("gui/button/uioptionbuttons/template_idle.png", \ use quick_buttons("gui/button/uioptionbuttons/template_idle.png", \
[ \ [ \
[ "Back", Rollback() ], \ [ "Back", Rollback() ], \
[ "Skip", Skip() ], \ [ "Skip", Skip() ], \
[ "Auto", Preference("auto-forward", "toggle") ], \ [ "Auto", Preference("auto-forward", "toggle") ], \
[ "Menu", ShowMenu() ] \ [ "Menu", ShowMenu() ] \
] ) ] )
screen extrasnavigation(): #Updates are removed (not even supported by Ren'Py) screen extrasnavigation(): #Updates are removed (not even supported by Ren'Py)
variant "mobile" variant "mobile"

File diff suppressed because it is too large Load Diff

View File

@ -20,7 +20,7 @@ init 2 python:
{ 'path': "images/NotForKids!/", 'name': "Lewd", { 'path': "images/NotForKids!/", 'name': "Lewd",
'eval': 'persistent.lewd == True' 'eval': 'persistent.lewd == True'
} }
] ]
#path: folder, name: shows up in gallery, eval: runs eval() on string #path: folder, name: shows up in gallery, eval: runs eval() on string
""" """
@ -378,14 +378,14 @@ screen view_image(item, _origin, zoom = zoom_arr.index(1.0), flag='a'):
yalign 0.975 yalign 0.975
if (ALLOW_ZOOM) and renpy.variant("small"): if (ALLOW_ZOOM) and renpy.variant("small"):
use quick_buttons("gui/button/uioptionbuttons/template_idle.png", use quick_buttons("gui/button/uioptionbuttons/template_idle.png",
[ [
[ "+", zoom_a_f ], [ "+", zoom_a_f ],
[ "-", zoom_b_f ], [ "-", zoom_b_f ],
[ "Return", zoom_b_f ] [ "Return", zoom_b_f ]
] ) ] )
elif renpy.variant("small"): elif renpy.variant("small"):
use quick_buttons("gui/button/uioptionbuttons/template_idle.png", use quick_buttons("gui/button/uioptionbuttons/template_idle.png",
[ [
[ "Return", _origin ] [ "Return", _origin ]
] ) ] )

View File

@ -74,7 +74,7 @@ init python:
for lb in LangCave.lang_buttons: for lb in LangCave.lang_buttons:
lb.selected = False lb.selected = False
self.selected = True self.selected = True
onclick_audio(True) onclick_audio(False)
self.value() #todo: change to function, as value doesn't make sense self.value() #todo: change to function, as value doesn't make sense
if LangCave.on_disable_interactable: if LangCave.on_disable_interactable: