If you just want to do what you explained, I don't think it's too hard. Like if you have predetermined spots etc.
You can just show the spots where you can build with colored events (control them depending on the requirements).
Then have the colored events be a click trigger that brings out pictures of your buildings (different buildings depending on what fits in that event area and which buildings you've unlocked).
Then when you click on a building picture, it sets the event's switch to a page that has an event graphic for that building. It also controls the picture events so that that building won't be shown anymore.
And each building event page is also on click trigger that brings up a choice (among other choices?) "demolish building?" -> If you choose "yes", it will remove the building by changing the event graphic to the "empty" colored image and control the picture event so that the building appears there again.
I've been trying to figure it out but having some difficulties. So this is my basic concept:
1) talk to a person in the world and ask them to come to your town
2) they say they want a particular building there and they will come
3) now you can get a quest from let's say the "DA" to get "DA Approval" for that building.
(Each building will be designated as either Small / Medium / Large)
Example: You receive a key item called "DA Approval - Bakery (small)" or something similar
3) When that quest is done you get Approval and can now build that building on a certain plot of land that is designated Small / Medium / Large
4) Select the block you want, you get a list of all the DA approved buildings you can build that are not currently built in the town
5) pick the building you want, it is constructed after a fade in fade out screen or something similar
6) the person who asked for the building will now disappear from the world as they will now be in the building you just built.
7) you can enter the building - so will need to be able to set the transfer events some how automatically
8) You can choose to "Demolish" a building and if so it will once again appear in the options list for buildings again.
I may just end up going for a simpler setup if I can't get it working. Might just do what I know and have it so you can just build one particular building in just one spot. Not as cool but I know I can make that happen.
Thanks!
That is all doable with switches, self switches and conditional choices. Conditional choices would require a plugin (VisuStella Message Core works).
The first person controls the quest giver to give you a quest.
When the quest is finished, the quest giver controls a switch which adds to the 'show choices' in the empty building spots.
Your building spots show the choices depending on their size and what conditional choices have been activated by quest finish switches. When you choose a building, it controls a self-switch/switch to set the spot graphic to the correct building graphic and also controls a switch that sets the person who asked for the building on an empty sprite page (make them disappear). It also turns off the switch that allowed the building to appear in the conditional choices (the one which was turned on at quest finish).
Each building page is on action button, and the event asks a choice: Enter / Demolish. Enter is just transfer. Demolish returns the building page to the first page without any building graphic. When demolishing, you again turn on the switch that allows the building to show up on the conditional choices. Also when demolishing, you maybe return the character living there to the original map, by controlling their switch also.