Resolves #209 | Simplifies the language selector and adds the notice prompt #210

Merged
MapAnon merged 8 commits from Legalo/SnootGame:LanSel into Patch8-RAGE 2022-11-29 00:04:42 +00:00
2 changed files with 5 additions and 3 deletions
Showing only changes of commit 9252776dad - Show all commits

View File

@ -981,13 +981,14 @@ screen preferences():
draggable True draggable True
xsize 320 xsize 320
ysize 250 ysize 250
if len(languages)>5: if len(languages)>4:
scrollbars "vertical" scrollbars "vertical"
for lang in languages: for lang in languages:
fixed: fixed:
xsize 400 xsize 400
ysize 60 ysize 60
hbox: hbox:
spacing 10
textbutton lang["name"]: textbutton lang["name"]:
activate_sound "audio/ui/uiRollover.wav" activate_sound "audio/ui/uiRollover.wav"
action If(lang["value"] in persistent.seenWarning or lang["value"] == None, action If(lang["value"] in persistent.seenWarning or lang["value"] == None,

View File

@ -95,7 +95,7 @@ screen lang_sel:
for i in range(maxItems): for i in range(maxItems):
fixed: fixed:
xsize 400 xsize 400
ysize 250 ysize 300
vbox: vbox:
if i<len(languages): if i<len(languages):
text languages[i]["name"] at top text languages[i]["name"] at top
@ -111,4 +111,5 @@ screen lang_sel:
at renpysdumb # Scales the imagebutton down. No, you can't just specify the zoom here. It has to be a defined transform. at renpysdumb # Scales the imagebutton down. No, you can't just specify the zoom here. It has to be a defined transform.
else: else:
# Renpy seethes if a vpgrid doesn't have the exact maximum amount of items for some reason. # Renpy seethes if a vpgrid doesn't have the exact maximum amount of items for some reason.
add Null(0,0) add Null(0,0)
at truecenter