Friends, in my MV game i have built an old town that was destroyed by a war. My idea is to be able to restore the town one building at a time as i earn the correct amount needed for each building. How do i go about displaying each repaired building on the town map as i repair them ? Do i need to make new maps for every repair ?
Also the town will have 4 shops and after i repair them i want them to each generate a daily income that increases with each upgrade.
How would i go about making these things work ? Please, any help is very much welcomed and needed.
while theoretically you can use multiple maps, that would limit the order in which buildings are restored.
the other way however is to use a plugin to gain a change tile function, and then modify the map with that function for each building restored. This will require a complicated event however as you need to modify the buildings one tile a time.
depending on your personal skills you might still want to go by duplicating maps as this would make a lot of things easier (different simple events depending on map instead of complex events for every option)
I found a great tutorial on this on Youtube.
If you search "How to add player housing you can upgrade" it will teach you the basics, you can then apply that to your village rather than a house.
While it would be possible to make a map for every possible repair, I'd recommend using events for the buildings. You can have the first page without conditions display the tile for the damaged building and the second page display the tile for the repaired building. On the second page you set some switch as a condition.
Once the player repairs that particular building you can turn that switch on.
For the daily income you can simply increase a variable every time the player repairs a building. Every new day (whatever that means in your game) you can then add an amount of gold equal to that variable.