![]() |
tModLoader v2024.07
A mod to make and play Terraria mods
|
Static Public Attributes | |
static bool[] | CannotBeDrawnInHousingUI = Factory.CreateBoolSet(21, 80) |
If true for a given NPC head ID, then that NPC head will never be drawn in the housing UI. More... | |
static SetFactory | Factory = new SetFactory(NPCHeadLoader.NPCHeadCount) |
|
static |
If true
for a given NPC head ID, then that NPC head will never be drawn in the housing UI.
ModNPCs with ModNPC.TownNPCStayingHomeless set to true
will also not draw their heads in the housing UI.
You can get an NPC's head ID using GameContent.TownNPCProfiles.GetHeadIndexSafe(NPC) and ContentSamples.NpcsByNetId.