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

[ notQueryable ]
[ DisabledContent ]
CapacityBoosterBase : SystemReplacementModule
{
	displayName = "LocKey#94425";
	localizedDescription = "LocKey#94425";
	iconPath = "cw_os_capacity_booster";
	tags += 
	[
		"CapacityBooster"
	];
	upgradeCostMult = 2.5f;
	variants = 
	[
		"Variants.Humanity0Cost"
	];
	usesVariants = true;
	placementSlots = 
	[
		"AttachmentSlots.SystemReplacementCW"
	];
	entityName = "cyberware_dummy";
	isCoreCW = true;
	slotPartList = 
	[
		"Items.GenericRootSlotItem"
	];
	statModifiers = 
	[
		{
			statType = "BaseStats.IsItemIconic";
			modifierType = "Additive";
			value = 1f;
		} : ConstantStatModifier, 
		{
			statType = "BaseStats.CapacityBoosterHumanity";
			modifierType = "Additive";
			refStat = "BaseStats.Quality";
			opSymbol = "*";
			value = 2.0f;
		} : CombinedStatModifier, 
		{
			statType = "BaseStats.CapacityBoosterHumanity";
			modifierType = "Additive";
			refStat = "BaseStats.IsItemPlus";
			opSymbol = "*";
			value = 1.0f;
		} : CombinedStatModifier, 
		{
			statType = "BaseStats.Humanity";
			modifierType = "Additive";
			id = "cyberware_curves";
			column = "capacity_booster_to_humanity";
			refStat = "BaseStats.CapacityBoosterHumanity";
		} : CurveStatModifier
	];
	OnLooted += 
	[
		{
			effectors = 
			[
				{
					prereqRecord = 
					{
						statusEffect = "BaseStatusEffect.JustLootedIconicCWFromAirdrop";
					} : StatusEffectPrereq;
					fact = "capacity_booster_airdropped";
					value = 1;
				} : SetFactEffector
			];
		}
	];
	buyPrice += 
	[
		{
			statType = "BaseStats.Price";
			modifierType = "Multiplier";
			id = "cyberware_curves";
			column = "high_humanity_to_price_mult";
			refStat = "BaseStats.Quality";
			refObject = "Item";
		} : CurveStatModifier
	];
	sellPrice += 
	[
		{
			statType = "BaseStats.Price";
			modifierType = "Multiplier";
			id = "cyberware_curves";
			column = "high_humanity_to_price_mult";
			refStat = "BaseStats.Quality";
			refObject = "Item";
		} : CurveStatModifier
	];
	float amountOfCapacityGivenForRipperdocUI = 70f;
	CName cyberwareType = "CapacityBooster";
}

[ notQueryable ]
[ EP1 ]
CapacityBoosterUncommon : CapacityBoosterBase
{
	quality = "Quality.Uncommon";
	tags += 
	[
		"IllegalItem"
	];
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					40
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "Items.CapacityBoosterUncommonPlus";
}

[ notQueryable ]
[ EP1 ]
CapacityBoosterUncommonPlus : CapacityBoosterUncommon
{
	quality = "Quality.UncommonPlus";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					43
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "Items.CapacityBoosterRare";
}

[ notQueryable ]
[ EP1 ]
CapacityBoosterRare : CapacityBoosterUncommon
{
	quality = "Quality.Rare";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					47
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "Items.CapacityBoosterRarePlus";
}

[ notQueryable ]
[ EP1 ]
CapacityBoosterRarePlus : CapacityBoosterUncommon
{
	quality = "Quality.RarePlus";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					50
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "Items.CapacityBoosterEpic";
}

[ notQueryable ]
[ EP1 ]
CapacityBoosterEpic : CapacityBoosterUncommon
{
	quality = "Quality.Epic";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					54
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "Items.CapacityBoosterEpicPlus";
}

[ notQueryable ]
[ EP1 ]
CapacityBoosterEpicPlus : CapacityBoosterUncommon
{
	quality = "Quality.EpicPlus";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					57
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "Items.CapacityBoosterLegendary";
}

[ notQueryable ]
[ EP1 ]
CapacityBoosterLegendary : CapacityBoosterUncommon
{
	quality = "Quality.Legendary";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					61
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "Items.CapacityBoosterLegendaryPlus";
}

[ notQueryable ]
[ EP1 ]
CapacityBoosterLegendaryPlus : CapacityBoosterUncommon
{
	quality = "Quality.LegendaryPlus";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					65
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "Items.CapacityBoosterLegendaryPlusPlus";
}

[ notQueryable ]
[ EP1 ]
CapacityBoosterLegendaryPlusPlus : CapacityBoosterUncommon
{
	quality = "Quality.LegendaryPlusPlus";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					70
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "";
}

[ notQueryable ]
[ DisabledContent ]
CapacityBoosterUncommon_Regina : CapacityBoosterBase
{
	quality = "Quality.Uncommon";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					40
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "Items.CapacityBoosterUncommonPlus_Regina";
}

[ notQueryable ]
[ DisabledContent ]
CapacityBoosterUncommonPlus_Regina : CapacityBoosterUncommon_Regina
{
	quality = "Quality.UncommonPlus";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					43
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "Items.CapacityBoosterRare_Regina";
}

[ notQueryable ]
[ DisabledContent ]
CapacityBoosterRare_Regina : CapacityBoosterUncommon_Regina
{
	quality = "Quality.Rare";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					47
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "Items.CapacityBoosterRarePlus_Regina";
}

[ notQueryable ]
[ DisabledContent ]
CapacityBoosterRarePlus_Regina : CapacityBoosterUncommon_Regina
{
	quality = "Quality.RarePlus";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					50
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "Items.CapacityBoosterEpic_Regina";
}

[ notQueryable ]
[ DisabledContent ]
CapacityBoosterEpic_Regina : CapacityBoosterUncommon_Regina
{
	quality = "Quality.Epic";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					54
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "Items.CapacityBoosterEpicPlus_Regina";
}

[ notQueryable ]
[ DisabledContent ]
CapacityBoosterEpicPlus_Regina : CapacityBoosterUncommon_Regina
{
	quality = "Quality.EpicPlus";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					57
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "Items.CapacityBoosterLegendary_Regina";
}

[ notQueryable ]
[ DisabledContent ]
CapacityBoosterLegendary_Regina : CapacityBoosterUncommon_Regina
{
	quality = "Quality.Legendary";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					61
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "Items.CapacityBoosterLegendaryPlus_Regina";
}

[ notQueryable ]
[ DisabledContent ]
CapacityBoosterLegendaryPlus_Regina : CapacityBoosterUncommon_Regina
{
	quality = "Quality.LegendaryPlus";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					65
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "Items.CapacityBoosterLegendaryPlusPlus_Regina";
}

[ notQueryable ]
[ DisabledContent ]
CapacityBoosterLegendaryPlusPlus_Regina : CapacityBoosterUncommon_Regina
{
	quality = "Quality.LegendaryPlusPlus";
	OnEquip = 
	[
		{
			UIData = 
			{
				intValues = 
				[
					70
				];
			} : CapacityBoosterUIData;
		}
	];
	nextUpgradeItem = "";
}

[ DisabledContent ]
CapacityBoosterUIData : GameplayLogicPackageUIData
{
	localizedDescription = "LocKey#94451";
}

