Resource database structures
* Added structures for resource definitions, natural resources definitions, resource providers, empire resources and empire mining settings (both empire-wide and planet-specific). * Added a few common utility functions to the SQL test suite. These functions allow test initialisation to be a little shorter. * Added "MINE" production type and an associated building definition. The production will not be added to the XML dump or to the output of the planets summary page, as this is extremely temporary.
This commit is contained in:
parent
631f49fb86
commit
4e1bb91780
20 changed files with 2223 additions and 2 deletions
legacyworlds-server-main/data
|
@ -5,6 +5,9 @@
|
|||
<building name="milFactory" description="milFactoryDescription" type="WORK" output="1" workers="200">
|
||||
<cost build="100" upkeep="10" work="4800" />
|
||||
</building>
|
||||
<building name="mine" description="mineDescription" type="MINE" output="1" workers="50">
|
||||
<cost build="100" upkeep="10" work="4800" />
|
||||
</building>
|
||||
<building name="turret" description="turretDescription" type="DEF" output="10" workers="5">
|
||||
<cost build="40" upkeep="2" work="600" />
|
||||
</building>
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
<xs:enumeration value="DEF" />
|
||||
<xs:enumeration value="POP" />
|
||||
<xs:enumeration value="WORK" />
|
||||
<xs:enumeration value="MINE" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
|
|
|
@ -99,6 +99,12 @@ ${text}
|
|||
<value>Technology has advanced. The ultimate weapon is now available. Claim the awesome power of the Dreadnought and crush your enemies. Ever wanted a tank in space? Well, now you have it. All their base are belong to you.</value>
|
||||
</inline-string>
|
||||
|
||||
<inline-string id="mine">
|
||||
<value>Mine</value>
|
||||
</inline-string>
|
||||
<inline-string id="mineDescription">
|
||||
<value>Exactly what it says on the cover. Not the exploding kind, though. Even if that happens from time to time, anyway.</value>
|
||||
</inline-string>
|
||||
<inline-string id="milFactory">
|
||||
<value>Ship parts factory</value>
|
||||
</inline-string>
|
||||
|
@ -613,6 +619,12 @@ ${text}
|
|||
<value>La technologie a évolué. L'arme ultime est maintenant disponible. Revendiquez la puissance écrasante du cuirassé et pulvérisez vos opposants. Déjà rêvé d'un tank de l'espace ? Eh bien, maintenant, vous l'avez. All their base are belong to you.</value>
|
||||
</inline-string>
|
||||
|
||||
<inline-string id="mine">
|
||||
<value>Mine</value>
|
||||
</inline-string>
|
||||
<inline-string id="mineDescription">
|
||||
<value>Exactement ce qu'il y a marqué sur l'emballage. Enfin, ce n'est pas la variété qui explose. Même si parfois ça se produit quand même.</value>
|
||||
</inline-string>
|
||||
<inline-string id="milFactory">
|
||||
<value>Fabrique de pièces de vaisseaux</value>
|
||||
</inline-string>
|
||||
|
|
Reference in a new issue