-- used to spawn underwear automatically on zeds
UnderwearDefinition = UnderwearDefinition or {};

-- base chance of having a special underwear spawning, don't want this too high as it adds new items on dead zeds everytime!
UnderwearDefinition.baseChance = 70;

-- outfit name
UnderwearDefinition.FrillyBlack = {
	chanceToSpawn = 5, -- weighted chance, can exced 100
	gender = "female",
	top = {
		{name="Bra_Straps_FrillyBlack", chance=50},
		{name="Bra_Strapless_FrillyBlack", chance=50},
		{name="Corset_Black", chance=5},
	},
	bottom = "FrillyUnderpants_Black",
}

UnderwearDefinition.Female_FrillyRed = {
	chanceToSpawn = 5,
	gender = "female",
	top = {
		{name="Bra_Straps_FrillyRed", chance=50},
		{name="Bra_Strapless_FrillyRed", chance=50},
		{name="Corset_Red", chance=5},
	},
	bottom = "FrillyUnderpants_Red",
}

UnderwearDefinition.Female_FrillyPink = {
	chanceToSpawn = 5,
	gender = "female",
	top = {
		{name="Bra_Straps_FrillyPink", chance=50},
		{name="Bra_Strapless_FrillyPink", chance=50},
	},
	bottom = "FrillyUnderpants_Pink",
}

UnderwearDefinition.Female_AnimalPrint = {
	chanceToSpawn = 5,
	gender = "female",
	top = {
		{name="Bra_Straps_AnimalPrint", chance=50},
		{name="Bra_Strapless_AnimalPrint", chance=50},
	},
	bottom = "Underpants_AnimalPrint",
}

UnderwearDefinition.Female_Black = {
	chanceToSpawn = 30,
	gender = "female",
	top = {
		{name="Bra_Strapless_Black", chance=50},
		{name="Bra_Straps_Black", chance=50},
	},
	bottom = "Underpants_Black",
}

UnderwearDefinition.Female_RedSpots = {
	chanceToSpawn = 20,
	gender = "female",
	top = {
		{name="Bra_Strapless_RedSpots", chance=100},
	},
	bottom = "Underpants_RedSpots",
}

UnderwearDefinition.Female_BasicTint = {
	chanceToSpawn = 30, -- weighted chance, can exced 100
	gender = "female",
	top = {
		{name="Bra_Strapless_White", chance=100},
		{name="Corset", chance=2},
	},
	bottom = "Underpants_White",
}

UnderwearDefinition.Male_BoxersTint = {
	chanceToSpawn = 40,
	gender = "male",
	bottom = "Boxers_White",
}

UnderwearDefinition.Male_BoxersRedStripes = {
	chanceToSpawn = 5,
	gender = "male",
	bottom = "Boxers_RedStripes",
}

UnderwearDefinition.Male_BoxersHearts = {
	chanceToSpawn = 5,
	gender = "male",
	bottom = "Boxers_Hearts",
}

UnderwearDefinition.Male_BriefsTint = {
	chanceToSpawn = 40,
	gender = "male",
	bottom = "Briefs_White",
}

UnderwearDefinition.Male_BriefsSmallTrunks_Black = {
	chanceToSpawn = 10,
	gender = "male",
	bottom = "Briefs_SmallTrunks_Black",
}

UnderwearDefinition.Male_BriefsSmallTrunks_Blue = {
	chanceToSpawn = 10,
	gender = "male",
	bottom = "Briefs_SmallTrunks_Blue",
}

UnderwearDefinition.Male_BriefsSmallTrunks_Red = {
	chanceToSpawn = 10,
	gender = "male",
	bottom = "Briefs_SmallTrunks_Red",
}

UnderwearDefinition.Male_BriefsSmallTrunks_White = {
	chanceToSpawn = 10,
	gender = "male",
	bottom = "Briefs_SmallTrunks_WhiteTINT",
}

UnderwearDefinition.Male_Silk_Black = {
	chanceToSpawn = 3,
	gender = "male",
	bottom = "Boxers_Silk_Black",
}

UnderwearDefinition.Male_Silk_Red = {
	chanceToSpawn = 3,
	gender = "male",
	bottom = "Boxers_Silk_Red",
}

UnderwearDefinition.Male_Briefs_AnimalPrints = {
	chanceToSpawn = 1,
	gender = "male",
	bottom = "Briefs_AnimalPrints",
}