Exactly! I thought it would be way too much trouble to put the same event for every house in one single map. Also thanks for the plugin.
I hope the plugin is helpful for you. I'd love to hear about it if it is. I made it a loooooong time ago, but you'd be the first other dev (next to myself) that works with it.
You're already making paltry events on each of those to transfer back to the main map, it seems trivial to simply copy and paste one more.
True... But lets say you have indeed 100 buildings to go in and out and all of them have an event that lets you go outside, and you use those to add/remove the state.
But what if you already have a city with 100 buildings and you want to add this state thing later? Then you need to adjust all those transfer events. Right? Even if you put the commands in a common event, you still have to add that common event into all 100 buildings, and also into all 100+ doors that lead to those 100 buildings.
And then you made a mistake... You accidentally triggered the wrong state... Instead of happy, your character is now on fire. Then you can redo all those events again.
😛
Like, I think it would take less time to copy and paste it 100 times than to type out the code for it
Well... On this I have to disagree.
😛 See, that little piece of code, you only have to write once. But the issue where you want to trigger certain actions on a bulk of maps, that might happen more often in a single project. And every time you want to chance something, you have to revisit all those events again.
---
An alternative would be Yanfly's YEP_EventCopier.js which would copy events on the same or other maps. Then when you made a mistake, you only have to chance 1 event, and the rest will automatically be changed too. But in this case, since it needs to be triggered on transfer, I would recommend my own plugin instead.