<RamblingMan>

<conditional>
<if cond="game_version() >= version(1,3,0)">

<!-- *** Ammo recipes for the V3_OakravenAmmoPress. 
Credits: 
 - (V3) Oakraven Ammo Press https://www.nexusmods.com/7daystodie/mods/5105
 - Ammo Press Add-On Patch for EFT and Izy v2 - https://www.nexusmods.com/7daystodie/mods/6993 
-->

<!-- Start of 2.6.1.5 -->

<!-- *** Core recipes -->

<!-- *** 1. Discounts. -->

<!-- *** 1.1 The Ammo Press provides a time and resources discount. -->

<!-- Vanilla Single Ammo and Ammo Bundle Recipes
60% of the normal resource cost
50% of the crafting time -->

<!-- Update resource values from default AO recipes -->

<!-- Single rounds
resourceGunPowder
resourceForgedSteel -->

<!-- 3 reduced to 2 -->
<set xpath="/recipes/recipe[starts-with(@name, 'ammo') and @craft_area='ammopress']/ingredient[(@name='resourceGunPowder' or @name='resourceForgedSteel') and @count='3']/@count">2</set>
<!-- 4 reduced to 3 -->
<set xpath="/recipes/recipe[starts-with(@name, 'ammo') and @craft_area='ammopress']/ingredient[(@name='resourceGunPowder' or @name='resourceForgedSteel') and @count='4']/@count">3</set>
<!-- 5 reduced to 3 -->
<set xpath="/recipes/recipe[starts-with(@name, 'ammo') and @craft_area='ammopress']/ingredient[(@name='resourceGunPowder' or @name='resourceForgedSteel') and @count='5']/@count">3</set>

<!-- 6 reduced to 4 -->
<!-- TOD0: check if applies -->
<!-- <set xpath="/recipes/recipe[starts-with(@name, 'ammo') and @craft_area='ammopress']/ingredient[(@name='resourceGunPowder' or @name='resourceForgedSteel') and @count='6']/@count">4</set> -->


<!-- Bundles -->
<!-- resourceBulletTip -->
<!-- resourceGunPowder -->
<!-- resourceBulletCasing -->
<!-- resourceBuckshot -->
<!-- resourceClayLump -->

<!-- 80 reduced to 60 -->
<set xpath="/recipes/recipe[starts-with(@name, 'ammoBundle') and @craft_area='ammopress']/ingredient[(@name='resourceBulletTip' or @name='resourceBulletCasing' or @name='resourceBuckshot' or @name='resourceGunPowder' or @name='resourceScrapPolymers') and @count='80']/@count">60</set>

<!-- 160 reduced to 120 -->
<set xpath="/recipes/recipe[starts-with(@name, 'ammoBundle') and @craft_area='ammopress']/ingredient[(@name='resourceBulletTip' or @name='resourceGunPowder' or @name='resourceClayLump') and @count='160']/@count">120</set>

<!-- 240 reduced to 180 -->
<set xpath="/recipes/recipe[starts-with(@name, 'ammoBundle') and @craft_area='ammopress']/ingredient[(@name='resourceGunPowder' or @name='resourceForgedSteel') and @count='240']/@count">180</set>

<!-- 320 reduced to 240 -->
<set xpath="/recipes/recipe[starts-with(@name, 'ammoBundle') and @craft_area='ammopress']/ingredient[@name='resourceGunPowder' and @count='320']/@count">240</set>

<!-- 400 reduced to 300 -->
<set xpath="/recipes/recipe[starts-with(@name, 'ammoBundle') and @craft_area='ammopress']/ingredient[@name='resourceGunPowder' and @count='400']/@count">300</set>

<!-- ammoBundleJunkTurretRegular -->
<!-- 1600 to 1200 -->
<set xpath="/recipes/recipe[@name='ammoBundleJunkTurretRegular' and @craft_area='ammopress']/ingredient[@name='resourceScrapLead' and @count='1600']/@count">1200</set>

<!-- ammoJunkTurretShell: changed resourceScrapIron to resourceScrapLead -->
<set xpath="/recipes/recipe[@name='ammoJunkTurretShell' and @craft_area='ammopress']/ingredient[@name='resourceScrapIron']/@name">resourceScrapLead</set>

<!-- ammoBundleJunkTurretShell 800 to 600 -->
<set xpath="/recipes/recipe[@name='ammoBundleJunkTurretShell' and @craft_area='ammopress']/ingredient[@count='800']/@count">600</set>

<!-- ammoBundleJunkTurretAP -->
<set xpath="/recipes/recipe[@name='ammoBundleJunkTurretAP' and @craft_area='ammopress']/ingredient[@count='1600']/@count">1200</set>

<!-- *** 1.2 The Ammo Press provides only a time discount. -->
<!-- TODO in 2.6.1.6 -->

<!-- *** Add missing vanilla ammo recipes to the AP -->
<!-- 
ammoRocketFrag
ammoRocketHE -->
<append xpath="/recipes">

<recipe name="ammoRocketFrag" count="1" craft_time="20" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceBuckshot" count="20"/>
	<ingredient name="resourceGunPowder" count="12"/>
	<ingredient name="resourceDuctTape" count="2"/>
	<ingredient name="ammoGasCan" count="400"/>
	<ingredient name="resourceRocketCasing" count="1"/>
</recipe>

<recipe name="ammoRocketHE" count="1" craft_time="15" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceRocketTip" count="1"/>
	<ingredient name="resourceGunPowder" count="12"/>
	<ingredient name="resourceDuctTape" count="2"/>
	<ingredient name="ammoGasCan" count="400"/>
	<ingredient name="resourceRocketCasing" count="1"/>
</recipe>
</append>
<!-- *** 2. Add IGP ammo recipes to the AP-->

<!-- *** IZY_RMP_556pack -->
<!-- <conditional>
<if cond="mod_loaded('IZY_RMP_556pack') and mod_version('IZY_RMP_556pack') = version(1,1,0,4)">
 -->
<append xpath="/recipes">

<!-- Added Oakraven's ammo press recipes for all 5.56mm ammo. -->
<recipe name="ammo556mmBulletBall" count="1" craft_area="ammopress" tags="workbenchCrafting">
	<ingredient name="resourceBulletTip" count="1"/>
	<ingredient name="resourceGunPowder" count="2"/>
	<ingredient name="resourceScrapIron" count="1"/>
	<ingredient name="resourceBulletCasing" count="1"/>
</recipe>

<recipe name="ammo556mmHIpower" count="1" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceBulletTip" count="1"/>
	<ingredient name="resourceGunPowder" count="3"/>
	<ingredient name="resourceScrapIron" count="1"/>
	<ingredient name="resourceBulletCasing" count="1"/>
</recipe>

<recipe name="ammo556mmArmorPiercing" count="1" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceBulletTip" count="1"/>
	<ingredient name="resourceGunPowder" count="2"/>
	<ingredient name="resourceScrapIron" count="3"/>
	<ingredient name="resourceBulletCasing" count="1"/>
</recipe>

<!-- resourceGunPowder 160 to 120 -->
<recipe name="ammo556mmBulletBallBundle" count="1" craft_time="120" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceBulletTip" count="60"/>
	<ingredient name="resourceGunPowder" count="120"/>
	<ingredient name="resourceScrapIron" count="60"/>
	<ingredient name="resourceBulletCasing" count="60"/>
</recipe>

<!-- resourceGunPowder 320 to 240  -->
<recipe name="ammo556mmHIpowerBundle" count="1" craft_time="180" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceBulletTip" count="60"/>
	<ingredient name="resourceGunPowder" count="240"/>
	<ingredient name="resourceScrapIron" count="60"/>
	<ingredient name="resourceBulletCasing" count="60"/>
</recipe>

<!-- resourceGunPowder 200 to 180 -->
<!-- resourceForgedSteel replaced with resourceScrapIron -->
<recipe name="ammo556mmArmorPiercingBundle" count="1" craft_time="180" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceBulletTip" count="60"/>
	<ingredient name="resourceGunPowder" count="180"/>
	<ingredient name="resourceScrapIron" count="300"/>
	<ingredient name="resourceBulletCasing" count="60"/>
</recipe>
</append>
<!-- </if>
</conditional> -->

<!-- *** IZY_RMP_SG  -->

<!-- <conditional>
<if cond="mod_loaded('IZY_RMP_SG') and mod_version('IZY_RMP_SG') = version(1,1,0,4)"> -->

<append xpath="/recipes">

<recipe name="ammoShotgunShellPremium" count="1" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceBuckshot" count="1"/>
	<ingredient name="resourceGunPowder" count="4"/>
	<ingredient name="resourceScrapPolymers" count="1"/>
</recipe>

<recipe name="ammoShotgunShellPremium" count="1" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammoShotgunShell" count="1"/>
	<ingredient name="resourceGunPowder" count="2"/>
	<ingredient name="resourceScrapPolymers" count="1"/>
</recipe>

<recipe name="ammoShotgunShellPremiumBundle" count="1" craft_time="180" craft_area="ammopress" tags="workbenchCrafting,learnable">
	<ingredient name="resourceBuckshot" count="60"/>
	<ingredient name="resourceGunPowder" count="360"/>
	<ingredient name="resourceScrapPolymers" count="60"/>
</recipe>

<recipe name="ammoShotgunShellPremiumBundle" count="1" craft_time="180" craft_area="ammopress" tags="workbenchCrafting,learnable">
	<ingredient name="ammoShotgunShell" count="60"/>
	<ingredient name="resourceGunPowder" count="120"/>
	<ingredient name="resourceScrapPolymers" count="60"/>
</recipe>
</append>

<!-- </if>
</conditional> -->

<!-- *** IZY_RMP_45ACP  -->

<!-- <conditional>
<if cond="mod_loaded('IZY_RMP_45ACP') and mod_version('IZY_RMP_45ACP') = version(1,1,0,4)"> -->


<!-- Added Oakraven's ammo press recipes for all .45ACP ammo. -->

<append xpath="/recipes">

<recipe name="ammo45ACPBulletBall" count="1" craft_area="ammopress" tags="workbenchCrafting">
	<ingredient name="resourceBulletTip" count="1"/>
	<ingredient name="resourceScrapIron" count="1"/>
	<ingredient name="resourceGunPowder" count="1"/>
	<ingredient name="resourceBulletCasing" count="1"/>
</recipe>

<recipe name="ammoBundle45ACPBulletBall" count="1" craft_time="120" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceBulletTip" count="60"/>
	<ingredient name="resourceScrapIron" count="60"/>
	<ingredient name="resourceGunPowder" count="60"/>
	<ingredient name="resourceBulletCasing" count="60"/>
</recipe>

<recipe name="ammo45ACPHighpower" count="1" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceBulletTip" count="1"/>
	<ingredient name="resourceScrapIron" count="2"/>
	<ingredient name="resourceGunPowder" count="2"/>
	<ingredient name="resourceBulletCasing" count="1"/>
</recipe>

<recipe name="ammoBundle45ACPHighpower" count="1" craft_time="180" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceBulletTip" count="60"/>
	<ingredient name="resourceScrapIron" count="120"/>
	<ingredient name="resourceGunPowder" count="120"/>
	<ingredient name="resourceBulletCasing" count="60"/>
</recipe>

<recipe name="ammo45ACPArmorpiecing" count="1" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceBulletTip" count="2"/>
	<ingredient name="resourceScrapIron" count="2"/>
	<ingredient name="resourceGunPowder" count="2"/>
	<ingredient name="resourceBulletCasing" count="1"/>
</recipe>

<recipe name="ammoBundle45ACPArmorpiecing" count="1" craft_time="180" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceBulletTip" count="120"/>
	<ingredient name="resourceScrapIron" count="120"/>
	<ingredient name="resourceGunPowder" count="120"/>
	<ingredient name="resourceBulletCasing" count="60"/>
</recipe>

<recipe name="ammo45ACPEnhanced" count="1" craft_area="ammopress" tags="workbenchCrafting,learnable,perkGunslinger">
	<ingredient name="resourceBulletTip" count="2"/>
	<ingredient name="resourceScrapIron" count="2"/>
	<ingredient name="resourceGunPowder" count="4"/>
	<ingredient name="resourceBulletCasing" count="1"/>
</recipe>		

<recipe name="ammoBundle45ACPEnhanced" count="1" craft_time="210" craft_area="ammopress" tags="workbenchCrafting,learnable,perkGunslinger">
	<ingredient name="resourceBulletTip" count="120"/>
	<ingredient name="resourceScrapIron" count="180"/>
	<ingredient name="resourceGunPowder" count="360"/>
	<ingredient name="resourceBulletCasing" count="60"/>
</recipe>
</append>


<!-- </if>
</conditional> -->

<!-- *** IZY_RMP_762pack -->
<!-- <conditional>
<if cond="mod_loaded('IZY_RMP_762pack') and mod_version('IZY_RMP_762pack') = version(1,1,0,4)"> -->

<append xpath="/recipes">	

<recipe name="ammo762mmExplosiveFragmentations" count="1" craft_time="5" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceBulletTip" count="2"/>
	<ingredient name="resourceGunPowder" count="6"/>
	<ingredient name="resourceBulletCasing" count="1"/>
</recipe>

<recipe name="ammo762mmExplosiveFragmentationsBundle" count="1" craft_time="210" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceBulletTip" count="120"/>
	<ingredient name="resourceGunPowder" count="600"/>
	<ingredient name="resourceBulletCasing" count="60"/>
</recipe>

<!-- *** IZY_RMP_Demopack -->
<!-- <conditional>
<if cond="mod_loaded('IZY_RMP_Demopack')">	 -->	

<!-- ammo25mmGrenade -->
<recipe name="ammo25mmGrenadeTraining" count="1" craft_time="10" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceForgedIron" count="1"/>
	<ingredient name="resourceGunPowder" count="7"/>
	<ingredient name="resourceBulletCasing" count="3"/>
</recipe>

<recipe name="ammo25mmGrenadeHE" count="1" craft_time="12" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceForgedIron" count="1"/>
	<ingredient name="resourceScrapIron" count="2"/>
	<ingredient name="resourceGunPowder" count="12"/>
	<ingredient name="resourceBulletCasing" count="3"/>
</recipe>

<recipe name="ammo25mmGrenadeFRAGS" count="1" craft_time="12" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceForgedIron" count="1"/>
	<ingredient name="resourceScrapIron" count="3"/>
	<ingredient name="resourceGunPowder" count="9"/>
	<ingredient name="resourceBulletCasing" count="3"/>
</recipe>

<!-- ammoRocketRPG -->
<recipe name="ammoRocketRPGTraning" count="1" craft_time="25" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceRocketTip" count="1"/>
	<ingredient name="resourceRocketCasing" count="1"/>
	<ingredient name="resourceDuctTape" count="1"/>
	<ingredient name="resourceForgedSteel" count="1"/>
	<ingredient name="resourceGunPowder" count="12"/>
</recipe>

<recipe name="ammoRocketRPGHE" count="1" craft_time="25" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceRocketTip" count="1"/>
	<ingredient name="resourceRocketCasing" count="1"/>
	<ingredient name="resourceDuctTape" count="1"/>
	<ingredient name="resourceGunPowder" count="30"/>
</recipe>

<recipe name="ammoRocketRPGIncendiary" count="1" craft_time="25" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="resourceRocketTip" count="1"/>
	<ingredient name="resourceRocketCasing" count="1"/>
	<ingredient name="resourceDuctTape" count="2"/>
	<ingredient name="resourceGunPowder" count="22"/>
	<ingredient name="ammoGasCan" count="250"/>
</recipe>

<!-- Convert from vanilla rockets/ -->
<recipe name="ammoRocketRPGHE" count="1" craft_time="15" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammoRocketHE" count="1"/>
	<ingredient name="resourceGunPowder" count="4"/>
</recipe>

<recipe name="ammoRocketRPGHE" count="1" craft_time="15" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammoRocketFrag" count="1"/>
	<ingredient name="resourceGunPowder" count="4"/>
</recipe>

<recipe name="ammoRocketRPGIncendiary" count="1" craft_time="15" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammoRocketFrag" count="1"/>
	<ingredient name="resourceGunPowder" count="4"/>
	<ingredient name="ammoGasCan" count="75"/>
</recipe>

<recipe name="ammoRocketRPGIncendiary" count="1" craft_time="15" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammoRocketHE" count="1"/>
	<ingredient name="resourceGunPowder" count="4"/>
	<ingredient name="ammoGasCan" count="75"/>
</recipe>

<!-- </if>
</conditional>	 -->	

</append>
<!-- </if>
</conditional> -->

<!-- *** 3. Add reboxing recipes -->

<conditional>
<if cond="modsetting('Combat_Sandbox_FLTR', 'Global', 'MiscSettings.MiscSettingsCategoryAmmoOptions.MiscSettings_LooseAmmoBundleRecipeAmmoPress') == 'Yes'">

<!-- ***Vanilla ammo types -->

<!-- 9mm -->
<append xpath="/recipes">

<recipe name="ammoBundle9mmBulletBall" count="1" craft_time="60" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo9mmBulletBall" count="100"/>
</recipe>

<recipe name="ammoBundle9mmBulletHP" count="1" craft_time="90" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo9mmBulletHP" count="100"/>
</recipe>

<recipe name="ammoBundle9mmBulletAP" count="1" craft_time="90" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo9mmBulletAP" count="100"/>
</recipe>

<!-- .44 Magnum -->
<recipe name="ammoBundle44MagnumBulletBall" count="1" craft_time="60" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo44MagnumBulletBall" count="100"/>
</recipe>

<recipe name="ammoBundle44MagnumBulletHP" count="1" craft_time="90" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo44MagnumBulletHP" count="100"/>
</recipe>

<recipe name="ammoBundle44MagnumBulletAP" count="1" craft_time="90" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo44MagnumBulletAP" count="100"/>
</recipe>

<!-- 7.62mm -->
<recipe name="ammoBundle762mmBulletBall" count="1" craft_time="60" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo762mmBulletBall" count="100"/>
</recipe>

<recipe name="ammoBundle762mmBulletHP" count="1" craft_time="90" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo762mmBulletHP" count="100"/>
</recipe>

<recipe name="ammoBundle762mmBulletAP" count="1" craft_time="90" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo762mmBulletAP" count="100"/>
</recipe>

<!-- Shotgun shells and slugs -->
<recipe name="ammoBundleShotgunShell" count="1" craft_time="60" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammoShotgunShell" count="100"/>
</recipe>

<recipe name="ammoBundleShotgunSlug" count="1" craft_time="90" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammoShotgunSlug" count="100"/>
</recipe>

<recipe name="ammoBundleShotgunBreachingSlug" count="1" craft_time="90" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammoShotgunBreachingSlug" count="100"/>
</recipe>

<!-- ***IGP ammo types -->
<!-- ***5.56mmx45*** -->
<!-- <conditional>
<if cond="mod_loaded('IZY_RMP_556pack')"> -->

<recipe name="ammo556mmBulletBallBundle" count="1" craft_time="60" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo556mmBulletBall" count="100"/>
</recipe>

<recipe name="ammo556mmHIpowerBundle" count="1" craft_time="90" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo556mmHIpower" count="100"/>
</recipe>

<recipe name="ammo556mmArmorPiercingBundle" count="1" craft_time="90" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo556mmArmorPiercing" count="100"/>
</recipe>
<!-- </if>
</conditional>	 -->

<!-- ***.45 ACP -->
<!-- <conditional>
<if cond="mod_loaded('IZY_RMP_45ACP')"> -->
		
<recipe name="ammoBundle45ACPBulletBall" count="1" craft_time="60" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo45ACPBulletBall" count="100"/>
</recipe>

<recipe name="ammoBundle45ACPHighpower" count="1" craft_time="90" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo45ACPHighpower" count="100"/>
</recipe>

<recipe name="ammoBundle45ACPArmorpiecing" count="1" craft_time="90" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo45ACPArmorpiecing" count="100"/>
</recipe>
		
<recipe name="ammoBundle45ACPEnhanced" count="1" craft_time="105" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo45ACPEnhanced" count="100"/>
</recipe>

<!-- </if>
</conditional> -->

<!-- *** ammoShotgunShellPremiumBundle  -->
<!-- <conditional>
<if cond="mod_loaded('IZY_RMP_SG')"> -->

<recipe name="ammoShotgunShellPremiumBundle" count="1" craft_time="60" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammoShotgunShellPremium" count="100"/>
</recipe>

<!-- </if>
</conditional> -->

<!-- *** ammo762mmExplosiveFragmentationsBundle -->
<!-- <conditional>
<if cond="mod_loaded('IZY_RMP_762pack')"> -->

<recipe name="ammo762mmExplosiveFragmentationsBundle" count="1" craft_time="105" craft_area="ammopress" tags="learnable,workbenchCrafting">
	<ingredient name="ammo762mmExplosiveFragmentations" count="100"/>
</recipe>
	
<!-- </if>
</conditional> -->
</append>	
</if>
</conditional>


<!-- *** 4. Single IZY ammo craft times aligned on vanilla / divided by 2  -->
<!-- *** 5. Single vanilla ammo craft times divided by 2 -->

<!-- TODO: clean up -->
<!-- Regular ammo  -->
<setattribute xpath="/recipes/recipe[(@name='ammo45ACPBulletBall' or 
@name='ammo556mmBulletBall' or 
@name='ammo44MagnumBulletBall' or 
@name='ammo762mmBulletBall' or 
@name='ammo9mmBulletBall' or 
@name='ammoShotgunShell') and @craft_area='ammopress']" name="craft_time">1.2</setattribute>
<!-- HP ammo  -->
<setattribute xpath="/recipes/recipe[(@name='ammo45ACPHighpower' or @name='ammo556mmHIpower') and @craft_area='ammopress']" name="craft_time">1.8</setattribute>

<!-- AP ammo  -->
<setattribute xpath="/recipes/recipe[(@name='ammo45ACPArmorpiecing' or @name='ammo556mmArmorPiercing') and @craft_area='ammopress']" name="craft_time">1.8</setattribute>

<!-- All vanilla AP and HP ammo -->

<setattribute xpath="/recipes/recipe[(@name='ammo44MagnumBulletAP' or 
@name='ammo44MagnumBulletHP' or 
@name='ammo762mmBulletAP' or 
@name='ammo762mmBulletHP' or 
@name='ammo9mmBulletAP' or 
@name='ammo9mmBulletHP' or 
@name='ammoShotgunBreachingSlug' or 
@name='ammoShotgunSlug') and @craft_area='ammopress']" name="craft_time">1.8</setattribute>

<!-- Special ammo -->
<setattribute xpath="/recipes/recipe[@name='ammo45ACPEnhanced' and @craft_area='ammopress']" name="craft_time">2.1</setattribute>
<setattribute xpath="/recipes/recipe[@name='ammo762mmExplosiveFragmentations' and @craft_area='ammopress']" name="craft_time">2.1</setattribute>

</if>
</conditional>

</RamblingMan>