Adding database contents to save

ロリ先輩

ロリだけど先輩だよ
Veteran
Joined
Mar 13, 2012
Messages
379
Reaction score
96
Primarily Uses
How non-trivial would it be to add data from the database into the save file, and then load it from there instead of going to the database instead, when restoring from the save? I'm looking into such functionality to handle creating instances of items, as to allow for new instances of an item to be created, modified (enchanting, using different material properties...etc) in a crafting system, and then destroyed afterwards.

The biggest thing that jumps out to me right now is how to efficiently search and delete within the item list, and how much bloat it might add to each save file. At the current moment, it seems like cleaning and resorting the list each time an item is destroyed is going to be expensive, so I'm thinking it might be effective to insert some sort of token as the item name to indicate that the item ID isn't in use and can be overwritten?

Any ideas to improve the idea, or even any reasons why it might or might not work might help. Thankies.
 

Iavra

Veteran
Veteran
Joined
Apr 9, 2015
Messages
1,797
Reaction score
863
First Language
German
Primarily Uses
DoubleX has a plugin named Dynamic Data, that stores database data in savefiles and loads them from there. Shouldn't be too hard to find.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,853
Messages
1,016,986
Members
137,561
Latest member
visploo100
Top