Esempio n. 1
0
        public static void UpdateShop()
        {
            if (!ShopOpen)
            {
                return;
            }
            for (int r = 0; r < Main.numAvailableRecipes; r++)
            {
                Main.availableRecipeY[r] = 2000;
            }
            PlayerMod pm = MainPlayer.GetModPlayer <PlayerMod>();

            if (!Main.playerInventory)
            {
                GuardianMouseOverAndDialogueInterface.CloseDialogue();
                //MainPlayer.GetModPlayer<PlayerMod>().IsTalkingToAGuardian = false;
                ShopOpen = false;
                return;
            }
        }
Esempio n. 2
0
 private void FailResult()
 {
     GuardianMouseOverAndDialogueInterface.CloseDialogue();
     ChangeStep(202);
 }
Esempio n. 3
0
 public static void CloseDialogue()
 {
     GuardianMouseOverAndDialogueInterface.CloseDialogue(LastSpeaker);
 }