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

◆ CanTownNPCSpawn()

virtual bool Terraria.ModLoader.ModNPC.CanTownNPCSpawn ( int numTownNPCs)
inlinevirtual

Whether or not the conditions have been met for this town NPC to be able to move into town. For example, the Demolitionist requires that any player has an explosive.

Parameters
numTownNPCs
Returns

Definition at line 665 of file ModNPC.cs.

666 {
667 return false;
668 }