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

◆ CheckConditions()

virtual bool Terraria.ModLoader.ModNPC.CheckConditions ( int left,
int right,
int top,
int bottom )
inlinevirtual

Allows you to define special conditions required for this town NPC's house. For example, Truffle requires the house to be in an aboveground mushroom biome.

Parameters
left
right
top
bottom
Returns

Definition at line 678 of file ModNPC.cs.

679 {
680 return true;
681 }