Changing tiles on a map?

For my game I’ve been planning, I wanted you start in a rundown town map, it’s the hub where you will spend most of your time in. Over time, I want to recruit npcs to the town and help upgrade the town over the course of the game. I know I can just create multiple copies of the same map but add little changes for each map, such as I recruit a blacksmith to my town so the next time in in town he would set up shop which was not there before I recruited him.

Now here is what makes it complicated for what I want to achieve. My recruiting process isn’t linear, I want it so I can recruit any npc I find out in the wild in any order I want. So let’s say I want to recruit the alchemist first instead of the blacksmith, even if the blacksmith is the first person I meet, how do I achieve different variables in the town map. Like do my first play through, if I recruit alchemist first the town map would change to have an alchemist shop, and since I havnt recruited the blacksmith yet, there is no blacksmith shop yet, but in my next play through I want to recruit the blacksmith first, so the town has the blacksmith shop but no alchemist shop yet

So that’s kind of what I want to achieve

Are there any plugins that can achieve this? only MZ plugins as FOSSIL isnt working anymore so cant use MV plugins
There are lots of ways you could achieve this.

It sounds like your core goal is that you want to be able to build buildings on the map. You could do this with events – just make each building an event (an extra-large event that covers several tiles), and it shows up when the correct switch is active. By default this would mean the building has no collision, but perhaps you could find a plugin that modifies an event's collision box.

Or, you could do this by manually changing the tiles on the map, one by one, in an event. This is a bit tricky, so I wouldn't really recommend it. I could go into more details if you're really interested though.

Or, you could do this with a plugin that can essentially "copy-paste" a chunk from one map to another. In MV I was using a plugin by EST that does this. I don't know if there are any plugins for MZ that do it.
The Shaz Tilechanger is a really versatile plugin for such use-cases.

Original thread: https://forums.rpgmakerweb.com/threads/changing-tiles-on-a-map.183382/