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

Preset_Katana_Default : Base_Katana
{
	displayName = "LocKey#40183";
	localizedDescription = "LocKey#40184";
	CName[] visualTags = 
	[
		"Default"
	];
	CName appearanceResourceName = "Preset_Katana_Default";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.MeleeKatanaLevel2";
	fk< SlotItemPartPreset >[] slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			itemPartPreset = "Items.w_katana_grip";
		}, 
		{
			slot = "AttachmentSlots.Blade_WeaponMod1";
		} : BladeModList_Slot1, 
		{
			slot = "AttachmentSlots.Blade_WeaponMod2";
		} : BladeModList_Slot2
	];
}

[ notQueryable ]
Preset_Katana_Arasaka_2020 : Preset_Katana_Default
{
	CName[] visualTags = 
	[
		"Arasaka_2020"
	];
	localizedDescription = "LocKey#40185";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.MeleeKatanaLevel3";
}

[ notQueryable ]
Preset_Katana_Arasaka_2077 : Preset_Katana_Default
{
	CName[] visualTags = 
	[
		"Arasaka_2077"
	];
	localizedDescription = "LocKey#40185";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.MeleeKatanaLevel3";
}

Preset_Katana_Neon : Preset_Katana_Default
{
	CName[] visualTags = 
	[
		"Neon"
	];
	tags += 
	[
		"Neon"
	];
	localizedDescription = "LocKey#40186";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.MeleeKatanaLevel4";
}

Preset_Katana_Neon_03 : Preset_Katana_Default
{
	CName[] visualTags = 
	[
		"Neon_03"
	];
	tags += 
	[
		"Neon"
	];
	localizedDescription = "LocKey#40186";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.MeleeKatanaLevel2";
}

Preset_Katana_Military : Preset_Katana_Default
{
	CName[] visualTags = 
	[
		"Military"
	];
	tags += 
	[
		"Military"
	];
	localizedDescription = "LocKey#40187";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.MeleeKatanaLevel4";
}

Preset_Katana_Pimp : Preset_Katana_Default
{
	CName[] visualTags = 
	[
		"Pimp"
	];
	tags += 
	[
		"Pimp"
	];
	localizedDescription = "LocKey#40186";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.MeleeKatanaLevel4";
}

Preset_Katana_Pimp_03 : Preset_Katana_Default
{
	CName[] visualTags = 
	[
		"Pimp_03"
	];
	tags += 
	[
		"Pimp"
	];
	localizedDescription = "LocKey#40186";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.MeleeKatanaLevel2";
}

[ notQueryable ]
Preset_Katana_Training : Preset_Katana_Default
{
	CName[] visualTags = 
	[
		"Training"
	];
	fk< UIIcon > hudIcon = "HUDWeaponIcons.MeleeKatanaLevel2";
	statModifiers += 
	[
		{
			statType = "BaseStats.Level";
			modifierType = "Multiplier";
			value = 0;
		} : ConstantStatModifier
	];
}

[ notQueryable ]
Craftable_Common_Katana : Preset_Katana_Default
{
	quality = "Quality.Common";
	fk< SlotItemPartPreset >[] slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			itemPartPreset = "Items.w_katana_grip";
		}
	];
	CraftingData = "Items.Big_Common_Crafting_Materials_Weapon";
}

[ notQueryable ]
Craftable_Uncommon_Katana : Craftable_Common_Katana
{
	quality = "Quality.Uncommon";
	CraftingData = "Items.Big_Uncommon_Crafting_Materials_Weapon";
}

[ notQueryable ]
Craftable_Rare_Katana : Craftable_Uncommon_Katana
{
	quality = "Quality.Rare";
	CraftingData = "Items.Big_Rare_Crafting_Materials_Weapon";
}

[ notQueryable ]
Craftable_Epic_Katana : Craftable_Uncommon_Katana
{
	quality = "Quality.Epic";
	CraftingData = "Items.Big_Epic_Crafting_Materials_Weapon";
}

[ notQueryable ]
Craftable_Legendary_Katana : Craftable_Uncommon_Katana
{
	quality = "Quality.Legendary";
	CraftingData = "Items.Big_Legendary_Crafting_Materials_Weapon";
}

[ notQueryable ]
Proficiency_Craftable_Legendary_Katana : Craftable_Legendary_Katana
{
}

[ notQueryable ]
Craftable_Common_Katana_Military : Craftable_Common_Katana
{
}

[ notQueryable ]
Craftable_Uncommon_Katana_Military : Craftable_Uncommon_Katana
{
}

[ notQueryable ]
Craftable_Rare_Katana_Military_1 : Craftable_Rare_Katana
{
}

[ notQueryable ]
Craftable_Epic_Katana_Military : Craftable_Epic_Katana
{
}

[ notQueryable ]
Craftable_Legendary_Katana_Military : Craftable_Legendary_Katana
{
}

[ notQueryable ]
Preset_Katana_GoG : Preset_Katana_Default
{
	OnLooted += 
	[
		{
			effectors = 
			[
				{
					fact = "katana_gog_owned";
					value = 1;
				} : SetFactEffector
			];
		}
	];
	fk< ItemBlueprint > blueprint = "Items.Iconic_Melee_Blueprint";
	displayName = "LocKey#76935";
	visualTags = 
	[
		"Witcher_Katana"
	];
	quality = "Quality.Random";
	tags += 
	[
		"DLCStashItem", "IconicWeapon", "Gog_Katana", "StashScaling_Iconic"
	];
	fk< UIIcon > hudIcon = "HUDWeaponIcons.WitcherKatana";
	localizedDescription = "LocKey#76936";
	slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			itemPartPreset = "Items.w_katana_grip";
		}, 
		{
			slot = "AttachmentSlots.IconicMeleeWeaponMod1";
			itemPartPreset = "Items.GogKatanaWeaponMod";
		}
	];
	statModifiers += 
	[
		"Quality.IconicItem", "Character.ScaleToPlayerLevel"
	];
	npcRPGData = 
	{
		statModifiers += 
		[
			"Quality.IconicItem"
		];
	} : Items.Base_Katana_NPC_Data;
	statModifierGroups = 
	[
		"Items.IconicQualityRandomization", "Items.Base_Melee_Status_Effect_Application_Stats", "Items.Base_Katana_RPG_Stats", "Items.Base_Katana_Handling_Stats", "Items.Base_Katana_Misc_Stats", "Items.Base_Melee_Weapon_Damage_Type_Physical", "Items.Base_Melee_Weapon_Damage_Type_Physical_Min_Max", "Items.Base_Katana_Damage_Stats"
	];
	bool scaleToPlayer = true;
	bool scaleToPlayerInStash = true;
	enableNpcRPGData = false;
}

[ notQueryable ]
[ EP1 ]
Preset_Sword_Witcher : Preset_Katana_Default
{
	OnLooted += 
	[
		{
			effectors = 
			[
				{
					fact = "sword_witcher_owned";
					value = 1;
				} : SetFactEffector
			];
		}
	];
	fk< ItemBlueprint > blueprint = "Items.Iconic_Melee_Blueprint";
	displayName = "LocKey#91106";
	[ EP1 ]
	fk< UIIcon > hudIcon = "HUDWeaponIcons.Sword_Witcher";
	localizedDescription = "LocKey#91107";
	quality = "Quality.Random";
	itemType = "ItemType.Wea_Sword";
	visualTags = 
	[
		"Witcher_Sword"
	];
	tags += 
	[
		"IconicWeapon", "StashScaling_Iconic"
	];
	statModifiers += 
	[
		"Quality.IconicItem", "Character.ScaleToPlayerLevel"
	];
	fk< GameplayLogicPackage >[] OnAttach += 
	[
		{
			animationWrapperOverrides = 
			[
				"w_katana__common__grip1_witcher"
			];
		}
	];
	npcRPGData = 
	{
		statModifiers += 
		[
			"Quality.IconicItem"
		];
	} : Items.Base_Katana_NPC_Data;
	slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			itemPartPreset = "Items.w_katana_grip";
		}, 
		{
			slot = "AttachmentSlots.IconicMeleeWeaponMod1";
			itemPartPreset = "Items.WitcherSwordWeaponMod";
		}
	];
	bool scaleToPlayer = true;
	bool scaleToPlayerInStash = true;
	enableNpcRPGData = false;
	statModifierGroups = 
	[
		"Items.IconicQualityRandomization", "Items.Base_Melee_Status_Effect_Application_Stats", "Items.Base_Katana_RPG_Stats", "Items.Base_Katana_Handling_Stats", "Items.Base_Katana_Misc_Stats", "Items.Base_Katana_Damage_Stats", "Items.Borg_Machete_Stats", "Items.Base_Melee_Weapon_Damage_Type_Physical", "Items.Base_Melee_Weapon_Damage_Type_Physical_Min_Max"
	];
}

[ notQueryable ]
Preset_Katana_Cocktail : Preset_Katana_Default
{
	OnLooted += 
	[
		{
			effectors = 
			[
				{
					fact = "katana_cocktail_owned";
					value = 1;
				} : SetFactEffector
			];
		}
	];
	fk< ItemBlueprint > blueprint = "Items.Iconic_Melee_Blueprint";
	displayName = "LocKey#40591";
	visualTags = 
	[
		"Cocktail_Stick"
	];
	quality = "Quality.Random";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.MeleeKatanaLevel2";
	tags += 
	[
		"IconicWeapon"
	];
	statModifiers += 
	[
		"Quality.IconicItem"
	];
	localizedDescription = "LocKey#40592";
	npcRPGData = 
	{
		statModifiers += 
		[
			"Quality.IconicItem"
		];
	} : Items.Base_Katana_NPC_Data;
	slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			itemPartPreset = "Items.w_katana_grip";
		}, 
		{
			slot = "AttachmentSlots.IconicMeleeWeaponMod1";
			itemPartPreset = "Items.CocktailStickWeaponMod";
		}
	];
	statModifierGroups = 
	[
		"Items.IconicQualityRandomization", "Items.Base_Melee_Status_Effect_Application_Stats", "Items.Base_Katana_RPG_Stats", "Items.Base_Katana_Handling_Stats", "Items.Base_Katana_Misc_Stats", "Items.Base_Melee_Weapon_Damage_Type_Physical", "Items.Base_Melee_Weapon_Damage_Type_Physical_Min_Max", "Items.Base_Katana_Damage_Stats"
	];
}

[ notQueryable ]
Preset_Katana_Hiromi : Preset_Katana_Default
{
	OnLooted += 
	[
		{
			effectors = 
			[
				{
					fact = "katana_hiromi_owned";
					value = 1;
				} : SetFactEffector
			];
		}
	];
	fk< ItemBlueprint > blueprint = "Items.Iconic_Melee_Blueprint";
	displayName = "LocKey#40597";
	visualTags = 
	[
		"Hiromi_Katana"
	];
	quality = "Quality.Random";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.MeleeKatanaLevel2";
	tags += 
	[
		"IconicWeapon"
	];
	statModifiers += 
	[
		"Quality.IconicItem"
	];
	localizedDescription = "LocKey#40593";
	npcRPGData = 
	{
		statModifiers += 
		[
			"Quality.IconicItem"
		];
	} : Items.Base_Katana_NPC_Data;
	slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			itemPartPreset = "Items.w_katana_grip";
		}, 
		{
			slot = "AttachmentSlots.IconicMeleeWeaponMod1";
			itemPartPreset = "Items.HiromiKatanaWeaponMod";
		}
	];
	statModifierGroups = 
	[
		"Items.IconicQualityRandomization", "Items.Base_Melee_Status_Effect_Application_Stats", "Items.Base_Katana_RPG_Stats", "Items.Base_Katana_Handling_Stats", "Items.Base_Katana_Misc_Stats", "Items.Base_Katana_Damage_Stats", "Items.Base_Melee_Weapon_Damage_Type_Electric", "Items.Base_Melee_Weapon_Damage_Type_Electric_Min_Max"
	];
}

[ notQueryable ]
Preset_Katana_Takemura : Preset_Katana_Default
{
	OnLooted += 
	[
		{
			effectors = 
			[
				{
					fact = "katana_takemura_owned";
					value = 1;
				} : SetFactEffector
			];
		}
	];
	fk< ItemBlueprint > blueprint = "Items.Iconic_Melee_Blueprint";
	displayName = "LocKey#40598";
	visualTags = 
	[
		"Takemura_Katana"
	];
	quality = "Quality.Random";
	localizedDescription = "LocKey#40594";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.MeleeKatanaLevel3";
	tags += 
	[
		"IconicWeapon"
	];
	slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			itemPartPreset = "Items.w_katana_grip";
		}, 
		{
			slot = "AttachmentSlots.IconicMeleeWeaponMod1";
			itemPartPreset = "Items.TakemuraKatanaWeaponMod";
		}
	];
	statModifiers += 
	[
		"Quality.IconicItem", {
			statType = "BaseStats.Level";
			modifierType = "Multiplier";
			value = 0;
		} : ConstantStatModifier
	];
	bool scaleToPlayer = true;
	npcRPGData = 
	{
		statModifiers += 
		[
			"Quality.IconicItem"
		];
	} : Items.Base_Katana_NPC_Data;
	statModifierGroups = 
	[
		"Items.IconicQualityRandomization", "Items.Base_Melee_Status_Effect_Application_Stats", "Items.Base_Katana_RPG_Stats", "Items.Base_Katana_Handling_Stats", "Items.Base_Katana_Misc_Stats", "Items.Base_Katana_Damage_Stats", "Items.Base_Melee_Weapon_Damage_Type_Physical", "Items.Base_Melee_Weapon_Damage_Type_Physical_Min_Max"
	];
}

[ notQueryable ]
Preset_Katana_Saburo : Preset_Katana_Default
{
	OnLooted += 
	[
		{
			effectors = 
			[
				{
					fact = "katana_saburo_owned";
					value = 1;
				} : SetFactEffector
			];
		}
	];
	fk< ItemBlueprint > blueprint = "Items.Iconic_Melee_Blueprint";
	displayName = "LocKey#40599";
	visualTags = 
	[
		"Saburo_Katana"
	];
	tags += 
	[
		"Saburo_Katana_Bleed", "IconicWeapon"
	];
	quality = "Quality.Random";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.MeleeKatanaLevel5";
	statModifiers += 
	[
		"Quality.IconicItem"
	];
	localizedDescription = "LocKey#40595";
	npcRPGData = 
	{
		statModifiers += 
		[
			"Quality.IconicItem"
		];
	} : Items.Base_Katana_NPC_Data;
	slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			itemPartPreset = "Items.w_katana_grip";
		}, 
		{
			slot = "AttachmentSlots.IconicMeleeWeaponMod1";
			itemPartPreset = "Items.SaburoKatanaWeaponMod";
		}
	];
	statModifierGroups = 
	[
		"Items.IconicQualityRandomization", "Items.Base_Melee_Status_Effect_Application_Stats", "Items.Base_Katana_RPG_Stats", "Items.Base_Katana_Handling_Stats", "Items.Base_Katana_Misc_Stats", "Items.Base_Katana_Damage_Stats", "Items.Base_Melee_Weapon_Damage_Type_Physical", "Items.Base_Melee_Weapon_Damage_Type_Physical_Min_Max"
	];
}

[ notQueryable ]
Preset_Katana_Surgeon : Preset_Katana_Default
{
	OnLooted += 
	[
		{
			effectors = 
			[
				{
					fact = "katana_surgeon_owned";
					value = 1;
				} : SetFactEffector
			];
		}
	];
	fk< ItemBlueprint > blueprint = "Items.Iconic_Melee_Blueprint";
	displayName = "LocKey#40600";
	visualTags = 
	[
		"Surgeon_Katana"
	];
	quality = "Quality.Random";
	fk< UIIcon > hudIcon = "HUDWeaponIcons.MeleeKatanaLevel2";
	tags += 
	[
		"IconicWeapon"
	];
	statModifiers += 
	[
		"Quality.IconicItem"
	];
	localizedDescription = "LocKey#40596";
	npcRPGData = 
	{
		statModifiers += 
		[
			"Quality.IconicItem"
		];
	} : Items.Base_Katana_NPC_Data;
	bool scaleToPlayer = true;
	slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			itemPartPreset = "Items.w_katana_grip";
		}, 
		{
			slot = "AttachmentSlots.IconicMeleeWeaponMod1";
			itemPartPreset = "Items.SurgeonKatanaWeaponMod";
		}
	];
	statModifierGroups = 
	[
		"Items.IconicQualityRandomization", "Items.Base_Melee_Status_Effect_Application_Stats", "Items.Base_Katana_RPG_Stats", "Items.Base_Katana_Handling_Stats", "Items.Base_Katana_Misc_Stats", "Items.Base_Katana_Damage_Stats", "Items.Base_Melee_Weapon_Damage_Type_Electric", "Items.Base_Melee_Weapon_Damage_Type_Electric_Min_Max"
	];
}

[ notQueryable ]
Preset_Katana_Wakako : Preset_Katana_Default
{
	OnLooted += 
	[
		{
			effectors = 
			[
				{
					fact = "katana_wakako_owned";
					value = 1;
				} : SetFactEffector
			];
		}
	];
	fk< ItemBlueprint > blueprint = "Items.Iconic_Melee_Blueprint";
	displayName = "LocKey#79844";
	localizedDescription = "LocKey#79845";
	visualTags = 
	[
		"Wakako_Katana"
	];
	fk< UIIcon > hudIcon = "HUDWeaponIcons.Wakako_Katana";
	quality = "Quality.Random";
	tags += 
	[
		"IconicWeapon", "Katana_Wakako"
	];
	statModifiers += 
	[
		"Quality.IconicItem"
	];
	npcRPGData = 
	{
		statModifiers += 
		[
			"Quality.IconicItem"
		];
	} : Items.Base_Katana_NPC_Data;
	bool scaleToPlayer = true;
	slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			itemPartPreset = "Items.w_katana_grip";
		}, 
		{
			slot = "AttachmentSlots.IconicMeleeWeaponMod1";
			itemPartPreset = "Items.WakakoKatanaWeaponMod";
		}
	];
	statModifierGroups = 
	[
		"Items.IconicQualityRandomization", "Items.Base_Melee_Status_Effect_Application_Stats", "Items.Base_Katana_RPG_Stats", "Items.Base_Katana_Handling_Stats", "Items.Base_Katana_Misc_Stats", "Items.Base_Katana_Damage_Stats", "Items.Base_Melee_Weapon_Damage_Type_Physical", "Items.Base_Melee_Weapon_Damage_Type_Physical_Min_Max"
	];
}

[ notQueryable ]
Preset_Katana_E3 : Preset_Katana_Default
{
	OnLooted += 
	[
		{
			effectors = 
			[
				{
					fact = "katana_e3_owned";
					value = 1;
				} : SetFactEffector
			];
		}
	];
	fk< ItemBlueprint > blueprint = "Items.Iconic_Melee_Blueprint";
	displayName = "LocKey#88070";
	localizedDescription = "LocKey#88071";
	CName[] visualTags = 
	[
		"Thermal_Katana"
	];
	fk< UIIcon > hudIcon = "HUDWeaponIcons.MeleeKatanaLevel4";
	quality = "Quality.Random";
	tags += 
	[
		"IconicWeapon", "Katana_E3"
	];
	statModifiers += 
	[
		"Quality.IconicItem"
	];
	npcRPGData = 
	{
		statModifiers += 
		[
			"Quality.IconicItem"
		];
	} : Items.Base_Katana_NPC_Data;
	bool scaleToPlayer = true;
	slotPartListPreset = 
	[
		{
			slot = "AttachmentSlots.Grip";
			itemPartPreset = "Items.w_katana_grip";
		}, 
		{
			slot = "AttachmentSlots.IconicMeleeWeaponMod1";
			itemPartPreset = "Items.E3KatanaWeaponMod";
		}
	];
	statModifierGroups = 
	[
		"Items.IconicQualityRandomization", "Items.Base_Melee_Status_Effect_Application_Stats", "Items.Base_Katana_RPG_Stats", "Items.Base_Katana_Handling_Stats", "Items.Base_Katana_Misc_Stats", "Items.Base_Katana_Damage_Stats", "Items.Base_Weapon_Damage_Type_Min_Max", "Items.Base_Weapon_Damage_Type_Thermal"
	];
}

