Definition at line 745 of file EmoteBubble.cs.
746 {
749 {
755 }
756 else if (
nPC.type == 18)
757 {
762 }
763 else if (
nPC.type == 19)
764 {
765 if (
other !=
null && ((NPC)
other.entity).type == 22)
766 {
771 }
772 else if (
other !=
null && ((NPC)
other.entity).type == 22)
773 {
778 }
779 else
780 {
787 }
788 }
789 else if (
nPC.type == 20)
790 {
791 if (
list.Contains(121))
792 {
795 }
798 }
799 else if (
nPC.type == 22)
800 {
801 if (!Main.bloodMoon)
802 {
803 if (
other !=
null && ((NPC)
other.entity).type == 19)
804 {
809 }
810 else
811 {
813 }
814 }
815 if (!Main.dayTime)
816 {
820 }
821 }
822 else if (
nPC.type == 37)
823 {
829 }
830 else if (
nPC.type == 38)
831 {
832 if (Main.bloodMoon)
833 {
838 }
839 else
840 {
848 }
849 }
850 else if (
nPC.type == 54)
851 {
852 if (Main.bloodMoon)
853 {
857 }
858 else
859 {
860 if (
list.Contains(111))
861 {
863 }
865 }
866 }
867 else if (
nPC.type == 107)
868 {
869 if (
other !=
null && ((NPC)
other.entity).type == 124)
870 {
880 }
881 else
882 {
883 if (
list.Contains(111))
884 {
888 }
893 }
894 }
895 else if (
nPC.type == 108)
896 {
900 }
902 {
903 if (
other !=
null && ((NPC)
other.entity).type == 107)
904 {
913 return;
914 }
915 if (
list.Contains(109))
916 {
920 }
921 if (
list.Contains(108))
922 {
924 if (Main.hardMode)
925 {
928 }
929 else
930 {
933 }
934 }
937 }
938 else if (
nPC.type == 142)
939 {
945 }
946 else if (
nPC.type == 160)
947 {
952 }
953 else if (
nPC.type == 178)
954 {
957 }
958 else if (
nPC.type == 207)
959 {
963 }
964 else if (
nPC.type == 208)
965 {
970 }
971 else if (
nPC.type == 209)
972 {
977 }
978 else if (
nPC.type == 227)
979 {
982 }
983 else if (
nPC.type == 228)
984 {
989 }
990 else if (
nPC.type == 229)
991 {
997 }
998 else if (
nPC.type == 353)
999 {
1000 if (
list.Contains(104))
1001 {
1004 }
1005 if (
list.Contains(111))
1006 {
1009 }
1011 }
1012 else if (
nPC.type == 368)
1013 {
1017 }
1018 else if (
nPC.type == 369)
1019 {
1020 if (!Main.bloodMoon)
1021 {
1028 if ((
double)
nPC.position.Y < Main.worldSurface)
1029 {
1031 }
1032 }
1033 }
1034 else if (
nPC.type == 453)
1035 {
1040 }
1041 else if (
nPC.type == 441)
1042 {
1049 }
1050 }
References Terraria.GameContent.UI.EmoteBubble.anchor, Terraria.Main.bloodMoon, Terraria.Main.dayTime, Terraria.GameContent.UI.WorldUIAnchor.entity, Terraria.Main.hardMode, System.list, System.other, and Terraria.Main.worldSurface.
Referenced by Terraria.GameContent.UI.EmoteBubble.PickNPCEmote().