Outside Database Creation

So I have been thinking a lot about Database. Is there a way to create items in game that would be recorded inside that database (after creating the game).

Say for example, originally the game has 4 items namely:

Healing Drink, Hadron Collider, Super Collider, Cup of Coffee.

You left database item ids 5, 6, 7 and 8 free for this matter.

Now, later inside the game you wanted to add a Toxic Heal item. Can you script that so when you leave it free when you compress the game and have someone play it, that script generates an item via a script call / event and record that into the database which normally had 4 items inside?

I am asking this as to this might be helpful making non-existent items inside the game.
Yes, there are several approaches.


I prefer to simply store the custom data with the save file and then add it to the database whenever you load the game.


Examples that create data during gameplay


http://himeworks.com/custom-database


http://himeworks.com/instance-items
Edit:

Thanks Hime. I was about to ask about Actors but your script does it all. Thanks!
you can also get a little more 'inventive' and start doing things like storing a unique item (weapon actor etc..) inside some document or something, you can then simply script it so that your game reads the document and adds the item to the game.

this can be used for things like "bonus dlc" or whatever..

Can then start encrypting the data your transmitting to avoid it being 'abused' by people who realize you can open it in notepad....

LOL maybe im getting carried away...
By the way, just to add things out, how about storing only actors? I want to store actors (using the Custom Database / or not using) and add them in the empty actors id, however based on comments. Is there a way to grab the details on the comment and convert them as details of the actor to be added on the database?
yes, simply parse the comments and use the results to determine the stats/features of the item you are creating.
yes, simply parse the comments and use the results to determine the stats/features of the item you are creating.
That I still don't know, sadly >_<

Original thread: https://forums.rpgmakerweb.com/threads/outside-database-creation.24144/