This repository was archived by the owner on Apr 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1183 from N7Huntsman/Compat-Patches
Vanilla Expanded Weapons Compat Patch Updates
- Loading branch information
Showing
13 changed files
with
537 additions
and
232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<Defs> | ||
|
||
<ThingCategoryDef> | ||
<defName>AmmoMusketBall</defName> | ||
<label>Musket ball</label> | ||
<parent>AmmoRifles</parent> | ||
<iconPath>UI/Icons/ThingCategories/CaliberRifle</iconPath> | ||
</ThingCategoryDef> | ||
|
||
<!-- ==================== AmmoSet ========================== --> | ||
|
||
<!-- High Velocity --> | ||
<CombatExtended.AmmoSetDef> | ||
<defName>AmmoSet_FastMusketBall</defName> | ||
<label>Musket Ball</label> | ||
<ammoTypes> | ||
<Ammo_MusketBall>Bullet_FastMusketBall</Ammo_MusketBall> | ||
</ammoTypes> | ||
</CombatExtended.AmmoSetDef> | ||
|
||
<!-- Low Velocity --> | ||
<CombatExtended.AmmoSetDef> | ||
<defName>AmmoSet_SlowMusketBall</defName> | ||
<label>Musket Ball</label> | ||
<ammoTypes> | ||
<Ammo_MusketBall>Bullet_SlowMusketBall</Ammo_MusketBall> | ||
</ammoTypes> | ||
</CombatExtended.AmmoSetDef> | ||
|
||
<!-- ==================== Ammo ========================== --> | ||
|
||
<ThingDef Class="CombatExtended.AmmoDef" Name="MusketBallBase" ParentName="SmallAmmoBase" Abstract="True"> | ||
<description>A paper cartridge sealed with wax containing a round projectile and black powder, fired by early, smoothbore firearms.</description> | ||
<statBases> | ||
<Mass>0.12</Mass> | ||
<Bulk>0.14</Bulk> | ||
</statBases> | ||
<tradeTags> | ||
<li>CE_AutoEnableTrade</li> | ||
<li>CE_AutoEnableCrafting_FueledSmithy</li> | ||
<li>CE_AutoEnableCrafting_ElectricSmithy</li> | ||
</tradeTags> | ||
<thingCategories> | ||
<li>AmmoMusketBall</li> | ||
</thingCategories> | ||
</ThingDef> | ||
|
||
<ThingDef Class="CombatExtended.AmmoDef" ParentName="MusketBallBase"> | ||
<defName>Ammo_MusketBall</defName> | ||
<label>Musket ball</label> | ||
<graphicData> | ||
<texPath>Things/Ammo/Neolithic/SlingBullet/Steel</texPath> | ||
<graphicClass>Graphic_StackCount</graphicClass> | ||
</graphicData> | ||
<statBases> | ||
<MarketValue>0.5</MarketValue> | ||
</statBases> | ||
<ammoClass>FullMetalJacket</ammoClass> | ||
</ThingDef> | ||
|
||
<!-- ================== Projectile Base ================== --> | ||
|
||
<ThingDef Name="MusketBallBullet" ParentName="BaseBullet" Abstract="true"> | ||
<graphicData> | ||
<texPath>Things/Projectile/Bullet_big</texPath> | ||
<graphicClass>Graphic_Single</graphicClass> | ||
</graphicData> | ||
<projectile> | ||
<damageDef>Bullet</damageDef> | ||
<dropsCasings>false</dropsCasings> | ||
</projectile> | ||
</ThingDef> | ||
|
||
<!-- ================== Projectiles (High Velocity) ================== --> | ||
|
||
<ThingDef ParentName="MusketBallBullet"> | ||
<defName>Bullet_FastMusketBall</defName> | ||
<label>lead ball</label> | ||
<projectile Class="CombatExtended.ProjectilePropertiesCE"> | ||
<speed>60</speed> | ||
<damageAmountBase>20</damageAmountBase> | ||
<armorPenetrationSharp>6.7</armorPenetrationSharp> | ||
<armorPenetrationBlunt>28.8</armorPenetrationBlunt> | ||
</projectile> | ||
</ThingDef> | ||
|
||
<!-- ================== Projectiles (Low Velocity) ================== --> | ||
|
||
<ThingDef ParentName="MusketBallBullet"> | ||
<defName>Bullet_SlowMusketBall</defName> | ||
<label>lead ball</label> | ||
<projectile Class="CombatExtended.ProjectilePropertiesCE"> | ||
<speed>80</speed> | ||
<damageAmountBase>17</damageAmountBase> | ||
<armorPenetrationSharp>5.3</armorPenetrationSharp> | ||
<armorPenetrationBlunt>20</armorPenetrationBlunt> | ||
</projectile> | ||
</ThingDef> | ||
|
||
<!-- ==================== Recipes ========================== --> | ||
|
||
<RecipeDef ParentName="AmmoRecipeBase"> | ||
<defName>MakeAmmo_MusketBall</defName> | ||
<label>make lead ball x500</label> | ||
<description>Craft 500 lead balls.</description> | ||
<jobString>Making lead balls.</jobString> | ||
<workAmount>6800</workAmount> | ||
<ingredients> | ||
<li> | ||
<filter> | ||
<thingDefs> | ||
<li>Steel</li> | ||
</thingDefs> | ||
</filter> | ||
<count>68</count> | ||
</li> | ||
</ingredients> | ||
<fixedIngredientFilter> | ||
<thingDefs> | ||
<li>Steel</li> | ||
</thingDefs> | ||
</fixedIngredientFilter> | ||
<products> | ||
<Ammo_MusketBall>500</Ammo_MusketBall> | ||
</products> | ||
</RecipeDef> | ||
|
||
</Defs> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.