Config = {}

Config.Framework = 'qb' -- Options: 'qb' or 'ox'
Config.Debug = false
Config.TargetSystem = 'qb-target' -- Options: 'qb-target' or 'ox_target'
Config.MenuSystem = 'qb-menu' -- Options: 'qb-menu' or 'ox_lib'
Config.NotifySystem = 'qb-core' -- Options: 'qb-core' or 'ox_lib'
Config.InventorySystem = 'qb-inventory' -- Options: 'qb-inventory' or 'ox_inventory'

Config.ZoneType = 'circle' -- Options: 'circle' or 'poly'

-- Define the airsoft zone configuration
Config.AirsoftZone = {
	coordinates = vector3(2025.99, 2784.98, 76.39), -- Center of the circlezone
	radius = 58, -- Only used if Config.ZoneType is 'circle'
	points = { -- Only used if Config.ZoneType is 'poly'
		vector2(2020.0, 2780.0),
		vector2(2030.0, 2780.0),
		vector2(2030.0, 2790.0),
		vector2(2020.0, 2790.0),
	},
}

Config.EnterLocation = {
	coords = vector4(2024.5, 2844.17, 50.28, 0), -- Position of the enter ped
	model = 's_m_y_marine_01', -- Ped model
}

Config.ExitLocation = {
	coords = vector4(2024.67, 2841.7, 50.31, 180), -- Position of the exit ped
	model = 'a_m_y_hipster_01', -- Ped model
}

-- Configurable spawn locations within the airsoft zone
Config.SpawnLocations = {
	vector3(2025.83, 2751.73, 50.29),
	vector3(1994.17, 2745.99, 49.67),
	vector3(2006.41, 2823.64, 50.28),
	vector3(2042.01, 2827.47, 50.44),
	vector3(2066.32, 2762.93, 50.31),
}

-- Location where the player will be teleported if hit/dead
Config.TeleportOnHit = true
Config.ReturnLocation = vector3(2024.36, 2846.33, 50.26)

-- Blip configuration for the airsoft zone
Config.AirsoftBlip = {
	enabled = true, -- Toggle to enable or disable the blip
	coords = vector3(2025.99, 2784.98, 76.39), -- Coordinates for the blip
	sprite = 432, -- Blip sprite/icon
	color = 1, -- Blip color
	scale = 0.8, -- Blip scale
	name = 'Airsoft Arena', -- Blip name
}

-- Define loadouts with weapons, ammo, and their labels
Config.Loadouts = {
	{
		name = 'Loadout 1',
		weapons = {
			{ name = 'weapon_airsoftglock20', label = 'Pistol' },
		},
		ammo = {
			{ name = 'pistol_ammo', amount = 10 },
		},
		price = 100,
	},
	{
		name = 'Loadout 2',
		weapons = {
			{ name = 'weapon_airsoftm4', label = 'Assault Rifle' },
		},
		ammo = {
			{ name = 'rifle_ammo', amount = 10 },
		},
		price = 100,
	},
	{
		name = 'Loadout 3',
		weapons = {
			{ name = 'weapon_airsoftr870', label = 'Shotgun' },
		},
		ammo = {
			{ name = 'shotgun_ammo', amount = 10 },
		},
		price = 100,
	},
	{
		name = 'Loadout 4 (OX)',
		weapons = {
			{ name = 'weapon_airsoftglock20', label = 'Pistol' },
		},
		ammo = {
			{ name = 'ammo-9', amount = 100 },
		},
		price = 100,
	},
}
