Turfwar/shared/config/shops.lua

131 lines
3.6 KiB
Lua

-- shared/config/shops.lua
Config = Config or {}
Config.Shops = Config.Shops or {}
Config.Shops.Debug = false
-- =========================
-- SETTINGS
-- =========================
Config.Shops.InteractKey = 38 -- E
Config.Shops.InteractDist = 2.0
Config.Shops.MarkerDist = 25.0
Config.Shops.Marker = {
type = 1,
scale = vector3(1.2, 1.2, 0.9),
rgba = { 80, 160, 255, 140 },
}
-- =========================
-- LOCATIONS BY GANG
-- =========================
Config.Shops.LocationsByGang = Config.Shops.LocationsByGang or {}
-- Gang 1
Config.Shops.LocationsByGang[1] = {
shop = {
vector4(2453.142, 4960.223, 44.358, 128.4),
},
vehicles = {
vector4(2460.264, 4957.766, 44.138, 124.0),
}
}
-- Gang 2
Config.Shops.LocationsByGang[2] = {
shop = {
vector4(158.863, -3200.052, 5.016, 91.6),
},
vehicles = {
vector4(163.179, -3203.986, 4.938, 266.2),
}
}
-- Police (Gang 3)
Config.Shops.LocationsByGang[3] = {
shop = {
vector4(451.712, -980.137, 30.69, 258.8),
},
vehicles = {
vector4(454.499, -1013.841, 27.450, 176.9),
}
}
-- Gang 4
Config.Shops.LocationsByGang[4] = {
shop = {
vector4(-576.811, 5339.311, 69.218, 76.8),
},
vehicles = {
vector4(-581.293, 5320.616, 69.214, 152.0),
}
}
-- Gang 5
Config.Shops.LocationsByGang[5] = {
shop = {
vector4(97.161, -1293.022, 29.27, 304.5),
},
vehicles = {
vector4(85.853, -1283.986, 28.266, 118.4),
}
}
-- =========================
-- GANG ITEMS
-- =========================
Config.Shops.Weapons = {
pistol = { label = "Pistol", price = 500, weapon = "WEAPON_PISTOL", ammo = 48 },
combatpistol = { label = "Combat Pistol", price = 1200, weapon = "WEAPON_COMBATPISTOL", ammo = 60 },
smg = { label = "SMG", price = 2500, weapon = "WEAPON_SMG", ammo = 90 },
}
Config.Shops.Ammo = {
pistol_ammo = { label = "Pistol Ammo x60", price = 100, forWeapon = "WEAPON_PISTOL", amount = 60 },
smg_ammo = { label = "SMG Ammo x90", price = 250, forWeapon = "WEAPON_SMG", amount = 90 },
}
Config.Shops.Vehicles = {
gangveh = { label = "Gang Vehicle", price = 0, model = "" },
impaler5 = { label = "Impaler SZ", price = 8000, model = "impaler5" },
granger = { label = "Granger", price = 18000, model = "granger" },
}
-- Optional per-gang override for the free "gangveh" model
Config.Shops.GangVehicleModels = Config.Shops.GangVehicleModels or {}
-- Example:
-- Config.Shops.GangVehicleModels[3] = "police"
-- =========================
-- POLICE ITEMS
-- =========================
Config.Shops.PoliceWeapons = {
service_pistol = { label = "Service Pistol", price = 0, weapon = "WEAPON_PISTOL", ammo = 72 },
carbine = { label = "Carbine Rifle", price = 0, weapon = "WEAPON_CARBINERIFLE", ammo = 120 },
}
Config.Shops.PoliceAmmo = {
pistol_ammo = { label = "Pistol Ammo x72", price = 0, forWeapon = "WEAPON_PISTOL", amount = 72 },
rifle_ammo = { label = "Rifle Ammo x120", price = 0, forWeapon = "WEAPON_CARBINERIFLE", amount = 120 },
}
Config.Shops.PoliceVehicles = {
police = { label = "Police Cruiser", price = 0, model = "police" },
police2 = { label = "Sheriff Crusier", price = 0, model = "sheriff" },
}
-- =========================
-- POLICE VEHICLE DEFAULT LOOK
-- =========================
-- Police vehicles keep Rockstar's DEFAULT paint
Config.Shops.PoliceVehicleAppearance = {
primary = nil, -- do NOT override
secondary = nil, -- do NOT override
pearlescent = nil,
wheel = nil,
livery = nil,
clean = true, -- optional: just removes dirt
}