######################################################################################## # This file is part of Spheres. # Copyright (C) 2019 Jesusalva # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA ######################################################################################## # Game Story labels define e = Character("Player") define you = Character("[persistent.nickname]") define e_dt = Character("???", color="#cccccc") define e_dtk = Character("Inspector", color="#cccccc") define e_ds = Character("???", color="#8e96d3") define e_dsk = Character("Deadly Shadow", color="#8e96d3") define e_mn = Character("Mentor", color="#ffccaa") define e_mnk = Character("Marshall", color="#ffccaa") define e_ot = Character("???", color="#ccdddd") define e_gg = Character("Giulio", color="#ffaacc") label SQ00001_prologue: python: while persistent.nickname is None: nick=renpy.call_screen("input_box", "Please insert an unique nickname (max 8 alphanumeric chars): ") if len(nick) > 8 or not nick.isalnum(): renpy.call_screen("msgbox", "ERROR\nERRONEOUS NICKNAME DETECTED") else: persistent.nickname=nick play music MUSIC_PROLOGUE01.id() fadein 0.5 scene black with None window hide centered "{cps=36}{b}Somewhere distant{/b}{/cps}" scene bg darklands with Dissolve(2.0) centered "{b}Somewhere distant{/b}\n\n{fast}{cps=36}Darklands{/cps}" show dialog_deadlyshock at toffscreenright with None show dialog_darkmana at toffscreenright with None window show show dialog_detective at tcenter with Dissolve(1.0) e_dt "..." e_dt "This high peak... This eerie atmosphere... And, ugh, this smell..." e_dt "So, these are the darklands." e_dt "I didn't realize they were real. Or at least, I hoped so. If it is here..." e_dt "...Then there can be only one meaning. I have to report this at once!" e_ds "Going somewhere, darling? ♪" show dialog_detective at prologue_right1 show dialog_deadlyshock at prologue_right2 with move e_dt "Uh oh..." show dialog_detective at prologue_center show dialog_deadlyshock at prologue_right2 show dialog_darkmana at prologue_left with move e_ds "Humans, always in hurry... Why don't you dance with us, darling? ♪" e_dt "I appreciate the invite, but I cannot afford to fail this mission. En garde!" scene black with vpunch stop music fadeout 2.5 pause 1.0 centered "Meanwhile\n{w=0.5}{nw}" centered "Meanwhile\nAcademy of Weisheit" scene bg academy with Dissolve(0.5) show dialog_spearman at toffscreenright with None play music MUSIC_PROLOGUE02.id() fadein 1.0 "{color=#0f0}*bustling noises*{/color}" you "It surely is crowded here today! Who would think so many people would show up..." show dialog_giulio at tcenter with Dissolve(0.5) e_gg "OF COURSE so many people would show up, [persistent.nickname]. {i}He{/i} is a seasoned war veteran!" you "I would not know that, Giulio. You know how much time I've spent studying magic!" e_gg "Yes, you Mana Mages are the strangest kind of mages I ever heard about." e_gg "It might be easy for those like you, who can control the Mana Spheres..." you "Excuse me?! I barely can bring them forth, let alone controlling them." show dialog_spearman at prologue_right2 show dialog_giulio at tleft with move e_ot "Excuse me, are you both enrolled at the Weisheit Academy?" e_gg "Uhm... You are an imperial spearman, right? What... Are you doing here?" you "Actually, Giulio... When did everyone left??" play music MUSIC_PROLOGUE03.id() fadein 0.6 e_ot "Oh great, you {i}are{/i} students! I was afraid of returning to the base without any kills." e_ot "Die for me!!" e_gg "{color=#0f0}*psst*{/color} [persistent.nickname], be careful. You are no match for an imperial spearman, leave combat for a top grade knight like myself." # Giulio joins you! window hide python: txt=allunits[10000000]["name"] rar=allunits[10000000]["rare"] star=star_write(rar) show_img("unit_10000000", at_list=[truecenter]) renpy.pause(0.1) renpy.call_screen("msgbox", "%s\n\nRecruited %d★ %s" % (star, rar, txt)) renpy.hide("unit_10000000") _window_show(None) pause 0.2 e_gg "You just focus at giving me spheres to fight. If you {color=#0f0}swipe my card down{/color}, I'll use the sphere there against these enemies." e_gg "I know you cannot control much beyond that right now, but that will suffice to defeat this spearman." e_gg "When you click on {color=#0f0}End turn{/color} at the upper right corner, we will fight. There are other things a mana mage can do, like summons or allowing us to use skills, but don't worry with that now." show dialog_giulio at prologue_left show dialog_spearman at tcenter with move e_gg "Let's do it! It is our time to shine!" return #################################################### label SQ00001_post: scene bg forest_sunset show dialog_mentor at tcenter with fade e_mn "What are you both still doing here?! Can't you see the empire is upon us?!" you "Uhm, we were distracted..." e_mn "Now, you are a mana mage, right? Don't pretend to be a fool." e_mn "Take these crystals and try summoning someone to help you." e_mn "There should be a stronghold if you go though the meadow path, bordering the forest of fae." e_mn "The stronghold is much safer, go there and regroup with other students. I must go now." hide dialog_mentor with dissolve you "That was a lot to understand at once." show dialog_giulio with dissolve e_gg "I can't believe you. It was {i}him{/i}, the marshall who wiped out an enemy platoon with just tactics." e_gg "He told you to {color=#0f0}recruit someone at the Tavern{/color} and head to the stronghold, right? Let's go!" return #################################################### label SQ00005_post: $ show_img("bg castle", False) scene bg castle with Dissolve(1.0) "You" "We did it! We reached the Stronghold!" ## TODO FIXME old scripts scene black with dissolve centered "{color=#f00}The content past this point is old and might not work. You have been warned.{/color}" ## TODO FIXME old scripts "Giulio" "What are you standing there for? We gotta a Marshall to met." # TODO: bg desk scene bg castle with Dissolve(1.0) $ show_img("dialog_marshall", at_list=[tcenter]) "Marshall" "Congratulations in making to the Capital in one piece." "Marshall" "If you both don't mind, I would like to officially assign your first task now." "Giulio" "This task better be suitable for a top knight like myself." "Marshall" "A task is a task, no matter how tedious or boring it is!" "Marshall" "Either way, I want you to heed in Forest Of Fay and kill some bandits which decided to live there." "Marshall" "If you don't like this task, I can have you both cleaning the restroom instead, if you prefer...?" "You" "Uhm, thanks but no thanks." "Marshall" "...What, you guys are still here? Get going!" "You & Giulio" "Sir! Yessir!" scene bg castle with Dissolve(1.0) "Giulio" "Pft, they want me to kill mere bandits! Unbelievable." "You" "If we finish this quickly, the marshal might be sightly impressed with us and assign something more epic." "Giulio" "Let's get going, a top-tier knight like me should not be wasting time here in first place." return #################################################### label SQ00006_pre: #$ show_img("bg wilderness", False) #scene bg wilderness with Dissolve(1.0) $ show_img("dialog_milleue") "Milleue" "Are you the ones assigned to the Forest of Fae bandits? Am I right?" "Giulio" "And you would be...?" "Milleue" "So I'm right! Forest of Fae is sacred. We the Empire won't let you go there idly." "Milleue" "If you can, however, defeat my unit, then I'll reconsider your worthiness." "Milleue" "Perhaps I might even join you. Now, to arms! I'll judge you myself!" return #################################################### label SQ00006_post: #$ show_img("bg wilderness", False) #scene bg wilderness with Dissolve(1.0) $ show_img("dialog_milleue", at_list=[tcenter]) "Milleue" "Alright, I surrender! I admit defeat." "Milleue" "I'm afraid the path to the Forest of Fae won't be a walk in the park." "Milleue" "I'll go with you. But the other Imperial Soldiers will still try to stop you as you go." "You" "Wait. I always thought the Marshall served the empire...?" "Milleue" "Politics." "You" "Oh right. I guess I won't ask more, then." return #################################################### label SQ00011_post: scene bg forest_sunset with Dissolve(0.5) "Giulio" "Mother Nature's sent us wolves... How much I hate it." "Giulio" "Mother Nature, please, GIVE ME A DECENT CHALLENGE!" $ show_img("dialog_milleue", at_list=[tcenter]) "Milleue" "Be careful with what you wish for." "Giulio" "Oh, please. My sword will get rusty at this small fry. These wolves aren't qualified for a top knight like myself." return #################################################### label SQ00013_pre: scene bg forest_sunset with Dissolve(0.5) "Giulio" "I hear battle sounds up ahead." "You" "It'll be quite a detour, but we should check." $ show_img("dialog_bandit", at_list=[tleft], tag="l") $ show_img("dialog_princess", at_list=[tright], tag="r") "{b}.:: CONTINUES ::.{/b}" return #################################################### label SQ00014_post: scene bg forest_sunset with Dissolve(0.5) $ show_img("dialog_princess", at_list=[tcenter]) "{b}.:: CONTINUES ::.{/b}" return