Sora_92
Terrarian
That's an interesting idea, but there are a few problems with it. While traveling merchant and skeleton merchant take up no housing slot, they spawn on their own, where and when they want. The player has no real power to move them elsewhere, because they can't be housed in a house.I didn't read everything so I don't know if this was mentioned or not. If you are looking to keep the decorative NPCs from taking up official NPCs housing spots you could still make them NPCs. Just copy coding from the Bone Merchant or Traveling Merchant so that they stick around town but do not take up a housing slot. If there is a time expiration variable, you could eliminate it or set it to infinite so they don't despawn. Only challenge may be is keeping them from being part of an event if they are linked to one. Don't know I've never looked into these guys before at that level.
They would be friendly to NPCs/player, count towards the town size, and attack hostile creatures.
Their behavious is very interesting, and I originally thought to have the professor behave similarly, appearing randomly on the surface or near, but I couldn't figure out how to get that to work, so I just went with a normal town NPCs.
These deco NPCs (furnitures that look like NPCs) aren't perfect, they could be spiced up with animations and the like, but, these can be placed where the player wants them, so, in that regards, this offers a much better control over them. As one of their main function is to make builds look livelier, it's good I think, that it's up to the player, where to place them.
There is another curious thing I would like to tinker with though - but I would need help with that, because I don't know a lot about coding - if you know Chad's Furnitures Mod, there are a few very special furnitures, like the rabbit hole and the birdhouses, which spawn entities that look exactly like the bunny/bird critters that are immune to attacks, and loiter around the furniture that spawned them.
If the same code could be used with town NPC-like entities, it would allow to have guards who walk around. questionable whether they could be talked to, etc., but I'm sure they could at least move around.
There is another tiny little problem with that too though. NPCs spritesheets. Town NPCs have TONS of sprites, so, like, for example, a zombie has like 3-4 or so sprites, a town NPC has like 15-20. They are quite a big pain to sprite, because of the crazy amount of sprites they have, ensuring smooth movement, and that they can do all sorts of thing, besides walking, like blink, talk, raise their hand (they do that ocassionally when talking, etc. and when playing rock paper scissors), sit, and attack.
It's a real lot of work, so while it would be wonderful to have moving variants of guards, making such variant for all would be a real lot of work (especially that I don't really have a team for the mod. if I would have a team, then, spriting some walking guards, etc. might wouldn't be out of the picture though.
I'm also interested in guard "pets" and such, but I would need with that too...