Files
IWaniHugThatGator-Demo-Public/game/script.rpy
2024-03-06 19:57:33 -06:00

52 lines
1.5 KiB
Plaintext

init -1 python:
# Modding Support variables
# All mod rpy files must run a small init python script
mod_dir = "mods/"
mod_menu_access = []
init python:
#import random
#import webbrowser
# multiple audio channels for ambience and such
renpy.music.register_channel("music1","music",True,tight=True)
renpy.music.register_channel("ambient1","sfx",True,tight=True)
renpy.music.register_channel("ambient2","sfx",True,tight=True)
renpy.music.register_channel("ambient3","sfx",True,tight=True)
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')
elif persistent.scroll == None:
persistent.scroll = False
if persistent.lewd == None:
persistent.lewd = False
if persistent.autoup == None:
persistent.autoup = False
if persistent.chapter_select_override == None:
if config.developer:
persistent.enable_chapter_select = True
else:
persistent.enable_select_override = False
if persistent.enable_debug_scores == None:
if config.developer:
persistent.enable_debug_scores = True
else:
persistent.enable_debug_scores = False
# Possibly for metro
#renpy.add_layer('bg_3d', below='master')
define config.gl2 = True
#actually play the game
label start:
call storyline from _call_storyline