forked from JavidPack/Census
-
Notifications
You must be signed in to change notification settings - Fork 0
/
description.txt
11 lines (7 loc) · 1.16 KB
/
description.txt
1
2
3
4
5
6
7
8
9
10
11
Overview:
Census - Town NPC Checklist modifies the housing panel to show missing townspeople. A "✓" signifies that the conditions for spawning that npc have been fulfilled. An "X" means that conditions have not been fulfilled. A "?" means the game hasn't checked Town NPC spawn conditions yet. Hover over it to see the spawn conditions.
Townspeople spawn about 2 minutes after day begins, so the data shown might not be up to date until that check happens. The command "TownProgress" can be used to check available Town NPC from the server console.
You can also hover over Town NPC in the housing menu to see an arrow pointing to their location. This feature can be toggled off in the config.
Mod Support:
Mods can add the condition for their Town NPC easily. Census will add a "Census.SpawnCondition" key to localization files for each Town NPC, use that to supply the spawn condition text.
If a formatted LocalizedText needs to be supplied, call Census.Call("TownNPCCondition", ModContent.NPCType<ExamplePerson>(), ModContent.GetInstance<ExamplePerson>().GetLocalization("Census.SpawnCondition").WithFormatArgs(args)); during Mod.PostSetupContent.