EasyRPG / Player

RPG Maker 2000/2003 and EasyRPG games interpreter
https://easyrpg.org/player/
GNU General Public License v3.0
989 stars 185 forks source link

Feature Request - modDB file #3145

Open jetrotal opened 11 months ago

jetrotal commented 11 months ago

From time to time we receive requests to change exclusive database parameters. The approach to that always varies from:

I'm thinking about a better approach that may be easier to implement in the short term: An extra modDB file that inject custom parameters while the .ldb/.edb files are read.

E.g.: If someone wants to customize their easyrpg_disable_row_feature, they would create a ModDB file and add the following line:

LDB.Database.battlecommands.BattleCommands.easyrpg_disable_row_feature = "F"

After that, every time a game starts, somewhere near ReadLcf() or parseXml(), the current entry for easyrpg_disable_row_feature will be located and replaced with the value pointed inside the ModDB file.