CE - AllYourBase

Created Diff never expires
69 removals
Lines
Total
Removed
Words
Total
Removed
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
128 lines
30 additions
Lines
Total
Added
Words
Total
Added
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
88 lines
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<Defs>
<Defs>
<!-- ==================== AmmoSet ========================== -->
<!-- ==================== Ammo ========================== -->

<ThingDef Class="CombatExtended.AmmoDef" Name="AmmoBase" Abstract="True">
<ThingDef Class="CombatExtended.AmmoDef" Name="AmmoBase" Abstract="True">
<thingClass>CombatExtended.AmmoThing</thingClass>
<thingClass>CombatExtended.AmmoThing</thingClass>
<label>unspecified ammunition</label>
<label>unspecified ammunition</label>
<category>Item</category>
<category>Item</category>
<resourceReadoutPriority>Middle</resourceReadoutPriority>
<resourceReadoutPriority>Middle</resourceReadoutPriority>
<useHitPoints>true</useHitPoints>
<useHitPoints>true</useHitPoints>
<statBases>
<statBases>
<MaxHitPoints>100</MaxHitPoints>
<MaxHitPoints>100</MaxHitPoints>
<Beauty>-5</Beauty>
<Beauty>-5</Beauty>
<Flammability>1</Flammability>
<Flammability>1</Flammability>
<DeteriorationRate>2</DeteriorationRate>
<DeteriorationRate>2</DeteriorationRate>
</statBases>
</statBases>
<selectable>true</selectable>
<selectable>true</selectable>
<altitudeLayer>Item</altitudeLayer>
<altitudeLayer>Item</altitudeLayer>
<stackLimit>500</stackLimit>
<stackLimit>500</stackLimit>
<soundInteract>Metal_Drop</soundInteract>
<soundInteract>Metal_Drop</soundInteract>
<soundDrop>Metal_Drop</soundDrop>
<soundDrop>Metal_Drop</soundDrop>
<menuHidden>True</menuHidden> <!-- Toggled by AmmoInjector.cs -->
<menuHidden>True</menuHidden>
<destroyOnDrop>True</destroyOnDrop> <!-- Toggled by AmmoInjector.cs -->
<destroyOnDrop>True</destroyOnDrop>
<comps>
<comps>
<li Class="CompProperties_Forbiddable"/>
<li Class="CompProperties_Forbiddable" />
</comps>
</comps>
<alwaysHaulable>true</alwaysHaulable>
<alwaysHaulable>true</alwaysHaulable>
<drawGUIOverlay>true</drawGUIOverlay>
<drawGUIOverlay>true</drawGUIOverlay>
<rotatable>false</rotatable>
<rotatable>false</rotatable>
<pathCost>15</pathCost>
<pathCost>15</pathCost>
<tradeTags>
<tradeTags>
<li>CE_Ammo</li>
<li>CE_Ammo</li>
</tradeTags>
</tradeTags>
<tradeability>None</tradeability>
<tradeability>None</tradeability>
<tickerType>Normal</tickerType>
<tickerType>Normal</tickerType>
<cookOffSpeed>0.2</cookOffSpeed>
<cookOffSpeed>0.2</cookOffSpeed>
<cookOffFlashScale>10</cookOffFlashScale>
<cookOffFlashScale>10</cookOffFlashScale>
<cookOffSound>Shot_AssaultRifle</cookOffSound>
<cookOffSound>Shot_AssaultRifle</cookOffSound>
<cookOffTailSound>GunTail_Medium</cookOffTailSound>
<cookOffTailSound>GunTail_Medium</cookOffTailSound>
<techLevel>Industrial</techLevel>
<techLevel>Industrial</techLevel>
</ThingDef>
</ThingDef>
<ThingDef Class="CombatExtended.AmmoDef" Name="SmallAmmoBase" ParentName="AmmoBase" Abstract="True">
<ThingDef Class="CombatExtended.AmmoDef" Name="SmallAmmoBase" ParentName="AmmoBase" Abstract="True">
<smallVolume>true</smallVolume>
<smallVolume>true</smallVolume>
<statBases>
<statBases>
<MaxHitPoints>75</MaxHitPoints>
<MaxHitPoints>75</MaxHitPoints>
</statBases>
</statBases>
</ThingDef>
</ThingDef>

<ThingDef Class="CombatExtended.AmmoDef" Name="NeolithicAmmoBase" ParentName="AmmoBase" Abstract="True">
<ThingDef Class="CombatExtended.AmmoDef" Name="NeolithicAmmoBase" ParentName="AmmoBase" Abstract="True">
<techLevel>Neolithic</techLevel>
<techLevel>Neolithic</techLevel>
</ThingDef>
</ThingDef>
<ThingDef Class="CombatExtended.AmmoDef" Name="MedievalAmmoBase" ParentName="AmmoBase" Abstract="True">
<techLevel>Medieval</techLevel>
</ThingDef>

<ThingDef Class="CombatExtended.AmmoDef" Name="SpacerSmallAmmoBase" ParentName="SmallAmmoBase" Abstract="True">
<ThingDef Class="CombatExtended.AmmoDef" Name="SpacerSmallAmmoBase" ParentName="SmallAmmoBase" Abstract="True">
<techLevel>Spacer</techLevel>
<techLevel>Spacer</techLevel>
</ThingDef>
</ThingDef>
<ThingDef Class="CombatExtended.AmmoDef" Name="BaseFragment" ParentName="BaseBullet" Abstract="True">
<!-- ================== Projectiles ================== -->
<projectile Class="CombatExtended.ProjectilePropertiesCE">

<alwaysFreeIntercept>true</alwaysFreeIntercept>
<ThingDef Class="CombatExtended.AmmoDef" Name="BaseBullet" Abstract="True">
<category>Projectile</category>
<tickerType>Normal</tickerType>
<altitudeLayer>Projectile</altitudeLayer>
<thingClass>CombatExtended.BulletCE</thingClass>
<label>bullet</label>
<useHitPoints>False</useHitPoints>
<neverMultiSelect>True</neverMultiSelect>
<graphicData>
<shaderType>Transparent</shaderType>
</graphicData>
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<explosionDamageFalloff>true</explosionDamageFalloff>
</projectile>
</projectile>
</ThingDef>
</ThingDef>

<ThingDef Class="CombatExtended.AmmoDef" Name="BaseFragment" ParentName="BaseBullet" Abstract="True">
<projectile Class="CombatExtended.ProjectilePropertiesCE">
<alwaysFreeIntercept>true</alwaysFreeIntercept>
</projectile>
</ThingDef>
<!-- ==================== Recipes ========================== -->

<RecipeDef Name="AmmoRecipeBase" Abstract="true">
<RecipeDef Name="AmmoRecipeBase" Abstract="true">
<workSpeedStat>SmithingSpeed</workSpeedStat>
<workSpeedStat>SmithingSpeed</workSpeedStat>
<effectWorking>Cook</effectWorking>
<effectWorking>Cook</effectWorking>
<soundWorking>Recipe_Machining</soundWorking>
<soundWorking>Recipe_Machining</soundWorking>
<allowMixingIngredients>true</allowMixingIngredients>
<allowMixingIngredients>true</allowMixingIngredients>
<workAmount>10000</workAmount>
<workAmount>10000</workAmount>
<workSkill>Crafting</workSkill>
<workSkill>Crafting</workSkill>
<targetCountAdjustment>20</targetCountAdjustment>
<targetCountAdjustment>20</targetCountAdjustment>
<recipeUsers>
<recipeUsers>
<!-- Need an empty list here or the ammo injector will throw a null ref exception -->
</recipeUsers>
</recipeUsers>
<conceptLearned>CE_AmmoCrafting</conceptLearned>
<conceptLearned>CE_AmmoCrafting</conceptLearned>
<unfinishedThingDef>UnfinishedAmmo</unfinishedThingDef>
<unfinishedThingDef>UnfinishedAmmo</unfinishedThingDef>
</RecipeDef>
</RecipeDef>

<RecipeDef Name="ChargeAmmoRecipeBase" ParentName="AmmoRecipeBase" Abstract="true">
<RecipeDef Name="ChargeAmmoRecipeBase" ParentName="AmmoRecipeBase" Abstract="true">
<researchPrerequisite>ChargedShot</researchPrerequisite>
<researchPrerequisite>ChargedShot</researchPrerequisite>
</RecipeDef>
</RecipeDef>

<RecipeDef Name="AmmoRecipeNeolithicBase" Abstract="true">
<RecipeDef Name="AmmoRecipeNeolithicBase" Abstract="true">
<workSpeedStat>SmithingSpeed</workSpeedStat>
<workSpeedStat>SmithingSpeed</workSpeedStat>
<effectWorking>Cook</effectWorking>
<effectWorking>Cook</effectWorking>
<soundWorking>Recipe_Machining</soundWorking>
<soundWorking>Recipe_Machining</soundWorking>
<allowMixingIngredients>true</allowMixingIngredients>
<allowMixingIngredients>true</allowMixingIngredients>
<workAmount>2000</workAmount>
<workAmount>2000</workAmount>
<workSkill>Crafting</workSkill>
<workSkill>Crafting</workSkill>
<targetCountAdjustment>20</targetCountAdjustment>
<targetCountAdjustment>20</targetCountAdjustment>
<unfinishedThingDef>UnfinishedArrows</unfinishedThingDef>
<unfinishedThingDef>UnfinishedArrows</unfinishedThingDef>
</RecipeDef>
</RecipeDef>

<!-- Base for hand grenades -->
<RecipeDef ParentName="AmmoRecipeBase" Name="GrenadeRecipeBase" Abstract="true">
<RecipeDef ParentName="AmmoRecipeBase" Name="GrenadeRecipeBase" Abstract="true">
<recipeUsers>
<recipeUsers>
<li>TableMachining</li>
<li>TableMachining</li>
</recipeUsers>
</recipeUsers>
</RecipeDef>
</RecipeDef>
</Defs>
</Defs>