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

◆ isLikeATownNPC

bool Terraria.NPC.isLikeATownNPC
get

Definition at line 1528 of file NPC.cs.

1529 {
1530 get
1531 {
1533 {
1534 return true;
1535 }
1536 return townNPC;
1537 }
1538 }
static bool[] ActsLikeTownNPC
Whether or not a given NPC will act like a town NPC in terms of AI, animations, and attacks,...
Definition NPCID.cs:628
int type
The NPC ID of this NPC. The NPC ID is a unique number assigned to each NPC loaded into the game....
Definition NPC.cs:990
bool townNPC
Definition NPC.cs:1174

Referenced by Terraria.NPC.AI_007_TownEntities(), Terraria.ModLoader.NPCLoader.FindFrame(), Terraria.DataStructures.NPCFollowState.ShouldSync(), and Terraria.NPC.VanillaFindFrame().