From 11d0ebcec6203a9634b413ba9d9ad47192817515 Mon Sep 17 00:00:00 2001 From: NoImageAvailable Date: Sun, 4 Jun 2017 17:20:16 +0200 Subject: [PATCH] Implemented crafting cost formulas (#215) --- .../ThingDefs_Buildings/Buildings_Turrets.xml | 38 ++- Patches/Core/ThingDefs_Misc/Weapons_Guns.xml | 222 +++++++++++++++++- 2 files changed, 236 insertions(+), 24 deletions(-) diff --git a/Defs/ThingDefs_Buildings/Buildings_Turrets.xml b/Defs/ThingDefs_Buildings/Buildings_Turrets.xml index cdb6c72159..3c6edd1c94 100644 --- a/Defs/ThingDefs_Buildings/Buildings_Turrets.xml +++ b/Defs/ThingDefs_Buildings/Buildings_Turrets.xml @@ -88,9 +88,8 @@ Things/Building/Turrets/MachineGunBase - 100000 + 48000 140 - 3335 20 25 @@ -103,9 +102,9 @@ Automatic turret equipped with a charge blaster. - 100 - 100 - 20 + 65 + 30 + 12 Gun_BlasterTurret @@ -137,9 +136,8 @@ Spacer Plated automatic turret with large caliber machine gun. Very resistant to damage. - 250 - 50 - 10 + 275 + 8 Gun_HeavyTurret @@ -168,13 +166,13 @@ 1.0 - 25000 + 31500 16.5 20 M240B medium machine gun mounted on a tripod. - 200 + 125 4 @@ -194,14 +192,14 @@ 150 - 30000 + 50500 88 100 KPV heavy machine gun mounted on a tripod. - 400 - 6 + 275 + 4 Gun_KPV @@ -222,14 +220,14 @@ Things/Building/Turrets/AGS30Base - 25000 + 33500 16 20 Lightweight automatic grenade launcher. - 400 - 6 + 115 + 5 8 @@ -251,15 +249,15 @@ Things/Building/Turrets/FlakTurret_Base - 250 - 50000 + 500 + 79500 1000 1000 Old school anti-aircraft cannon. Ineffective against modern aviation but still popular on rimworlds for use against entrenched enemies and vehicles. - 700 - 6 + 495 + 5 16 diff --git a/Patches/Core/ThingDefs_Misc/Weapons_Guns.xml b/Patches/Core/ThingDefs_Misc/Weapons_Guns.xml index 7c13cb1356..19d43a70a1 100644 --- a/Patches/Core/ThingDefs_Misc/Weapons_Guns.xml +++ b/Patches/Core/ThingDefs_Misc/Weapons_Guns.xml @@ -124,6 +124,25 @@ + + + + */ThingDef[defName="Gun_Pistol"]/statBases/WorkToMake + + 5000 + + + + + */ThingDef[defName="Gun_Pistol"]/costList + + + 25 + 2 + + + + @@ -225,6 +244,26 @@ + + + + */ThingDef[defName="Gun_PumpShotgun"]/statBases/WorkToMake + + 8500 + + + + + */ThingDef[defName="Gun_PumpShotgun"]/costList + + + 40 + 10 + 1 + + + + @@ -328,6 +367,25 @@ + + + + */ThingDef[defName="Gun_ChainShotgun"]/statBases/WorkToMake + + 13500 + + + + + */ThingDef[defName="Gun_ChainShotgun"]/costList + + + 40 + 2 + + + + @@ -431,6 +489,26 @@ + + + + */ThingDef[defName="Gun_BoltActionRifle"]/statBases/WorkToMake + + 10500 + + + + + */ThingDef[defName="Gun_BoltActionRifle"]/costList + + + 50 + 15 + 1 + + + + @@ -539,6 +617,25 @@ + + + + */ThingDef[defName="Gun_AssaultRifle"]/statBases/WorkToMake + + 23500 + + + + + */ThingDef[defName="Gun_AssaultRifle"]/costList + + + 60 + 4 + + + + @@ -642,6 +739,25 @@ + + + + */ThingDef[defName="Gun_SniperRifle"]/statBases/WorkToMake + + 22500 + + + + + */ThingDef[defName="Gun_SniperRifle"]/costList + + + 75 + 4 + + + + @@ -751,6 +867,25 @@ + + + + */ThingDef[defName="Gun_MachinePistol"]/statBases/WorkToMake + + 21500 + + + + + */ThingDef[defName="Gun_MachinePistol"]/costList + + + 45 + 4 + + + + @@ -860,6 +995,25 @@ + + + + */ThingDef[defName="Gun_HeavySMG"]/statBases/WorkToMake + + 20000 + + + + + */ThingDef[defName="Gun_HeavySMG"]/costList + + + 45 + 4 + + + + @@ -970,6 +1124,26 @@ + + + + */ThingDef[defName="Gun_IncendiaryLauncher"]/statBases/WorkToMake + + 33000 + + + + + */ThingDef[defName="Gun_IncendiaryLauncher"]/costList + + + 75 + 30 + 6 + + + + @@ -1083,6 +1257,26 @@ + + + + */ThingDef[defName="Gun_LMG"]/statBases/WorkToMake + + 27000 + + + + + */ThingDef[defName="Gun_LMG"]/costList + + + 80 + 10 + 4 + + + + @@ -1191,6 +1385,26 @@ + + + + */ThingDef[defName="Gun_ChargeRifle"]/statBases/WorkToMake + + 42500 + + + + + */ThingDef[defName="Gun_ChargeRifle"]/costList + + + 55 + 25 + 9 + + + + @@ -1573,8 +1787,8 @@ LargeRockets - 170 - 15 + 125 + 7 5 @@ -1750,8 +1964,8 @@ LargeRockets - 120 - 8 + 90 + 6 3