コード例 #1
0
 public override string GetChat()
 {
     if (HuggingPlayer > -1)
     {
         if (HugPassed)
         {
             return("*I'm feeling a lot better now, but I have a request for you. Can I move in to your world? Maybe there are some other people who need my help.*");
         }
         return("*I still need some more hug.*");
     }
     else if (HugPassed)
     {
         return("*Now that I put you on the floor, can I move in to your world? Maybe there are some people who need my help.*");
     }
     else if (PlayerHasVladimir)
     {
         RequestTaken = RequestComplete = true;
         return("*Hello Terrarian. It's me, the marsupial bear of the hugs. I were travelling around the world trying to find other places that could use my help, the only luck I had was bumping into you on the way. You know what you need to do to have me move into this world.*");
     }
     else if (RequestComplete)
     {
         return("*I'm all fed now, but I need to feel the warmth of another body. Can you give me a hug?*");
     }
     else if (RequestTaken)
     {
         return("*My belly is still complaining... Did you got some more " + FishName + "?*");
     }
     else
     {
         if (PlayerMod.ControlledIsTerraGuardian(Main.player[Main.myPlayer]))
         {
             return("*You're a TerraGuardian! No, wait... You're a Terrarian controlling a TerraGuardian! That Guardian must really like you to allow you to do that. Could you help me? I'm hungry and I need some fish to eat...*");
         }
         return("*Woah! You're a Terrarian? Amazing! Can you help me? I'm hungry, but I can't seem to be able to get some fish...*");
     }
 }