Resource definitions

* Added a few resource definitions and the corresponding strings. While
the descriptions are blank, and resource definitions themselves are
incomplete (relations to e.g. technologies are missing), this should
allow easier testing of the rest of the resources system.
This commit is contained in:
Emmanuel BENOîT 2012-01-24 14:49:23 +01:00
parent f4a16aa431
commit 775426347a
2 changed files with 134 additions and 8 deletions

View file

@ -519,6 +519,56 @@ It was disbanded.</value>
<inline-string id="imBugReportUpdateEmpire"> <inline-string id="imBugReportUpdateEmpire">
<value>Bug report ${bug} has been updated by the owner of empire ${submitter}.</value> <value>Bug report ${bug} has been updated by the owner of empire ${submitter}.</value>
</inline-string> </inline-string>
<!-- Resource categories -->
<inline-string id="rcMinerals">
<value>Mineral resources</value>
</inline-string>
<!-- Resource names and descriptions -->
<inline-string id="rnMoney">
<value>Money</value>
</inline-string>
<inline-string id="rdMoney">
<value>(Get Doug or Rendesh to write this)</value>
</inline-string>
<inline-string id="rnTitanium">
<value>Titanium</value>
</inline-string>
<inline-string id="rdTitanium">
<value>(Get Doug or Rendesh to write this)</value>
</inline-string>
<inline-string id="rnCopper">
<value>Copper</value>
</inline-string>
<inline-string id="rdCopper">
<value>(Get Doug or Rendesh to write this)</value>
</inline-string>
<inline-string id="rnStrentium">
<value>Strentium</value>
</inline-string>
<inline-string id="rdStrentium">
<value>(Get Doug or Rendesh to write this)</value>
</inline-string>
<inline-string id="rnDororhium">
<value>Dororhium</value>
</inline-string>
<inline-string id="rdDororhium">
<value>(Get Doug or Rendesh to write this)</value>
</inline-string>
<inline-string id="rnNothentium">
<value>Nothentium</value>
</inline-string>
<inline-string id="rdNothentium">
<value>(Get Doug or Rendesh to write this)</value>
</inline-string>
</language> </language>
@ -1039,6 +1089,55 @@ Elle a été dissoute.</value>
<inline-string id="imBugReportUpdateEmpire"> <inline-string id="imBugReportUpdateEmpire">
<value>Le rapport de bug ${bug} a été mis à jour par le propriétaire de l'empire ${submitter}.</value> <value>Le rapport de bug ${bug} a été mis à jour par le propriétaire de l'empire ${submitter}.</value>
</inline-string> </inline-string>
<!-- Resource categories -->
<inline-string id="rcMinerals">
<value>Minéraux</value>
</inline-string>
<!-- Resource names and descriptions -->
<inline-string id="rnMoney">
<value>Monaie</value>
</inline-string>
<inline-string id="rdMoney">
<value>(À traduire quand il y aura une version anglaise)</value>
</inline-string>
<inline-string id="rnTitanium">
<value>Titane</value>
</inline-string>
<inline-string id="rdTitanium">
<value>(À traduire quand il y aura une version anglaise)</value>
</inline-string>
<inline-string id="rnCopper">
<value>Cuivre</value>
</inline-string>
<inline-string id="rdCopper">
<value>(À traduire quand il y aura une version anglaise)</value>
</inline-string>
<inline-string id="rnStrentium">
<value>Strentium</value>
</inline-string>
<inline-string id="rdStrentium">
<value>(À traduire quand il y aura une version anglaise)</value>
</inline-string>
<inline-string id="rnDororhium">
<value>Dororhium</value>
</inline-string>
<inline-string id="rdDororhium">
<value>(À traduire quand il y aura une version anglaise)</value>
</inline-string>
<inline-string id="rnNothentium">
<value>Nothentium</value>
</inline-string>
<inline-string id="rdNothentium">
<value>(À traduire quand il y aura une version anglaise)</value>
</inline-string>
</language> </language>

View file

@ -1,17 +1,44 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<lw-resources xmlns="http://www.deepclone.com/lw/b6/m2/resources" <lw-resources xmlns="http://www.deepclone.com/lw/b6/m2/resources"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.deepclone.com/lw/b6/m2/resources xsi:schemaLocation="http://www.deepclone.com/lw/b6/m2/resources resources.xsd">
resources.xsd">
<basic-resource name="money" description="moneyDescription" <basic-resource name="rnMoney" description="rdMoney"
weight="0" /> <!-- This could have a category="" as well --> weight="1" />
<natural-resource name="titanium" description="titaniumDescription" <natural-resource name="rnTitanium" description="rdTitanium"
category="minerals" weight="1" presence-probability="0.8"> category="rcMinerals" weight="1" presence-probability="0.5">
<quantity average="5000" deviation="1500" /> <quantity average="50000" deviation="5000" />
<difficulty average="0.1" deviation="0.05" /> <difficulty average="0.1" deviation="0.05" />
<recovery average="0.4" deviation="0.05" /> <recovery average="0.2" deviation="0.05" />
</natural-resource>
<natural-resource name="rnCopper" description="rdCopper"
category="rcMinerals" weight="2" presence-probability="0.6">
<quantity average="75000" deviation="7500" />
<difficulty average="0.15" deviation="0.075" />
<recovery average="0.2" deviation="0.05" />
</natural-resource>
<natural-resource name="rnStrentium" description="rdStrentium"
category="rcMinerals" weight="3" presence-probability="0.3">
<quantity average="30000" deviation="5000" />
<difficulty average="0.4" deviation="0.1" />
<recovery average="0.15" deviation="0.05" />
</natural-resource>
<natural-resource name="rnDororhium" description="rdDororhium"
category="rcMinerals" weight="4" presence-probability="0.1">
<quantity average="15000" deviation="2500" />
<difficulty average="0.7" deviation="0.15" />
<recovery average="0.15" deviation="0.05" />
</natural-resource>
<natural-resource name="rnNothentium" description="rdNothentium"
category="rcMinerals" weight="5" presence-probability="0.05">
<quantity average="10000" deviation="2500" />
<difficulty average="0.85" deviation="0.15" />
<recovery average="0.1" deviation="0.05" />
</natural-resource> </natural-resource>
</lw-resources> </lw-resources>