37266 {
37283 {
37285 }
37287 {
37288 player.mouseInterface = true;
37289 player.releaseUseItem = false;
37292 {
37294 }
37296 }
37297 else
37298 {
37300 {
37302 }
37304 }
37307 if (
text.Length > 0)
37308 {
37310 UILinkPointNavigator.Shortcuts.NPCCHAT_ButtonsLeft = true;
37311 }
37313 text = Lang.inter[52].Value;
37321 {
37322 player.mouseInterface = true;
37323 player.releaseUseItem = false;
37326 {
37328 }
37330 }
37331 else
37332 {
37334 {
37336 }
37338 }
37341 if (
text.Length > 0)
37342 {
37344 UILinkPointNavigator.Shortcuts.NPCCHAT_ButtonsMiddle = true;
37345 }
37347 {
37349 UILinkPointNavigator.Shortcuts.NPCCHAT_ButtonsRight = false;
37350 }
37351 else
37352 {
37363 {
37364 player.mouseInterface = true;
37365 player.releaseUseItem = false;
37368 {
37370 }
37372 }
37373 else
37374 {
37376 {
37378 }
37380 }
37384 UILinkPointNavigator.Shortcuts.NPCCHAT_ButtonsRight = true;
37385 }
37387 {
37388 return;
37389 }
37390 if (
Main.player[
myPlayer].currentShoppingSettings.HappinessReport ==
"")
37391 {
37393 UILinkPointNavigator.Shortcuts.NPCCHAT_ButtonsRight2 = false;
37394 return;
37395 }
37406 {
37407 player.mouseInterface = true;
37408 player.releaseUseItem = false;
37411 {
37413 }
37415 }
37416 else
37417 {
37419 {
37421 }
37423 }
37427 UILinkPointNavigator.Shortcuts.NPCCHAT_ButtonsRight2 = true;
37428 }
static void PlaySound(int type, Vector2 position, int style=1)
static Asset< DynamicSpriteFont > MouseText
static string GetTextValue(string key)
static bool npcChatFocus1
static bool npcChatFocus2
static SpriteBatch spriteBatch
static bool npcChatFocus4
static bool npcChatFocus3
static void DrawColorCodedStringShadow(SpriteBatch spriteBatch, DynamicSpriteFont font, TextSnippet[] snippets, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, float maxWidth=-1f, float spread=2f)
static Vector2 DrawColorCodedString(SpriteBatch spriteBatch, DynamicSpriteFont font, TextSnippet[] snippets, Vector2 position, Color baseColor, float rotation, Vector2 origin, Vector2 baseScale, out int hoveredSnippet, float maxWidth, bool ignoreColors=false)
static Vector2 GetStringSize(DynamicSpriteFont font, string text, Vector2 baseScale, float maxWidth=-1f)
static void SetPosition(int ID, Vector2 Position)