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

◆ AllowDoorInteraction

bool [] Terraria.ID.NPCID.Sets.AllowDoorInteraction
static

Whether or not this NPC can still interact with doors if they use the Vanilla TownNPC aiStyle (AKA aiStyle == 7) but are not actually marked as Town NPCs (AKA npc.townNPC == true).

Note: This set DOES NOT DO ANYTHING if your NPC doesn't use the Vanilla TownNPC aiStyle (aiStyle == 7).

Definition at line 660 of file NPCID.cs.

Referenced by Terraria.ID.NPCID.Sets.Sets(), and Terraria.NPC.AI_007_TownEntities().