Default world data documents? #75
Replies: 1 comment 5 replies
-
|
An alternate approach may be to have the default world all populated by some big C# code that just news up a bunch of Things and their Behaviors and then persists them to the initially-blank DB. This would be easy to diff but would be a lot of code for any sufficiently-sized default world. Another thing to think about is whether |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
As we migrate world data into the default document DB instances (Raven DB), we'll need be thinking about how we populate that initial world data. For comparison, for the current legacy SQLite world data we just copy the SQLite data from the systemdata\Files area to the application data. If we go that route with Raven DB too, we'll want to make sure that works well for that DB type too. I think it will, in general. However, we're also storing our local character data and such in the DB. We'll want to look into ways to "diff" the documents from a proposed PR update of the Raven DB default instance to see what's incoming, and verify there are no "players" and such accidentally stored in said initial DB. (We did this by hand for the SQLite DB but it was by no means trivial and won't be for RavenDB either.)
Some script or something to auto-strip players and such from said default DB before they reach master may be helpful?
Could use some further thought on this area...
Beta Was this translation helpful? Give feedback.
All reactions