Fix the data of "Zero"-Objects

At several places, a default setting is linked to special behaviour - these places I call the "Zero"-Objects.


And a lot of the support problems comes from users changing those data without knowing that it is absolutely needed. If the users are unable to change that data (if the data is fixed to the required values) that would help a lot.


Here is a list:


1) Make the first B tile passability fixed to Star


I think there is no explanation needed here ;-)


2) Make switch 001 always off and name it so


001 is the default switch when changing common events to autorun or parallel process. If a user does this experimentally and forgets about it, he'll get lag or freeze when he tries to use that switch for something else.


Additionally, that would give scripts/plugins a default setting that needs to be changed instead of the users forgetting to set an unused switch and get double effects later


3) Make variable 001 always zero and name it so


There is no existing default use for that variable, but it will help with the plugin settings
While I agree for the star passability on B, I'm not sure fixing the first switch and the first variable would be a good idea. I am specifically using both of them differently from their initial purpose. When you are creating a common event, you only have to be careful of what you're doing. Also, you cannot set the first switch as default switch for plugins, as in that case several plugins would try to use the same switch, which would cause compatibility issues.
 Also, you cannot set the first switch as default switch for plugins, as in that case several plugins would try to use the same switch, which would cause compatibility issues.
No it wouldn't have compatibility issues - because the switch would always be off and couldn't be controlled, it would simply result in that part of the plugin feature being permanently off, forcing the user to configure the plugins correctly.
In my opinion, making 1st switch always off and making 1st variable always zero are too different from previous versions of RPG Maker MV & series and they may cause unnecessary confusion to the user.


By the way, I agree for the star passability on B too.
You can simply set the default value of your plugin switch to -1, which will effectively always return false, forcing the user to pick a switch, if they want to use that feature.


/edit: The same goes for variables. By trying to read the variable "-1", you will get 0 (undefined || 0), which makes a good default value.
I agree with B tile as permanent star passability too. But the rest I think I can't agree with due to potential issues. I'll put it in one of the tasks.

Original thread: https://forums.rpgmakerweb.com/threads/fix-the-data-of-zero-objects.55758/