squashed commit of 1.7.0

This commit is contained in:
2025-01-02 03:46:35 -06:00
parent 026409efef
commit 5eec5e2ca0
97 changed files with 29977 additions and 2843 deletions

View File

@@ -1,7 +1,3 @@
init -1000 python:
if persistent.newmods_default_state == None:
persistent.newmods_default_state = True
init python:
#import random
#import webbrowser
@@ -13,44 +9,25 @@ init python:
renpy.music.register_channel("ambient4","sfx",True,tight=True)
renpy.music.register_channel("sound2","sfx",False,tight=True)
if persistent.scroll == True:
config.keymap['dismiss'].append('mousedown_4')
persistent.splashtype = random.randint(0,2000 - 1)
if config.developer:
default persistent.enable_debug_scores = True
default persistent.enable_chapter_select = True
else:
default persistent.enable_debug_scores = False
default persistent.enable_chapter_select = False
default persistent.scroll = False
default persistent.autoup = False
default persistent.lewd = False
default persistent.show_mod_screenshots = True
default persistent.gallery_edgescroll = True
# This is neccesary for all functions that use get_placement like the crowd and liz functions due to 8.2.0 switching the output to position() data types
# There's no reason not to have this off currently, otherwise it's an extra step in getting a position value out of it with the current setup of most of the functions
# and there's no need to have 'interpolatability' with values using ATL.
# If someone can prove me wrong and refactoring the functions are good, be my guest.
define config.mixed_position = False
define config.defer_tl_scripts = True
label before_main_menu:
$ renpy.music.play("<loop 61.931333>" + DEFAULT_MUSIC_FILEPATH + "mus_titlescreen" + DEFAULT_MUSIC_EXTENSION, channel="music", loop=True)
if not persistent.epilogue or is_demo:
$ renpy.music.play("<loop 61.931333>" + DEFAULT_MUSIC_FILEPATH + "mus_titlescreen" + DEFAULT_MUSIC_EXTENSION, channel="music", loop=True)
else:
$ renpy.music.play("<loop 2.580167>" + DEFAULT_MUSIC_FILEPATH + "mus_complete" + DEFAULT_MUSIC_EXTENSION, channel="music", loop=True)
if preferences.language == None:
$ preferences.language = 'en'
if (persistent.languaged_up is None):
$ preferences.set_volume('ui', config.default_sfx_volume)
$ persistent.languaged_up = True
$ preferences.set_mixer("ui", config.default_sfx_volume)
call screen lang_sel
$ grant_missing()
if not is_demo:
$ grant_missing()
return