#####################################################################
#                INTRO
#####################################################################

screen disclaimer_scr():
    image "11_backgrounds/backdrop_planet_sunrise_01.png"
    vbox xalign 0.5 yalign 0.2 spacing 20:
        bar xsize 800 ysize 3 xalign 0.5
        #text "[C_YE_B]This game is under development...[C_YE_E]" size FSIZE xalign 0.5
        hbox xalign 0.5 spacing 20:
            #image "05_gui/logo_patreon.png" yalign 0.5 zoom 0.5
            text "Support Space Journey X on {a=https://www.patreon.com/yv0751}Patreon{/a}, {a=https://subscribestar.adult/yv0751}SubscribeStar{/a} or {a=https://buymeacoffee.com/yv0751}BuyMeACoffee{/a}" size FSIZE yalign 0.5
        bar xsize 800 ysize 3 xalign 0.5

    vbox xsize 1200  xalign 0.5 ypos 900 spacing 20:
        text "DISCLAIMER\nThis game contains NSFW content and nudity. All characters depicted in this work are older than 18 years of age. Assets included have been either created by me, are free to use or allowed to be used by e.g. creative commons license. In case of concerns, you can contact me via below links.\nIf you like the game, please consider supporting it on {a=https://www.patreon.com/yv0751}PATREON{/a} or {a=https://subscribestar.adult/yv0751}SubscribeStar{/a}. There you will find early access versions, concept art, wallpapers and more. Public releases of the game can be found on my developer page at {a=https://yv0751.itch.io/}itch.io{/a} or {a=https://f95zone.to/threads/116347/}F95Zone{/a} from February 2023" xalign 0.5 size FSIZE_MED

    frame xsize 240 ysize 100 background Solid("#cc660000") xalign 0.5 ypos 700:
        text "START" size 104 xalign 0.5 outlines [ (absolute(5), "#996600", absolute(0), absolute(0)) ]
        #text "START"xalign 0.5 yalign 0.5
        button action Return("Start")


label game_intro():
    if "game_intro" in GAME.mc.done:
        return()
        
    #OhWee mod code
    scene black with dissolve
    scene expression("11_backgrounds/backdrop_menu_01.jpg")
    show image "05_gui/ico_gui_quest.png":
       xpos 40
       ypos 300
    with fade
       
    pause 0.5
    menu:
        "Would you prefer to start with an extra 1,000,000 Cr?\n{i} i.e. an 'Accelerated Start'{/i}"
        "Yes":
            $GAME.money += 1000000
        "No":
            pass
    #End OhWee mod code
    pause 0.5      
    show intermission with Dissolve(2.0)
    scene cutscene_intro_starscape with Dissolve(1.0)
    window hide
    pause
    scene intermission with Dissolve(2.0)
    scene cutscene_intro_zero with Dissolve(3.0)
    "An unremarkable star system in the Outer Rim..." with dissolve
    "A chance encounter with an unknown craft..." with dissolve
    play music ("audio/dark.wav") # CR-2014
    scene cutscene_intro_one with dissolve
    "No response to your hails..." with dissolve
    "Dreaming of riches, you choose to ignore the ship's unfamiliar configuration..." with dissolve
    "The ensuing salvage mission was a disaster waiting to happen..." with dissolve
    scene cutscene_intro_two with dissolve
    stop music # CR-2014
    play sound "audio/explosion large.wav"
    "An explosion..." with vpunch
    scene intermission with fade
    # stop music fadeout 3.0 # CR-2014
    window hide
    #"...then darkness."
    pause
    #"Much later..." with fade
    scene cutscene_intro_engine_one with fade
    "You" "\"My head hurts...\""
    "You" "\"What happened...?\""
    scene intermission with fade
    scene cutscene_intro_engine_one with dissolve
    $ GAME.mc.name = renpy.input("You try to remember your name...", "Jim")
    $ GAME.mc.name = GAME.mc.name[:10]
    mc "\"Where am I...?\"" with fade
    scene cutscene_intro_engine_two with dissolve
    $ GAME.mc.hasDone("game intro")
    mc "\"An engineering room of sorts...\""
    scene room_engine_smart with fade
    "You get up on your feet..."
    $ REGISTRY.setKey("LOCEngine", 'found', True)
    $ GAME.setLocID("LOCEngine")
    $ GAME.setLocID("LOCEngine")
    return()
