Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsNotReallyTownNPC()

bool Terraria.GameContent.ShopHelper.IsNotReallyTownNPC ( NPC npc)
inlineprivate

Definition at line 386 of file ShopHelper.cs.

387 {
388 int type = npc.type;
389 if (type == 37 || type == 368 || type == 453)
390 {
391 return true;
392 }
393 return false;
394 }

References System.type, and Terraria.NPC.type.

Referenced by Terraria.GameContent.ShopHelper.GetNearbyResidentNPCs(), and Terraria.GameContent.ShopHelper.ProcessMood().