Beispiel #1
0
        public override string BirthdayMessage(Terraria.Player player, TerraGuardian guardian)
        {
            List <string> Mes = new List <string>();

            Mes.Add("I barelly can hold my excitement.");
            if (NpcMod.GetTerraGuardianNPCCount() > 0)
            {
                Mes.Add("Everyone's here for my party, even the TerraGuardians. I'm... I'm going to cry...");
            }
            Mes.Add("You organized all this? You really know what I wanted. Teehee.");
            if (!PlayerMod.HasGuardianBeenGifted(player, guardian.ID, guardian.ModID))
            {
                Mes.Add("You prepared a surprise for me? What is it? What is it?");
            }
            return(Mes[Main.rand.Next(Mes.Count)]);
        }
Beispiel #2
0
        public override string TalkMessage(Terraria.Player player, TerraGuardian guardian)
        {
            List <string> Mes = new List <string>();

            Mes.Add("Say, do you think I need a change in my look?");
            Mes.Add("I keep wondering, what new thing we could add to improve the town.");
            Mes.Add("I have to say, I don't really feel like fitting for adventuring. I think I'm more into meeting new people.");
            if (NpcMod.HasGuardianNPC(GuardianBase.Nemesis))
            {
                Mes.Add("I asked [gn:" + GuardianBase.Nemesis + "] to follow me on an adventure, It followed me almost exactly like I moved. If I ran, It ran too. If I walked, It walked too. I felt so annoyed that I dismissed him.");
            }
            if (NpcMod.GetTerraGuardianNPCCount() >= 10)
            {
                Mes.Add("So many TerraGuardians around! I'm never sad or alone when one of them is around.");
            }
            if (NpcMod.GetTerraGuardianNPCCount() >= 5)
            {
                Mes.Add("I like the company of the TerraGuardians.");
            }
            return(Mes[Main.rand.Next(Mes.Count)]);
        }
Beispiel #3
0
        public override string NormalMessage(Terraria.Player player, TerraGuardian guardian)
        {
            List <string> Mes = new List <string>();

            if (Main.bloodMoon)
            {
                Mes.Add("What now?!");
                Mes.Add("Don't you have anything else to do?");
                Mes.Add("What's with that look? Are you indirectly calling me ugly?!");
            }
            else
            {
                bool HasTerraGuardians = NpcMod.GetTerraGuardianNPCCount() > 0;
                Mes.Add("Oh, checking out? I'm fine, thanks for caring.");
                if (HasTerraGuardians)
                {
                    Mes.Add("This place is like a dream came true!");
                    Mes.Add("I can't stop petting those TerraGuardians, they are soooooooooo cute!!");
                    Mes.Add("How are we able to understand what the TerraGuardians says? It's like as If what they say comes from inside my mind.");
                }
                if (Main.dayTime)
                {
                    if (Main.eclipse)
                    {
                        Mes.Add("What are those things?! They aren't cute at all! Maybe Mothron but... Everything else...");
                    }
                    else
                    {
                        Mes.Add("(As soon as she started singing, several animals started to gather around her.)");
                    }
                }
                else
                {
                    Mes.Add("I surelly would like to get a nap, and enjoy this night.");
                    if (HasTerraGuardians)
                    {
                        Mes.Add("I wonder if any TerraGuardian would let me accompany them during the night.");
                    }
                    Mes.Add("Yawn~ I'm surelly getting sleepy.");
                }
                if (Main.raining)
                {
                    Mes.Add("Eww... Rain... I hope I don't catch flu.");
                    Mes.Add("The weather seems ugly outside.");
                }

                if (NPC.AnyNPCs(Terraria.ID.NPCID.Stylist))
                {
                    Mes.Add("What is wrong with my look? [nn:" + Terraria.ID.NPCID.Stylist + "] keeps making fun of my look.");
                }
                if (NPC.AnyNPCs(Terraria.ID.NPCID.Merchant))
                {
                    Mes.Add("It's absurd that [nn:" + Terraria.ID.NPCID.Merchant + "] doesn't have any Orange or Yellow Potions for sale. Don't he knows that they heal more?");
                }
                if (NPC.AnyNPCs(Terraria.ID.NPCID.Mechanic))
                {
                    Mes.Add("I was kicked out of [nn:" + Terraria.ID.NPCID.Mechanic + "]'s room... She didn't liked when I turned off the light switches after she turned them on...");
                }

                if (NpcMod.HasGuardianNPC(GuardianBase.Rococo))
                {
                    Mes.Add("I like [gn:" + GuardianBase.Rococo + "] because he's so easy to be friend of. Soon We'll be BFF.");
                    Mes.Add("[gn:" + GuardianBase.Rococo + "] took me outside someday to watch a meteor shower, in the top of a mountain. It was so beatiful...");
                }
                if (NpcMod.HasGuardianNPC(GuardianBase.Blue))
                {
                    Mes.Add("I like touching [gn:" + GuardianBase.Blue + "]'s hair, but she seems to not like it when I do that.");
                    Mes.Add("Say, do you think I'll find someone for me? Like [gn:" + GuardianBase.Blue + "] found.");
                }
                if (NpcMod.HasGuardianNPC(GuardianBase.Sardine))
                {
                    Mes.Add("[gn:" + GuardianBase.Sardine + "] has so many interesting adventure stories, I wonder if someday I'll have many stories to tell, too.");
                }
                if (NpcMod.HasGuardianNPC(GuardianBase.Alex))
                {
                    Mes.Add("I keep giving treats to [gn:" + GuardianBase.Alex + "]. He deserves, he's a really good boy, beside one time he stuck my head in the sand when he jumped on me. I think I still have sand in my nose.");
                }
                if (NpcMod.HasGuardianNPC(GuardianBase.Zacks))
                {
                    Mes.Add("[gn:" + GuardianBase.Zacks + "] is so creepy! He's a cute wolf, but creepy.");
                    Mes.Add("I think that [gn:" + GuardianBase.Zacks + "] is actually a good person, but I keep fearing him because he's a Zombie.");
                    Mes.Add("Wasn't zombies supposed to burn during the day? [gn:" + GuardianBase.Zacks + "] seems fine while walking around during the day. At least I saw them burning in another univese.");
                }
                if (NpcMod.HasGuardianNPC(GuardianBase.Brutus))
                {
                    Mes.Add("I broke [gn:" + GuardianBase.Brutus + "]'s seriousness easily by petting his head. He started to purr afterwards, too.");
                    Mes.Add("[gn:" + GuardianBase.Brutus + "]'s stories about the Ether Realm are amazing! I want to meet that place someday.");
                }
                if (NpcMod.HasGuardianNPC(GuardianBase.Bree))
                {
                    Mes.Add("I have a new goal, become BFF of [gn:" + GuardianBase.Bree + "]. Wait, why that face?");
                }
                if (NpcMod.HasGuardianNPC(GuardianBase.Mabel))
                {
                    Mes.Add("Why the male people of your town keeps drooling at [gn:" + GuardianBase.Mabel + "]?");
                    Mes.Add("Miss North Pole contest? Maybe [gn:" + GuardianBase.Mabel + "] could help me get in It too? It sounds fun!");
                }
                if (NpcMod.HasGuardianNPC(GuardianBase.Domino))
                {
                    Mes.Add("Whenever I try petting [gn:" + GuardianBase.Domino + "], he tries to bite my hand.");
                    Mes.Add("Why is [gn:" + GuardianBase.Domino + "] so difficult to deal with?");
                }
                if (NpcMod.HasGuardianNPC(GuardianBase.Leopold))
                {
                    Mes.Add("What a cute bunny [gn:" + GuardianBase.Leopold + "] is. I'd like to hug him so hard!");
                    Mes.Add("[gn:" + GuardianBase.Leopold + "] asked me earlier If I could do a test to check for Hyperactivity. ???");
                    if (!player.Male)
                    {
                        Mes.Add("Do you like touching [gn:" + GuardianBase.Leopold + "]'s tail too? It's soft!");
                    }
                }
                if (NpcMod.HasGuardianNPC(GuardianBase.Vladimir))
                {
                    Mes.Add("You didn't saw me last night? Sorry, I was sleeping on [gn:" + GuardianBase.Vladimir + "]'s arms during the entire night. His hug is warm.");
                    Mes.Add("Everytime [gn:" + GuardianBase.Vladimir + "] hugs someone, he looks very happy and satisfied. I think he really loves that.");
                    Mes.Add("A number of people in the town thinks that [gn:" + GuardianBase.Vladimir + "] hugging people is exquisite, but I saw them being hugged by him too.");
                }
                if (NpcMod.HasGuardianNPC(GuardianBase.Malisha))
                {
                    Mes.Add("I'm trying my best not to hate [gn:" + Malisha + "], but she keeps turning me into a different critter whenever I try to pet her.");
                    Mes.Add("Do you think [gn:" + Malisha + "] hates me? Yeah, I think not too.");
                }
                int GNPCCount = NpcMod.GetTerraGuardianNPCCount();
                if (GNPCCount >= 10)
                {
                    Mes.Add("So many TerraGuardians around! It's like my personal heaven! Thank you! Thank you for finding them!");
                    Mes.Add("I love this place, so many cute and different looking TerraGuardians! This place is my gift!");
                }
                if (GNPCCount >= 5)
                {
                    Mes.Add("There's a lot of TerraGuardians here, I like that! Too many options of things to pet.");
                    Mes.Add("Everywhere I go, I see a TerraGuardian walking around going to some place, or hanging around somewhere. I love It!");
                }
                if (GNPCCount >= 1 && GNPCCount < 5)
                {
                    Mes.Add("I liked to meet the TerraGuardians, I wonder If there are more around.");
                }
                if (guardian.IsPlayerRoomMate(player))
                {
                    Mes.Add("Yes! I can share my room with you. We could play pillow fight sleeping.");
                    Mes.Add("I like having you as a room mate, but I would like having a TerraGuardian more.");
                }
            }
            if (guardian.Downed)
            {
                Mes.Clear();
                Mes.Add("(She's motionless in the floor. She's still breathing.)");
                Mes.Add("(You can notice her trying to endure the pain.)");
            }
            else if (guardian.IsSleeping)
            {
                Mes.Clear();
                Mes.Add("(She's moving her hands, like as if she was petting something.)");
                Mes.Add("(You notice her blushing, and with a happy face, she must be in the middle of many TerraGuardians.)");
            }
            if (FlufflesBase.IsHauntedByFluffles(player) && Main.rand.NextDouble() < 0.75)
            {
                Mes.Clear();
                Mes.Add("Why there is a TerraGuardian on your shoulder?");
            }
            return(Mes[Main.rand.Next(Mes.Count)]);
        }
Beispiel #4
0
        public override string NormalMessage(Player player, TerraGuardian guardian)
        {
            List <string> Mes = new List <string>();

            if (!player.GetModPlayer <PlayerMod>().TutorialDryadIntroduction)
            {
                Main.NewText(guardian.Name + " can help solve your questions. She also may know rummors about companions in your world.", Microsoft.Xna.Framework.Color.LightBlue);
                player.GetModPlayer <PlayerMod>().TutorialDryadIntroduction = true;
            }
            if (MainMod.IsPopularityContestRunning && !Main.bloodMoon)
            {
                Mes.Add("*The TerraGuardians Popularity Contest is running right now. Sorry, but I wont be hosting the event. Seek someone who is.*");
                string Hosts = "";
                if (NpcMod.HasGuardianNPC(Rococo))
                {
                    Hosts += "Rococo";
                }
                if (NpcMod.HasGuardianNPC(Blue))
                {
                    if (Hosts != "")
                    {
                        Hosts += ", ";
                    }
                    Hosts += "Blue";
                }
                if (NpcMod.HasGuardianNPC(Mabel))
                {
                    if (Hosts != "")
                    {
                        Hosts += ", ";
                    }
                    Hosts += "Mabel";
                }
                if (Hosts == "")
                {
                    Mes.Add("*If you're interessed in participating of the popularity contest, I'm saddened to inform you that no known hosts is present in this world.*\n(Check the mod thread or discord server for the voting link.)");
                }
                else
                {
                    Mes.Add("*If you're interessed in participating of the popularity contest, you can speak with those companions to access the voting: " + Hosts + "*");
                }
            }
            if (Main.dayTime)
            {
                if (Main.eclipse)
                {
                    Mes.Add("*Those creatures... They doesn't seem native from here. Where are they coming from?*");
                    Mes.Add("*Be careful [nickname], they look tough.*");
                }
                else if (!Main.raining)
                {
                    Mes.Add("*This weather is so perfect. Want some lecturing?*");
                    Mes.Add("*What a fine day. Need something, [nickname]?*");
                    Mes.Add("*This sun will do wonders to my fur.*");
                }
                else
                {
                    Mes.Add("*I guess I should stay home...*");
                    Mes.Add("*Hm... I wonder when the rain will go away...*");
                    Mes.Add("*Need some questions cleared? The rain may turn the explanation less tedious.*");
                }
            }
            else
            {
                if (Main.bloodMoon)
                {
                    Mes.Add("*Grrr... Blood Moons makes female citizens angry. I don't know why, so don't ask!*");
                    Mes.Add("*I'm... Not in the mood of talking... I don't think I can answer questions right now...*");
                    Mes.Add("*Leave me be...*");
                }
                else if (!Main.raining)
                {
                    Mes.Add("*Just a few more time until I can get some sleep.*");
                    Mes.Add("*I think I have some time to answer some questions. What troubles your mind?*");
                    Mes.Add("*You came to visit me. Are you planning on doing a pillow fight?*");
                }
                else
                {
                    Mes.Add("*Aahhh... This will go nice with hours of sleep...*");
                    Mes.Add("*This is the perfect time of day to rain. Sleeping with the rain sound, and the cold air around is so great.*");
                    Mes.Add("*Need my aid in something?*");
                }
            }
            if (!Main.bloodMoon)
            {
                Mes.Add("*Any question you have, feel free to talk. I may have a answer to it.*");
                Mes.Add("*Sometimes I hear from people rumors of people around the world. They may be useful if you want to meet new people.*");
                Mes.Add("*Yes? Do you need something?*");
                Mes.Add("*I was expecting to see you!*");
                Mes.Add("*What can " + guardian.Name + " help you with?*");
                if (NpcMod.HasGuardianNPC(guardian.ID))
                {
                    Mes.Add("*I'm so happy that you let me live here. I love staying here with you Terrarians.*");
                }
                {
                    int TgNppCount = NpcMod.GetTerraGuardianNPCCount();
                    if (TgNppCount < 5)
                    {
                        Mes.Add("*I feel a little weird that there's not many people like me around. It's like as if I'm out of place.*");
                    }
                    else
                    {
                        if (TgNppCount >= 20)
                        {
                            Mes.Add("*Wow! There's a lot of TerraGuardians living here! It feel like I'm back home. I thank you for this.*");
                        }
                        else if (TgNppCount >= 10)
                        {
                            Mes.Add("*There's quite a number of TerraGuardians living in your world. I'm glad to see you Terrarians and TerraGuardians are living well together.*");
                        }
                        else
                        {
                            Mes.Add("*I like seeing that there's people like me living here. Don't get me wrong, I like being around Terrarians, but I don't really feel out of place when people like me are in the world.*");
                        }
                    }
                }

                if (guardian.IsUsingToilet)
                {
                    Mes.Clear();
                    Mes.Add("*Yes, I can answer your questions, at least as long as you don't stare at me doing my business.*");
                    Mes.Add("*It is really embarrassing having someone watch you when you're.... You know what... People will not like being talked to while... Doing that.*");
                    Mes.Add("*Sorry, but you're distracting me from what I'm doing right now. Can't we speak later?*");
                }
                else if (guardian.IsSleeping)
                {
                    Mes.Clear();
                    Mes.Add("(She seems to be sleeping comfortably, beside the way she sleeps doesn't look like it...)");
                    Mes.Add("(You can hear her snoring softly.)");
                    Mes.Add("(She's speaking about a number of things during her sleep. She seems to be dreaming about tutoring someone.)");
                }
                else
                {
                    if (guardian.IsPlayerRoomMate(player))
                    {
                        Mes.Add("*I'm really happy for having a room mate, but I don't know if we can share the same bed.*");
                        Mes.Add("*Don't worry, I can leave the beds tidy until sleep time.*");
                    }
                    if (NpcMod.HasGuardianNPC(Rococo))
                    {
                        Mes.Add("*I'm so happy that you let [gn:" + Rococo + "] stay around so many nice people, he deserves that.*");
                        Mes.Add("*I know [gn:" + Rococo + "], he's from my home town. People never cared about him, and he never managed to find a lair for him there. Only I gave him some affection some times.*");
                    }
                    if (NpcMod.HasGuardianNPC(Blue))
                    {
                        Mes.Add("*I really like talking with [gn:" + Blue + "], she never makes me bored when talking to her.*");
                        Mes.Add("*Just like [gn:" + Blue + "], I also care about my look. I just don't have long hair like she has.*");
                    }
                    if (NpcMod.HasGuardianNPC(Zacks))
                    {
                        Mes.Add("*Oh my, what happened to [gn:" + Zacks + "]?*");
                        Mes.Add("*I know [gn:" + Zacks + "] vaguelly, since I used to visit where he lived to collect some herbs.*");
                        Mes.Add("*I think... I think [gn:" + Zacks + "] has been stalking around my house during the night. I hope I'm wrong.*");
                    }
                    if (NpcMod.HasGuardianNPC(Alex))
                    {
                        Mes.Add("*What a cute doggie you managed to get to your world. I really love petting [gn:" + Alex + "]'s belly.*");
                    }
                    if (NpcMod.HasGuardianNPC(Mabel))
                    {
                        Mes.Add("*I don't mean to brag, but I wont one edition of Miss North Pole once. Maybe I can help [gn:" + Mabel + "] win an edition of it.*");
                        Mes.Add("*I didn't really needed to practice hard to participate of Miss North Pole. I think [gn:" + Mabel + "] is exagerating a bit.*");
                    }
                    if (NpcMod.HasGuardianNPC(Leopold))
                    {
                        Mes.Add("*Do you know about [gn:" + Leopold + "]? He's a really famous sage from the Ether Realm. Anyone knows him, but I only managed to talk to him when he moved to Terra Realm.*");
                        Mes.Add("*If you manage to get [gn:" + Leopold + "]'s mind focused on the discussion, I would be impressed.*");
                    }
                    if (NpcMod.HasGuardianNPC(Malisha))
                    {
                        Mes.Add("*If you ever wondered what a witch looks like, just look at [gn:" + Malisha + "]. Or at least she does look like one.*");
                        Mes.Add("*Why does [gn:" + Malisha + "] likes so much to wear nothing?*");
                    }
                    if (NpcMod.HasGuardianNPC(Fluffles))
                    {
                        Mes.Add("*At first, I was really scared about having [gn:" + Fluffles + "] around, but then I found out she's really nice.*");
                    }
                    if (NpcMod.HasGuardianNPC(Minerva))
                    {
                        Mes.Add("*I really love the food [gn:" + Minerva + "] makes, but I wish she cooked more things that don't have fat.*");
                    }
                    if (NpcMod.HasGuardianNPC(Liebre))
                    {
                        Mes.Add("*It seems like we got a \'grimm\' company on this world... I'm now expecting news of people death for some reason.*");
                        Mes.Add("*I know that [gn:" + Liebre + "] said that he didn't came here to kill us but... I don't feel very safe knowing he's around.*");
                    }
                    if (NpcMod.HasGuardianNPC(Alexander))
                    {
                        if (AlexanderBase.HasAlexanderSleuthedGuardian(player, guardian.ID))
                        {
                            Mes.Add("*How did [gn:" + Alexander + "] managed to know many things about me? I never spoke to anyone about most of it.*");
                        }
                        Mes.Add("*I really don't like people spying on me. If you can tell that to [gn:" + Alexander + "], I would be grateful.*");
                    }
                    if (NpcMod.HasGuardianNPC(Miguel))
                    {
                        Mes.Add("*It's really good to have [gn:" + Miguel + "] around. He's going to help me get fit.*");
                        Mes.Add("*Yes, I'm doing the exercises daily. Tell [gn:" + Miguel + "] to stop sending people to tell me that.*");
                    }
                    if (NpcMod.HasGuardianNPC(Cinnamon))
                    {
                        Mes.Add("*Oh my, [gn:" + Cinnamon + "] is so cute, that everytime I see her I want to hug.*");
                        Mes.Add("*I really wouldn't mind carrying [gn:" + Cinnamon + "] around. She's so cute that would look like I'm carrying a teddy.*");
                    }
                    if (NpcMod.HasGuardianNPC(Green))
                    {
                        Mes.Add("*Beside [gn:" + Green + "] has a menacing face, he's actually a good doctor. Visit him whenever you feel sick or hurt.*");
                    }
                    if (NpcMod.HasGuardianNPC(Cille))
                    {
                        Mes.Add("*I tried visitting [gn:" + Cille + "], but she always refuses my company. I even tried to make her cheer up. Beside she giggled a bit, she turned cold later, and told me to go away.*");
                        Mes.Add("*The other day I was lunching, until I noticed [gn:" + Cille + "] watching. I offered some to her, and she quickly gobbled up my food. I think she must have been really hungry.*");
                    }
                }
            }
            return(Mes[Main.rand.Next(Mes.Count)]);
        }