tModLoader

tModLoader

127 ratings
Scaling Crowdedness
2
   
Award
Favorite
Favorited
Unfavorite
Mod Features: Quality Of Life
Mod Side: Both
tModLoader Version: 1.4.3, 1.4.4
Language: English
File Size
Posted
Updated
113.526 KB
26 Jun, 2023 @ 8:56pm
28 Sep, 2023 @ 7:03pm
7 Change Notes ( view )

Subscribe to download
Scaling Crowdedness

Description
Scaling Crowdedness is a simple mod that increases the number of Town NPCs that can be near each other before the crowding happiness penalty starts. The increase is based on how many Town NPCs are loaded. This means you can have more Town NPCs living near each other without having prices raised.
This mod also has config options to change the distance between Town NPCs' housing flags that will count them as being close neighbors.

Vanilla behavior:
  • >= 4 npcsWithinHouse causes prices to be multiplied by 1.05
  • 4-5 npcsWithinHouse shows the DislikeCrowded text.
  • >= 6 npcsWithinHouse shows the HateCrowded text.
  • There are 26 Town NPCs in vanilla.

This mod changes it so after 30 Town NPCs, every 10 additional Town NPCs loaded will increase the thresholds by 1.

Example: 30 Town NPCs loaded:
  • >= 5 npcsWithinHouse causes prices to be multiplied by 1.05
  • 6-7 npcsWithinHouse shows the DislikeCrowded text.
  • >= 8 npcsWithinHouse shows the HateCrowded text.

Example: 40 Town NPCs loaded:
  • >= 6 npcsWithinHouse causes prices to be multiplied by 1.05
  • 7-8 npcsWithinHouse shows the DislikeCrowded text.
  • >= 9 npcsWithinHouse shows the HateCrowded text.

This mod has a few commands to show information:

/sc
  • TownNPCChat <true/false>
    Town NPCs will say how many other Town NPCs are near them in chat.
    Example: /sc TownNPCChat true
  • EnterWorld <true/false>
    The new thresholds will be displayed in chat when entering a world.
    Example: /sc EnterWorld true
  • GetThreshold
    Displays the current threshold in chat.
    Example: /sc GetThreshold
Originally posted by tModLoader:
Developed By Rijam
22 Comments
MRAvatarMaker | #FixTF2 6 Jun @ 5:00pm 
you are a gift from god
thetyrantlord 20 Apr @ 12:23pm 
this mod rocks for the npc mods i have, is it also multiplayer compatible?
Rijam  [author] 7 Apr @ 7:06pm 
@Zer0colo Must be a conflict with another mod. Do you mind joining my Discord server and posting your client.log file? https://discord.gg/t63JzNHzvu
Zer0colo 7 Apr @ 1:49pm 
The mod isn't working for me for some reason. Even when I max out the starting limit to 11, npcs still stop saying the non-crowded quotes and raising prices. I used the "show number of neighbors when talking to npc" option to make sure it wasn't the lack of the solitude bonus instead, the problem is with crowding. The mod just seems to not be changing the crowded value.
For now I just halved the crowding distance and the prices went down, so that works fine.
Vercinger 22 Mar @ 5:22am 
This is wonderful, thank you! I was absolutely not on board with the new direction the devs took with basically forcing the player to split the NPCs into tiny groups scattered all over. If not for mods I would have to revert to an older version of the game.
libero2711 5 Sep, 2023 @ 4:35am 
eq. stop stalking me
Madcat 22 Aug, 2023 @ 1:26pm 
Since I've installed a bunch of NPC mods with the intent of building a town that'll house them all, this is the perfect addition to my playthrough :steamthumbsup:
aw hell nah man💀 17 Aug, 2023 @ 5:00am 
awsome
Nahuelwg 19 Jul, 2023 @ 2:21pm 
top tier mod
thegrayninja 4 Jul, 2023 @ 10:36am 
Thanks!