Пример #1
0
        public override string NormalMessage(Player player, TerraGuardian guardian)
        {
            List <string> Mes = new List <string>();

            Mes.Add("since I joined you I feel that I have become more powerful, if we continue like this soon we will be unstoppable.");
            Mes.Add("my master was a great sorcerer, I miss him a lot since I got here.");
            Mes.Add("what? What do you mean I look like a clown?.");
            Mes.Add("I am a bunny, not a rabbit or a hare, learn to distinguish them.");
            Mes.Add("this hat and this robe were gifts from my Master for my birthday.");
            Mes.Add("I am amazed at the amount of mysteries that still remain to be unveiled in this new world.");

            if (Main.bloodMoon)
            {
                Mes.Add("Did the moon just turn red? I hope nothing bad happens tonight.");
                Mes.Add("What are those scary things? as if zombies weren't bad enough.");
                Mes.Add("even the water looks scary tonight.");
            }
            if (Main.eclipse)
            {
                Mes.Add("The only thing that terrifies me more than a dark night is when it's just as dark during the day.");
                Mes.Add("You saw the size of that thing, I hope it doesn't come any closer to us.");
                Mes.Add("some of these monsters look like the ones in horror movies my master used to watch.");
            }
            switch (Main.invasionType)
            {
            case Terraria.ID.InvasionID.PirateInvasion:
                Mes.Add("I always knew that the Pale Pirate would come seeking revenge for stealing his treasure.");
                Mes.Add("don't let the Pale Pirate capture me please.");
                break;
            }
            if (guardian.GetTileCount(Terraria.ID.TileID.MinecartTrack) > 0)
            {
                Mes.Add("this reminds me when me and my master got on the Tricky Train to try to stop it before it fell off a ravine.");
            }
            if (guardian.HasNpcBeenSpotted(Terraria.ID.NPCID.Guide))
            {
                Mes.Add("That man always dresses in such a boring way, wasn't there more striking clothes in his closet?.");
            }
            if (guardian.HasNpcBeenSpotted(Terraria.ID.NPCID.Merchant))
            {
                Mes.Add("I love that old man, he is very nice to me and he sells that blue juice that makes me feel like I regain my powers with every sip.");
            }
            if (guardian.HasNpcBeenSpotted(Terraria.ID.NPCID.Wizard))
            {
                Mes.Add("Finally i find another wizard here, I hope that he is willing to teach me more about magic.");
            }
            if (NpcMod.HasGuardianNPC(Leopold))
            {
                Mes.Add("when i asked leopold if he wanted to help me my magic show, he didn't speak to me for a week, I don't know why he got so upset.");
                Mes.Add(" Is nice to see another bunny after so much time");
            }
            if (Terraria.GameContent.Events.BirthdayParty.PartyIsUp)
            {
                Mes.Add("I really love parties, nothing better than filling my stomach with cake.");
            }
            bool Forest = guardian.ZoneOverworldHeight;

            if (guardian.ZoneHoly)
            {
                Forest = false;
                Mes.Add("Hmm those colorful trees look like cotton candy, can I try one?.");
                Mes.Add("I tried to pet one of those unicorns and it almost attacked me with its horn.");
            }
            if (guardian.ZoneCorrupt || guardian.ZoneCrimson)
            {
                Forest = false;
                Mes.Add("this place looks even more scary than forest on night.");
                Mes.Add("I feel very observed and not in a good way.");
            }
            if (guardian.ZoneSnow)
            {
                Forest = false;
                Mes.Add("with this cold my mustache freezes.");
                Mes.Add("Brrr... my robe is not thick enough to shelter me from this cold.");
            }
            if (guardian.ZoneJungle)
            {
                Forest = false;
                Mes.Add("why are we here? It is full of carnivorous plants and bats everywhere.");
            }
            if (guardian.ZoneDungeon)
            {
                Mes.Add("this place only brings back bad memories.");
            }
            if (Forest)
            {
                Mes.Add("I always try to talk to the rabbits around here but they seem to be very shy.");
            }
            if (Main.raining)
            {
                Mes.Add("If I can't find a place to shelter from this rain, my robe will shrink.");
            }

            return(Mes[Main.rand.Next(Mes.Count)]);
        }