Пример #1
0
    public static string[] GetTechTutorialString()
    {
        PlayerMeta player = BaseSaver.GetPlayer();
        Dests      dest   = (Dests)Enum.Parse(typeof(Dests), player.stats.dests[player.stats.dests.Length - 1]);

        switch (dest)
        {
        case Dests.Dest1: return(new string[] { "This screen shows the stats of each of your units. Feel free to click around." });

        case Dests.Dest2: return(new string[] { "This screen shows the stats of each of your units. Feel free to click around." });

        case Dests.Dest3: return(new string[] {
                "When a unit gains enough experience they will be allowed to upgrade classes.",
                "To check if a unit can be upgraded, first click on the unit, then look at the number above it's current class.",
                "When you come to this screen after battle, it is because one or more of your units is ready to be upgraded",
                "Click on the unit with the moving star, then select one it's upgraded classes to continue.",
                "Try to experiment with different classes with your units. Only by building carefully and figuring out what each class does can you defeat Susie and decide the fate of the world."
            });

        case Dests.Dest4: return(new string[] {
                "There are hundreds of classes in Elder's Tale. Not all of them upgrade evenly. Classes that are stronger early in the game might be lacking at the end.",
                "Try to upgrade your units into classes that complement each other well."
            });

        case Dests.Dest5: return(new string[] { "Inactive units in your roster trigger passive effects during the game.",
                                                "Try mixing them up to see what each class does!",
                                                "There is a rumor that some classes give special bonuses when they are placed in the inactive slot." });

        default: return(new string[] {  });
        }
    }
Пример #2
0
 private void BrowseDest_Click(object sender, EventArgs e)
 {
     if (!string.IsNullOrEmpty(Dests.Text) && !browsedBefore)
     {
         BrowseDestDialog.SelectedPath = Dests.Text;
         browsedBefore = true;
     }
     if (BrowseDestDialog.ShowDialog() == DialogResult.OK)
     {
         Dests.Add(BrowseDestDialog.SelectedPath);
         DestinationsChanged();
     }
 }
Пример #3
0
    public static string[] GetClassSelectTutorialString()
    {
        PlayerMeta player = BaseSaver.GetPlayer();
        Dests      dest   = (Dests)Enum.Parse(typeof(Dests), player.stats.dests[player.stats.dests.Length - 1]);

        switch (dest)
        {
        case Dests.Dest1: return(new string[] { "" });

        case Dests.Dest2: return(new string[] { "When a battle is won, you get a chance to recruit a new unit. Let's click on the Scout unit to add a Scout to our team." });

        case Dests.Dest3: return(new string[] { "You won another battle! Way to go! Let's add a Mage unit to our army this time." });

        case Dests.Dest4: return(new string[] { "As long as you have less than 5 units in your roster, you will be allowed to add another unit to your team after a battle.", "Feel free to add whichever unit you like here." });

        case Dests.Dest5: return(new string[] { "Add your final unit in preparation for the last tutorial battle." });

        default: return(new string[] {  });
        }
    }
Пример #4
0
    public static string[] GetMapTutorialString()
    {
        PlayerMeta player = BaseSaver.GetPlayer();
        Dests      dest   = (Dests)Enum.Parse(typeof(Dests), player.stats.dests[player.stats.dests.Length - 1]);

        switch (dest)
        {
        case Dests.Dest1: return(new string[] { "You made it to the map screen! You have been given an army. To get started, tap twice on the red destination on the map." });

        case Dests.Dest2: return(new string[] { "As you play through the game, this world map will slowly expand. Click on the next red destination to continue." });

        case Dests.Dest3: return(new string[] { "You can upgrade your characters by clicking on the icon in the top right. Feel free to use it to get acquianted with what each character can do." });

        case Dests.Dest4: return(new string[] { "Look at the enemies in your next location to try and build a roster with the right units.", "A character that works well in one situation may not be as useful in another." });

        case Dests.Dest5: return(new string[] { "A general glossary and statistics page can be found on the main screen.", "This screen can be useful for remembering class composition and knowing what each skill does." });

        default: return(new string[] {  });
        }
    }
Пример #5
0
        public Main(bool autoProcess, string dir, string[] args)
        {
            auto = autoProcess;

            InitializeComponent();

            Files.SmallImageList = Files.LargeImageList = ArchiveItem.Icons;
            StateIcons.Images.Add(Properties.Resources.idle);
            StateIcons.Images.Add(Properties.Resources.done);
            StateIcons.Images.Add(Properties.Resources.error);
            StateIcons.Images.Add(Properties.Resources.run);
            StateIcons.Images.Add(Properties.Resources.warning);

            Text = String.Format(CultureInfo.CurrentCulture, "{0} - {1}bit", Text, CpuInfo.IsX64 ? 64 : 32);

            About.Image = Icon.ToBitmap();

            RefreshPasswordCount();
            BrowseDestDialog.SelectedPath = Environment.GetFolderPath(Environment.SpecialFolder.Personal);
            CtxOpenDirectory.Image        = FileIcon.GetIcon(BrowseDestDialog.SelectedPath, FileIconSize.Small);

            Dests.AddRange(Config.Destinations.ToArray());
            DestinationsChanged();

            if (!string.IsNullOrEmpty(dir))
            {
                Dests.Add(dir);
            }

            if (args != null && args.Length != 0)
            {
                AddFiles(args);
            }
            else
            {
                AdjustHeaders();
            }
        }
Пример #6
0
    public static string GetMapName(GameMeta.World wrld, Unit.FactionType faction, string lastDest)
    {
        Dests dst = (Dests)Enum.Parse(typeof(Dests), lastDest);

        switch (wrld)
        {
        case GameMeta.World.tutorial:
            /*
             * Human
             */
            switch (dst)
            {
            case Dests.Dest1: return("One Toe In The Water");

            case Dests.Dest2: return("Baby Steps");

            case Dests.Dest3: return("A Little More");

            case Dests.Dest4: return("Expanding");

            case Dests.Dest5: return("Graduation");
            }
            break;

        case GameMeta.World.nile:
            /*
             * Human
             */
            switch (dst)
            {
            case Dests.Dest1: return("A First Step");

            case Dests.Dest2: return("The March Continues");

            case Dests.Dest3: return("Monster At The Bay");

            case Dests.Dest4: return("Through The Bog");

            case Dests.Dest5: return("Beaches Of Blood");

            case Dests.Dest6: return("Death's Ravine");

            case Dests.Dest7: return("The Sea Wall");

            case Dests.Dest8: return("By Force");

            case Dests.Dest9: return("Isle Of Doom");

            case Dests.Dest10: return("The Great Provening");
            }
            break;

        case GameMeta.World.mountain:
            /*
             * Egypt
             */
            switch (dst)
            {
            case Dests.Dest1: return("Ra's Request");

            case Dests.Dest2: return("Obelisk At Dawn");

            case Dests.Dest3: return("Setting Sun");

            case Dests.Dest4: return("Chorus Of Horus");

            case Dests.Dest5: return("Memories Of Cairo");

            case Dests.Dest6: return("Shadows Along The Pyramids");

            case Dests.Dest7: return("Friction Of The Sands");

            case Dests.Dest8: return("A Greater Understanding");

            case Dests.Dest9: return("Anubis Beckons");

            case Dests.Dest10: return("Seth's Plan");
            }
            break;

        case GameMeta.World.pyramid:
            /*
             * Cthulhu
             */
            switch (dst)
            {
            case StoryStatic.Dests.Dest1: return("The Elder's Whisper");

            case StoryStatic.Dests.Dest2: return("On Fire");

            case StoryStatic.Dests.Dest3: return("Scorched Earth");

            case StoryStatic.Dests.Dest4: return("Famine");

            case StoryStatic.Dests.Dest5: return("Anticipated Disdain");

            case StoryStatic.Dests.Dest6: return("The Tentacle's Triumph");

            case StoryStatic.Dests.Dest7: return("The Void's Victory");

            case StoryStatic.Dests.Dest8: return("Encroaching Plague");

            case StoryStatic.Dests.Dest9: return("A New Tactic");

            case StoryStatic.Dests.Dest10: return("Towards The Darkness");
            }
            break;

        case GameMeta.World.candy:
            switch (faction)
            {
            case Unit.FactionType.Cthulhu:
                switch (dst)
                {
                case StoryStatic.Dests.Dest1: return("Maw Of Whispers");

                case StoryStatic.Dests.Dest2: return("Under The Fresh Soil");

                case StoryStatic.Dests.Dest3: return("From The Swamp");

                case StoryStatic.Dests.Dest4: return("Absalom's Deceit");

                case StoryStatic.Dests.Dest5: return("Through Skulls");

                case StoryStatic.Dests.Dest6: return("Siege Of Sapiens");

                case StoryStatic.Dests.Dest7: return("Draped In Skulls");

                case StoryStatic.Dests.Dest8: return("Whispered Curse");

                case StoryStatic.Dests.Dest9: return("To The Crypt");

                case StoryStatic.Dests.Dest10: return("The Third Eye");
                }
                break;

            case Unit.FactionType.Egypt:
                switch (dst)
                {
                case StoryStatic.Dests.Dest1: return("On Papyrus");

                case StoryStatic.Dests.Dest2: return("What Isis Saw");

                case StoryStatic.Dests.Dest3: return("Re Peat");

                case StoryStatic.Dests.Dest4: return("100 Lashes");

                case StoryStatic.Dests.Dest5: return("Memories Of The Home");

                case StoryStatic.Dests.Dest6: return("Heard From Phat");

                case StoryStatic.Dests.Dest7: return("Involving Mummies");

                case StoryStatic.Dests.Dest8: return("Osiris' Call");

                case StoryStatic.Dests.Dest9: return("Point Nexus");

                case StoryStatic.Dests.Dest10: return("The Third Eye");
                }
                break;

            case Unit.FactionType.Human:
                switch (dst)
                {
                case StoryStatic.Dests.Dest1: return("Opening The Gates");

                case StoryStatic.Dests.Dest2: return("Assault And Battery");

                case StoryStatic.Dests.Dest3: return("Justified");

                case StoryStatic.Dests.Dest4: return("Serpentine");

                case StoryStatic.Dests.Dest5: return("The Second Provening");

                case StoryStatic.Dests.Dest6: return("Perfect Strategy");

                case StoryStatic.Dests.Dest7: return("Reinforments");

                case StoryStatic.Dests.Dest8: return("Manifest Destiny");

                case StoryStatic.Dests.Dest9: return("Fix Bayonets");

                case StoryStatic.Dests.Dest10: return("The Third Eye");
                }
                break;
            }
            break;
        }
        return("");
    }
Пример #7
0
    public static string GetLevelStory()
    {
        PlayerMeta player = BaseSaver.GetPlayer();

        GameMeta.World world = player.world;
        Dests          dest  = (Dests)Enum.Parse(typeof(Dests), player.lastDest);

        Unit.FactionType faction = player.faction;
        switch (world)
        {
        case GameMeta.World.tutorial:
            switch (dest)
            {
            case Dests.Dest1: return("Let's get to the battle! Click on your tank to bring up it's moveable tiles. Move it near that enemy unit and attack it!");

            case Dests.Dest2: return("A human Scout unit is faster and has more moves per turn than a normal unit. Use it to your advantage to attack weak units and units with aegis.");

            case Dests.Dest3: return("Let's see how a Mage unit works when added to the mix! These units are usually slower and weaker than normal units with high attack power and range. Try to hide these classes behind obstacles for cover.");

            case Dests.Dest4: return("Sometimes tiles can have different effects in battle. Snow slows 1 move. Fire damages 1 hp. Divine heals 1 hp at the end of the turn.");

            case Dests.Dest5: return("Each team can only bring three units at a time into battle. The order of the roster is decided on the tech screen where units are upgraded.");
            }
            break;

        case GameMeta.World.nile:
            switch (dest)
            {
            case Dests.Dest1: return("Attention, recruit! Enemy contact! It’s some sort of Egyptian monster! Use all your ingenuity to take them down!");

            case Dests.Dest2: return("The enemy grows stronger as we near the center of the attack. Be on the lookout for more Egyptian scum!");

            case Dests.Dest3: return("Looks like these Gods don’t want us here! They’re sending us more fodder for our rifles! Keep track of your troops, we all have families at home.");

            case Dests.Dest4: return("The strength of our enemy is increasing! Be careful of fire and ice attacks, soldier!");

            case Dests.Dest5: return("The Egyptian menace has blocked our advance, let’s get them, soldier!");

            case Dests.Dest6: return("We can’t let these gods get to that box first! Take out these gods!");

            case Dests.Dest7: return("Their strength and numbers are increasing exponentially! Strategize, soldier!");

            case Dests.Dest8: return("We must be getting close to their home base, there’s even more vermin than ever!");

            case Dests.Dest9: return("They’re rallying against us! We can’t afford to lose now, soldier!");

            case Dests.Dest10: return("Here we are, recruit! The final battle! Just defeat these last units, and we’ll be able to pinpoint the exact location of the disturbance!");
            }
            break;

        case GameMeta.World.mountain:
            switch (dest)
            {
            case Dests.Dest1: return("On command from Isis, I have spotted the demonic interlopers. May her blessing put these intruders in their place.");

            case Dests.Dest2: return("With the power of Ra flowing through my veins, we may just win against these creatures from the deep.");

            case Dests.Dest3: return("Tentacles, wings, horns, and claws. These monsters were born in the deepest pits and there they shall return.");

            case Dests.Dest4: return("They do not deserve the blessed light from Ra. Send them to their deaths!");

            case Dests.Dest5: return("The abominations advance, we must stop them!");

            case Dests.Dest6: return("Beware the toxic stingers of poison and pray we survive the night.");

            case Dests.Dest7: return("Cthulhu’s minions grow stronger each day. We must not let them open the portal wider!");

            case Dests.Dest8: return("These sick demons appear to enjoy fighting. Let’s give them a taste of their own tonic!");

            case Dests.Dest9: return("Their dark magic is nothing against the power of Ra!");

            case Dests.Dest10: return("We have arrived! The final battle! Destroy the enemy!");
            }
            break;

        case GameMeta.World.pyramid:
            switch (dest)
            {
            case Dests.Dest1: return("On orders from the Elder Gods, I have set off to take care of the mortal scourge impeding our progress.");

            case Dests.Dest2: return("It seems the mortal pestilence is not as easy to take care of as we originally thought.");

            case Dests.Dest3: return("The human numbers are multiplying as we rally our forces. May the old ones bless us with darkness as we rid them of their souls.");

            case Dests.Dest4: return("These mortals send us infinite snacks, our demons will become fat and complacent if this continues.");

            case Dests.Dest5: return("Perhaps we have underestimated the human infestation. They are multiplying faster than we can reap them!");

            case Dests.Dest6: return("Hordes of enemies are approaching! Let’s show them true fear.");

            case Dests.Dest7: return("The smell of death and chaos pleases the Elder gods greatly, they demand more blood sacrifice.");

            case Dests.Dest8: return("The Elder gods demand a symphony of blood-curdling screams to be composed as a part of their epic opera. Pre-sale tickets available for a limited time at the box office on Level 3 of Hell.");

            case Dests.Dest9: return("With the influx of souls reaped, Hell is overflowing. We will need to kill more construction workers to expand the misery initiative.");

            case Dests.Dest10: return("This is it! The final battle! Once we get through these mortal fools, the box is ours and we can plunge the world into eternal darkness! Whee!");
            }
            break;

        case GameMeta.World.candy:
            switch (faction)
            {
            case Unit.FactionType.Human:
                switch (dest)
                {
                case Dests.Dest1: return("Objective: Get our hands on Pandora’s Box.");

                case Dests.Dest2: return("Do not get distracted by the chocolate falls and the cotton candy clouds! She’s bringing the dead back to life! Be careful, recruit!");

                case Dests.Dest3: return("Enemies everywhere! You can’t be afraid now, soldier!");

                case Dests.Dest4: return("Susies are closing in from all around us, soldier! We’ll have to scrap our way out of this one!");

                case Dests.Dest5: return("We must be getting closer to the real Susie and Pandora's box, the enemies are getting stronger!");

                case Dests.Dest6: return("We’re on the right track! The enemy is getting scared!");

                case Dests.Dest7: return("No time for shell shock, soldier. You’ve made it this far, let’s see this to the end!");

                case Dests.Dest8: return("The enemy is getting desperate to kill us, don’t give them the satisfaction!");

                case Dests.Dest9: return("Can you feel that in the air? The end is near...");

                case Dests.Dest10: return("It’s her. It’s Susie. Get that box closed and back to our government!");
                }
                break;

            case Unit.FactionType.Egypt:
                switch (dest)
                {
                case Dests.Dest1: return("By the power of Anubis, I can feel that we are in the end game.");

                case Dests.Dest2: return("The Greeks did not heed our warning, and now we must clean up their mess.");

                case Dests.Dest3: return("The demoness appears to be bringing her enemies back from the dead!");

                case Dests.Dest4: return("Do not fear, Ra shines his blessed light upon us. There can be only one true God!");

                case Dests.Dest5: return("The demoness grows stronger with each passing day! We must not fail!");

                case Dests.Dest6: return("There can be no others with magic. We must destroy her source of power, we must destroy the box!");

                case Dests.Dest7: return("Do not fall prey to the grotesque illusions the she-beast creates!");

                case Dests.Dest8: return("The dead grow stronger as we near the demoness!");

                case Dests.Dest9: return("Can you feel that in the air? The end is near…");

                case Dests.Dest10: return("It’s her. The little Demoness. We must destroy the box!");
                }
                break;

            case Unit.FactionType.Cthulhu:
                switch (dest)
                {
                case Dests.Dest1: return("Our forward plague scouts have informed us that the beast Susie has summoned dopplegangers to protect her.");

                case Dests.Dest2: return("These magical beings summoned from beyond, they’re coming at us from everywhere!");

                case Dests.Dest3: return("It hardly seems fair to have so much vermin to crush around us.");

                case Dests.Dest4: return("If we could only get that box opened a little wider, the big demons could fit through the portal.");

                case Dests.Dest5: return("Wouldn’t it be fun to see this world fall to chaos?");

                case Dests.Dest6: return("What are we all fighting for anyway? Can’t we just all go back to Blood Lake and bond over a nice chalice of human misery?");

                case Dests.Dest7: return("Oh what a delicious mess we’ve made here!");

                case Dests.Dest8: return("It seems we’ve angered the enemy!");

                case Dests.Dest9: return("Can you feel that in the air? The end is near…");

                case Dests.Dest10: return("It’s her. It’s the real Susie and Pandora's box. Protect the box so that we can open a portal into Eden!");
                }
                break;
            }
            break;
        }
        return("");
    }