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

◆ IsShimmerVariant

bool Terraria.NPC.IsShimmerVariant
get

Definition at line 1404 of file NPC.cs.

1405 {
1406 get
1407 {
1408 if (townNpcVariationIndex == 1)
1409 {
1411 }
1412 return false;
1413 }
1414 }
static bool[] ShimmerTownTransform
If true for a given NPC type (F:Terraria.NPC.type), then that NPC is a town NPC with an alternate shi...
Definition NPCID.cs:482
int townNpcVariationIndex
Definition NPC.cs:500
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

Referenced by Terraria.NPC.AI_007_TownEntities(), and Terraria.NPC.checkDead().