Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

Commit

Permalink
Implemented crafting cost formulas (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoImageAvailable authored Jun 4, 2017
1 parent fe7a0a5 commit 11d0ebc
Show file tree
Hide file tree
Showing 2 changed files with 236 additions and 24 deletions.
38 changes: 18 additions & 20 deletions Defs/ThingDefs_Buildings/Buildings_Turrets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,8 @@
<texPath>Things/Building/Turrets/MachineGunBase</texPath>
</graphicData>
<statBases>
<WorkToMake>100000</WorkToMake>
<WorkToMake>48000</WorkToMake>
<MaxHitPoints>140</MaxHitPoints>
<MarketValue>3335</MarketValue>
<Mass>20</Mass>
<Bulk>25</Bulk>
</statBases>
Expand All @@ -103,9 +102,9 @@
</comps>
<description>Automatic turret equipped with a charge blaster.</description>
<costList>
<Steel>100</Steel>
<Plasteel>100</Plasteel>
<Component>20</Component>
<Steel>65</Steel>
<Plasteel>30</Plasteel>
<Component>12</Component>
</costList>
<building>
<turretGunDef>Gun_BlasterTurret</turretGunDef>
Expand Down Expand Up @@ -137,9 +136,8 @@
<techLevel>Spacer</techLevel>
<description>Plated automatic turret with large caliber machine gun. Very resistant to damage.</description>
<costList>
<Steel>250</Steel>
<Plasteel>50</Plasteel>
<Component>10</Component>
<Steel>275</Steel>
<Component>8</Component>
</costList>
<building>
<turretGunDef>Gun_HeavyTurret</turretGunDef>
Expand Down Expand Up @@ -168,13 +166,13 @@
</graphicData>
<statBases>
<Flammability>1.0</Flammability>
<WorkToMake>25000</WorkToMake>
<WorkToMake>31500</WorkToMake>
<Mass>16.5</Mass>
<Bulk>20</Bulk>
</statBases>
<description>M240B medium machine gun mounted on a tripod.</description>
<costList>
<Steel>200</Steel>
<Steel>125</Steel>
<Component>4</Component>
</costList>
<building>
Expand All @@ -194,14 +192,14 @@
</graphicData>
<statBases>
<MaxHitPoints>150</MaxHitPoints>
<WorkToMake>30000</WorkToMake>
<WorkToMake>50500</WorkToMake>
<Mass>88</Mass>
<Bulk>100</Bulk>
</statBases>
<description>KPV heavy machine gun mounted on a tripod.</description>
<costList>
<Steel>400</Steel>
<Component>6</Component>
<Steel>275</Steel>
<Component>4</Component>
</costList>
<building>
<turretGunDef>Gun_KPV</turretGunDef>
Expand All @@ -222,14 +220,14 @@
<texPath>Things/Building/Turrets/AGS30Base</texPath>
</graphicData>
<statBases>
<WorkToMake>25000</WorkToMake>
<WorkToMake>33500</WorkToMake>
<Mass>16</Mass>
<Bulk>20</Bulk>
</statBases>
<description>Lightweight automatic grenade launcher.</description>
<costList>
<Steel>400</Steel>
<Component>6</Component>
<Steel>115</Steel>
<Component>5</Component>
</costList>
<specialDisplayRadius>8</specialDisplayRadius>
<building>
Expand All @@ -251,15 +249,15 @@
<texPath>Things/Building/Turrets/FlakTurret_Base</texPath>
</graphicData>
<statBases>
<MaxHitPoints>250</MaxHitPoints>
<WorkToMake>50000</WorkToMake>
<MaxHitPoints>500</MaxHitPoints>
<WorkToMake>79500</WorkToMake>
<Mass>1000</Mass>
<Bulk>1000</Bulk>
</statBases>
<description>Old school anti-aircraft cannon. Ineffective against modern aviation but still popular on rimworlds for use against entrenched enemies and vehicles.</description>
<costList>
<Steel>700</Steel>
<Component>6</Component>
<Steel>495</Steel>
<Component>5</Component>
</costList>
<specialDisplayRadius>16</specialDisplayRadius>
<building>
Expand Down
Loading

0 comments on commit 11d0ebc

Please sign in to comment.