Compare commits
3 Commits
6bc6ce7723
...
b0b0438f55
Author | SHA1 | Date |
---|---|---|
Mappening | b0b0438f55 | |
Mappening | 5153207ed2 | |
Mappening | 0868c1e899 |
|
@ -441,9 +441,15 @@ init -999 python:
|
|||
mod_screenshots[lang_code] = []
|
||||
mod_screenshots[lang_code].append((i, converted_number))
|
||||
|
||||
# Refine collected screenshots so that translated screenshots use the english screenshots (the ones without a lang code)
|
||||
# as a base, and then either replacing or adding the translated screenshots according to their number.
|
||||
|
||||
# Don't load the mod if there's mod breaking errors
|
||||
if mod_exception:
|
||||
continue
|
||||
|
||||
# We're now gonna clean up the screenshots to be more usable as-is.
|
||||
|
||||
# Refine collected screenshots so that translated screenshots use the english screenshots (the ones without a lang code)
|
||||
# as a base, and then either replacing or adding the translated screenshots according to their order/number.
|
||||
for lang_key in mod_screenshots.keys():
|
||||
if lang_key != "None":
|
||||
if mod_screenshots.get("None") == None:
|
||||
|
@ -496,11 +502,6 @@ init -999 python:
|
|||
else:
|
||||
mod_data_final[lang_key]["Screenshot Displayables"] = None
|
||||
|
||||
|
||||
# Don't load the mod if there's mod breaking errors
|
||||
if mod_exception:
|
||||
continue
|
||||
|
||||
# Store the collected scripts and screenshots
|
||||
mod_data_final["Scripts"] = mod_scripts
|
||||
|
||||
|
@ -881,7 +882,7 @@ screen mod_menu():
|
|||
xpadding 30
|
||||
bottom_padding 30
|
||||
xalign 0.5
|
||||
add mod_thumbnail fit 'contain'
|
||||
add mod_thumbnail fit 'scale-down'
|
||||
|
||||
# Mod details
|
||||
# Omit checking for mod name, since we'll always have some kind of mod name.
|
||||
|
|
|
@ -49,6 +49,6 @@ define discord.start_label = "storyline"
|
|||
|
||||
# These variables control the print functions across this script. They work if True, they're ignored if False.
|
||||
# Prints are shown inside game's console (if turned on in the Ren'Py Launcher) and in the game's log.txt file.
|
||||
define discord.log_important = True # Shows whether the Presence was initialized and closed correctly.
|
||||
define discord.log_important = False # Shows whether the Presence was initialized and closed correctly.
|
||||
define discord.log_properties = False # Records properties whenever they change with set or update methods.
|
||||
define discord.log_restore = True # Notes whenever the properties get rolled back or loaded from a save file, and what they were restored into.
|
||||
define discord.log_restore = False # Notes whenever the properties get rolled back or loaded from a save file, and what they were restored into.
|
Loading…
Reference in New Issue