tModLoader

tModLoader

4,946 ratings
Census - Town NPC Checklist
5
5
4
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod Features: Utilities, Quality Of Life
Mod Side: Both
tModLoader Version: 1.4.3, 1.4.4
File Size
Posted
Updated
221.661 KB
19 Dec, 2021 @ 11:24pm
19 Feb @ 9:01pm
14 Change Notes ( view )

Subscribe to download
Census - Town NPC Checklist

Description


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.

Links
Source code hosted on GitHub[github.com], collaboration welcome
For questions or suggestions, come to my Discord: [discord.gg]
Bug reports in the comments here will not be seen, come to Discord or Github to report issues.
If you'd like to support my mods, I have a Patreon [www.patreon.com]
Check out all my mods
Originally posted by tModLoader Census:
Developed By jopojelly
Popular Discussions View All (1)
5
9 Jan @ 6:51am
Bug reports
GreenStar
113 Comments
Люблю АлиночкуХвощ(и немного ксенофила)
TheLegendofZachary 11 May @ 12:42am 
I would quite like a config option to black out sprites and names of undiscovered NPCs(similar to the spawn conditions toggle, but with sprites/name) so I am not spoiled for what a mod has. Boss checklist has a progressive mode, and I would like to see a similar treatment for this mod. Regardless, I really like that this mod has been made: thank you for making my non-content playthroughs so much less wiki-necessary!
Wyneus 8 May @ 10:27pm 
Hello, is there any way to reduce the load on the PC, because if we are in multiplayer with a lot of mods, when we enter a new world, when we press the Win+F8 keys, and when we press the keys again, the problem is visible, please respond.
Bigus Dickus 14 Apr @ 5:39pm 
hey does anyone know if there is a fix to the bug when you have too many npcs?
The Mighty Pillow 8 Apr @ 7:37am 
Overlapping
Ava J Taylor 20 Feb @ 10:11am 
add a search bar, please
笑落 5 Feb @ 11:18am 
66666666666
a bucket. 25 Jan @ 5:37pm 
I was told by the creator of the Stram's classes mod that we can get the Paladin NPC here, is this true?
俱往矣 22 Jan @ 10:54pm 
good
izak 21 Jan @ 12:32pm 
it's overlaping under the normal ncp's WEIRT