ITEM.ID = "schnauzer"
ITEM.Name = 'Schnauzer'
ITEM.Price = 1500000
ITEM.Model = 'models/captainbigbutt/skeyler/accessories/mustache.mdl'
ITEM.Attachment = 'mouth'
ITEM.MaxEquip = 1
ITEM.EquipGroup = "Mund"
ITEM.Tier3 = true

local model_modifications1 = {
	["models/player/group01/female_03.mdl"] = {
		ang = {0, 0, 0},
		pos = {-0.5, 0, -0.5},
	},
	["models/player/group01/female_04.mdl"] = {
		ang = {0, 0, 0},
		pos = {-0.20000000298023, 0, 0},
	},
	["models/player/magnusson.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1.5, 0, -0.5},
	},
	["models/player/leet.mdl"] = {
		ang = {0, 0, 0},
		pos = {-0.69999998807907, 0, 1.5},
	},
	["models/player/suits/male_02_open.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1, 0, 0.20000000298023},
	},
	["models/player/suits/male_03_open.mdl"] = {
		ang = {0, 0, 0},
		pos = {-0.5, 0, 0.5},
	},
	["models/player/suits/male_04_open.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1, 0, 0.80000001192093},
	},
	["models/player/suits/male_05_open.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1.2000000476837, 0, 0.20000000298023},
	},
	["models/player/suits/male_07_open.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1.2000000476837, 0, 0},
	},
	["models/player/suits/male_08_open.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1.5, 0, 0},
	},
	["models/player/suits/male_09_open.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1, 0, 0},
	},
	["models/player/eli.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1, 0.20000000298023, 0},
	},
	["models/player/hostage/hostage_02.mdl"] = {
		ang = {0, 0, 0},
		pos = {0.60000002384186, 0, 0},
	},
	["models/jessev92/kuma/characters/osama_ply.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1.6000000238419, 0, 0.30000001192093},
	},
	["models/player/mechanic.mdl"] = {
		ang = {0, 0, 0},
		pos = {-0.89999997615814, 0, 2.2000000476837},
	},
	["models/player/soldier_stripped.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1.3999999761581, 0, -0.40000000596046},
	},
	["models/player/odessa.mdl"] = {
		ang = {0, 0, 0},
		pos = {-0.30000001192093, 0, 0},
	},
	["models/player/breen.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1, 0.30000001192093, -0.20000000298023},
	},
	["models/player/clannypolice/male_02.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1, 0, 0},
	},
	["models/player/clannypolice/male_04.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1, 0, 0.5},
	},
	["models/player/clannypolice/male_05.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1.2000000476837, 0, 0.20000000298023},
	},
	["models/player/clannypolice/male_06.mdl"] = {
		ang = {0, 0, 0},
		pos = {-0.20000000298023, 0, 0.20000000298023},
	},
	["models/player/clannypolice/male_07.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1.2000000476837, 0, -0.20000000298023},
	},
	["models/player/clannypolice/male_08.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1.5, 0, 0},
	},
	["models/player/clannypolice/male_09.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1, 0, 0.20000000298023},
	},
	["models/taggart/police01/male_05.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1.2000000476837, 0, 0.20000000298023},
	},
	["models/taggart/police01/male_07.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1.3999999761581, 0, -0.20000000298023},
	},
	["models/taggart/police01/male_08.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1.5, 0, 0},
	},
	["models/taggart/police01/male_09.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1, 0, 0.20000000298023},
	},
	["models/taggart/police01/male_03.mdl"] = {
		ang = {0, 0, 0},
		pos = {-0.34999999403954, -0.20000000298023, 0.40000000596046},
	},
	["models/taggart/police01/male_03.mdl"] = {
		ang = {0, 0, 0},
		pos = {-0.34999999403954, -0.20000000298023, 0.40000000596046},
	},
	["models/player/group03/female_03.mdl"] = {
		ang = {0, 0, 0},
		pos = {-0.30000001192093, 0.20000000298023, -0.5},
	},
	["models/humans/mg_mafia/male_04.mdl"] = {
		ang = {0, 0, 0},
		pos = {0, 0, 0.40000000596046},
	},
	["models/humans/mg_mafia/male_06.mdl"] = {
		ang = {0, 0, 0},
		pos = {0.40000000596046, 0, 0},
	},
	["models/humans/mg_mafia/male_07.mdl"] = {
		ang = {0, 0, 0},
		pos = {-0.5, 0, -0.20000000298023},
	},
	["models/humans/mg_mafia/male_08.mdl"] = {
		ang = {0, 0, 0},
		pos = {-0.69999998807907, 0, -0.20000000298023},
	},
	["models/player/phoenix.mdl"] = {
		ang = {0, 0, 0},
		pos = {-0.5, 0, 1.2999999523163},
	},
	["models/player/guerilla.mdl"] = {
		ang = {0, 0, 0},
		pos = {-0.5, 0, 1.5},
	},
	["models/player/arctic.mdl"] = {
		ang = {0, 0, 0},
		pos = {-0.60000002384186, 0, 1},
	},
}

function ITEM:OnEquip(ply)
	if ply:Alive() then
		ply:PS_AddClientsideModel(self.ID)
	end
end

function ITEM:OnHolster(ply)
	ply:PS_RemoveClientsideModel(self.ID)
end

function ITEM:ModifyClientsideModel(ply, model, pos, ang)
	local ply_model = ply:GetModel()
	if model_modifications1[ply_model] then
		return PS:ModifyModel(model_modifications1[ply_model], ply, model, pos, ang)
	end
	return model, pos, ang
end
PS:AddItem()


ITEM.ID = "sombrero"
ITEM.Name = 'Sombrero'
ITEM.Price = 2500000
ITEM.Model = 'models/gmod_tower/sombrero.mdl'
ITEM.Attachment = 'eyes'
ITEM.MaxEquip = 1
ITEM.EquipGroup = "Kopf"

ITEM.TeamExclude = {
	[TEAM_TERROR] = true,
	[TEAM_POLICE] = true,
	[TEAM_CHIEF] = true,
	[TEAM_JAILGUARD] = true,
	[TEAM_ZOLL] = true,
	[TEAM_SEK] = true,
	[TEAM_SEKSNIPER] = true,
	[TEAM_SEKLEADER] = true,
	[TEAM_MAFIOSO] = true,
	[TEAM_MAFIABOSS] = true,
}

if TEAM_THEATER then
	ITEM.TeamExclude[TEAM_THEATER] = true
end

local model_modifications2 = {
	["models/player/leet.mdl"] = {
		size = {1.2000000476837, 1.2000000476837, 1.1000000238419},
		ang = {0, 0, 14.090000152588},
		pos = {-2.7999999523163, 0, 2},
	},
	["models/player/zombie_fast.mdl"] = {
		size = {0.80000001192093, 0.80000001192093, 0.80000001192093},
		ang = {0, 0, 12.520000457764},
		pos = {-3.4000000953674, 0, -0.5},
	},
	["models/player/mechanic.mdl"] = {
		size = {1, 1.1000000238419, 1},
		ang = {0, 0, 7.8299999237061},
		pos = {-4, 0, 3},
	},
	["models/player/soldier_stripped.mdl"] = {
		size = {0.89999997615814, 0.89999997615814, 0.80000001192093},
		ang = {0, 0, 18.780000686646},
		pos = {-4, 0, 0},
	},
	["models/player/guerilla.mdl"] = {
		size = {1.2000000476837, 1.2000000476837, 1},
		ang = {0, 0, 18.780000686646},
		pos = {-4, 0, 2},
	},	
}

function ITEM:OnEquip(ply, modifications)
	if ply:Alive() then
		ply:PS_AddClientsideModel(self.ID)
	end
end

function ITEM:OnHolster(ply)
	ply:PS_RemoveClientsideModel(self.ID)
end

function ITEM:ModifyClientsideModel(ply, model, pos, ang)
	local ply_model = ply:GetModel()
	if model_modifications2[ply_model] then
		return PS:ModifyModel(model_modifications2[ply_model], ply, model, pos, ang)
	end
	return PS:ModifyModel({size = {1.2, 1.2, 1.1}, ang = {0, 0, 15}, pos = {-3, 0, 2}}, ply, model, pos, ang)
end
PS:AddItem()


ITEM.ID = "sternenbrille"
ITEM.Name = 'Sternenbrille'
ITEM.Price = 320000
ITEM.Model = 'models/gmod_tower/starglasses.mdl'
ITEM.Attachment = 'eyes'
ITEM.MaxEquip = 1
ITEM.EquipGroup = "Brillen"
ITEM.TeamExclude = {
	[TEAM_ZOLL] = true,
	[TEAM_SEK] = true,
	[TEAM_MAFIOSO] = true,
	[TEAM_MAFIABOSS] = true,
}

local model_modifications3 = {
	["models/player/leet.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1.2000000476837, 0, 1.2999999523163},
	},
	["models/player/hostage/hostage_04.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1, 0, -0.30000001192093},
	},
	["models/player/hostage/hostage_02.mdl"] = {
		ang = {0, 0, 0},
		pos = {0, 0, 0},
	},
	["models/player/zombie_fast.mdl"] = {
		ang = {0, 0, 23.479999542236},
		pos = {-2.6099998950958, 0, -1.7000000476837},
	},
	["models/jessev92/kuma/characters/osama_ply.mdl"] = {
		ang = {0, 0, 12.520000457764},
		pos = {-2.5, 0, -1.5},
	},
	["models/player/mechanic.mdl"] = {
		ang = {0, 0, 0},
		pos = {-2, 0, 1.5},
	},
	["models/player/soldier_stripped.mdl"] = {
		ang = {0, 0, 0},
		pos = {-2, 0, -1.2000000476837},
	},
	["models/player/riot.mdl"] = {
		ang = {0, 0, 0},
		pos = {-0.30000001192093, 0, 0.5},
	},
	["models/player/urban.mdl"] = {
		ang = {0, 0, 0},
		pos = {0, 0, 0.5},
	},
	["models/player/phoenix.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1, 0, 1},
	},
	["models/player/guerilla.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1.2999999523163, 0, 1},
	},
	["models/player/arctic.mdl"] = {
		ang = {0, 0, 0},
		pos = {-1.2999999523163, 0, 1},
	},			
}

function ITEM:OnEquip(ply)
	if ply:Alive() then
		ply:PS_AddClientsideModel(self.ID)
	end
end

function ITEM:OnHolster(ply)
	ply:PS_RemoveClientsideModel(self.ID)
end

function ITEM:ModifyClientsideModel(ply, model, pos, ang)
	local ply_model = ply:GetModel()
	if model_modifications3[ply_model] then
		return PS:ModifyModel(model_modifications3[ply_model], ply, model, pos, ang)
	end
	return PS:ModifyModel({ang = {0, 0, 0}, pos = {-1.2, 0, -0.3}}, ply, model, pos, ang)
end
PS:AddItem()


ITEM.ID = "strohhut"
ITEM.Name = 'Strohhut'
ITEM.Price = 260000
ITEM.Model = 'models/captainbigbutt/skeyler/hats/strawhat.mdl'
ITEM.Attachment = 'eyes'
ITEM.MaxEquip = 1
ITEM.EquipGroup = "Kopf"

ITEM.TeamExclude = {
	[TEAM_TERROR] = true,
	[TEAM_SECRETSERVICE] = true,
	[TEAM_POLICE] = true,
	[TEAM_CHIEF] = true,
	[TEAM_JAILGUARD] = true,
	[TEAM_ZOLL] = true,
	[TEAM_SEK] = true,
	[TEAM_SEKSNIPER] = true,
	[TEAM_SEKLEADER] = true,
	[TEAM_MAFIOSO] = true,
	[TEAM_MAFIABOSS] = true,
}

if TEAM_THEATER then
	ITEM.TeamExclude[TEAM_THEATER] = true
end

local model_modifications4 = {
	["models/player/group01/female_03.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-2.9, 0, 2.61},
	},
	["models/player/group01/male_01.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-3, 0, 2.61},
	},
	["models/player/group01/male_06.mdl"] = {
		size = {0.93, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-3.99, 0, 2.5},
	},
	["models/player/group01/male_07.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-3, 0, 2.61},
	},
	["models/player/group01/male_08.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-3, 0, 2},
	},
	["models/player/leet.mdl"] = {
		size = {0.95, 0.92, 0.92},
		ang = {0, 0, 0},
		pos = {-3, 0, 4},
	},
	["models/player/group02/male_06.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-3, 0, 2.61},
	},
	["models/player/group02/male_08.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-3, 0, 2},
	},
	["models/player/alyx.mdl"] = {
		size = {0.92, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-3.9, 0, 2.61},
	},
	["models/player/suits/male_01_open.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-3, 0, 2.61},
	},
	["models/player/suits/male_04_open.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 6.26},
		pos = {-3.3, 0, 2.61},
	},
	["models/player/suits/male_05_open.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-3.2, 0, 2.61},
	},
	["models/player/suits/male_06_open.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-3, 0, 2.61},
	},
	["models/player/suits/male_07_open.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-3.6, 0, 2.5},
	},
	["models/player/suits/male_08_open.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-3.5, 0, 2.5},
	},
	["models/player/suits/male_09_open.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-3.3, 0, 2.61},
	},
	["models/player/corpse1.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-3, 0, 2.61},
	},
	["models/player/zombie_fast.mdl"] = {
		size = {0.7, 0.7, 0.7},
		ang = {0, 0, 0},
		pos = {-2.8, 0, 0},
	},
	["models/player/mossman.mdl"] = {
		size = {0.93, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-3.3, 0, 2.61},
	},
	["models/player/mossman_arctic.mdl"] = {
		size = {0.93, 0.9, 0.9},
		ang = {0, 0, 0},
		pos = {-3.3, 0, 2.61},
	},
	["models/player/mechanic.mdl"] = {
		size = {0.92, 0.9, 0.9},
		ang = {0, 0, 15.65},
		pos = {-4.3, 0, 2.7},
	},
	["models/player/barney.mdl"] = {
		size = {0.91, 0.9, 0.9},
		ang = {0, 0, 12.52},
		pos = {-3.7, 0, 2.52},
	},
	["models/player/soldier_stripped.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 18.78},
		pos = {-3.8, 0, 0},
	},
	["models/player/group03/female_01.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 17.22},
		pos = {-3.5, 0, 2},
	},
	["models/player/group03/female_02.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 17.22},
		pos = {-3.5, 0, 2},
	},
	["models/player/group03/female_03.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 17.22},
		pos = {-3.5, 0, 2},
	},
	["models/player/group03/female_06.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 17.22},
		pos = {-3.5, 0, 2},
	},
	["models/player/group03/male_01.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 12.52},
		pos = {-3.85, 0, 2.61},
	},
	["models/player/group03/male_02.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 12.52},
		pos = {-3.5, 0, 2},
	},
	["models/player/group03/male_03.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 12.52},
		pos = {-3.5, 0, 2},
	},
	["models/player/group03/male_06.mdl"] = {
		size = {0.92, 0.9, 0.9},
		ang = {0, 0, 9.3},
		pos = {-3.7, 0, 2.61},
	},
	["models/player/group03/male_08.mdl"] = {
		size = {0.9, 0.9, 0.9},
		ang = {0, 0, 12.52},
		pos = {-3.5, 0, 2},
	},
	["models/player/group03/male_09.mdl"] = {
		size = {0.92, 0.9, 0.9},
		ang = {0, 0, 14.09},
		pos = {-3.25, 0, 2.5},
	},
	["models/player/phoenix.mdl"] = {
		size = {0.95, 0.9, 0.9},
		ang = {0, 0, 10.96},
		pos = {-3.5, 0, 2.61},
	},
	["models/player/phoenix.mdl"] = {
		size = {0.95, 0.9, 0.9},
		ang = {0, 0, 10.96},
		pos = {-3.5, 0, 2.61},
	},
	["models/player/guerilla.mdl"] = {
		size = {0.98, 0.9, 0.9},
		ang = {0, 0, 14.09},
		pos = {-4.2, 0, 2.61},
	},
	["models/player/arctic.mdl"] = {
		size = {0.95, 0.9, 0.9},
		ang = {0, 0, 10.96},
		pos = {-3.5, 0, 2.61},
	},
}

function ITEM:OnEquip(ply)
	if ply:Alive() then
		ply:PS_AddClientsideModel(self.ID)
	end
end

function ITEM:OnHolster(ply)
	ply:PS_RemoveClientsideModel(self.ID)
end

function ITEM:ModifyClientsideModel(ply, model, pos, ang)
	local ply_model = ply:GetModel()
	if model_modifications4[ply_model] then
		return PS:ModifyModel(model_modifications4[ply_model], ply, model, pos, ang)
	end
	return PS:ModifyModel({size = {0.9, 0.9, 0.9}, ang = {0, 0, 0}, pos = {-2.61, 0, 2.61}}, ply, model, pos, ang)
end
PS:AddItem()


ITEM.ID = "trinkhelm01"
ITEM.Name = 'Trinkhelm (Blau)'
ITEM.Price = 580000
ITEM.Model = 'models/sal/acc/fix/beerhat.mdl'
ITEM.Attachment = 'eyes'
ITEM.MaxEquip = 1
ITEM.EquipGroup = "Kopf"

ITEM.TeamExclude = {
	[TEAM_TERROR] = true,
	[TEAM_SECRETSERVICE] = true,
	[TEAM_POLICE] = true,
	[TEAM_CHIEF] = true,
	[TEAM_JAILGUARD] = true,
	[TEAM_ZOLL] = true,
	[TEAM_SEK] = true,
	[TEAM_SEKSNIPER] = true,
	[TEAM_SEKLEADER] = true,
	[TEAM_MAFIOSO] = true,
	[TEAM_MAFIABOSS] = true,
}

if TEAM_THEATER then
	ITEM.TeamExclude[TEAM_THEATER] = true
end

local model_modifications5 = {
	["models/player/group01/female_01.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.8, 0, 0},
	},
	["models/player/group01/female_02.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.8, 0, 0},
	},
	["models/player/group01/female_03.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-3.9, 0, 0},
	},
	["models/player/group01/female_04.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-4, 0, 0},
	},
	["models/player/group01/female_06.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-3.9, 0, 0},
	},
	["models/player/group01/male_05.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3, 0, 0},
	},
	["models/player/group01/male_06.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-3.5, 0, 0},
	},
	["models/player/group01/male_07.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.3, 0, 0},
	},
	["models/player/leet.mdl"] = {
		size = {1.15, 1.1, 1.1},
		ang = {0, 0, 0},
		pos = {-3.5, 0, 2},
	},
	["models/player/hostage/hostage_01.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3, 0, 0},
	},
	["models/player/group02/male_06.mdl"] = {
		size = {1.1, 1.1, 1},
		ang = {0, 0, 0},
		pos = {-3.5, 0, 0},
	},
	["models/player/alyx.mdl"] = {
		size = {1.15, 1.15, 1},
		ang = {0, 0, 0},
		pos = {-4.3, 0, 0},
	},
	["models/player/suits/male_06_open.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-3.2, 0, 0.2},
	},
	["models/player/hostage/hostage_02.mdl"] = {
		ang = {0, 0, 0},
		pos = {-2.7, 0, 0.5},
	},
	["models/player/zombie_fast.mdl"] = {
		size = {0.8, 0.9, 0.8},
		ang = {0, 0, 0},
		pos = {-3.5, 0, -1.5},
	},
	["models/player/mossman.mdl"] = {
		size = {1.15, 1, 1},
		ang = {0, 0, 0},
		pos = {-4, 0, 0},
	},
	["models/player/mossman_arctic.mdl"] = {
		size = {1.15, 1, 1},
		ang = {0, 0, 0},
		pos = {-4, 0, 0},
	},
	["models/player/mechanic.mdl"] = {
		size = {1.15, 1.05, 1},
		ang = {0, 0, 0},
		pos = {-4.2, 0, 1.7},
	},
	["models/player/barney.mdl"] = {
		size = {1.1, 1, 1.05},
		ang = {0, 0, 0},
		pos = {-3.6, 0, 0.2},
	},
	["models/player/soldier_stripped.mdl"] = {
		size = {0.9, 0.91, 0.9},
		ang = {0, 0, 0},
		pos = {-3.6, 0, -1},
	},
	["models/player/odessa.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.5, 0, 0.2},
	},
	["models/player/group03/female_02.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.8, 0, 0},
	},
	["models/player/group03/female_03.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.6, 0, 0},
	},
	["models/player/group03/female_04.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.5, 0, 0},
	},
	["models/player/group03/male_01.mdl"] = {
		size = {1.05, 1, 1},
		ang = {0, 0, 0},
		pos = {-4, 0, 0.2},
	},
	["models/player/group03/male_02.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.9, 0, 0.2},
	},
	["models/player/group03/male_04.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.7, 0, 0},
	},
	["models/player/group03/male_05.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.5, 0, 0},
	},
	["models/player/group03/male_06.mdl"] = {
		size = {1.1, 1, 1.05},
		ang = {0, 0, 0},
		pos = {-4.1, 0, 0.2},
	},
	["models/player/group03/male_07.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.6, 0, 0},
	},
	["models/player/group03/male_08.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.8, 0, 0},
	},
	["models/player/gman_high.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3, 0, 0},
	},
	["models/player/phoenix.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-4, 0, 1.5},
	},
	["models/player/guerilla.mdl"] = {
		size = {1.05, 1.05, 1},
		ang = {0, 0, 0},
		pos = {-4.5, 0, 1.5},
	},
	["models/player/arctic.mdl"] = {
		ang = {0, 0, 0},
		pos = {-4, 0, 1.5},
	},
}

function ITEM:OnEquip(ply)
	if ply:Alive() then
		ply:PS_AddClientsideModel(self.ID)
	end
end

function ITEM:OnHolster(ply)
	ply:PS_RemoveClientsideModel(self.ID)
end

function ITEM:ModifyClientsideModel(ply, model, pos, ang)
	local ply_model = ply:GetModel()
	if model_modifications5[ply_model] then
		return PS:ModifyModel(model_modifications5[ply_model], ply, model, pos, ang)
	end
	return PS:ModifyModel({ang = {0, 0, 0}, pos = {-4, 0, 0}}, ply, model, pos, ang)
end
PS:AddItem()


ITEM.ID = "trinkhelm02"
ITEM.Name = 'Trinkhelm (Gelb)'
ITEM.Price = 550000
ITEM.Model = 'models/sal/acc/fix/beerhat.mdl'
ITEM.Skin = 1
ITEM.Attachment = 'eyes'
ITEM.MaxEquip = 1
ITEM.EquipGroup = "Kopf"

ITEM.TeamExclude = {
	[TEAM_TERROR] = true,
	[TEAM_SECRETSERVICE] = true,
	[TEAM_POLICE] = true,
	[TEAM_CHIEF] = true,
	[TEAM_JAILGUARD] = true,
	[TEAM_ZOLL] = true,
	[TEAM_SEK] = true,
	[TEAM_SEKSNIPER] = true,
	[TEAM_SEKLEADER] = true,
	[TEAM_MAFIOSO] = true,
	[TEAM_MAFIABOSS] = true,
}

if TEAM_THEATER then
	ITEM.TeamExclude[TEAM_THEATER] = true
end

local model_modifications6 = {
	["models/player/group01/female_01.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.8, 0, 0},
	},
	["models/player/group01/female_02.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.8, 0, 0},
	},
	["models/player/group01/female_03.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-3.9, 0, 0},
	},
	["models/player/group01/female_04.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-4, 0, 0},
	},
	["models/player/group01/female_06.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-3.9, 0, 0},
	},
	["models/player/group01/male_05.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3, 0, 0},
	},
	["models/player/group01/male_06.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-3.5, 0, 0},
	},
	["models/player/group01/male_07.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.3, 0, 0},
	},
	["models/player/leet.mdl"] = {
		size = {1.15, 1.1, 1.1},
		ang = {0, 0, 0},
		pos = {-3.5, 0, 2},
	},
	["models/player/hostage/hostage_01.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3, 0, 0},
	},
	["models/player/group02/male_06.mdl"] = {
		size = {1.1, 1.1, 1},
		ang = {0, 0, 0},
		pos = {-3.5, 0, 0},
	},
	["models/player/alyx.mdl"] = {
		size = {1.15, 1.15, 1},
		ang = {0, 0, 0},
		pos = {-4.3, 0, 0},
	},
	["models/player/suits/male_06_open.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-3.2, 0, 0.2},
	},
	["models/player/hostage/hostage_02.mdl"] = {
		ang = {0, 0, 0},
		pos = {-2.7, 0, 0.5},
	},
	["models/player/zombie_fast.mdl"] = {
		size = {0.8, 0.9, 0.8},
		ang = {0, 0, 0},
		pos = {-3.5, 0, -1.5},
	},
	["models/player/mossman.mdl"] = {
		size = {1.15, 1, 1},
		ang = {0, 0, 0},
		pos = {-4, 0, 0},
	},
	["models/player/mossman_arctic.mdl"] = {
		size = {1.15, 1, 1},
		ang = {0, 0, 0},
		pos = {-4, 0, 0},
	},
	["models/player/mechanic.mdl"] = {
		size = {1.15, 1.05, 1},
		ang = {0, 0, 0},
		pos = {-4.2, 0, 1.7},
	},
	["models/player/barney.mdl"] = {
		size = {1.1, 1, 1.05},
		ang = {0, 0, 0},
		pos = {-3.6, 0, 0.2},
	},
	["models/player/soldier_stripped.mdl"] = {
		size = {0.9, 0.91, 0.9},
		ang = {0, 0, 0},
		pos = {-3.6, 0, -1},
	},
	["models/player/odessa.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.5, 0, 0.2},
	},
	["models/player/group03/female_02.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.8, 0, 0},
	},
	["models/player/group03/female_03.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.6, 0, 0},
	},
	["models/player/group03/female_04.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.5, 0, 0},
	},
	["models/player/group03/male_01.mdl"] = {
		size = {1.05, 1, 1},
		ang = {0, 0, 0},
		pos = {-4, 0, 0.2},
	},
	["models/player/group03/male_02.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.9, 0, 0.2},
	},
	["models/player/group03/male_04.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.7, 0, 0},
	},
	["models/player/group03/male_05.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.5, 0, 0},
	},
	["models/player/group03/male_06.mdl"] = {
		size = {1.1, 1, 1.05},
		ang = {0, 0, 0},
		pos = {-4.1, 0, 0.2},
	},
	["models/player/group03/male_07.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.6, 0, 0},
	},
	["models/player/group03/male_08.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.8, 0, 0},
	},
	["models/player/gman_high.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3, 0, 0},
	},
	["models/player/phoenix.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-4, 0, 1.5},
	},
	["models/player/guerilla.mdl"] = {
		size = {1.05, 1.05, 1},
		ang = {0, 0, 0},
		pos = {-4.5, 0, 1.5},
	},
	["models/player/arctic.mdl"] = {
		ang = {0, 0, 0},
		pos = {-4, 0, 1.5},
	},
}

function ITEM:OnEquip(ply)
	if ply:Alive() then
		ply:PS_AddClientsideModel(self.ID)
	end
end

function ITEM:OnHolster(ply)
	ply:PS_RemoveClientsideModel(self.ID)
end

function ITEM:ModifyClientsideModel(ply, model, pos, ang)
	local ply_model = ply:GetModel()
	if model_modifications6[ply_model] then
		return PS:ModifyModel(model_modifications6[ply_model], ply, model, pos, ang)
	end
	return PS:ModifyModel({ang = {0, 0, 0}, pos = {-4, 0, 0}}, ply, model, pos, ang)
end
PS:AddItem()


ITEM.ID = "trinkhelm03"
ITEM.Name = 'Trinkhelm (Rot)'
ITEM.Price = 570000
ITEM.Model = 'models/sal/acc/fix/beerhat.mdl'
ITEM.Skin = 2
ITEM.Attachment = 'eyes'
ITEM.MaxEquip = 1
ITEM.EquipGroup = "Kopf"

ITEM.TeamExclude = {
	[TEAM_TERROR] = true,
	[TEAM_SECRETSERVICE] = true,
	[TEAM_POLICE] = true,
	[TEAM_CHIEF] = true,
	[TEAM_JAILGUARD] = true,
	[TEAM_ZOLL] = true,
	[TEAM_SEK] = true,
	[TEAM_SEKSNIPER] = true,
	[TEAM_SEKLEADER] = true,
	[TEAM_MAFIOSO] = true,
	[TEAM_MAFIABOSS] = true,
}

if TEAM_THEATER then
	ITEM.TeamExclude[TEAM_THEATER] = true
end

local model_modifications7 = {
	["models/player/group01/female_01.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.8, 0, 0},
	},
	["models/player/group01/female_02.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.8, 0, 0},
	},
	["models/player/group01/female_03.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-3.9, 0, 0},
	},
	["models/player/group01/female_04.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-4, 0, 0},
	},
	["models/player/group01/female_06.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-3.9, 0, 0},
	},
	["models/player/group01/male_05.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3, 0, 0},
	},
	["models/player/group01/male_06.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-3.5, 0, 0},
	},
	["models/player/group01/male_07.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.3, 0, 0},
	},
	["models/player/leet.mdl"] = {
		size = {1.15, 1.1, 1.1},
		ang = {0, 0, 0},
		pos = {-3.5, 0, 2},
	},
	["models/player/hostage/hostage_01.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3, 0, 0},
	},
	["models/player/group02/male_06.mdl"] = {
		size = {1.1, 1.1, 1},
		ang = {0, 0, 0},
		pos = {-3.5, 0, 0},
	},
	["models/player/alyx.mdl"] = {
		size = {1.15, 1.15, 1},
		ang = {0, 0, 0},
		pos = {-4.3, 0, 0},
	},
	["models/player/suits/male_06_open.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-3.2, 0, 0.2},
	},
	["models/player/hostage/hostage_02.mdl"] = {
		ang = {0, 0, 0},
		pos = {-2.7, 0, 0.5},
	},
	["models/player/zombie_fast.mdl"] = {
		size = {0.8, 0.9, 0.8},
		ang = {0, 0, 0},
		pos = {-3.5, 0, -1.5},
	},
	["models/player/mossman.mdl"] = {
		size = {1.15, 1, 1},
		ang = {0, 0, 0},
		pos = {-4, 0, 0},
	},
	["models/player/mossman_arctic.mdl"] = {
		size = {1.15, 1, 1},
		ang = {0, 0, 0},
		pos = {-4, 0, 0},
	},
	["models/player/mechanic.mdl"] = {
		size = {1.15, 1.05, 1},
		ang = {0, 0, 0},
		pos = {-4.2, 0, 1.7},
	},
	["models/player/barney.mdl"] = {
		size = {1.1, 1, 1.05},
		ang = {0, 0, 0},
		pos = {-3.6, 0, 0.2},
	},
	["models/player/soldier_stripped.mdl"] = {
		size = {0.9, 0.91, 0.9},
		ang = {0, 0, 0},
		pos = {-3.6, 0, -1},
	},
	["models/player/odessa.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.5, 0, 0.2},
	},
	["models/player/group03/female_02.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.8, 0, 0},
	},
	["models/player/group03/female_03.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.6, 0, 0},
	},
	["models/player/group03/female_04.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.5, 0, 0},
	},
	["models/player/group03/male_01.mdl"] = {
		size = {1.05, 1, 1},
		ang = {0, 0, 0},
		pos = {-4, 0, 0.2},
	},
	["models/player/group03/male_02.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.9, 0, 0.2},
	},
	["models/player/group03/male_04.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.7, 0, 0},
	},
	["models/player/group03/male_05.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.5, 0, 0},
	},
	["models/player/group03/male_06.mdl"] = {
		size = {1.1, 1, 1.05},
		ang = {0, 0, 0},
		pos = {-4.1, 0, 0.2},
	},
	["models/player/group03/male_07.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.6, 0, 0},
	},
	["models/player/group03/male_08.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3.8, 0, 0},
	},
	["models/player/gman_high.mdl"] = {
		ang = {0, 0, 0},
		pos = {-3, 0, 0},
	},
	["models/player/phoenix.mdl"] = {
		size = {1.1, 1, 1},
		ang = {0, 0, 0},
		pos = {-4, 0, 1.5},
	},
	["models/player/guerilla.mdl"] = {
		size = {1.05, 1.05, 1},
		ang = {0, 0, 0},
		pos = {-4.5, 0, 1.5},
	},
	["models/player/arctic.mdl"] = {
		ang = {0, 0, 0},
		pos = {-4, 0, 1.5},
	},
}

function ITEM:OnEquip(ply)
	if ply:Alive() then
		ply:PS_AddClientsideModel(self.ID)
	end
end

function ITEM:OnHolster(ply)
	ply:PS_RemoveClientsideModel(self.ID)
end

function ITEM:ModifyClientsideModel(ply, model, pos, ang)
	local ply_model = ply:GetModel()
	if model_modifications7[ply_model] then
		return PS:ModifyModel(model_modifications7[ply_model], ply, model, pos, ang)
	end
	return PS:ModifyModel({ang = {0, 0, 0}, pos = {-4, 0, 0}}, ply, model, pos, ang)
end
PS:AddItem()
