Config = {}

-- Minimum distance at which undead may be despawned out of sight.
Config.despawnDistance = 50

-- Amount of health each undead has.
Config.undeadHealth = 999999

-- Whether to show blips for undead peds on the map.
Config.showBlips = false

-- The blip sprite used for undead peds.
Config.undeadBlipSprite = -839369609

-- The zone to set when the resource starts. Comment out for no initial zone.
--Config.defaultZone = "world"

-- How long a zone stays infected for. Comment out for no timeout.
--Config.zoneTimeout = 1800

-- The blip sprite used for the zone radius.
Config.zoneBlipSprite = 693035517

-- Whether to keep track of undead kills in the MySQL database.
Config.enableDb = true

-- Which player identifier to use in the database.
Config.dbIdentifier = "license"

-- Whether to enable the ritual site where players can vote to toggle the undead on/off.
Config.enableRitual = true

-- The coordinates to place the blip for the ritual site on the map.
Config.ritualBlipCoords = vector3(-5769.294, -4429.829, 9.04)

-- The sprite used for the ritual site blip.
Config.ritualBlipSprite = `blip_ambient_hunter`

-- The name used for the ritual site blip.
Config.ritualBlipName = "Ritual Site"

-- IPLs to enable/disable when the undead are enabled/disabled.
--
-- true means the IPL is enabled when the undead are enabled and disabled when
-- they are disabled, while false means the opposite, the IPL is disabled when
-- the undead are enabled and enabled when they are disabled.
Config.ipls = {
}

-- The walking styles that undead peds will use.
Config.walkingStyles = {
	{"default", "very_drunk"},
	{"murfree", "very_drunk"},
	{"default", "dehydrated_unarmed"},
}

-- The zones that can be infected.
Config.zones = {
	world = {
		name = "Worldwide"
	},
	annesburg = {
		name = "Annesburg",
		coords = vector3(2905.50, 1356.83, 51.75),
		radius = 400.0
	},
	armadillo = {
		name = "Armadillo",
		coords = vector3(-3678.58, -2613.38, -14.11),
		radius = 150.0
	},
	benedictpoint = {
		name = "Benedict Point",
		coords = vector3(-5224.15, -3472.15, -20.55),
		radius = 150.0
	},
	blackwater = {
		name = "Blackwater",
		coords = vector3(-924.87, -1313.61, 46.26),
		radius = 300.0
	},
	emeraldranch = {
		name = "Emerald Ranch",
		coords = vector3(1421.56, 323.30, 88.39),
		radius = 300.0
	},
	flatironlake = {
		name = "Flatiron Lake Islands",
		coords = vector3(429.59, -1480.59, 40.24),
		radius = 450.0
	},
	fortmercer = {
		name = "Fort Mercer",
		coords = vector3(-4210.57, -3446.08, 37.08),
		radius = 150.0
	},
	grizzlieseast = {
		name = "East Grizzlies",
		coords = vector3(1934.70, 1950.61, 266.12),
		radius = 400.0
	},
	heartlandoilfields = {
		name = "Heartland Oil Fields",
		coords = vector3(521.93, 621.11, 109.92),
		radius = 150.0
	},
	lagras = {
		name = "Lagras",
		coords = vector3(2034.59, -633.62, 42.94),
		radius = 300.0
	},
	macfarlanesranch = {
		name = "Macfarlane's Ranch",
		coords = vector3(-2377.92, -2406.36, 61.76),
		radius = 150.0
	},
	rhodes = {
		name = "Rhodes",
		coords = vector3(1311.61, -1339.71, 77.21),
		radius = 500.0
	},
	saintdenis = {
		name = "Saint Denis",
		coords = vector3(2615.96, -1262.17, 52.56),
		radius = 600.0
	},
	sisika = {
		name = "Sisika Pennitentiary",
		coords = vector3(3272.51, -624.70, 42.66),
		radius = 300.0
	},
	strawberry = {
		name = "Strawberry",
		coords = vector3(-1791.29, -403.40, 154.49),
		radius = 250.0
	},
	thieveslanding = {
		name = "Thieves Landing",
		coords = vector3(-1411.47, -2259.47, 42.35),
		radius = 200.0
	},
	tumbleweed = {
		name = "Tumbleweed",
		coords = vector3(-5519.54, -2950.01, -1.68),
		radius = 150.0
	},
	valentine = {
		name = "Valentine",
		coords = vector3(-282.55, 720.44, 114.89),
		radius = 400.0
	},
	vanhorn = {
		name = "Van Horn",
		coords = vector3(2930.26, 523.47, 45.31),
		radius = 200.0
	}
}

-- The zones that will be rotated through when Config.zoneTimeout is enabled.
Config.zoneRotation = {
	"annesburg",
	"armadillo",
	"benedictpoint",
	"blackwater",
	"emeraldranch",
	"fortmercer",
	"grizzlieseast",
	"heartlandoilfields",
	"lagras",
	"macfarlanesranch",
	"rhodes",
	"saintdenis",
	"sisika",
	"strawberry",
	"thieveslanding",
	"tumbleweed",
	"valentine",
	"vanhorn"
}
