Skip to content

Commit

Permalink
Standard treasure values
Browse files Browse the repository at this point in the history
  • Loading branch information
gmoromisato committed Nov 29, 2017
1 parent 8ed663d commit 3d30db6
Show file tree
Hide file tree
Showing 14 changed files with 42 additions and 71 deletions.
4 changes: 2 additions & 2 deletions TransCore/CentauriWarlords.xml
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@
</Ships>

<Items>
<Group value="600">
<Group value="standard:level=1:x=0.8">
<Item chance="80" count="1d6" item="&itCentauriRice;"/>
<Lookup chance="50" table="&trStdTreasure;"/>
</Group>
Expand Down Expand Up @@ -865,7 +865,7 @@
</Ships>

<Items>
<Group value="1300">
<Group value="standard:level=2:x=1.3">
<Item chance="80" count="2d6" item="&itCentauriRice;"/>
<Lookup table="&trStdTreasure;"/>
</Group>
Expand Down
12 changes: 6 additions & 6 deletions TransCore/CharonPirates.xml
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@
</Ships>

<Items>
<Group value="1000">
<Group value="standard:level=2">
<Item count="2d8" item="&itKM100Missile;" />
<Lookup table="&trStdTreasure;"/>
</Group>
Expand Down Expand Up @@ -710,7 +710,7 @@
</Ships>

<Items>
<Group value="750">
<Group value="standard:level=1">
<Lookup table="&trStdTreasure;"/>
</Group>
</Items>
Expand Down Expand Up @@ -813,7 +813,7 @@
</Reinforcements>

<Items>
<Group value="4000">
<Group value="standard:level=3:x=2.5">
<Item count="2d8" item="&itKM100Missile;" />
<Lookup table="&trStdTreasure;"/>
</Group>
Expand Down Expand Up @@ -914,7 +914,7 @@
</Ships>

<Items>
<Group levelValue="750, 1000, 1500, 2000, 4000, 8000, 16000, 32000, 64000, 128000">
<Group value="standard">
<Item count="2d8" item="&itKM100Missile;" />
<Lookup table="&trStdLevelTreasure;"/>
</Group>
Expand Down Expand Up @@ -1009,7 +1009,7 @@
</Reinforcements>

<Items>
<Group levelValue="750, 1000, 1500, 2000, 4000, 8000, 16000, 32000, 64000, 128000">
<Group value="standard">
<Item count="2d8" item="&itKM100Missile;" />
<Lookup table="&trStdLevelTreasure;"/>
</Group>
Expand Down Expand Up @@ -1104,7 +1104,7 @@
</Reinforcements>

<Items>
<Group levelValue="750, 1000, 1500, 2000, 4000, 8000, 16000, 32000, 64000, 128000">
<Group value="standard">
<Item count="2d8" item="&itKM100Missile;" />
<Lookup table="&trStdLevelTreasure;"/>
</Group>
Expand Down
2 changes: 1 addition & 1 deletion TransCore/DeathDrugsCartel.xml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
</Ships>

<Items>
<Group value="1500">
<Group value="standard:level=4:x=0.75">
<Lookup chance="30" count="1d2" table="&trStationSupplies;"/>
<Lookup chance="30" count="1d4" table="&trMedicalItem;"/>
<Item chance="50" count="1d4" item="&itDeathDrugs;" />
Expand Down
8 changes: 4 additions & 4 deletions TransCore/DwargRaiders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@
</Reinforcements>

<Items>
<Group value="4000">
<Group value="standard:level=4:x=2">
<Lookup table="&trStdTreasure;"/>
</Group>
</Items>
Expand Down Expand Up @@ -558,7 +558,7 @@
</Reinforcements>

<Items>
<Group value="8000">
<Group value="standard:level=5:x=2">
<Lookup table="&trStdTreasure;"/>
</Group>
</Items>
Expand Down Expand Up @@ -642,7 +642,7 @@
</Reinforcements>

<Items>
<Group value="8000">
<Group value="standard:level=5">
<Lookup table="&trStdTreasure;"/>
</Group>
</Items>
Expand Down Expand Up @@ -716,7 +716,7 @@
</Reinforcements>

<Items>
<Group value="35000">
<Group value="standard:level=6:x=5">
<Lookup table="&trStdTreasure;"/>
</Group>
</Items>
Expand Down
2 changes: 1 addition & 1 deletion TransCore/Heliotropes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
<!-- Trade and Items -->

<Items>
<Group value="5200">
<Group value="standard:level=4:x=2.5">
<Item count="3d12" item="&itHelium3FuelRod;"/>
<Item count="3d12" item="&itHeliotropeFuel;"/>
<Lookup chance="50" table="&trStdTreasure;"/>
Expand Down
2 changes: 1 addition & 1 deletion TransCore/Huari.xml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@

<Items>
<Item count="20d20" item="&itSuperconductingCoil;"/>
<Group value="20000">
<Group value="standard:level=6:x=2.5">
<Lookup table="&trStdTreasure;"/>
</Group>
</Items>
Expand Down
2 changes: 1 addition & 1 deletion TransCore/Marauders.xml
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@

<Items>
<Lookup count="1d3" table="&trStationSupplies;"/>
<Group value="10000">
<Group value="standard:level=5:x=2.5">
<Lookup table="&trStdTreasure;"/>
</Group>
</Items>
Expand Down
32 changes: 4 additions & 28 deletions TransCore/Mining.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,40 +49,16 @@

<ItemTable unid="&tbAsteroidOre;">
<LocationCriteriaTable>
<Group criteria="*metallicComp"
levelValue="
100, 160, 250, 500, 1000,
2000, 4000, 8000, 16000, 32000,
64000, 128000, 256000, 512000, 1000000,
2000000, 4100000, 8200000, 16400000, 32800000"
>
<Group criteria="*metallicComp" value="standard:x=0.30">
<RandomItem criteria="* +ore; -notStandard; +metallicComp;" levelFrequency="systemLevel:vruuc|c|cuurv" />
</Group>
<Group criteria="*organicComp"
levelValue="
100, 160, 250, 500, 1000,
1750, 3000, 5300, 9250, 16500,
30000, 53000, 96000, 175000, 315000,
580000, 1100000, 2000000, 3800000, 7200000"
>
<Group criteria="*organicComp" value="standard:x=0.20">
<RandomItem criteria="* +ore; -notStandard; +organicComp;" levelFrequency="systemLevel:vruuc|c|cuurv" />
</Group>
<Group criteria="*rockyComp"
levelValue="
100, 160, 250, 500, 1000,
2000, 4000, 8000, 16000, 32000,
64000, 128000, 256000, 512000, 1000000,
2000000, 4100000, 8200000, 16400000, 32800000"
>
<Group criteria="*rockyComp" value="standard:x=0.30">
<RandomItem criteria="* +ore; -notStandard; +rockyComp;" levelFrequency="systemLevel:vruuc|c|cuurv" />
</Group>
<Group criteria="*waterComp"
levelValue="
100, 160, 250, 500, 1000,
1750, 3000, 5300, 9250, 16500,
30000, 53000, 96000, 175000, 315000,
580000, 1100000, 2000000, 3800000, 7200000"
>
<Group criteria="*waterComp" value="standard:x=0.20">
<RandomItem criteria="* +ore; -notStandard; +waterComp;" levelFrequency="systemLevel:vruuc|c|cuurv" />
</Group>
</LocationCriteriaTable>
Expand Down
10 changes: 5 additions & 5 deletions TransCore/OutlawMiners.xml
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@
<!-- Trade and Items -->

<Items>
<Group value="1100">
<Group value="standard:level=2">
<Item count="2d6" item="&itTitaniumOre;"/>
<Lookup chance="80" table="&trStdTreasure;"/>
</Group>
Expand Down Expand Up @@ -427,7 +427,7 @@
<!-- Trade and Items -->

<Items>
<Group value="1300">
<Group value="standard:level=3">
<Item count="2d6" item="&itPalladiumOre;"/>
<Lookup chance="50" table="&trStdTreasure;"/>
</Group>
Expand Down Expand Up @@ -540,7 +540,7 @@
<!-- Trade and Items -->

<Items>
<Group value="1800">
<Group value="standard:level=4">
<Item count="2d6" item="&itCeralloyOre;"/>
<Lookup chance="25" table="&trStdTreasure;"/>
</Group>
Expand Down Expand Up @@ -650,7 +650,7 @@
<!-- Trade and Items -->

<Items>
<Group value="4000">
<Group value="standard:level=5">
<Item count="3d8" item="&itDuralloyOre;"/>
<Lookup chance="25" table="&trStdTreasure;"/>
</Group>
Expand Down Expand Up @@ -776,7 +776,7 @@
<!-- Trade and Items -->

<Items>
<Group value="7600">
<Group value="standard:level=6">
<Item count="2d6" item="&itPteracniumOre;"/>
<Lookup chance="50" table="&trStdTreasure;"/>
</Group>
Expand Down
2 changes: 1 addition & 1 deletion TransCore/Outlaws.xml
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@
<Ship class="&scT31ArmedTransport;" count="1d2" orders="gateOnThreat">
<Items>
<Item chance="50" count="6d20" item="&itSmartCannonShell;"/>
<Group value="2000">
<Group value="standard:level=3:x=1.3">
<Lookup count="1d2+1" table="&trIllegalItems2;"/>
<Lookup chance="50" count="1" table="&trStdTreasure;"/>
</Group>
Expand Down
2 changes: 1 addition & 1 deletion TransCore/Penitents.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<!-- Trade and Items -->

<Items>
<Group value="4000">
<Group value="standard:level=5">
<Table>
<Lookup chance="20" count="1d4" table="&trStationSupplies;" />
<Lookup chance="40" count="1" table="&trHaloGems;"/>
Expand Down
4 changes: 2 additions & 2 deletions TransCore/Sapiens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@
</Ships>

<Items>
<Group value="1800">
<Group value="standard:level=3:x=1.3">
<Item chance="50" count="1d4" item="&itFusionTrigger;"/>
<Item chance="50" count="1d6" item="&itRadioactiveWaste;"/>
<Lookup table="&trStdTreasure;"/>
Expand Down Expand Up @@ -288,7 +288,7 @@
</Ships>

<Items>
<Group value="4000">
<Group value="standard:level=4:x=2.0">
<Item chance="60" count="2d8" item="&itXM300Missile;"/>
<Item chance="70" count="4d8" item="&itFusionTrigger;"/>
<Item chance="60" count="2d6" item="&itRadioactiveWaste;"/>
Expand Down
27 changes: 11 additions & 16 deletions TransCore/StdTypes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,12 +172,7 @@
</ItemTable>

<ItemTable UNID="&trStdLevelTreasure;">
<Group levelValue="
750, 1000, 1500, 2000, 4000,
8000, 16000, 32000, 64000, 128000,
256000, 512000, 1000000, 2000000, 4100000,
8200000, 16400000, 32800000, 65500000, 131000000"
>
<Group value="standard">
<Table>
<RandomItem chance="15"
criteria= "* +MajorItem; -NotStandard;"
Expand All @@ -196,7 +191,7 @@
</ItemTable>

<ItemTable unid="&trStdTreasureLevel1;">
<Group value="750">
<Group value="standard:level=1">
<Table>
<RandomItem chance="15"
criteria= "* +MajorItem; -NotStandard;"
Expand All @@ -215,7 +210,7 @@
</ItemTable>

<ItemTable unid="&trStdTreasureLevel2;">
<Group value="1000">
<Group value="standard:level=2">
<Table>
<RandomItem chance="15"
criteria= "* +MajorItem; -NotStandard;"
Expand All @@ -234,7 +229,7 @@
</ItemTable>

<ItemTable unid="&trStdTreasureLevel3;">
<Group value="1500">
<Group value="standard:level=3">
<Table>
<RandomItem chance="15"
criteria= "* +MajorItem; -NotStandard;"
Expand All @@ -253,7 +248,7 @@
</ItemTable>

<ItemTable unid="&trStdTreasureLevel4;">
<Group value="2000">
<Group value="standard:level=4">
<Table>
<RandomItem chance="15"
criteria= "* +MajorItem; -NotStandard;"
Expand All @@ -272,7 +267,7 @@
</ItemTable>

<ItemTable unid="&trStdTreasureLevel5;">
<Group value="4000">
<Group value="standard:level=5">
<Table>
<RandomItem chance="15"
criteria= "* +MajorItem; -NotStandard;"
Expand All @@ -291,7 +286,7 @@
</ItemTable>

<ItemTable unid="&trStdTreasureLevel6;">
<Group value="8000">
<Group value="standard:level=6">
<Table>
<RandomItem chance="15"
criteria= "* +MajorItem; -NotStandard;"
Expand All @@ -310,7 +305,7 @@
</ItemTable>

<ItemTable unid="&trStdTreasureLevel7;">
<Group value="16000">
<Group value="standard:level=7">
<Table>
<RandomItem chance="15"
criteria= "* +MajorItem; -NotStandard;"
Expand All @@ -329,7 +324,7 @@
</ItemTable>

<ItemTable unid="&trStdTreasureLevel8;">
<Group value="32000">
<Group value="standard:level=8">
<Table>
<RandomItem chance="15"
criteria= "* +MajorItem; -NotStandard;"
Expand All @@ -348,7 +343,7 @@
</ItemTable>

<ItemTable unid="&trStdTreasureLevel9;">
<Group value="64000">
<Group value="standard:level=9">
<Table>
<RandomItem chance="15"
criteria= "* +MajorItem; -NotStandard;"
Expand All @@ -367,7 +362,7 @@
</ItemTable>

<ItemTable unid="&trStdTreasureLevel10;">
<Group value="128000">
<Group value="standard:level=10">
<Table>
<RandomItem chance="15"
criteria= "* +MajorItem; -NotStandard;"
Expand Down
4 changes: 2 additions & 2 deletions TransCore/UrakWarlords.xml
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@
</Reinforcements>

<Items>
<Group value="2000">
<Group value="standard:level=2:x=2.0">
<Table>
<Lookup chance="30" count="1" table="&trConsumables3;"/>
<RandomItem chance="30"
Expand Down Expand Up @@ -505,7 +505,7 @@
</Reinforcements>

<Items>
<Group value="7000">
<Group value="standard:level=4:x=3.5">
<RandomItem
criteria= "* +Res; -NotStandard;"
levelFrequency= "-uccu"
Expand Down

0 comments on commit 3d30db6

Please sign in to comment.