REBELLIONS_CONFIG = {}
local Config = REBELLIONS_CONFIG

Config.MaxKills = 40

Config.RebellionCommandLockTime = 120
Config.RebellionTime = 20
Config.RebellionWaitTime = 3
Config.RebellionWaitPrint = {3 * 60, 2 * 60, 60, 50, 40, 30, 20, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1}
Config.RebellionKillMult = 500
Config.RebellionSurrenderMoney = 6000
Config.RebellionWinMoney = 4000

Config.GangWarCommandLockTime = 60
Config.GangWarTime = 15
Config.GangWarWaitTime = 3
Config.GangWarWaitPrint = {3 * 60, 2 * 60, 60, 50, 40, 30, 20, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1}
Config.GangWarKillMult = 600
Config.GangWarSurrenderMoney = 7500
Config.GangWarWinMoney = 5000

timer.Simple(0, function()
	-- Rebellion

	Config.RebelBoss = TEAM_REBELBOSS
	Config.PoliceBoss = TEAM_MAYOR

	Config.RebelColor = Color(255, 130, 0, 255)
	Config.PoliceColor = Color(25, 25, 170, 255)

	Config.Rebels = {
		[TEAM_REBEL] = true,
		[TEAM_REBELBOSS] = true
	}
	Config.Police = {
		[TEAM_POLICEDOG] = true,
		[TEAM_POLICE] = true,
		[TEAM_CHIEF] = true,
		[TEAM_SEK] = true,
		[TEAM_SEKSNIPER] = true,
		[TEAM_SEKLEADER] = true,
		[TEAM_SECRETSERVICE] = true,
		[TEAM_MAYOR] = true
	}

	-- Bandenkrieg

	Config.Teams = {
		{
			team1 = TEAM_MAFIABOSS,
			team2 = TEAM_GANGSTERBOSS,
			team1name = "Mafia",
			team2name = "Gangster",
			teams1 = {
				[TEAM_MAFIOSO] = true,
				[TEAM_MAFIABOSS] = true
			},
			teams2 = {
				[TEAM_GANGSTER] = true,
				[TEAM_GANGSTERBOSS] = true
			}
		},
		{
			team1 = TEAM_MAFIABOSS,
			team2 = TEAM_REBELBOSS,
			team1name = "Mafia",
			team2name = "Rebellen",
			teams1 = {
				[TEAM_MAFIOSO] = true,
				[TEAM_MAFIABOSS] = true
			},
			teams2 = {
				[TEAM_REBEL] = true,
				[TEAM_REBELBOSS] = true
			}
		},
		{
			team1 = TEAM_GANGSTERBOSS,
			team2 = TEAM_MAFIABOSS,
			team1name = "Gangster",
			team2name = "Mafia",
			teams1 = {
				[TEAM_GANGSTER] = true,
				[TEAM_GANGSTERBOSS] = true
			},
			teams2 = {
				[TEAM_MAFIOSO] = true,
				[TEAM_MAFIABOSS] = true
			}
		},
		{
			team1 = TEAM_GANGSTERBOSS,
			team2 = TEAM_REBELBOSS,
			team1name = "Gangster",
			team2name = "Rebellen",
			teams1 = {
				[TEAM_GANGSTER] = true,
				[TEAM_GANGSTERBOSS] = true
			},
			teams2 = {
				[TEAM_REBEL] = true,
				[TEAM_REBELBOSS] = true
			}
		},
		{
			team1 = TEAM_REBELBOSS,
			team2 = TEAM_MAFIABOSS,
			team1name = "Rebellen",
			team2name = "Mafia",
			teams1 = {
				[TEAM_REBEL] = true,
				[TEAM_REBELBOSS] = true
			},
			teams2 = {
				[TEAM_MAFIOSO] = true,
				[TEAM_MAFIABOSS] = true
			}
		},
		{
			team1 = TEAM_REBELBOSS,
			team2 = TEAM_GANGSTERBOSS,
			team1name = "Rebellen",
			team2name = "Gangster",
			teams1 = {
				[TEAM_REBEL] = true,
				[TEAM_REBELBOSS] = true
			},
			teams2 = {
				[TEAM_GANGSTER] = true,
				[TEAM_GANGSTERBOSS] = true
			}
		}
	}

	Config.Translations = {
		begin = {
			["Mafia"] = "der Mafia",
			["Gangster"] = "den Gangstern",
			["Rebellen"] = "den Rebellen"
		},
		stop = {
			["Mafia"] = "Die Mafiosi",
			["Gangster"] = "Die Gangster",
			["Rebellen"] = "Die Rebellen"
		}
	}

	DarkRP.declareChatCommand({
		command = "rebellion",
		description = "Starts rebellion.",
		delay = 1.5
	})

	DarkRP.declareChatCommand({
		command = "gangwar",
		description = "Starts gangwar.",
		delay = 1.5
	})

	DarkRP.declareChatCommand({
		command = "surrender",
		description = "Surrender in a rebellion or gangwar.",
		delay = 3
	})
end)