package Items
using RTDB, BaseStats, Prereqs, Perks, Effectors

Preset_Crowbar_Default : Base_One_Hand_Blunt
{
	displayName = "LocKey#40207";
	localizedDescription = "LocKey#40208";
	CName[] visualTags = 
	[
		"Default"
	];
	CName appearanceResourceName = "Preset_Crowbar_Default";
	tags += 
	[
		"Tool_Weapon", "Crowbar"
	];
	fk< UIIcon > hudIcon = "HUDWeaponIcons.Crowbar";
	fk< SlotItemPartPreset >[] slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			fk< Item > itemPartPreset = "Items.w_crowbar_common_grip";
		}, 
		{
			slot = "AttachmentSlots.Blunt_WeaponMod1";
		} : BluntModList_Slot1, 
		{
			slot = "AttachmentSlots.Blunt_WeaponMod2";
		} : BluntModList_Slot2
	];
	OnAttach = 
	[
		"GLP.HoldingSlowMelee"
	];
	audioWeaponConfiguration = "audio_melee_metadata_crowbar";
	fk< StatModifierGroup >[] statModifierGroups += 
	[
		"Items.Crowbar_Damage_Stats"
	];
	npcRPGData = 
	{
		statModifierGroups += 
		[
			"Items.Crowbar_NPC_Damage_Stats"
		];
	} : Base_One_Hand_Blunt_NPC_Data;
}

Crowbar_Damage_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.DPS";
			modifierType = "Additive";
			value = 67f;
		} : ConstantStatModifier
	];
}

Crowbar_NPC_Damage_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.DPS";
			modifierType = "Additive";
			value = 67f;
		} : ConstantStatModifier
	];
}

[ notQueryable ]
Craftable_Common_Crowbar : Preset_Crowbar_Default
{
	quality = "Quality.Common";
	fk< SlotItemPartPreset >[] slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			fk< Item > itemPartPreset = "Items.w_crowbar_common_grip";
		}
	];
	CraftingData = "Items.Small_Common_Crafting_Materials_Weapon";
}

[ notQueryable ]
Craftable_Uncommon_Crowbar : Craftable_Common_Crowbar
{
	quality = "Quality.Uncommon";
	CraftingData = "Items.Small_Uncommon_Crafting_Materials_Weapon";
}

[ notQueryable ]
Craftable_Rare_Crowbar : Craftable_Uncommon_Crowbar
{
	quality = "Quality.Rare";
	CraftingData = "Items.Small_Rare_Crafting_Materials_Weapon";
}

[ notQueryable ]
Craftable_Epic_Crowbar : Craftable_Uncommon_Crowbar
{
	quality = "Quality.Epic";
	CraftingData = "Items.Small_Epic_Crafting_Materials_Weapon";
}

[ notQueryable ]
Craftable_Legendary_Crowbar : Craftable_Uncommon_Crowbar
{
	quality = "Quality.Legendary";
	CraftingData = "Items.Small_Legendary_Crafting_Materials_Weapon";
}

[ notQueryable ]
Preset_Baton_Tinker_Bell : Base_One_Hand_Blunt
{
	OnLooted += 
	[
		{
			effectors = 
			[
				{
					fact = "tinker_bell_owned";
					value = 1;
				} : SetFactEffector
			];
		}
	];
	fk< ItemBlueprint > blueprint = "Items.Iconic_Melee_Blueprint";
	displayName = "LocKey#40589";
	visualTags = 
	[
		"PeterPan_Baton"
	];
	quality = "Quality.Random";
	appearanceResourceName = "Preset_Cattle_Prod_Default";
	tags += 
	[
		"IconicWeapon"
	];
	statModifiers += 
	[
		"Quality.IconicItem"
	];
	localizedDescription = "LocKey#40590";
	hudIcon = "HUDWeaponIcons.CattleProd";
	npcRPGData = 
	{
		statModifiers += 
		[
			"Quality.IconicItem"
		];
	} : Items.Base_One_Hand_Blunt_NPC_Data;
	statPools = 
	[
		"BaseStatPools.TechMeleeCharge"
	];
	OnAttach = 
	[
		"GLP.HoldingSlowMelee"
	];
	slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			itemPartPreset = "Items.w_cattle_prod_common_grip";
		}, 
		{
			slot = "AttachmentSlots.IconicMeleeWeaponMod1";
			itemPartPreset = "Items.TinkerBellWeaponMod";
		}
	];
	statModifierGroups = 
	[
		"Items.IconicQualityRandomization", "Items.Base_Melee_Status_Effect_Application_Stats", "Items.Blunts_Stun_Application_Stats", "Items.Base_Melee_Tech_Stats", "Items.Tinker_Bell_RPG_Stats", "Items.Base_One_Hand_Blunt_Handling_Stats", "Items.Base_One_Hand_Blunt_Misc_Stats", "Items.Base_Melee_Weapon_Damage_Type_Electric", "Items.Base_Melee_Weapon_Damage_Type_Electric_Min_Max", "Items.Baton_Damage_Stats"
	];
	fk< Attack >[] attacks = 
	[
		"BatonAttacks.BatonComboAttack1", "BatonAttacks.BatonComboAttack2", "BatonAttacks.BatonComboAttack3", "BatonAttacks.BatonComboAttack4", "BatonAttacks.BatonMountedComboAttack1", "BatonAttacks.BatonMountedComboAttack2", "BatonAttacks.BatonMountedComboAttack3", "BatonAttacks.BatonMountedComboAttack4", "BatonAttacks.BatonFinalAttack1", "BatonAttacks.BatonFinalAttack2", "BatonAttacks.BatonFinalAttack3", "BatonAttacks.BatonFinalAttack4", "BatonAttacks.BatonFinalAttack5", "BatonAttacks.BatonMountedFinalAttack1", "BatonAttacks.BatonMountedFinalAttack2", "BatonAttacks.BatonMountedFinalAttack3", "BatonAttacks.BatonMountedFinalAttack4", "BatonAttacks.BatonMountedFinalAttack5", "BatonAttacks.BatonStrongAttack1", "BatonAttacks.BatonStrongAttack2", "BatonAttacks.BatonStrongAttack3", "BatonAttacks.BatonMountedStrongAttack1", "BatonAttacks.BatonMountedStrongAttack2", "BatonAttacks.BatonMountedStrongAttack3", "BatonAttacks.BatonJumpAttack", "BatonAttacks.BatonCrouchAttack", "BatonAttacks.BatonSprintAttack", "BatonAttacks.BatonSafeAttack", "BatonAttacks.BatonBlockAttack", "BatonAttacks.BatonDeflectAttack", "BatonAttacks.BatonBodySlamLevel1Attack", "BatonAttacks.BatonBodySlamLevel2Attack", "BatonAttacks.BatonBodySlamLevel3Attack", "BatonAttacks.BatonGroundSlamAttack"
	];
	audioWeaponConfiguration = "audio_melee_metadata_cattle_prod";
}

Tinker_Bell_RPG_Stats : StatModifierGroup
{
	statModifiers = 
	[
		{
			statType = "BaseStats.Weight";
			modifierType = "Additive";
			value = 4.2f;
		} : ConstantStatModifier, 
		{
			value = 100.f;
		} : ChargeModifier, 
		{
			value = 1.0f;
		} : ChargeTimeModifier, 
		{
			statType = "BaseStats.BlockFactor";
			modifierType = "Additive";
			value = 4f;
		} : ConstantStatModifier, 
		"AttackModifier.WeaponArmorPenetrationMedium", {
			statType = "BaseStats.ElectrocutedApplicationRate";
			modifierType = "Additive";
			refObject = "Player";
			refStat = "BaseStats.SEApplicationRateBasedOnWeaponCharge";
			opSymbol = "*";
			value = 1.0f;
		} : CombinedStatModifier
	];
}

[ notQueryable ]
[ EP1 ]
Preset_Crowbar_Bunker : Preset_Crowbar_Default
{
	OnLooted += 
	[
		{
			effectors = 
			[
				{
					fact = "crowbar_bunker_owned";
					value = 1;
				} : SetFactEffector
			];
		}
	];
	fk< ItemBlueprint > blueprint = "Items.Iconic_Melee_Blueprint";
	displayName = "LocKey#87708";
	[ EP1 ]
	fk< UIIcon > hudIcon = "HUDWeaponIcons.Crowbar_Bunker";
	visualTags = 
	[
		"Bunker_Crowbar"
	];
	quality = "Quality.Random";
	tags += 
	[
		"IconicWeapon"
	];
	localizedDescription = "LocKey#87709";
	statModifiers += 
	[
		"Quality.IconicItem"
	];
	OnAttach = 
	[
		"GLP.HoldingMelee"
	];
	npcRPGData = 
	{
		statModifiers += 
		[
			"Quality.IconicItem"
		];
		statModifierGroups += 
		[
			"Items.Crowbar_NPC_Damage_Stats"
		];
	} : Base_One_Hand_Blunt_NPC_Data;
	slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			fk< Item > itemPartPreset = "Items.w_crowbar_common_grip";
		}, 
		{
			slot = "AttachmentSlots.IconicMeleeWeaponMod1";
			itemPartPreset = "Items.BunkerCrowbarWeaponMod";
		}
	];
	statModifierGroups = 
	[
		"Items.IconicQualityRandomization", "Items.Blunts_Stun_Application_Stats", "Items.Base_One_Hand_Blunt_RPG_Stats", "Items.Base_One_Hand_Blunt_Handling_Stats", "Items.Base_One_Hand_Blunt_Misc_Stats", "Items.Base_Melee_Weapon_Damage_Type_Physical", "Items.Base_Melee_Weapon_Damage_Type_Physical_Min_Max", "Items.Crowbar_Damage_Stats"
	];
	fk< Attack >[] attacks = 
	[
		"OneHandBluntAttacks.BunkerCrowbarAttack", "OneHandBluntAttacks.BunkerCrowbarMountedAttack", "OneHandBluntAttacks.BunkerCrowbarStrongAttack", "OneHandBluntAttacks.BunkerCrowbarMountedStrongAttack", "OneHandBluntAttacks.BunkerCrowbarJumpAttack", "OneHandBluntAttacks.BunkerCrowbarCrouchAttack", "OneHandBluntAttacks.BunkerCrowbarSprintAttack", "OneHandBluntAttacks.BunkerCrowbarSafeAttack", "OneHandBluntAttacks.BunkerCrowbarBlockAttack", "OneHandBluntAttacks.BunkerCrowbarDeflectAttack", "OneHandBluntAttacks.OneHandBluntBodySlamLevel1Attack", "OneHandBluntAttacks.OneHandBluntBodySlamLevel2Attack", "OneHandBluntAttacks.OneHandBluntBodySlamLevel3Attack", "OneHandBluntAttacks.OneHandBluntGroundSlamAttack"
	];
}

Preset_Iron_Pipe_Default : Base_One_Hand_Blunt
{
	displayName = "LocKey#40209";
	localizedDescription = "LocKey#40210";
	CName[] visualTags = 
	[
		"Default"
	];
	CName appearanceResourceName = "Preset_Iron_Pipe_Default";
	tags += 
	[
		"Tool_Weapon", "Iron_Pipe"
	];
	previewBBoxOverride = 
	[
		( -0.0253f, -0.0496f, -0.241f ), ( 0.0247f, 0.0356f, 0.2736f )
	];
	fk< GameplayLogicPackage >[] OnAttach += 
	[
		{
			animationWrapperOverrides = 
			[
				"w_iron_pipe"
			];
		} : GameplayLogicPackage, 
		"GLP.HoldingChainsword"
	];
	fk< UIIcon > hudIcon = "HUDWeaponIcons.IronPipe";
	fk< SlotItemPartPreset >[] slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			fk< Item > itemPartPreset = "Items.w_iron_pipe_common_grip";
		}, 
		{
			slot = "AttachmentSlots.Blunt_WeaponMod1";
		} : BluntModList_Slot1, 
		{
			slot = "AttachmentSlots.Blunt_WeaponMod2";
		} : BluntModList_Slot2
	];
	audioWeaponConfiguration = "audio_melee_metadata_iron_pipe";
	fk< StatModifierGroup >[] statModifierGroups += 
	[
		"Items.Iron_Pipe_Damage_Stats"
	];
	npcRPGData = 
	{
		statModifierGroups += 
		[
			"Items.Iron_Pipe_NPC_Damage_Stats"
		];
	} : Base_One_Hand_Blunt_NPC_Data;
}

Iron_Pipe_Damage_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.DPS";
			modifierType = "Additive";
			value = 67f;
		} : ConstantStatModifier
	];
}

Iron_Pipe_NPC_Damage_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.DPS";
			modifierType = "Additive";
			value = 67f;
		} : ConstantStatModifier
	];
}

[ notQueryable ]
Craftable_Common_Iron_Pipe : Preset_Iron_Pipe_Default
{
	quality = "Quality.Common";
	fk< SlotItemPartPreset >[] slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			fk< Item > itemPartPreset = "Items.w_iron_pipe_common_grip";
		}
	];
	CraftingData = "Items.Small_Common_Crafting_Materials_Weapon";
}

[ notQueryable ]
Craftable_Uncommon_Iron_Pipe : Craftable_Common_Iron_Pipe
{
	quality = "Quality.Uncommon";
	CraftingData = "Items.Small_Uncommon_Crafting_Materials_Weapon";
}

[ notQueryable ]
Craftable_Rare_Iron_Pipe : Craftable_Uncommon_Iron_Pipe
{
	quality = "Quality.Rare";
	CraftingData = "Items.Small_Rare_Crafting_Materials_Weapon";
}

[ notQueryable ]
Craftable_Epic_Iron_Pipe : Craftable_Uncommon_Iron_Pipe
{
	quality = "Quality.Epic";
	CraftingData = "Items.Small_Epic_Crafting_Materials_Weapon";
}

[ notQueryable ]
Craftable_Legendary_Iron_Pipe : Craftable_Uncommon_Iron_Pipe
{
	quality = "Quality.Legendary";
	CraftingData = "Items.Small_Legendary_Crafting_Materials_Weapon";
}

Preset_Tire_Iron_Default : Base_One_Hand_Blunt
{
	displayName = "LocKey#40211";
	localizedDescription = "LocKey#40212";
	CName[] visualTags = 
	[
		"Default"
	];
	CName appearanceResourceName = "Preset_Tire_Iron_Default";
	tags += 
	[
		"Tool_Weapon", "Tire_Iron"
	];
	fk< UIIcon > hudIcon = "HUDWeaponIcons.Tire";
	fk< SlotItemPartPreset >[] slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			fk< Item > itemPartPreset = "Items.w_tire_iron_common_grip";
		}, 
		{
			slot = "AttachmentSlots.Blunt_WeaponMod1";
		} : BluntModList_Slot1, 
		{
			slot = "AttachmentSlots.Blunt_WeaponMod2";
		} : BluntModList_Slot2
	];
	OnAttach = 
	[
		"GLP.HoldingSlowMelee"
	];
	audioWeaponConfiguration = "audio_melee_metadata_tire_iron";
	previewBBoxOverride = 
	[
		( -0.025f, -0.0143f, -0.2333f ), ( 0.025f, 0.0809f, 0.286f )
	];
	fk< StatModifierGroup >[] statModifierGroups += 
	[
		"Items.Tire_Iron_Damage_Stats"
	];
	npcRPGData = 
	{
		statModifierGroups += 
		[
			"Items.Tire_Iron_NPC_Damage_Stats"
		];
	} : Base_One_Hand_Blunt_NPC_Data;
}

Tire_Iron_Damage_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.DPS";
			modifierType = "Additive";
			value = 67f;
		} : ConstantStatModifier
	];
}

Tire_Iron_NPC_Damage_Stats : StatModifierGroup
{
	fk< StatModifier >[] statModifiers = 
	[
		{
			statType = "BaseStats.DPS";
			modifierType = "Additive";
			value = 67f;
		} : ConstantStatModifier
	];
}

[ notQueryable ]
Craftable_Common_Tire_Iron : Preset_Tire_Iron_Default
{
	quality = "Quality.Common";
	fk< SlotItemPartPreset >[] slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			fk< Item > itemPartPreset = "Items.w_tire_iron_common_grip";
		}
	];
	CraftingData = "Items.Small_Common_Crafting_Materials_Weapon";
}

[ notQueryable ]
Craftable_Uncommon_Tire_Iron : Craftable_Common_Tire_Iron
{
	quality = "Quality.Uncommon";
	CraftingData = "Items.Small_Uncommon_Crafting_Materials_Weapon";
}

[ notQueryable ]
Craftable_Rare_Tire_Iron : Craftable_Uncommon_Tire_Iron
{
	quality = "Quality.Rare";
	CraftingData = "Items.Small_Rare_Crafting_Materials_Weapon";
}

[ notQueryable ]
Craftable_Epic_Tire_Iron : Craftable_Uncommon_Tire_Iron
{
	quality = "Quality.Epic";
	CraftingData = "Items.Small_Epic_Crafting_Materials_Weapon";
}

[ notQueryable ]
Craftable_Legendary_Tire_Iron : Craftable_Uncommon_Tire_Iron
{
	quality = "Quality.Legendary";
	CraftingData = "Items.Small_Legendary_Crafting_Materials_Weapon";
}

[ notQueryable ]
Preset_Pipe_Wrench_Default : Preset_Tire_Iron_Default
{
}

[ notQueryable ]
Craftable_Common_Pipe_Wrench : Craftable_Common_Tire_Iron
{
}

[ notQueryable ]
Craftable_Uncommon_Pipe_Wrench : Craftable_Uncommon_Tire_Iron
{
}

[ notQueryable ]
Craftable_Rare_Pipe_Wrench : Craftable_Rare_Tire_Iron
{
}

[ notQueryable ]
Craftable_Epic_Pipe_Wrench : Craftable_Epic_Tire_Iron
{
}

[ notQueryable ]
Craftable_Legendary_Pipe_Wrench : Craftable_Legendary_Tire_Iron
{
}

[ notQueryable ]
w_melee_007__pipe_wrench : Preset_Pipe_Wrench_Default
{
}

