36378 {
36380 {
36382 return;
36383 }
36391 {
36392 NPC.RerollDryadText = 1;
36393 }
36395 {
36396 NPC.RerollDryadText = 0;
36398 NPC.PreventJojaColaDialog = true;
36399 }
36400 if (
num2 && !
NPC.PreventJojaColaDialog)
36401 {
36403 }
36408 bool flag3 =
false;
36410 {
36413 {
36415 {
36417 }
36418 else
36419 {
36421 }
36423 }
36425 {
36427 }
36429 }
36431 spriteBatch.Draw(
TextureAssets.
ChatBack.Value,
new Vector2(
screenWidth / 2 -
TextureAssets.
ChatBack.Width() / 2, 100f),
new Microsoft.
Xna.
Framework.
Rectangle(0, 0,
TextureAssets.
ChatBack.Width(), (
amountOfLines + 1) * 30), color, 0f,
default(
Vector2), 1f,
SpriteEffects.None, 0f);
36432 spriteBatch.Draw(
TextureAssets.
ChatBack.Value,
new Vector2(
screenWidth / 2 -
TextureAssets.
ChatBack.Width() / 2, 100 + (
amountOfLines + 1) * 30),
new Microsoft.
Xna.
Framework.
Rectangle(0,
TextureAssets.
ChatBack.Height() - 30,
TextureAssets.
ChatBack.Width(), 30), color, 0f,
default(
Vector2), 1f,
SpriteEffects.None, 0f);
36434 {
36437 {
36439 {
36441 }
36443 {
36445 }
36446 else
36447 {
36449 }
36450 }
36451 }
36457 {
36459 }
36460 UIVirtualKeyboard.OffsetDown =
num3;
36462 {
36464 position -= Vector2.One * 8f;
36470 {
36472 }
36475 {
36477 }
36479 {
36482 {
36484 {
36486 }
36488 {
36490 }
36491 }
36493 }
36494 }
36500 for (
int j = 0;
j <
Player.maxBuffs;
j++)
36501 {
36504 {
36506 }
36507 }
36508 if (
NPC.downedGolemBoss)
36509 {
36511 }
36512 else if (
NPC.downedPlantBoss)
36513 {
36515 }
36516 else if (
NPC.downedMechBossAny)
36517 {
36519 }
36521 {
36523 }
36524 else if (
NPC.downedBoss3 ||
NPC.downedQueenBee)
36525 {
36527 }
36528 else if (
NPC.downedBoss2)
36529 {
36531 }
36532 else if (
NPC.downedBoss1)
36533 {
36535 }
36537 {
36539 }
36541 string text2 =
null;
36542 string text3 =
null;
36544 {
36546 }
36548 {
36552 {
36554 }
36555 }
36557 {
36559 }
36561 {
36564 {
36566 }
36567 }
36569 {
36571 }
36573 {
36576 }
36578 {
36580 }
36582 {
36584 }
36586 {
36588 }
36590 {
36593 }
36595 {
36597 }
36599 {
36601 }
36603 {
36606 {
36608 }
36609 }
36611 {
36614 }
36616 {
36619 {
36621 }
36622 }
36624 {
36626 {
36628 }
36629 }
36631 {
36634 }
36636 {
36638 {
36640 }
36641 else
36642 {
36649 taxMoney = (int)((
double)taxMoney /
player[
myPlayer].currentShoppingSettings.PriceAdjustment);
36650 if (taxMoney < 0)
36651 {
36652 taxMoney = 0;
36653 }
36655 if (taxMoney >= 1000000)
36656 {
36657 num7 = taxMoney / 1000000;
36658 taxMoney -=
num7 * 1000000;
36659 }
36660 if (taxMoney >= 10000)
36661 {
36662 num8 = taxMoney / 10000;
36663 taxMoney -=
num8 * 10000;
36664 }
36665 if (taxMoney >= 100)
36666 {
36667 num9 = taxMoney / 100;
36668 taxMoney -=
num9 * 100;
36669 }
36670 if (taxMoney >= 1)
36671 {
36673 }
36675 {
36677 }
36679 {
36681 }
36683 {
36685 }
36687 {
36689 }
36692 {
36694 }
36696 {
36698 }
36700 {
36702 }
36703 else if (
num10 > 0)
36704 {
36706 }
36708 {
36710 }
36711 else
36712 {
36715 }
36720 {
36722 }
36724 }
36725 }
36727 {
36735 {
36737 }
36739 {
36741 }
36743 if (
num16 >= 1000000)
36744 {
36747 }
36748 if (
num16 >= 10000)
36749 {
36752 }
36754 {
36757 }
36759 {
36761 }
36763 {
36765 }
36767 {
36769 }
36771 {
36773 }
36775 {
36777 }
36780 {
36782 }
36783 else if (
num13 > 0)
36784 {
36786 }
36787 else if (
num14 > 0)
36788 {
36790 }
36791 else if (
num15 > 0)
36792 {
36794 }
36796 {
36798 }
36799 else
36800 {
36803 }
36804 }
36805 if (!flag)
36806 {
36809 {
36816 }
36817 }
36819 {
36820 return;
36821 }
36823 {
36825 }
36827 {
36828 return;
36829 }
36834 {
36836 }
36838 {
36840 {
36842 {
36844 }
36845 else
36846 {
36848 }
36849 }
36851 {
36853 }
36855 {
36858 bool flag4 =
false;
36860 {
36863 {
36866 {
36868 }
36873 }
36874 }
36877 {
36880 {
36881 NetMessage.SendData(75);
36882 }
36883 else
36884 {
36886 }
36888 }
36889 }
36891 {
36893 }
36895 {
36897 }
36899 {
36901 }
36903 {
36905 }
36907 {
36909 {
36911 }
36912 else
36913 {
36914 NetMessage.SendData(51, -1, -1,
null,
myPlayer, 1f);
36915 }
36917 }
36919 {
36921 }
36923 {
36925 }
36927 {
36929 }
36931 {
36933 }
36935 {
36937 }
36939 {
36941 }
36943 {
36945 }
36947 {
36949 }
36951 {
36953 }
36955 {
36957 }
36959 {
36961 }
36963 {
36965 }
36967 {
36969 }
36971 {
36973 }
36975 {
36977 }
36979 {
36981 }
36983 {
36985 }
36987 {
36989 }
36991 {
36993 }
36995 {
36997 }
36999 {
37002 }
37004 {
37006 {
37010 {
37013 {
37018 {
37019 NetMessage.SendData(21, -1, -1,
null,
number, 1f);
37020 }
37021 continue;
37022 }
37024 {
37029 {
37030 NetMessage.SendData(21, -1, -1,
null,
number2, 1f);
37031 }
37032 continue;
37033 }
37035 {
37040 {
37041 NetMessage.SendData(21, -1, -1,
null,
number3, 1f);
37042 }
37043 continue;
37044 }
37047 {
37049 }
37053 {
37054 NetMessage.SendData(21, -1, -1,
null,
number4, 1f);
37055 }
37056 }
37059 }
37060 else
37061 {
37063 }
37064 }
37065 else
37066 {
37068 {
37069 return;
37070 }
37073 {
37075 {
37080 {
37082 }
37084 {
37086 }
37088 {
37090 }
37091 else
37092 {
37094 }
37096 for (
int l = 0;
l <
Player.maxBuffs;
l++)
37097 {
37100 {
37103 }
37104 }
37105 }
37106 else
37107 {
37110 {
37112 }
37114 {
37116 }
37118 {
37120 }
37121 }
37122 }
37123 else
37124 {
37127 {
37129 }
37131 {
37132 case 0:
37134 break;
37135 case 1:
37137 break;
37138 case 2:
37140 break;
37141 }
37142 }
37143 }
37144 }
37146 {
37150 }
37151 else
37152 {
37154 {
37155 return;
37156 }
37158 {
37162 {
37163 NPC.PreventJojaColaDialog = true;
37164 NPC.RerollDryadText = 2;
37167 {
37168 NetMessage.SendData(144);
37169 }
37170 else
37171 {
37172 NPC.HaveDryadDoStardewAnimation();
37173 }
37175 }
37177 {
37179 }
37180 }
37182 {
37187 }
37189 {
37195 }
37197 {
37203 }
37205 {
37207 }
37209 {
37215 {
37218 {
37220 }
37224 }
37226 }
37228 {
37232 }
37234 {
37236 }
37237 }
37238 }
bool ICollection< KeyValuePair< TKey, TValue > >. Contains(KeyValuePair< TKey, TValue > keyValuePair)
static void PlaySound(int type, Vector2 position, int style=1)
static void HandleNurseService(int coinsSpent)
static void HandleAnglerService()
static void HandleSpecialEvent(Player player, int eventID)
static Asset< DynamicSpriteFont > MouseText
static Asset< Texture2D > ChatBack
static string GenerateTag(Item I)
static bool[] NurseCannotRemoveDebuff
static readonly int Count
static bool[] ExoticPlantsForDyeTrade
static readonly LegacySoundStyle Item4
static string GetTextValue(string key)
void PrepareCache(string text)
static bool drawingPlayerChat
static bool npcChatFocus1
static bool npcChatFocus2
static string npcChatText
static int npcChatCornerItem
static SpriteBatch spriteBatch
static bool anglerQuestFinished
static bool CanDryadPlayStardewAnimation(Player player, NPC npc)
static void SubmitSignText()
void OpenShop(int shopIndex)
static int cursorOverride
static void DrawNPCChatButtons(int superColor, Microsoft.Xna.Framework.Color chatColor, int numLines, string focusText, string focusText3)
static void CloseNPCChatOrSign()
static bool mouseLeftRelease
static bool npcChatFocus4
static byte mouseTextColor
static void OpenHairWindow()
static bool InReforgeMenu
static List< string > anglerWhoFinishedToday
static void OpenPlayerChat()
static bool InGuideCraftMenu
static bool TOWMusicUnlocked
static UnifiedRandom rand
TextDisplayCache _textDisplayCache
static bool npcChatFocus3
static bool playerInventory
static void GetItemDrawFrame(int item, out Texture2D itemTexture, out Microsoft.Xna.Framework.Rectangle itemFrame)
static Player LocalPlayer
void MouseText(string cursorText, int rare=0, byte diff=0, int hackedMouseX=-1, int hackedMouseY=-1, int hackedScreenWidth=-1, int hackedScreenHeight=-1, int pushWidthX=0)
static int[] anglerQuestItemNetIDs
static bool AddChatText(DynamicSpriteFont font, string text, Vector2 baseScale)
static Vector2 DrawColorCodedStringWithShadow(SpriteBatch spriteBatch, DynamicSpriteFont font, TextSnippet[] snippets, Vector2 position, float rotation, Vector2 origin, Vector2 baseScale, out int hoveredSnippet, float maxWidth=-1f, float spread=2f)
static Vector2 GetStringSize(DynamicSpriteFont font, string text, Vector2 baseScale, float maxWidth=-1f)
static void GoToDefaultPage(int specialFlag=0)
static void OpenVirtualKeyboard(int keyboardContext)
static void DrawMoney(SpriteBatch sb, string text, float shopx, float shopy, int[] coinsArray, bool horizontal=false)
bool Contains(int x, int y)