<?xml version="1.0" encoding="utf-8"?>
<Patch>
	<Operation Class="PatchOperationFindMod">
		<mods>
			<li>Big and Small - Enable All Optional Content</li>
			<li>Big and Small - Races</li>
			<li>Big and Small - Slimes</li>
			<li>Big and Small - Heaven and Hell</li>
			<li>Big and Small - Xeno Insectoid Hive</li>
			<li>Big and Small - Vampires and the Undead</li>
			<li>Big and Small - Lamias and other Snake-People</li>
			<li>Big and Small - More Xenotypes</li>
			<li>Big and Small - Weapons</li>
			<li>Big and Small - Sapient Animals</li>
			<li>Big and Small - Yokai</li>
			<li>Randy Random's Rayguns - Ordinary Spacer Weapons</li>
		</mods>
		<match Class="PatchOperationSequence">
			<operations>

				<!-- ====== Ogre Club ====== -->
				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="BS_OgreClub"]/statBases</xpath>
					<value>
						<Bulk>35</Bulk>
						<MeleeCounterParryBonus>0.04</MeleeCounterParryBonus>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="BS_OgreClub"]/statBases/WorkToMake</xpath>
					<value>
						<WorkToMake>2700</WorkToMake>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="BS_OgreClub"]</xpath>
					<value>
						<equippedStatOffsets>
							<MeleeCritChance>1.5</MeleeCritChance>
							<MeleeParryChance>0.04</MeleeParryChance>
							<MeleeDodgeChance>0.6</MeleeDodgeChance>
						</equippedStatOffsets>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="BS_OgreClub"]/weaponTags</xpath>
					<value>
						<li>CE_OneHandedWeapon</li>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="BS_OgreClub"]/tools</xpath>
					<value>
						<tools>
							<li Class="CombatExtended.ToolCE">
								<label>handle</label>
								<capacities>
									<li>Poke</li>
								</capacities>
								<power>19</power>
								<cooldownTime>2.95</cooldownTime>
								<chanceFactor>0.10</chanceFactor>
								<armorPenetrationBlunt>7.5</armorPenetrationBlunt>
								<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
							</li>
							<li Class="CombatExtended.ToolCE">
								<label>head</label>
								<capacities>
									<li>Demolish</li>
								</capacities>
								<power>23</power>
								<cooldownTime>3.06</cooldownTime>
								<chanceFactor>0.90</chanceFactor>
								<armorPenetrationBlunt>30</armorPenetrationBlunt>
								<linkedBodyPartsGroup>Head</linkedBodyPartsGroup>
							</li>
						</tools>
					</value>
				</li>

				<!-- ====== Giant Hammer ====== -->
				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="BS_GiantHammer"]/statBases</xpath>
					<value>
						<Bulk>35</Bulk>
						<MeleeCounterParryBonus>0.04</MeleeCounterParryBonus>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="BS_GiantHammer"]/statBases/WorkToMake</xpath>
					<value>
						<WorkToMake>3600</WorkToMake>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="BS_GiantHammer"]/equippedStatOffsets</xpath>
					<value>
						<MeleeCritChance>2</MeleeCritChance>
						<MeleeParryChance>0.04</MeleeParryChance>
						<MeleeDodgeChance>0.4</MeleeDodgeChance>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="BS_GiantHammer"]/weaponTags</xpath>
					<value>
						<li>CE_OneHandedWeapon</li>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="BS_GiantHammer"]/tools</xpath>
					<value>
						<tools>
							<li Class="CombatExtended.ToolCE">
								<label>handle</label>
								<capacities>
									<li>Poke</li>
								</capacities>
								<power>19</power>
								<cooldownTime>2.95</cooldownTime>
								<chanceFactor>0.10</chanceFactor>
								<armorPenetrationBlunt>7.5</armorPenetrationBlunt>
								<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
							</li>
							<li Class="CombatExtended.ToolCE">
								<label>head</label>
								<capacities>
									<li>Demolish</li>
								</capacities>
								<power>34</power>
								<cooldownTime>3.23</cooldownTime>
								<chanceFactor>0.90</chanceFactor>
								<armorPenetrationBlunt>30</armorPenetrationBlunt>
								<linkedBodyPartsGroup>Head</linkedBodyPartsGroup>
							</li>
						</tools>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="BS_GiantHammer"]/costStuffCount</xpath>
					<value>
						<costStuffCount>140</costStuffCount>
					</value>
				</li>

				<!-- ====== Jotun War Hammer ====== -->
				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="BS_JotunHammer"]/statBases</xpath>
					<value>
						<Bulk>50</Bulk>
						<MeleeCounterParryBonus>0.18</MeleeCounterParryBonus>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="BS_JotunHammer"]/statBases/WorkToMake</xpath>
					<value>
						<WorkToMake>27000</WorkToMake>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="BS_JotunHammer"]</xpath>
					<value>
						<equippedStatOffsets>
							<MeleeCritChance>3</MeleeCritChance>
							<MeleeParryChance>0.13</MeleeParryChance>
							<MeleeDodgeChance>0.8</MeleeDodgeChance>
						</equippedStatOffsets>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="BS_JotunHammer"]/tools</xpath>
					<value>
						<tools>
							<li Class="CombatExtended.ToolCE">
								<label>handle</label>
								<capacities>
									<li>Poke</li>
								</capacities>
								<power>19</power>
								<cooldownTime>2.95</cooldownTime>
								<chanceFactor>0.10</chanceFactor>
								<armorPenetrationBlunt>7.5</armorPenetrationBlunt>
								<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
							</li>
							<li Class="CombatExtended.ToolCE">
								<label>head</label>
								<capacities>
									<li>Demolish</li>
								</capacities>
								<power>51</power>
								<cooldownTime>3.92</cooldownTime>
								<chanceFactor>0.90</chanceFactor>
								<armorPenetrationBlunt>81</armorPenetrationBlunt>
								<linkedBodyPartsGroup>Head</linkedBodyPartsGroup>
							</li>
						</tools>
					</value>
				</li>

				<!-- ====== Jotun Sword ====== -->
				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="BS_JotunSword"]/statBases</xpath>
					<value>
						<Bulk>30</Bulk>
						<MeleeCounterParryBonus>0.08</MeleeCounterParryBonus>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="BS_JotunSword"]</xpath>
					<value>
						<equippedStatOffsets>
							<MeleeCritChance>0.02</MeleeCritChance>
							<MeleeParryChance>0.08</MeleeParryChance>
							<MeleeDodgeChance>0.4</MeleeDodgeChance>
						</equippedStatOffsets>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="BS_JotunSword"]/weaponTags</xpath>
					<value>
						<li>CE_OneHandedWeapon</li>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="BS_JotunSword"]/tools</xpath>
					<value>
						<tools>
							<li Class="CombatExtended.ToolCE">
								<label>handle</label>
								<capacities>
									<li>Poke</li>
								</capacities>
								<power>11</power>
								<cooldownTime>2.52</cooldownTime>
								<chanceFactor>0.05</chanceFactor>
								<armorPenetrationBlunt>4</armorPenetrationBlunt>
								<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
							</li>
							<li Class="CombatExtended.ToolCE">
								<label>point</label>
								<capacities>
									<li>Stab</li>
								</capacities>
								<power>44</power>
								<cooldownTime>2.52</cooldownTime>
								<chanceFactor>0.50</chanceFactor>
								<armorPenetrationBlunt>4</armorPenetrationBlunt>
								<armorPenetrationSharp>3.34</armorPenetrationSharp>
								<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
							</li>
							<li Class="CombatExtended.ToolCE">
								<label>edge</label>
								<capacities>
									<li>Cut</li>
								</capacities>
								<power>36</power>
								<cooldownTime>3.03</cooldownTime>
								<chanceFactor>0.45</chanceFactor>
								<armorPenetrationBlunt>9</armorPenetrationBlunt>
								<armorPenetrationSharp>2.38</armorPenetrationSharp>
								<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
							</li>
						</tools>
					</value>
				</li>

				<!-- ====== Surtr Sword ====== -->
				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="BS_SurtrSword"]/statBases</xpath>
					<value>
						<Bulk>30</Bulk>
						<MeleeCounterParryBonus>0.4</MeleeCounterParryBonus>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="BS_SurtrSword"]</xpath>
					<value>
						<equippedStatOffsets>
							<MeleeCritChance>1</MeleeCritChance>
							<MeleeParryChance>0.4</MeleeParryChance>
							<MeleeDodgeChance>0.27</MeleeDodgeChance>
						</equippedStatOffsets>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="BS_SurtrSword"]/weaponTags</xpath>
					<value>
						<li>CE_OneHandedWeapon</li>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="BS_SurtrSword"]/tools</xpath>
					<value>
						<tools>
							<li Class="CombatExtended.ToolCE">
								<label>handle</label>
								<capacities>
									<li>Poke</li>
								</capacities>
								<power>16</power>
								<cooldownTime>2.79</cooldownTime>
								<chanceFactor>0.05</chanceFactor>
								<armorPenetrationBlunt>6</armorPenetrationBlunt>
								<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
							</li>
							<li Class="CombatExtended.ToolCE">
								<label>point</label>
								<capacities>
									<li>Stab</li>
								</capacities>
								<power>76</power>
								<cooldownTime>2.33</cooldownTime>
								<chanceFactor>0.50</chanceFactor>
								<armorPenetrationBlunt>8.64</armorPenetrationBlunt>
								<armorPenetrationSharp>168.69</armorPenetrationSharp>
								<linkedBodyPartsGroup>Point</linkedBodyPartsGroup>
								<extraMeleeDamages>
									<li>
										<def>Flame</def>
										<amount>20</amount>
										<chance>0.75</chance>
									</li>
								</extraMeleeDamages>
							</li>
							<li Class="CombatExtended.ToolCE">
								<label>edge</label>
								<capacities>
									<li>Cut</li>
								</capacities>
								<power>87</power>
								<cooldownTime>2.07</cooldownTime>
								<chanceFactor>0.45</chanceFactor>
								<armorPenetrationBlunt>19.44</armorPenetrationBlunt>
								<armorPenetrationSharp>121.5</armorPenetrationSharp>
								<linkedBodyPartsGroup>Edge</linkedBodyPartsGroup>
								<extraMeleeDamages>
									<li>
										<def>Flame</def>
										<amount>20</amount>
										<chance>0.75</chance>
									</li>
								</extraMeleeDamages>
							</li>
						</tools>
					</value>
				</li>

				<!-- ====== Skrymir Hammer ====== -->
				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="BS_SkrymirHammer"]/statBases</xpath>
					<value>
						<Bulk>60</Bulk>
						<MeleeCounterParryBonus>0.6</MeleeCounterParryBonus>
					</value>
				</li>

				<li Class="PatchOperationAdd">
					<xpath>Defs/ThingDef[defName="BS_SkrymirHammer"]</xpath>
					<value>
						<equippedStatOffsets>
							<MeleeCritChance>1</MeleeCritChance>
							<MeleeParryChance>0.45</MeleeParryChance>
							<MeleeDodgeChance>0.3</MeleeDodgeChance>
						</equippedStatOffsets>
					</value>
				</li>

				<li Class="PatchOperationReplace">
					<xpath>Defs/ThingDef[defName="BS_SkrymirHammer"]/tools</xpath>
					<value>
						<tools>
							<li Class="CombatExtended.ToolCE">
								<label>handle</label>
								<capacities>
									<li>Poke</li>
								</capacities>
								<power>22</power>
								<cooldownTime>3.09</cooldownTime>
								<chanceFactor>0.10</chanceFactor>
								<armorPenetrationBlunt>15</armorPenetrationBlunt>
								<linkedBodyPartsGroup>Handle</linkedBodyPartsGroup>
							</li>
							<li Class="CombatExtended.ToolCE">
								<label>head</label>
								<capacities>
									<li>Demolish</li>
								</capacities>
								<power>70</power>
								<extraMeleeDamages>
									<li>
										<def>Frostbite</def>
										<amount>9</amount>
										<chance>0.75</chance>
									</li>
									<li>
										<def>EMP</def>
										<amount>9</amount>
									</li>
									<li>
										<def>Stun</def>
										<amount>9</amount>
										<chance>0.25</chance>
									</li>
								</extraMeleeDamages>
								<cooldownTime>3.21</cooldownTime>
								<chanceFactor>0.90</chanceFactor>
								<armorPenetrationBlunt>200</armorPenetrationBlunt>
								<linkedBodyPartsGroup>Head</linkedBodyPartsGroup>
							</li>
						</tools>
					</value>
				</li>

			</operations>
		</match>
	</Operation>
</Patch>