Setting UpdateDatabase Order

Sneaks

Brooklyn Bum
Joined
Oct 15, 2010
Messages
1,877
Location
NYC
Is there a way to reorganize the order in which UpdateDatabase entries occur without deleting every single entry and readding them in the order I want? I have over 50 entries, so this is really unappealing.
 
You shouldn't need to, because XML doesn't handle things that well. If you have multiple Updates within the same mod trying to set/modify the same entry, it'll break. (Whichever file contains the second attempt to update that entry will be ignored. And by "ignored" I mean that the OTHER updates within that same file will also not work.) So what do you have where the order would matter?
 
Its a combined modpack, which does several things to existing tables, including fully deleting then recreating the MinorCivilizations table, and altering Buildings.xml and Units.xml. These changes need to happen before I have reference calls to various values in these tables in other xml/sql files.

I could rightly just combine every sql and xml that affect the files in question, but that would make any future updates to one of the component mods a horrible nightmare.
 
Back
Top Bottom