Exemple #1
0
        private string Lang_GetRandomGameTitle(On.Terraria.Lang.orig_GetRandomGameTitle orig)
        {
            string ScreenLoadChance = "tModLoader: Terraria";

            switch (rand.Next(7))
            {
            default:
                ScreenLoadChance = "tModLoader: Ever heard of a guy called pollen__?";
                break;

            case 1:
                ScreenLoadChance = "tModLoader: You've Been Distracted!";
                break;

            case 2:
                ScreenLoadChance = "tModLoader: Close the application";
                break;

            case 3:
                ScreenLoadChance = "tStandalone: Wait, wrong app";
                break;

            case 4:
                ScreenLoadChance = "tModLoader: what.ogg is the best song";
                break;

            case 5:
                ScreenLoadChance = "tModLoader_1.4.0.5: Wait, wrong version";
                break;

            case 6:
                if (ModLoader.GetMod("CalamityMod") != null)
                {
                    ScreenLoadChance = "tModLoader: Calamity isn't really that good";
                }
                break;
            }
            return(ScreenLoadChance);
        }
        private string Lang_GetRandomGameTitle(On.Terraria.Lang.orig_GetRandomGameTitle orig)
        {
            switch (Main.rand.Next(12))
            {
            case 1:
                return("Fascist Terraria: One ruler rules superior.");

            case 2:
                return("Fascist Terraria: Demonstating power since the '40s.");

            case 3:
                return("Fascist Terraria: Mussolini, our beloved.");

            case 4:
                return("Fascist Terraria: Stay in your place.");

            case 5:
                return("Fascist Terraria: Never step out of line.");

            case 6:
                return("Fascist Terraria: 'Democracy is beautiful in theory; in practice it is a fallacy. You in America will see that some day.'");

            case 7:
                return("Fascist Terraria: 'Every anarchist is a baffled dictator.'");

            case 8:
                return("Fascist Terraria: Trust only yourself.");

            case 9:
                return("Fascist Terraria: Get to work!");

            case 10:
                return("Fascist Terraria: One man rules all.");

            default:
                return("Fascist Terraria: Power among men.");
            }
        }
Exemple #3
0
 private string Lang_GetRandomGameTitle(On.Terraria.Lang.orig_GetRandomGameTitle orig)
 {
     return($"Spooky Terraria: {MenuHelper.msgOfTheDay}");
 }