diff --git a/resources/ImperialCAD-main/config.lua b/resources/ImperialCAD-main/config.lua index 90e0b2dbd..9e0f15e36 100644 --- a/resources/ImperialCAD-main/config.lua +++ b/resources/ImperialCAD-main/config.lua @@ -59,7 +59,7 @@ Config.FIREWeapons = { Config.SendWebhook = false -- If you want to send a webhook when someone goes on/off duty -Config.WebhookURL = "https://elite-gaming.gg" -- Webhook URL +Config.WebhookURL = "WEBHOOK URL HERE" -- Webhook URL --Should these chat commands exist: Config.TsThroughChat = true diff --git a/resources/ImperialCAD-main/data/counties.json b/resources/ImperialCAD-main/data/counties.json index d1216f3e1..521554ab2 100644 --- a/resources/ImperialCAD-main/data/counties.json +++ b/resources/ImperialCAD-main/data/counties.json @@ -1,16 +1,16 @@ [ { - "county": "Los Angeles County", + "county": "Blaine County", "x": 147.96, "y": 2589.43 }, { - "county": "Los Angeles County", + "county": "Los Santos County", "x": -404.79, "y": 1186.31 }, { - "county": "Los Angeles County", + "county": "Roxwood County", "x": -317.87, "y": 8035.01 } diff --git a/resources/SCBApack/.fxap b/resources/SCBApack/.fxap new file mode 100644 index 000000000..69b45556d Binary files /dev/null and b/resources/SCBApack/.fxap differ diff --git a/resources/SCBApack/audiodirectory/scba_sounds.awc b/resources/SCBApack/audiodirectory/scba_sounds.awc new file mode 100644 index 000000000..a9e2900ef Binary files /dev/null and b/resources/SCBApack/audiodirectory/scba_sounds.awc differ diff --git a/resources/SCBApack/cl_scba.lua b/resources/SCBApack/cl_scba.lua new file mode 100644 index 000000000..b071c3986 Binary files /dev/null and b/resources/SCBApack/cl_scba.lua differ diff --git a/resources/SCBApack/cl_utils.lua b/resources/SCBApack/cl_utils.lua new file mode 100644 index 000000000..2c657093e --- /dev/null +++ b/resources/SCBApack/cl_utils.lua @@ -0,0 +1,128 @@ +vRP = nil + +if Config.Notifications.Enabled and Config.Notifications.Framework.vRP then + local Tunnel = module("vrp", "lib/Tunnel") + local Proxy = module("vrp", "lib/Proxy") + vRP = Proxy.getInterface("vRP") +end + +if Config.Notifications.Enabled and Config.Notifications.Framework.ESX then + ESX = exports["es_extended"]:getSharedObject() +end + +if Config.EnablePositioningCommand then + TriggerEvent('chat:addSuggestion', '/'.."findhosepositioning", "Find positioning of the SCBA offsets on your vehicle") + + RegisterCommand("findhosepositioning", function(source, args) + + local ped = PlayerPedId() + local targetVehicle = GetVehiclePedIsIn(ped, false) + + if targetVehicle == nil or targetVehicle == 0 then + Notify("No vehicle found!") + else + local model = `prop_poolball_8` + SetEntityAlpha(targetVehicle, 150, false) + RequestModel(model) + while not HasModelLoaded(model) do Wait(0) end + local ballProp = CreateObject(model, coords, false, false, false) + + while not DoesEntityExist(ballProp) do Wait(0) end + + SetModelAsNoLongerNeeded(model) + local offSet = {0.0, 0.0, 0.0} + local rotation = {0.0, 0.0, 0.0} + local offSetComplete = false + while not offSetComplete do + if targetVehicle ~= nil and targetVehicle ~= 0 then + DetachEntity(ballProp, true, false) + AttachEntityToEntity(ballProp, targetVehicle, -1, offSet[1], offSet[2], offSet[3], rotation[1], rotation[2], rotation[3], true, false, true, false, 1, true) + if not IsControlReleased(0, Config.PositioningControls.down) then --page down + offSet = {offSet[1], offSet[2], offSet[3] - 0.01} + end + + if not IsControlReleased(0, Config.PositioningControls.up) then --page up + offSet = {offSet[1], offSet[2], offSet[3] + 0.01} + end + + if not IsControlReleased(0, Config.PositioningControls.backwards) then --arrow down + offSet = {offSet[1], offSet[2] - 0.01, offSet[3]} + end + + if not IsControlReleased(0, Config.PositioningControls.forwards) then --arrow up + offSet = {offSet[1], offSet[2] + 0.01, offSet[3]} + end + + if not IsControlReleased(0, Config.PositioningControls.left) then --arrow left + offSet = {offSet[1] - 0.01, offSet[2], offSet[3]} + end + + if not IsControlReleased(0, Config.PositioningControls.right) then --arrow right + offSet = {offSet[1] + 0.01, offSet[2], offSet[3]} + end + + if IsControlJustPressed(0, Config.PositioningControls.enter) then -- enter - finish + offSetComplete = true + end + end + + Wait(0) + end + + Notify("OffSet Values are now printed in your console") + print("OffSet: {"..offSet[1]..", "..offSet[2]..", "..offSet[3].."}") + DeleteEntity(ballProp) + ResetEntityAlpha(targetVehicle) + end + + end, false) +end + +if Config.Inventory.coreInventory then + function inventoryUseScba() + TriggerEvent("scba:client:useScba") + end + + exports("inventoryUseScba", inventoryUseScba) + + function inventoryUseRope() + TriggerEvent("scba:client:useRope") + end + + exports("inventoryUseRope", inventoryUseRope) +end + +function Notify(text) + + if not Config.Notifications.Enabled then + return + end + + if Config.Notifications.Framework.ESX then + if ESX ~= nil then + ESX.ShowNotification(text) + end + elseif Config.Notifications.Framework.QBCore then + TriggerEvent('QBCore:Notify', text, 'primary') + elseif Config.Notifications.Framework.QBX then + exports.qbx_core:Notify(text, 'primary') + elseif Config.Notifications.Framework.vRP then + vRP.notify(source, {text}) + elseif Config.Notifications.Framework.okok then + exports['okokNotify']:Alert("SCBA", text, 2000, 'info', true) + else + showBaseNotification(text) + end +end + +function showBaseNotification(msg) + BeginTextCommandThefeedPost('STRING') + AddTextComponentSubstringPlayerName(msg) + EndTextCommandThefeedPostTicker(false, false) +end + +function showHelp(msg) + BeginTextCommandDisplayHelp('STRING') + AddTextComponentSubstringPlayerName(msg) + EndTextCommandDisplayHelp(0, false, false, 1) +end \ No newline at end of file diff --git a/resources/SCBApack/config.lua b/resources/SCBApack/config.lua new file mode 100644 index 000000000..9a74fe52e --- /dev/null +++ b/resources/SCBApack/config.lua @@ -0,0 +1,673 @@ +Config = { + initialPressure = 330, -- what the bottle starts at + dialMax = 400, -- what the UI face is drawn to + unit = 'bar', -- bar or psi + nuiPos = 'br', -- br , bm ,bl, tl, tr + ServerDebug = false, + + keys = { + scba = 'J', + scbaLight = 'K', + scbaPass = 'H', + }, + + oxygenBarPerSecond = 0.5, + runningDrain = { walk = 1.0, run = 1.15, sprint = 1.35 }, + + -- Command to automatically add outfits to the outfits.json + addOutfitCommand = "addoutfit", + StrictClothingCheck = false, + + -- Do not touch unless you know what you're doing. + audio = { + soundset = "scba", + + scba = { + breatheName = "breathe_loop", + breatheIntervalMs = 3000, -- Recommended. + breathRange = 12.0, + networkedBreath = true, + }, + + pass = { + passFullName = 'pass_full', + idleSeconds = 30, -- time without movement to auto-trip + intervalMs = 6000, -- retrigger cadence for pass sound + range = 25.0, -- PlaySoundFromCoord radius + networked = true, -- let others hear it in range + moveThreshold = 0.06 -- meters to count as “moved” + } + }, + + light = { + distance = 18.0, + brightness = 0.3, + radius = 10.0, + falloff = 2.0, + hardness = 0.2, + headOffset = vector3(0.0, 0.0, 0.13), + chestOffset = vector3(0.16, 0.03, -0.02), + color = { r = 255, g = 255, b = 240 }, + + followHead = true, -- if true and mode=head: aim light where the player looks + syncedHeadLight = true, -- syncs where the player is aiming for other players. + }, + + smoke = { + enabled = true, + tickMs = 500, + respectSafeZones = true, + + -- Simpler Boost consumption + boostConsumption = 0.50, -- Extra SCBA drain in HOT/WARM smoke (only when protected). boostConsumption * (tickMs/1000). Example: 0.5 & 500ms → 0.25/tick (~0.5/sec). + + coughAnim = { dict = 'timetable@gardener@smoking_joint', name = 'idle_cough', timeMs = 3100, flag = 49 }, + + -- per-tier extra drain (bar/sec). if present, overrides boostConsumption. + tierBoost = { haze = 0.10, warm = 0.30, hot = 0.50 }, + tiers = { + hot = { radius = 5.0, dps = 15.0, lungDps = 6.5, cough = true, coughCooldownMs = 3500}, + warm = { radius = 12.0, dps = 5.0, lungDps = 3.0, cough = true, coughCooldownMs = 6000}, + haze = { radius = 20.0, cough = true, coughCooldownMs = 8000, notify = true, notifyText = 'Your throat burns. The air tastes like smoke.' } + }, + + intensity = { + rings = { + { radius = 4.0, weight = 1.0 }, + { radius = 8.0, weight = 0.6 }, + { radius = 14.0, weight = 0.3 } + }, + thresholds = { haze = 0.25, warm = 1.0, hot = 2.0 }, + occlusionPenalty = 0.5, -- LOS blocked → score *= this + minFireCount = 1 -- if total fires in 14m < this, treat as none + } + }, + + refillPoints = { + enabled = true, + allowCommand = true, + commaneName = "scbarefill", + radius = 2.0, + locations = { + vec3(202.72, -1645.52, 29.8) + } + }, + + ScbaOffsets = { + radius = 1.4, + + VehicleSettings = { + [`firetruk`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`20ramcsquad`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`20ramambo`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lafdbatt`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lafdxt6700`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lafdcab`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lafdtiller`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lafdxt6700`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`enforcer`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`EnforcerEng`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`enforcerf`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`enladder`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`f250ambo`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`fd14tahoe`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`fireburb`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`firef350`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`Commandcenterr`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`ram20pov`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`rescue1`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`walkin`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`walkinarrow`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`commandtruckr`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`arrowxt1`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`21fireladder`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`16ramambo`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`16ramcsquad`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`23sierrafire`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`24ramambo`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`heavypump`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`heavytank`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`heavywild`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`heavyrescue`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`202346gmc`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`e350vanb`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`e450ambo`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`f550csquad`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`FIRE03sierra`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`fire22exp`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`fire22exp`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`fire23f150xlt`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`fire2014silvc`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`firef250`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`firegmc23sirhd`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`firetahoe`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`fordfire`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`ftanker`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lacofdbat`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lacofdbug`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`LACoFDDurango`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lacofdeng`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lacofdfoam`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lacofdpat`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lacofdrs`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lacofdsup`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lacofdt3`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lacofdusartrk`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lacofdusartrlr`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lacofdutil`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lsfd20fpiu`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`lafdtahoe`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`safe33f`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`ramfire`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`x3bearcat`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`arrowxt1`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`25fpiupov`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`24sub`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`engine51`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`ra51`] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [` `] = { + offsets = { + { x = 1.15, y = -2.45, z = 0.55 }, + { x = -1.15, y = -2.45, z = 0.55 }, + } + }, + [`britishladder`] = { + offsets = { + { x = -0.6, y = -3.8, z = 0.5 }, + } + }, + + [`rearmount`] = { + offsets = { + { x = -1.29, y = -1.83, z = 0.48 }, + } + }, + } + }, + + safeZones = { + { coords = vector3(13.31, -1103.53, 29.8), radius = 30.0}, -- ammunation example. + }, + + safeProps = { + { model = 'prop_beach_fire', radius = 5.0 }, + }, + + safeZoneCheckMs = 500, + safePropScanRadius = 35.0, + debugSafeZones = false, -- For PolyZones only + + EnablePositioningCommand = false, + + PositioningControls = { + down = 207, -- Page Up + up = 208, -- Page Down + backwards = 173, -- Arrow Down + forwards = 172, -- Arrow Up + left = 174, -- Arrow Left + right = 175, -- Arrow Right + enter = 191, -- Enter Key + }, + + peds = { + male = { + model = `mp_m_freemode_01`, + scbaComponentIds = {8}, + components = {}, + props = {} + }, + female = { + model = `mp_f_freemode_01`, + scbaComponentIds = {8}, + components = {}, + props = {} + }, + + firemanNpc = { + model = `s_m_y_fireman_01`, + scbaComponent = 8, + scbaDrawableOff = 1, + scbaDrawableOn = 2, + scbaTexture = 0 + } + }, + + JobCheck = { + EnablePermissions = false, -- If set to false, all below job checks will be disabled, even if they are enabled in the config.lua + AcePermissions = { + Enabled = false, + Permission = "usescba" + }, + + ESX = { + Enabled = false, + CheckJob = { + Enabled = false, -- Enable this to use ESX job check + Jobs = {"fireman"} -- A user can have any of the following jobs, allowing you to add multiple + } + }, + -- We've added vRP integration. All you need to do is enable it below. Then, configure if you wish to check for groups or permissions, or even both + vRP = { + Enabled = false, + CheckGroup = { + Enabled = false, -- Enable this to use vRP group check + Groups = {"fireman"}, -- A user can have any of the following groups, meaning you can add different jobs + }, + CheckPermission = { + Enabled = false, -- Enable this to use vRP permission check + Permissions = {"fireman.usescba"} -- A user can have any of the following permissions, allowing you to add multiple + }, + }, + -- We've added QBCore integration. All you need to do is enable it below. Then, configure if you wish to check for jobs or permissions, or even both + QBCore = { + Enabled = false, + CheckJob = { + Enabled = false, -- Enable this to use QBCore job check + Jobs = {"fireman"}, -- A user can have any of the following jobs, meaning you can add different jobs + }, + CheckPermission = { + Enabled = false, -- Enable this to use QBCore permission check + Permissions = {"fireman.usescba"}, -- A user can have any of the following permissions, allowing you to add multiple + }, + }, + -- We've added QBX integration. All you need to do is enable it below. Then, configure if you wish to check for jobs or permissions, or even both + QBX = { + Enabled = false, + CheckJob = { + Enabled = false, -- Enable this to use QBX job check + Jobs = {"fireman"}, -- A user can have any of the following jobs, meaning you can add different jobs + } + }, + }, + + Inventory = { + scbaItemName = "scba", + ropeItemName = "scbarope", + oxInventory = false, + coreInventory = false, + ESX = false, + vRP = false, + qbCore = false, + }, + + Notifications = { + Enabled = true, + HelpTextSound = false, + Framework = { + QBCore = false, + QBX = false, + ESX = false, + vRP = false, + okok = false, + } + }, + + Translations = { + noPermission = "You do not have access to use this!", + noItem = "You do not have the required item.", + notWearingScba = "You are not wearing a SCBA.", + scbaEnabled = "SCBA Enabled", + scbaDisabled = "SCBA Disabled", + alreadyEquipped = "SCBA already equipped!", + turnoff = "Turn off SCBA air first.", + tankFull = "SCBA tank is already full", + tankRefilled = "SCBA tank refilled.", + lightOn = "SCBA Light: ON", + lightOff = "SCBA Light: OFF", + smokeDamageOn = "Smoke damage: enabled", + smokeDamageOff = "Smoke damage: disabled", + nearby = "No player nearby.", + eupOnly = "SCBA can only be worn on freemode peds.", + scbaRefill = "Press E to refill SCBA", + scbaSwapBottle = "Press E to replace air bottle", + scbaRetrieve = "Press E to retrieve SCBA", + scbaRemove = "Press G to remove SCBA", + ropeAttach = '~INPUT_SPRINT~ + ~INPUT_CONTEXT~ Attach Rescue Rope', + ropeDetach = '~INPUT_SPRINT~ + ~INPUT_CONTEXT~ Detach Rescue Rope', + passKeyMapping = "Toggle Pass", + scbaKeyMapping = "Toggle SCBA Air", + lightmodeKeyMapping = "Switch light mode", + lightKeyMapping = "Toggle SCBA Light", + shakeToReset = "~INPUT_CONTEXT~ Shake to reset PASS alarm", + }, +} \ No newline at end of file diff --git a/resources/SCBApack/data/audioexample_sounds.dat54.rel b/resources/SCBApack/data/audioexample_sounds.dat54.rel new file mode 100644 index 000000000..0dcb6968e Binary files /dev/null and b/resources/SCBApack/data/audioexample_sounds.dat54.rel differ diff --git a/resources/SCBApack/data/outfits.json b/resources/SCBApack/data/outfits.json new file mode 100644 index 000000000..597aa275c --- /dev/null +++ b/resources/SCBApack/data/outfits.json @@ -0,0 +1,104 @@ +{ + "male": [ + { + "components": [ + { + "drawable": 209, + "id": 3, + "texture": 0 + }, + { + "drawable": 120, + "id": 4, + "texture": 0 + }, + { + "drawable": 0, + "id": 5, + "texture": 0 + }, + { + "drawable": 25, + "id": 6, + "texture": 0 + }, + { + "drawable": 0, + "id": 7, + "texture": 0 + }, + { + "drawable": 151, + "id": 8, + "texture": 0 + }, + { + "drawable": 0, + "id": 9, + "texture": 0 + }, + { + "drawable": 0, + "id": 10, + "texture": 0 + }, + { + "drawable": 314, + "id": 11, + "texture": 0 + } + ] + } + ], + "female": [ + { + "components": [ + { + "id": 3, + "drawable": 18, + "texture": 0 + }, + { + "id": 4, + "drawable": 126, + "texture": 0 + }, + { + "id": 5, + "drawable": 0, + "texture": 0 + }, + { + "id": 6, + "drawable": 25, + "texture": 0 + }, + { + "id": 7, + "drawable": 0, + "texture": 0 + }, + { + "id": 8, + "drawable": 187, + "texture": 1 + }, + { + "id": 9, + "drawable": 0, + "texture": 0 + }, + { + "id": 10, + "drawable": 0, + "texture": 0 + }, + { + "id": 11, + "drawable": 325, + "texture": 0 + } + ] + } + ] +} \ No newline at end of file diff --git a/resources/SCBApack/fxmanifest.lua b/resources/SCBApack/fxmanifest.lua new file mode 100644 index 000000000..d590e2bbf --- /dev/null +++ b/resources/SCBApack/fxmanifest.lua @@ -0,0 +1,40 @@ +fx_version 'cerulean' +game 'gta5' +lua54 'yes' + +name "SmartScba" +description "A Scba resource" +author "London Studios" +version "1.0" + +ui_page 'web/index.html' + +files { + 'web/index.html', + 'web/*', + 'web/**/*', + 'data/audioexample_sounds.dat54.rel', + 'audiodirectory/scba_sounds.awc', +} + +shared_script 'config.lua' + +client_scripts { + 'cl_scba.lua', + 'cl_utils.lua', +} + +escrow_ignore { + 'config.lua', + 'cl_utils.lua', + 'sv_utils.lua', +} + +server_scripts { + 'sv_scba.lua', + 'sv_utils.lua', +} + +data_file 'AUDIO_WAVEPACK' 'audiodirectory' +data_file 'AUDIO_SOUNDDATA' 'data/audioexample_sounds.dat' +dependency '/assetpacks' \ No newline at end of file diff --git a/resources/SCBApack/sv_scba.lua b/resources/SCBApack/sv_scba.lua new file mode 100644 index 000000000..2c165c4e2 Binary files /dev/null and b/resources/SCBApack/sv_scba.lua differ diff --git a/resources/SCBApack/sv_utils.lua b/resources/SCBApack/sv_utils.lua new file mode 100644 index 000000000..de222184f --- /dev/null +++ b/resources/SCBApack/sv_utils.lua @@ -0,0 +1,184 @@ +usedScbaItem = {} +usedRopeItem = {} + +if Config.JobCheck.ESX.Enabled or Config.Inventory.ESX then + ESX = exports["es_extended"]:getSharedObject() +end + +if Config.JobCheck.vRP.Enabled or Config.Inventory.vRP then + local Tunnel = module("vrp", "lib/Tunnel") + local Proxy = module("vrp", "lib/Proxy") + vRP = Proxy.getInterface("vRP") + vRPclient = Tunnel.getInterface("vRP","vRP") +end + +if Config.JobCheck.QBCore.Enabled or Config.Inventory.qbCore then + QBCore = exports['qb-core']:GetCoreObject() +end + +local itemEnabled = Config.Inventory.qbCore or Config.Inventory.vRP or Config.Inventory.ESX or Config.Inventory.coreInventory or Config.Inventory.oxInventory + +function UserHasPermission(source, location) + + if not location.EnablePermissions then + return true + end + + if location.AcePermissions.Enabled then + if IsPlayerAceAllowed(source, location.AcePermissions.Permission) then + return true + end + end + + -- ESX Permissions + if location.ESX.Enabled then + local xPlayer = ESX.GetPlayerFromId(source) + if location.ESX.CheckJob.Enabled then + for k, v in pairs(location.ESX.CheckJob.Jobs) do + if xPlayer.job.name == v then + return true + end + end + end + end + + -- vRP Permission + if location.vRP.Enabled then + if location.vRP.CheckPermission.Enabled then + for k, v in pairs(location.vRP.CheckPermission.Permissions) do + if vRP.hasPermission({vRP.getUserId({source}),v}) then + return true + end + end + end + + if location.vRP.CheckGroup.Enabled then + for k, v in pairs(location.vRP.CheckGroup.Groups) do + if vRP.hasGroup({vRP.getUserId({source}),v}) then + return true + end + end + end + end + + -- QBCore Permission + if location.QBCore.Enabled then + local player = QBCore.Functions.GetPlayer(source) + if location.QBCore.CheckJob.Enabled then + for k, v in pairs(location.QBCore.CheckJob.Jobs) do + if player.PlayerData.job.name == v then + return true + end + end + end + if location.QBCore.CheckPermission.Enabled then + for k, v in pairs(location.QBCore.CheckPermission.Permissions) do + if QBCore.Functions.HasPermission(source, v) then + return true + end + end + end + end + + if location.QBX.Enabled then + local player = exports.qbx_core:GetPlayer(source) + if location.QBX.CheckJob.Enabled then + for k, v in pairs(location.QBX.CheckJob.Jobs) do + if player.PlayerData.job.name == v then + return true + end + end + end + end + + return false +end + +function HandleInventoryItems(source, itemName, give) + if Config.Inventory.vRP then + local userID = vRP.getUserId({source}) + if give then + vRP.giveInventoryItem({userId, itemName, 1, false}) + else + if vRP.tryGetInventoryItem({userID, itemName, 1, false}) then + return true + else + return false + end + end + elseif Config.Inventory.qbCore then + if give then + exports['qb-inventory']:AddItem(source, itemName, 1, false, false, GetCurrentResourceName()) + else + local successful = exports['qb-inventory']:RemoveItem(source, itemName, 1, false, GetCurrentResourceName()) + + return successful + end + elseif Config.Inventory.ESX then + local xPlayer = ESX.GetPlayerFromId(source) + if give then + xPlayer.addInventoryItem(itemName, 1) + else + local returnedItem = xPlayer.getInventoryItem(itemName) + + if returnedItem.canRemove then + xPlayer.removeInventoryItem(itemName, 1) + return true + else + return false + end + end + elseif Config.Inventory.oxInventory then + if give then + exports.ox_inventory:AddItem(source, itemName, 1) + else + local successful = exports.ox_inventory:RemoveItem(source, itemName, 1) + + return successful + end + elseif Config.Inventory.coreInventory then + if give then + exports.core_Inventory:addItem(source, itemName, 1) + else + local successful = exports.core_Inventory:removeItem(source, itemName, 1) + + return successful + end + end +end + +if Config.Inventory.qbCore then + QBCore.Functions.CreateUseableItem(Config.Inventory.scbaItemName, function(src) + TriggerEvent("Server:ScbaWithItem", src) + end) + + QBCore.Functions.CreateUseableItem(Config.Inventory.ropeItemName, function(src) + TriggerEvent("Server:RopeWithItem", src) + end) +end + +if Config.Inventory.ESX then + ESX.RegisterUsableItem(Config.Inventory.scbaItemName, function(src) + TriggerEvent("Server:ScbaWithItem", src) + end) + + ESX.RegisterUsableItem(Config.Inventory.ropeItemName, function(src) + TriggerEvent("Server:RopeWithItem", src) + end) +end + +if Config.Inventory.oxInventory then + exports('OxUseSCBA', function(event, _, inventory) + if event == 'usingItem' then + usedScbaItem[inventory.player.source] = true + TriggerClientEvent('scba:client:useScba', inventory.player.source) + end + end) + + exports('OxUseRope', function(event, _, inventory) + if event == 'usingItem' then + usedRopeItem[inventory.player.source] = true + TriggerClientEvent('scba:client:useRope', inventory.player.source) + end + end) +end diff --git a/resources/SCBApack/web/assets/index.css b/resources/SCBApack/web/assets/index.css new file mode 100644 index 000000000..439235b1b --- /dev/null +++ b/resources/SCBApack/web/assets/index.css @@ -0,0 +1 @@ +html,body,#root{height:100%;margin:0;padding:0;background:transparent}.wrap{position:fixed;inset:auto 16px 16px auto;pointer-events:none}.wrap.hidden{display:none}.pos-br{inset:auto 16px 16px auto}.pos-bm{inset:auto auto 16px 50%;transform:translate(-50%)}.pos-bl{inset:auto auto 16px 16px}.pos-tl{inset:16px auto auto 16px}.pos-tr{inset:16px 16px auto auto}.gauge{width:260px;height:260px;display:grid;place-items:center;pointer-events:none}.dial{width:100%;height:100%}.theme-draeger .housing{fill:#1b1b1b}.theme-draeger .bezel{fill:#0d0d0f;stroke:#222;stroke-width:2}.theme-draeger .face{fill:#fff;stroke:#cfcfcf;stroke-width:1.5}.theme-draeger .low-wedge{fill:#c82828;opacity:.85}.tick{stroke:#111;stroke-linecap:round}.tick.major{stroke-width:3}.tick.minor{stroke-width:2}.tick.micro{stroke-width:1;opacity:.7}.num{fill:#111;font:600 14px system-ui,sans-serif}.unit{fill:#111;font:600 12px system-ui,sans-serif;letter-spacing:.5px}.needle{transform-origin:120px 120px}.needle line{stroke:#111;stroke-width:3}.needle circle{fill:#111}.theme-draeger .ok-wedge{fill:#208a3a;opacity:.85}.num{fill:#111;font:600 12px system-ui,sans-serif} diff --git a/resources/SCBApack/web/assets/index.js b/resources/SCBApack/web/assets/index.js new file mode 100644 index 000000000..1e22f49c5 --- /dev/null +++ b/resources/SCBApack/web/assets/index.js @@ -0,0 +1,40 @@ +(function(){const D=document.createElement("link").relList;if(D&&D.supports&&D.supports("modulepreload"))return;for(const O of document.querySelectorAll('link[rel="modulepreload"]'))J(O);new MutationObserver(O=>{for(const B of O)if(B.type==="childList")for(const Z of B.addedNodes)Z.tagName==="LINK"&&Z.rel==="modulepreload"&&J(Z)}).observe(document,{childList:!0,subtree:!0});function m(O){const B={};return O.integrity&&(B.integrity=O.integrity),O.referrerPolicy&&(B.referrerPolicy=O.referrerPolicy),O.crossOrigin==="use-credentials"?B.credentials="include":O.crossOrigin==="anonymous"?B.credentials="omit":B.credentials="same-origin",B}function J(O){if(O.ep)return;O.ep=!0;const B=m(O);fetch(O.href,B)}})();var No={exports:{}},Sr={},Po={exports:{}},I={};/** + * @license React + * react.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Pa;function Uf(){if(Pa)return I;Pa=1;var x=Symbol.for("react.element"),D=Symbol.for("react.portal"),m=Symbol.for("react.fragment"),J=Symbol.for("react.strict_mode"),O=Symbol.for("react.profiler"),B=Symbol.for("react.provider"),Z=Symbol.for("react.context"),A=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),q=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),Q=Symbol.iterator;function K(c){return c===null||typeof c!="object"?null:(c=Q&&c[Q]||c["@@iterator"],typeof c=="function"?c:null)}var ve={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},de=Object.assign,R={};function Y(c,h,j){this.props=c,this.context=h,this.refs=R,this.updater=j||ve}Y.prototype.isReactComponent={},Y.prototype.setState=function(c,h){if(typeof c!="object"&&typeof c!="function"&&c!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,c,h,"setState")},Y.prototype.forceUpdate=function(c){this.updater.enqueueForceUpdate(this,c,"forceUpdate")};function at(){}at.prototype=Y.prototype;function Ae(c,h,j){this.props=c,this.context=h,this.refs=R,this.updater=j||ve}var be=Ae.prototype=new at;be.constructor=Ae,de(be,Y.prototype),be.isPureReactComponent=!0;var xe=Array.isArray,et=Object.prototype.hasOwnProperty,ze={current:null},Re={key:!0,ref:!0,__self:!0,__source:!0};function Ke(c,h,j){var F,V={},H=null,ee=null;if(h!=null)for(F in h.ref!==void 0&&(ee=h.ref),h.key!==void 0&&(H=""+h.key),h)et.call(h,F)&&!Re.hasOwnProperty(F)&&(V[F]=h[F]);var X=arguments.length-2;if(X===1)V.children=j;else if(1>>1,h=S[c];if(0>>1;cO(V,_))HO(ee,V)?(S[c]=ee,S[H]=_,c=H):(S[c]=V,S[F]=_,c=F);else if(HO(ee,_))S[c]=ee,S[H]=_,c=H;else break e}}return T}function O(S,T){var _=S.sortIndex-T.sortIndex;return _!==0?_:S.id-T.id}if(typeof performance=="object"&&typeof performance.now=="function"){var B=performance;x.unstable_now=function(){return B.now()}}else{var Z=Date,A=Z.now();x.unstable_now=function(){return Z.now()-A}}var U=[],q=[],b=1,Q=null,K=3,ve=!1,de=!1,R=!1,Y=typeof setTimeout=="function"?setTimeout:null,at=typeof clearTimeout=="function"?clearTimeout:null,Ae=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function be(S){for(var T=m(q);T!==null;){if(T.callback===null)J(q);else if(T.startTime<=S)J(q),T.sortIndex=T.expirationTime,D(U,T);else break;T=m(q)}}function xe(S){if(R=!1,be(S),!de)if(m(U)!==null)de=!0,Me(et);else{var T=m(q);T!==null&&se(xe,T.startTime-S)}}function et(S,T){de=!1,R&&(R=!1,at(Ke),Ke=-1),ve=!0;var _=K;try{for(be(T),Q=m(U);Q!==null&&(!(Q.expirationTime>T)||S&&!Yt());){var c=Q.callback;if(typeof c=="function"){Q.callback=null,K=Q.priorityLevel;var h=c(Q.expirationTime<=T);T=x.unstable_now(),typeof h=="function"?Q.callback=h:Q===m(U)&&J(U),be(T)}else J(U);Q=m(U)}if(Q!==null)var j=!0;else{var F=m(q);F!==null&&se(xe,F.startTime-T),j=!1}return j}finally{Q=null,K=_,ve=!1}}var ze=!1,Re=null,Ke=-1,Pt=5,yt=-1;function Yt(){return!(x.unstable_now()-ytS||125c?(S.sortIndex=_,D(q,S),m(U)===null&&S===m(q)&&(R?(at(Ke),Ke=-1):R=!0,se(xe,_-c))):(S.sortIndex=h,D(U,S),de||ve||(de=!0,Me(et))),S},x.unstable_shouldYield=Yt,x.unstable_wrapCallback=function(S){var T=K;return function(){var _=K;K=T;try{return S.apply(this,arguments)}finally{K=_}}}})(To)),To}var Ma;function Vf(){return Ma||(Ma=1,Lo.exports=Bf()),Lo.exports}/** + * @license React + * react-dom.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Da;function Hf(){if(Da)return Ue;Da=1;var x=Mo(),D=Vf();function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),U=Object.prototype.hasOwnProperty,q=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,b={},Q={};function K(e){return U.call(Q,e)?!0:U.call(b,e)?!1:q.test(e)?Q[e]=!0:(b[e]=!0,!1)}function ve(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function de(e,t,n,r){if(t===null||typeof t>"u"||ve(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function R(e,t,n,r,l,u,o){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=u,this.removeEmptyString=o}var Y={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){Y[e]=new R(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];Y[t]=new R(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){Y[e]=new R(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){Y[e]=new R(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){Y[e]=new R(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){Y[e]=new R(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){Y[e]=new R(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){Y[e]=new R(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){Y[e]=new R(e,5,!1,e.toLowerCase(),null,!1,!1)});var at=/[\-:]([a-z])/g;function Ae(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(at,Ae);Y[t]=new R(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(at,Ae);Y[t]=new R(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(at,Ae);Y[t]=new R(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){Y[e]=new R(e,1,!1,e.toLowerCase(),null,!1,!1)}),Y.xlinkHref=new R("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){Y[e]=new R(e,1,!1,e.toLowerCase(),null,!0,!0)});function be(e,t,n,r){var l=Y.hasOwnProperty(t)?Y[t]:null;(l!==null?l.type!==0:r||!(2i||l[o]!==u[i]){var s=` +`+l[o].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=o&&0<=i);break}}}finally{j=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?h(e):""}function V(e){switch(e.tag){case 5:return h(e.type);case 16:return h("Lazy");case 13:return h("Suspense");case 19:return h("SuspenseList");case 0:case 2:case 15:return e=F(e.type,!1),e;case 11:return e=F(e.type.render,!1),e;case 1:return e=F(e.type,!0),e;default:return""}}function H(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Re:return"Fragment";case ze:return"Portal";case Pt:return"Profiler";case Ke:return"StrictMode";case $e:return"Suspense";case tt:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Yt:return(e.displayName||"Context")+".Consumer";case yt:return(e._context.displayName||"Context")+".Provider";case ct:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ft:return t=e.displayName||null,t!==null?t:H(e.type)||"Memo";case Me:t=e._payload,e=e._init;try{return H(e(t))}catch{}}return null}function ee(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(t);case 8:return t===Ke?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function X(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function le(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Be(e){var t=le(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,u=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(o){r=""+o,u.call(this,o)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(o){r=""+o},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function kr(e){e._valueTracker||(e._valueTracker=Be(e))}function Do(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=le(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Er(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Ml(e,t){var n=t.checked;return _({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Oo(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=X(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function jo(e,t){t=t.checked,t!=null&&be(e,"checked",t,!1)}function Dl(e,t){jo(e,t);var n=X(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Ol(e,t.type,n):t.hasOwnProperty("defaultValue")&&Ol(e,t.type,X(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function Io(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function Ol(e,t,n){(t!=="number"||Er(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var jn=Array.isArray;function an(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=xr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function In(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Fn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ba=["Webkit","ms","Moz","O"];Object.keys(Fn).forEach(function(e){Ba.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Fn[t]=Fn[e]})});function Vo(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Fn.hasOwnProperty(e)&&Fn[e]?(""+t).trim():t+"px"}function Ho(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Vo(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Va=_({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Fl(e,t){if(t){if(Va[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(m(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(m(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(m(61))}if(t.style!=null&&typeof t.style!="object")throw Error(m(62))}}function Ul(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Al=null;function $l(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Bl=null,cn=null,fn=null;function Wo(e){if(e=ur(e)){if(typeof Bl!="function")throw Error(m(280));var t=e.stateNode;t&&(t=Kr(t),Bl(e.stateNode,e.type,t))}}function Qo(e){cn?fn?fn.push(e):fn=[e]:cn=e}function Ko(){if(cn){var e=cn,t=fn;if(fn=cn=null,Wo(e),t)for(e=0;e>>=0,e===0?32:31-(ba(e)/ec|0)|0}var zr=64,Lr=4194304;function Bn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Tr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,u=e.pingedLanes,o=n&268435455;if(o!==0){var i=o&~l;i!==0?r=Bn(i):(u&=o,u!==0&&(r=Bn(u)))}else o=n&~l,o!==0?r=Bn(o):u!==0&&(r=Bn(u));if(r===0)return 0;if(t!==0&&t!==r&&(t&l)===0&&(l=r&-r,u=t&-t,l>=u||l===16&&(u&4194240)!==0))return t;if((r&4)!==0&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function Vn(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-nt(t),e[t]=n}function lc(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Zn),Si=" ",ki=!1;function Ei(e,t){switch(e){case"keyup":return Mc.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function xi(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var mn=!1;function Oc(e,t){switch(e){case"compositionend":return xi(t);case"keypress":return t.which!==32?null:(ki=!0,Si);case"textInput":return e=t.data,e===Si&&ki?null:e;default:return null}}function jc(e,t){if(mn)return e==="compositionend"||!uu&&Ei(e,t)?(e=mi(),jr=bl=Mt=null,mn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ti(n)}}function Mi(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?Mi(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Di(){for(var e=window,t=Er();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Er(e.document)}return t}function su(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Wc(e){var t=Di(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Mi(n.ownerDocument.documentElement,n)){if(r!==null&&su(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,u=Math.min(r.start,l);r=r.end===void 0?u:Math.min(r.end,l),!e.extend&&u>r&&(l=r,r=u,u=l),l=Ri(n,u);var o=Ri(n,r);l&&o&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),u>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,vn=null,au=null,er=null,cu=!1;function Oi(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;cu||vn==null||vn!==Er(r)||(r=vn,"selectionStart"in r&&su(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),er&&bn(er,r)||(er=r,r=Hr(au,"onSelect"),0Sn||(e.current=Eu[Sn],Eu[Sn]=null,Sn--)}function te(e,t){Sn++,Eu[Sn]=e.current,e.current=t}var It={},_e=jt(It),De=jt(!1),Zt=It;function kn(e,t){var n=e.type.contextTypes;if(!n)return It;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},u;for(u in n)l[u]=t[u];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Oe(e){return e=e.childContextTypes,e!=null}function Yr(){re(De),re(_e)}function Gi(e,t,n){if(_e.current!==It)throw Error(m(168));te(_e,t),te(De,n)}function Zi(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(m(108,ee(e)||"Unknown",l));return _({},n,r)}function Xr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||It,Zt=_e.current,te(_e,e),te(De,De.current),!0}function Ji(e,t,n){var r=e.stateNode;if(!r)throw Error(m(169));n?(e=Zi(e,t,Zt),r.__reactInternalMemoizedMergedChildContext=e,re(De),re(_e),te(_e,e)):re(De),te(De,n)}var wt=null,Gr=!1,xu=!1;function qi(e){wt===null?wt=[e]:wt.push(e)}function nf(e){Gr=!0,qi(e)}function Ft(){if(!xu&&wt!==null){xu=!0;var e=0,t=G;try{var n=wt;for(G=1;e>=o,l-=o,St=1<<32-nt(t)+l|n<M?(Se=L,L=null):Se=L.sibling;var W=v(f,L,d[M],w);if(W===null){L===null&&(L=Se);break}e&&L&&W.alternate===null&&t(f,L),a=u(W,a,M),z===null?P=W:z.sibling=W,z=W,L=Se}if(M===d.length)return n(f,L),ue&&qt(f,M),P;if(L===null){for(;MM?(Se=L,L=null):Se=L.sibling;var Kt=v(f,L,W.value,w);if(Kt===null){L===null&&(L=Se);break}e&&L&&Kt.alternate===null&&t(f,L),a=u(Kt,a,M),z===null?P=Kt:z.sibling=Kt,z=Kt,L=Se}if(W.done)return n(f,L),ue&&qt(f,M),P;if(L===null){for(;!W.done;M++,W=d.next())W=g(f,W.value,w),W!==null&&(a=u(W,a,M),z===null?P=W:z.sibling=W,z=W);return ue&&qt(f,M),P}for(L=r(f,L);!W.done;M++,W=d.next())W=k(L,f,M,W.value,w),W!==null&&(e&&W.alternate!==null&&L.delete(W.key===null?M:W.key),a=u(W,a,M),z===null?P=W:z.sibling=W,z=W);return e&&L.forEach(function(Ff){return t(f,Ff)}),ue&&qt(f,M),P}function fe(f,a,d,w){if(typeof d=="object"&&d!==null&&d.type===Re&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case et:e:{for(var P=d.key,z=a;z!==null;){if(z.key===P){if(P=d.type,P===Re){if(z.tag===7){n(f,z.sibling),a=l(z,d.props.children),a.return=f,f=a;break e}}else if(z.elementType===P||typeof P=="object"&&P!==null&&P.$$typeof===Me&&ls(P)===z.type){n(f,z.sibling),a=l(z,d.props),a.ref=or(f,z,d),a.return=f,f=a;break e}n(f,z);break}else t(f,z);z=z.sibling}d.type===Re?(a=on(d.props.children,f.mode,w,d.key),a.return=f,f=a):(w=xl(d.type,d.key,d.props,null,f.mode,w),w.ref=or(f,a,d),w.return=f,f=w)}return o(f);case ze:e:{for(z=d.key;a!==null;){if(a.key===z)if(a.tag===4&&a.stateNode.containerInfo===d.containerInfo&&a.stateNode.implementation===d.implementation){n(f,a.sibling),a=l(a,d.children||[]),a.return=f,f=a;break e}else{n(f,a);break}else t(f,a);a=a.sibling}a=ko(d,f.mode,w),a.return=f,f=a}return o(f);case Me:return z=d._init,fe(f,a,z(d._payload),w)}if(jn(d))return C(f,a,d,w);if(T(d))return N(f,a,d,w);br(f,d)}return typeof d=="string"&&d!==""||typeof d=="number"?(d=""+d,a!==null&&a.tag===6?(n(f,a.sibling),a=l(a,d),a.return=f,f=a):(n(f,a),a=So(d,f.mode,w),a.return=f,f=a),o(f)):n(f,a)}return fe}var Cn=us(!0),os=us(!1),el=jt(null),tl=null,Nn=null,Lu=null;function Tu(){Lu=Nn=tl=null}function Ru(e){var t=el.current;re(el),e._currentValue=t}function Mu(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Pn(e,t){tl=e,Lu=Nn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&((e.lanes&t)!==0&&(je=!0),e.firstContext=null)}function Ge(e){var t=e._currentValue;if(Lu!==e)if(e={context:e,memoizedValue:t,next:null},Nn===null){if(tl===null)throw Error(m(308));Nn=e,tl.dependencies={lanes:0,firstContext:e}}else Nn=Nn.next=e;return t}var bt=null;function Du(e){bt===null?bt=[e]:bt.push(e)}function is(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,Du(t)):(n.next=l.next,l.next=n),t.interleaved=n,Et(e,r)}function Et(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var Ut=!1;function Ou(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ss(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function xt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function At(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,($&2)!==0){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Et(e,n)}return l=r.interleaved,l===null?(t.next=t,Du(r)):(t.next=l.next,l.next=t),r.interleaved=t,Et(e,n)}function nl(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Xl(e,n)}}function as(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,u=null;if(n=n.firstBaseUpdate,n!==null){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};u===null?l=u=o:u=u.next=o,n=n.next}while(n!==null);u===null?l=u=t:u=u.next=t}else l=u=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:u,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function rl(e,t,n,r){var l=e.updateQueue;Ut=!1;var u=l.firstBaseUpdate,o=l.lastBaseUpdate,i=l.shared.pending;if(i!==null){l.shared.pending=null;var s=i,p=s.next;s.next=null,o===null?u=p:o.next=p,o=s;var y=e.alternate;y!==null&&(y=y.updateQueue,i=y.lastBaseUpdate,i!==o&&(i===null?y.firstBaseUpdate=p:i.next=p,y.lastBaseUpdate=s))}if(u!==null){var g=l.baseState;o=0,y=p=s=null,i=u;do{var v=i.lane,k=i.eventTime;if((r&v)===v){y!==null&&(y=y.next={eventTime:k,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var C=e,N=i;switch(v=t,k=n,N.tag){case 1:if(C=N.payload,typeof C=="function"){g=C.call(k,g,v);break e}g=C;break e;case 3:C.flags=C.flags&-65537|128;case 0:if(C=N.payload,v=typeof C=="function"?C.call(k,g,v):C,v==null)break e;g=_({},g,v);break e;case 2:Ut=!0}}i.callback!==null&&i.lane!==0&&(e.flags|=64,v=l.effects,v===null?l.effects=[i]:v.push(i))}else k={eventTime:k,lane:v,tag:i.tag,payload:i.payload,callback:i.callback,next:null},y===null?(p=y=k,s=g):y=y.next=k,o|=v;if(i=i.next,i===null){if(i=l.shared.pending,i===null)break;v=i,i=v.next,v.next=null,l.lastBaseUpdate=v,l.shared.pending=null}}while(!0);if(y===null&&(s=g),l.baseState=s,l.firstBaseUpdate=p,l.lastBaseUpdate=y,t=l.shared.interleaved,t!==null){l=t;do o|=l.lane,l=l.next;while(l!==t)}else u===null&&(l.shared.lanes=0);nn|=o,e.lanes=o,e.memoizedState=g}}function cs(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=Au.transition;Au.transition={};try{e(!1),t()}finally{G=n,Au.transition=r}}function Ls(){return Ze().memoizedState}function of(e,t,n){var r=Ht(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Ts(e))Rs(t,n);else if(n=is(e,t,n,r),n!==null){var l=Te();st(n,e,r,l),Ms(n,t,r)}}function sf(e,t,n){var r=Ht(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ts(e))Rs(t,l);else{var u=e.alternate;if(e.lanes===0&&(u===null||u.lanes===0)&&(u=t.lastRenderedReducer,u!==null))try{var o=t.lastRenderedState,i=u(o,n);if(l.hasEagerState=!0,l.eagerState=i,rt(i,o)){var s=t.interleaved;s===null?(l.next=l,Du(t)):(l.next=s.next,s.next=l),t.interleaved=l;return}}catch{}finally{}n=is(e,t,l,r),n!==null&&(l=Te(),st(n,e,r,l),Ms(n,t,r))}}function Ts(e){var t=e.alternate;return e===ie||t!==null&&t===ie}function Rs(e,t){cr=ol=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ms(e,t,n){if((n&4194240)!==0){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,Xl(e,n)}}var al={readContext:Ge,useCallback:Ce,useContext:Ce,useEffect:Ce,useImperativeHandle:Ce,useInsertionEffect:Ce,useLayoutEffect:Ce,useMemo:Ce,useReducer:Ce,useRef:Ce,useState:Ce,useDebugValue:Ce,useDeferredValue:Ce,useTransition:Ce,useMutableSource:Ce,useSyncExternalStore:Ce,useId:Ce,unstable_isNewReconciler:!1},af={readContext:Ge,useCallback:function(e,t){return vt().memoizedState=[e,t===void 0?null:t],e},useContext:Ge,useEffect:ks,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,il(4194308,4,_s.bind(null,t,e),n)},useLayoutEffect:function(e,t){return il(4194308,4,e,t)},useInsertionEffect:function(e,t){return il(4,2,e,t)},useMemo:function(e,t){var n=vt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=vt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=of.bind(null,ie,e),[r.memoizedState,e]},useRef:function(e){var t=vt();return e={current:e},t.memoizedState=e},useState:ws,useDebugValue:Ku,useDeferredValue:function(e){return vt().memoizedState=e},useTransition:function(){var e=ws(!1),t=e[0];return e=uf.bind(null,e[1]),vt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ie,l=vt();if(ue){if(n===void 0)throw Error(m(407));n=n()}else{if(n=t(),we===null)throw Error(m(349));(tn&30)!==0||ms(r,t,n)}l.memoizedState=n;var u={value:n,getSnapshot:t};return l.queue=u,ks(hs.bind(null,r,u,e),[e]),r.flags|=2048,pr(9,vs.bind(null,r,u,n,t),void 0,null),n},useId:function(){var e=vt(),t=we.identifierPrefix;if(ue){var n=kt,r=St;n=(r&~(1<<32-nt(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=fr++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=o.createElement(n,{is:r.is}):(e=o.createElement(n),n==="select"&&(o=e,r.multiple?o.multiple=!0:r.size&&(o.size=r.size))):e=o.createElementNS(e,n),e[pt]=t,e[lr]=r,qs(e,t,!1,!1),t.stateNode=e;e:{switch(o=Ul(n,r),n){case"dialog":ne("cancel",e),ne("close",e),l=r;break;case"iframe":case"object":case"embed":ne("load",e),l=r;break;case"video":case"audio":for(l=0;lMn&&(t.flags|=128,r=!0,mr(u,!1),t.lanes=4194304)}else{if(!r)if(e=ll(o),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),mr(u,!0),u.tail===null&&u.tailMode==="hidden"&&!o.alternate&&!ue)return Ne(t),null}else 2*ce()-u.renderingStartTime>Mn&&n!==1073741824&&(t.flags|=128,r=!0,mr(u,!1),t.lanes=4194304);u.isBackwards?(o.sibling=t.child,t.child=o):(n=u.last,n!==null?n.sibling=o:t.child=o,u.last=o)}return u.tail!==null?(t=u.tail,u.rendering=t,u.tail=t.sibling,u.renderingStartTime=ce(),t.sibling=null,n=oe.current,te(oe,r?n&1|2:n&1),t):(Ne(t),null);case 22:case 23:return yo(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(t.mode&1)!==0?(Qe&1073741824)!==0&&(Ne(t),t.subtreeFlags&6&&(t.flags|=8192)):Ne(t),null;case 24:return null;case 25:return null}throw Error(m(156,t.tag))}function yf(e,t){switch(Cu(t),t.tag){case 1:return Oe(t.type)&&Yr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return zn(),re(De),re(_e),Uu(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 5:return Iu(t),null;case 13:if(re(oe),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(m(340));_n()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return re(oe),null;case 4:return zn(),null;case 10:return Ru(t.type._context),null;case 22:case 23:return yo(),null;case 24:return null;default:return null}}var pl=!1,Pe=!1,gf=typeof WeakSet=="function"?WeakSet:Set,E=null;function Tn(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){ae(e,t,r)}else n.current=null}function lo(e,t,n){try{n()}catch(r){ae(e,t,r)}}var ta=!1;function wf(e,t){if(hu=Dr,e=Di(),su(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,u=r.focusNode;r=r.focusOffset;try{n.nodeType,u.nodeType}catch{n=null;break e}var o=0,i=-1,s=-1,p=0,y=0,g=e,v=null;t:for(;;){for(var k;g!==n||l!==0&&g.nodeType!==3||(i=o+l),g!==u||r!==0&&g.nodeType!==3||(s=o+r),g.nodeType===3&&(o+=g.nodeValue.length),(k=g.firstChild)!==null;)v=g,g=k;for(;;){if(g===e)break t;if(v===n&&++p===l&&(i=o),v===u&&++y===r&&(s=o),(k=g.nextSibling)!==null)break;g=v,v=g.parentNode}g=k}n=i===-1||s===-1?null:{start:i,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(yu={focusedElem:e,selectionRange:n},Dr=!1,E=t;E!==null;)if(t=E,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,E=e;else for(;E!==null;){t=E;try{var C=t.alternate;if((t.flags&1024)!==0)switch(t.tag){case 0:case 11:case 15:break;case 1:if(C!==null){var N=C.memoizedProps,fe=C.memoizedState,f=t.stateNode,a=f.getSnapshotBeforeUpdate(t.elementType===t.type?N:ut(t.type,N),fe);f.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var d=t.stateNode.containerInfo;d.nodeType===1?d.textContent="":d.nodeType===9&&d.documentElement&&d.removeChild(d.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(m(163))}}catch(w){ae(t,t.return,w)}if(e=t.sibling,e!==null){e.return=t.return,E=e;break}E=t.return}return C=ta,ta=!1,C}function vr(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var u=l.destroy;l.destroy=void 0,u!==void 0&&lo(t,n,u)}l=l.next}while(l!==r)}}function ml(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function uo(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function na(e){var t=e.alternate;t!==null&&(e.alternate=null,na(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[pt],delete t[lr],delete t[ku],delete t[ef],delete t[tf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ra(e){return e.tag===5||e.tag===3||e.tag===4}function la(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ra(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function oo(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Qr));else if(r!==4&&(e=e.child,e!==null))for(oo(e,t,n),e=e.sibling;e!==null;)oo(e,t,n),e=e.sibling}function io(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(io(e,t,n),e=e.sibling;e!==null;)io(e,t,n),e=e.sibling}var ke=null,ot=!1;function $t(e,t,n){for(n=n.child;n!==null;)ua(e,t,n),n=n.sibling}function ua(e,t,n){if(dt&&typeof dt.onCommitFiberUnmount=="function")try{dt.onCommitFiberUnmount(Pr,n)}catch{}switch(n.tag){case 5:Pe||Tn(n,t);case 6:var r=ke,l=ot;ke=null,$t(e,t,n),ke=r,ot=l,ke!==null&&(ot?(e=ke,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):ke.removeChild(n.stateNode));break;case 18:ke!==null&&(ot?(e=ke,n=n.stateNode,e.nodeType===8?Su(e.parentNode,n):e.nodeType===1&&Su(e,n),Yn(e)):Su(ke,n.stateNode));break;case 4:r=ke,l=ot,ke=n.stateNode.containerInfo,ot=!0,$t(e,t,n),ke=r,ot=l;break;case 0:case 11:case 14:case 15:if(!Pe&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var u=l,o=u.destroy;u=u.tag,o!==void 0&&((u&2)!==0||(u&4)!==0)&&lo(n,t,o),l=l.next}while(l!==r)}$t(e,t,n);break;case 1:if(!Pe&&(Tn(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(i){ae(n,t,i)}$t(e,t,n);break;case 21:$t(e,t,n);break;case 22:n.mode&1?(Pe=(r=Pe)||n.memoizedState!==null,$t(e,t,n),Pe=r):$t(e,t,n);break;default:$t(e,t,n)}}function oa(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new gf),t.forEach(function(r){var l=zf.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function it(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=o),r&=~u}if(r=l,r=ce()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*kf(r/1960))-r,10e?16:e,Vt===null)var r=!1;else{if(e=Vt,Vt=null,wl=0,($&6)!==0)throw Error(m(331));var l=$;for($|=4,E=e.current;E!==null;){var u=E,o=u.child;if((E.flags&16)!==0){var i=u.deletions;if(i!==null){for(var s=0;sce()-co?ln(e,0):ao|=n),Fe(e,t)}function wa(e,t){t===0&&((e.mode&1)===0?t=1:(t=Lr,Lr<<=1,(Lr&130023424)===0&&(Lr=4194304)));var n=Te();e=Et(e,t),e!==null&&(Vn(e,t,n),Fe(e,n))}function Pf(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),wa(e,n)}function zf(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(m(314))}r!==null&&r.delete(t),wa(e,n)}var Sa;Sa=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||De.current)je=!0;else{if((e.lanes&n)===0&&(t.flags&128)===0)return je=!1,vf(e,t,n);je=(e.flags&131072)!==0}else je=!1,ue&&(t.flags&1048576)!==0&&bi(t,Jr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;dl(e,t),e=t.pendingProps;var l=kn(t,_e.current);Pn(t,n),l=Bu(null,t,r,e,l,n);var u=Vu();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Oe(r)?(u=!0,Xr(t)):u=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Ou(t),l.updater=cl,t.stateNode=l,l._reactInternals=t,Xu(t,r,e,n),t=qu(null,t,r,!0,u,n)):(t.tag=0,ue&&u&&_u(t),Le(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(dl(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=Tf(r),e=ut(r,e),l){case 0:t=Ju(null,t,r,e,n);break e;case 1:t=Ks(null,t,r,e,n);break e;case 11:t=Bs(null,t,r,e,n);break e;case 14:t=Vs(null,t,r,ut(r.type,e),n);break e}throw Error(m(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ut(r,l),Ju(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ut(r,l),Ks(e,t,r,l,n);case 3:e:{if(Ys(t),e===null)throw Error(m(387));r=t.pendingProps,u=t.memoizedState,l=u.element,ss(e,t),rl(t,r,null,n);var o=t.memoizedState;if(r=o.element,u.isDehydrated)if(u={element:r,isDehydrated:!1,cache:o.cache,pendingSuspenseBoundaries:o.pendingSuspenseBoundaries,transitions:o.transitions},t.updateQueue.baseState=u,t.memoizedState=u,t.flags&256){l=Ln(Error(m(423)),t),t=Xs(e,t,r,n,l);break e}else if(r!==l){l=Ln(Error(m(424)),t),t=Xs(e,t,r,n,l);break e}else for(We=Ot(t.stateNode.containerInfo.firstChild),He=t,ue=!0,lt=null,n=os(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(_n(),r===l){t=_t(e,t,n);break e}Le(e,t,r,n)}t=t.child}return t;case 5:return fs(t),e===null&&Pu(t),r=t.type,l=t.pendingProps,u=e!==null?e.memoizedProps:null,o=l.children,gu(r,l)?o=null:u!==null&&gu(r,u)&&(t.flags|=32),Qs(e,t),Le(e,t,o,n),t.child;case 6:return e===null&&Pu(t),null;case 13:return Gs(e,t,n);case 4:return ju(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Cn(t,null,r,n):Le(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ut(r,l),Bs(e,t,r,l,n);case 7:return Le(e,t,t.pendingProps,n),t.child;case 8:return Le(e,t,t.pendingProps.children,n),t.child;case 12:return Le(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,u=t.memoizedProps,o=l.value,te(el,r._currentValue),r._currentValue=o,u!==null)if(rt(u.value,o)){if(u.children===l.children&&!De.current){t=_t(e,t,n);break e}}else for(u=t.child,u!==null&&(u.return=t);u!==null;){var i=u.dependencies;if(i!==null){o=u.child;for(var s=i.firstContext;s!==null;){if(s.context===r){if(u.tag===1){s=xt(-1,n&-n),s.tag=2;var p=u.updateQueue;if(p!==null){p=p.shared;var y=p.pending;y===null?s.next=s:(s.next=y.next,y.next=s),p.pending=s}}u.lanes|=n,s=u.alternate,s!==null&&(s.lanes|=n),Mu(u.return,n,t),i.lanes|=n;break}s=s.next}}else if(u.tag===10)o=u.type===t.type?null:u.child;else if(u.tag===18){if(o=u.return,o===null)throw Error(m(341));o.lanes|=n,i=o.alternate,i!==null&&(i.lanes|=n),Mu(o,n,t),o=u.sibling}else o=u.child;if(o!==null)o.return=u;else for(o=u;o!==null;){if(o===t){o=null;break}if(u=o.sibling,u!==null){u.return=o.return,o=u;break}o=o.return}u=o}Le(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,Pn(t,n),l=Ge(l),r=r(l),t.flags|=1,Le(e,t,r,n),t.child;case 14:return r=t.type,l=ut(r,t.pendingProps),l=ut(r.type,l),Vs(e,t,r,l,n);case 15:return Hs(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:ut(r,l),dl(e,t),t.tag=1,Oe(r)?(e=!0,Xr(t)):e=!1,Pn(t,n),Os(t,r,l),Xu(t,r,l,n),qu(null,t,r,!0,e,n);case 19:return Js(e,t,n);case 22:return Ws(e,t,n)}throw Error(m(156,t.tag))};function ka(e,t){return ei(e,t)}function Lf(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function qe(e,t,n,r){return new Lf(e,t,n,r)}function wo(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Tf(e){if(typeof e=="function")return wo(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ct)return 11;if(e===ft)return 14}return 2}function Qt(e,t){var n=e.alternate;return n===null?(n=qe(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function xl(e,t,n,r,l,u){var o=2;if(r=e,typeof e=="function")wo(e)&&(o=1);else if(typeof e=="string")o=5;else e:switch(e){case Re:return on(n.children,l,u,t);case Ke:o=8,l|=8;break;case Pt:return e=qe(12,n,t,l|2),e.elementType=Pt,e.lanes=u,e;case $e:return e=qe(13,n,t,l),e.elementType=$e,e.lanes=u,e;case tt:return e=qe(19,n,t,l),e.elementType=tt,e.lanes=u,e;case se:return _l(n,l,u,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case yt:o=10;break e;case Yt:o=9;break e;case ct:o=11;break e;case ft:o=14;break e;case Me:o=16,r=null;break e}throw Error(m(130,e==null?e:typeof e,""))}return t=qe(o,n,t,l),t.elementType=e,t.type=r,t.lanes=u,t}function on(e,t,n,r){return e=qe(7,e,r,t),e.lanes=n,e}function _l(e,t,n,r){return e=qe(22,e,r,t),e.elementType=se,e.lanes=n,e.stateNode={isHidden:!1},e}function So(e,t,n){return e=qe(6,e,null,t),e.lanes=n,e}function ko(e,t,n){return t=qe(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Rf(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Yl(0),this.expirationTimes=Yl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Yl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Eo(e,t,n,r,l,u,o,i,s){return e=new Rf(e,t,n,i,s),t===1?(t=1,u===!0&&(t|=8)):t=0,u=qe(3,null,null,t),e.current=u,u.stateNode=e,u.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ou(u),e}function Mf(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(x)}catch(D){console.error(D)}}return x(),zo.exports=Hf(),zo.exports}var ja;function Qf(){if(ja)return Rl;ja=1;var x=Wf();return Rl.createRoot=x.createRoot,Rl.hydrateRoot=x.hydrateRoot,Rl}var Kf=Qf(),Nt=Mo();const On=400,Yf=50,Xf=300,Gf=350,Ua=-218,Aa=270,Zf=90,Jf=-2,qf=50,bf=0,ed=52;function Ro(x){return Ua+x*Aa}function td({pressure:x,max:D,unit:m}){const J=m==="psi"?x/14.5038:x,O=Math.max(0,Math.min(J/On,1)),B=Nt.useMemo(()=>Ro(O)+Zf,[O]);return me.jsx("div",{className:"gauge theme-draeger",children:me.jsxs("svg",{viewBox:"0 0 240 260",className:"dial","aria-label":"SCBA Gauge",children:[me.jsx("circle",{cx:"120",cy:"120",r:"110",className:"housing"}),me.jsx("circle",{cx:"120",cy:"120",r:"100",className:"bezel"}),me.jsx("circle",{cx:"120",cy:"120",r:"90",className:"face"}),me.jsx("path",{d:Ia(120,120,86,60,0,Yf/On),className:"low-wedge"}),me.jsx("path",{d:Ia(120,120,86,60,Xf/On,Gf/On),className:"ok-wedge"}),nd(),me.jsxs("g",{className:"needle",style:{transform:`rotate(${B}deg)`},children:[me.jsx("line",{x1:"120",y1:"120",x2:"120",y2:"34"}),me.jsx("circle",{cx:"120",cy:"120",r:"5"})]}),me.jsx("text",{x:"120",y:"158",className:"unit",textAnchor:"middle",children:m.toUpperCase()})]})})}function sn(x,D,m,J){const O=J*Math.PI/180;return{x:x+Math.cos(O)*m,y:D+Math.sin(O)*m}}function Ia(x,D,m,J,O,B){const Z=Ro(O),A=Ro(Math.max(O,B)),U=sn(x,D,m,Z),q=sn(x,D,m,A),b=sn(x,D,J,Z),Q=sn(x,D,J,A),K=A-Z>180?1:0;return[`M ${U.x} ${U.y}`,`A ${m} ${m} 0 ${K} 1 ${q.x} ${q.y}`,`L ${Q.x} ${Q.y}`,`A ${J} ${J} 0 ${K} 0 ${b.x} ${b.y}`,"Z"].join(" ")}function nd(){const x=[],D=[];for(let A=0;A<=On;A+=5){const U=Ua+A/On*Aa,q=A%50===0,b=!q&&A%10===0,Q=q?86:b?88:90,K=q?60:b?72:78,ve=sn(120,120,Q,U),de=sn(120,120,K,U);if(x.push(me.jsx("line",{x1:ve.x,y1:ve.y,x2:de.x,y2:de.y,className:q?"tick major":b?"tick minor":"tick micro"},`t-${A}`)),q){const R=A===0,Y=U+(R?bf:Jf),Ae=sn(120,120,R?ed:qf,Y);D.push(me.jsx("text",{x:Ae.x,y:Ae.y,className:"num",textAnchor:"middle",dominantBaseline:"central",children:A},`n-${A}`))}}return me.jsxs(me.Fragment,{children:[me.jsx("g",{className:"ticks",children:x}),me.jsx("g",{className:"labels",children:D})]})}function rd(){const D=!(window.invokeNative!==void 0)||/[?&]dev=1/i.test(location.search),[m,J]=Nt.useState(!!D),[O,B]=Nt.useState(300),[Z,A]=Nt.useState(300),[U,q]=Nt.useState("bar"),[b,Q]=Nt.useState("br");Nt.useEffect(()=>{if(D)return;const ve=de=>{const R=de.data;if(!(!R||!R.type))if(R.type==="scba:update"){const Y=typeof R.max=="number"?R.max:Z;typeof R.max=="number"&&A(R.max),typeof R.pressure=="number"&&B(()=>ld(R.pressure,0,Y)),(R.unit==="bar"||R.unit==="psi")&&q(R.unit),typeof R.pos=="string"&&Q(Fa(R.pos))}else R.type==="scba:visible"?J(!!R.visible):R.type==="scba:pos"&&Q(Fa(R.pos))};return window.addEventListener("message",ve),()=>window.removeEventListener("message",ve)},[D,Z]),Nt.useEffect(()=>{if(window.invokeNative!==void 0)return;const de=R=>{};return window.addEventListener("keydown",de),()=>window.removeEventListener("keydown",de)},[]);const K=Nt.useMemo(()=>`wrap pos-${b}${m?"":" hidden"}`,[b,m]);return me.jsx("div",{className:K,children:me.jsx(td,{pressure:O,max:Z,unit:U})})}function ld(x,D,m){return xm?m:x}function Fa(x){return["br","bm","bl","tl","tr"].includes(x)?x:"br"}const $a=document.getElementById("root");if(!$a)throw new Error("Root element not found");Kf.createRoot($a).render(me.jsx(rd,{})); diff --git a/resources/SCBApack/web/index.html b/resources/SCBApack/web/index.html new file mode 100644 index 000000000..93b82c868 --- /dev/null +++ b/resources/SCBApack/web/index.html @@ -0,0 +1,13 @@ + + + + + + SCBA Gauge + + + + +
+ + diff --git a/resources/SmartHose/config.lua b/resources/SmartHose/config.lua index a5f8374cc..50f3ce38c 100644 --- a/resources/SmartHose/config.lua +++ b/resources/SmartHose/config.lua @@ -492,6 +492,227 @@ ConfigHose = { }, maxRopes = 2, }, + [`x3bearcat`] = { + useBone = false, + driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun. + bones = { + {name = "discharge_1", portId = "attack1" }, -- left attack + {name = "discharge_2", portId = "attack2" }, -- right attack + }, + offsets = { + -- Attack Lines (Hoses) + { x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" }, + { x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" }, + -- Supply / Intake (Hand Lines & Relays) + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" }, + }, + maxRopes = 2, + }, + [`safe33f`] = { + useBone = false, + driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun. + bones = { + {name = "discharge_1", portId = "attack1" }, -- left attack + {name = "discharge_2", portId = "attack2" }, -- right attack + }, + offsets = { + -- Attack Lines (Hoses) + { x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" }, + { x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" }, + -- Supply / Intake (Hand Lines & Relays) + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" }, + }, + maxRopes = 2, + }, + [`arrowxt1`] = { + useBone = false, + driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun. + bones = { + {name = "discharge_1", portId = "attack1" }, -- left attack + {name = "discharge_2", portId = "attack2" }, -- right attack + }, + offsets = { + -- Attack Lines (Hoses) + { x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" }, + { x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" }, + -- Supply / Intake (Hand Lines & Relays) + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" }, + }, + maxRopes = 2, + }, + [`ftanker`] = { + useBone = false, + driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun. + bones = { + {name = "discharge_1", portId = "attack1" }, -- left attack + {name = "discharge_2", portId = "attack2" }, -- right attack + }, + offsets = { + -- Attack Lines (Hoses) + { x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" }, + { x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" }, + -- Supply / Intake (Hand Lines & Relays) + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" }, + }, + maxRopes = 2, + }, + [`heavywild`] = { + useBone = false, + driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun. + bones = { + {name = "discharge_1", portId = "attack1" }, -- left attack + {name = "discharge_2", portId = "attack2" }, -- right attack + }, + offsets = { + -- Attack Lines (Hoses) + { x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" }, + { x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" }, + -- Supply / Intake (Hand Lines & Relays) + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" }, + }, + maxRopes = 2, + }, + [`heavyrescue`] = { + useBone = false, + driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun. + bones = { + {name = "discharge_1", portId = "attack1" }, -- left attack + {name = "discharge_2", portId = "attack2" }, -- right attack + }, + offsets = { + -- Attack Lines (Hoses) + { x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" }, + { x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" }, + -- Supply / Intake (Hand Lines & Relays) + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" }, + }, + maxRopes = 2, + }, + [`heavytank`] = { + useBone = false, + driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun. + bones = { + {name = "discharge_1", portId = "attack1" }, -- left attack + {name = "discharge_2", portId = "attack2" }, -- right attack + }, + offsets = { + -- Attack Lines (Hoses) + { x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" }, + { x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" }, + -- Supply / Intake (Hand Lines & Relays) + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" }, + }, + maxRopes = 2, + }, + [`heavypump`] = { + useBone = false, + driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun. + bones = { + {name = "discharge_1", portId = "attack1" }, -- left attack + {name = "discharge_2", portId = "attack2" }, -- right attack + }, + offsets = { + -- Attack Lines (Hoses) + { x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" }, + { x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" }, + -- Supply / Intake (Hand Lines & Relays) + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" }, + }, + maxRopes = 2, + }, + [`walkinarrow`] = { + useBone = false, + driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun. + bones = { + {name = "discharge_1", portId = "attack1" }, -- left attack + {name = "discharge_2", portId = "attack2" }, -- right attack + }, + offsets = { + -- Attack Lines (Hoses) + { x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" }, + { x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" }, + -- Supply / Intake (Hand Lines & Relays) + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" }, + }, + maxRopes = 2, + }, + [`walkin`] = { + useBone = false, + driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun. + bones = { + {name = "discharge_1", portId = "attack1" }, -- left attack + {name = "discharge_2", portId = "attack2" }, -- right attack + }, + offsets = { + -- Attack Lines (Hoses) + { x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" }, + { x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" }, + -- Supply / Intake (Hand Lines & Relays) + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" }, + }, + maxRopes = 2, + }, + [`rescue1`] = { + useBone = false, + driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun. + bones = { + {name = "discharge_1", portId = "attack1" }, -- left attack + {name = "discharge_2", portId = "attack2" }, -- right attack + }, + offsets = { + -- Attack Lines (Hoses) + { x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" }, + { x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" }, + -- Supply / Intake (Hand Lines & Relays) + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" }, + }, + maxRopes = 2, + }, + [`lafdxt6700`] = { + useBone = false, + driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun. + bones = { + {name = "discharge_1", portId = "attack1" }, -- left attack + {name = "discharge_2", portId = "attack2" }, -- right attack + }, + offsets = { + -- Attack Lines (Hoses) + { x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" }, + { x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" }, + -- Supply / Intake (Hand Lines & Relays) + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" }, + }, + maxRopes = 2, + }, + [`engine51`] = { + useBone = false, + driveWhilePumping = true, -- Allows driving while pump is engaged to spray water from the deck gun. + bones = { + {name = "discharge_1", portId = "attack1" }, -- left attack + {name = "discharge_2", portId = "attack2" }, -- right attack + }, + offsets = { + -- Attack Lines (Hoses) + { x = -1.170, y = 0.010, z = -0.155, rx = -162.500, ry = 0.000, rz = 90.000, depth = 0.760, portId = "attack1", type = "hose" }, + { x = 1.250, y = 0.170, z = -0.095, rx = -8.750, ry = 0.000, rz = -85.500, depth = 2.260, portId = "attack2", type = "hose" }, + -- Supply / Intake (Hand Lines & Relays) + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525, type = "hand" }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525, type = "hand" }, + }, + maxRopes = 2, + }, [`enladder`] = { useBone = false, bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" @@ -656,6 +877,14 @@ ConfigHose = { [`enforcereng`] = { capacity = 7000, carryFoam = true, fullTank = false }, [`enforcer`] = { capacity = 7000, carryFoam = true, fullTank = false }, [`heavytank `] = { capacity = 7000, carryFoam = true, fullTank = false }, + [`x3bearcat`] = { capacity = 7000, carryFoam = true, fullTank = false }, + [`safe33f`] = { capacity = 7000, carryFoam = true, fullTank = false }, + [`arrowxt1`] = { capacity = 7000, carryFoam = true, fullTank = false }, + [`ftanker`] = { capacity = 7000, carryFoam = true, fullTank = false }, + [`walkinarrow`] = { capacity = 7000, carryFoam = true, fullTank = false }, + [`rescue1`] = { capacity = 7000, carryFoam = true, fullTank = false }, + [`lafdxt6700`] = { capacity = 7000, carryFoam = true, fullTank = false }, + [`engine51`] = { capacity = 7000, carryFoam = true, fullTank = false }, [`firerobot`] = { capacity = 2000, carryFoam = true, fullTank = false }, } }, diff --git a/resources/Supply-Line/.fxap b/resources/Supply-Line/.fxap index f2cee13f6..5153cf9a9 100644 Binary files a/resources/Supply-Line/.fxap and b/resources/Supply-Line/.fxap differ diff --git a/resources/Supply-Line/cl_supplyline.lua b/resources/Supply-Line/cl_supplyline.lua index 3734818ff..97a2b6527 100644 Binary files a/resources/Supply-Line/cl_supplyline.lua and b/resources/Supply-Line/cl_supplyline.lua differ diff --git a/resources/Supply-Line/config.lua b/resources/Supply-Line/config.lua index 0b066ccdb..e673462f4 100644 --- a/resources/Supply-Line/config.lua +++ b/resources/Supply-Line/config.lua @@ -16,7 +16,15 @@ Config = { { x = 1.340, y = -0.205, z = 0.000, rx = -39.000, ry = 0.000, rz = -94.750, depth = 0.335}, }, }, - [`lafdxt6700`] = { + [`firetruk`] = { + useBone = false, + bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" + offsets = { + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525 }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525 }, + }, + }, + [`lafdxt6700`] = { useBone = false, bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" offsets = { @@ -176,7 +184,7 @@ Config = { { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525 }, }, }, - [` `] = { + [`x3bearcat`] = { useBone = false, bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" offsets = { @@ -184,25 +192,108 @@ Config = { { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525 }, }, }, - [`britishladderels`] = { + [`safe33f`] = { useBone = false, bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" offsets = { - { x = 1.340, y = -0.205, z = 0.000, rx = -39.000, ry = 0.000, rz = -94.750, depth = 0.335}, + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525 }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525 }, }, }, - [`rearmount`] = { + [`arrowxt1`] = { useBone = false, bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" offsets = { - {x = -1.345, y = 1.095, z = -0.440, rx = -24.750, ry = 0.000, rz = 72.000, depth = 0.670 }, + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525 }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525 }, }, }, - [`midmount`] = { + [`ftanker`] = { useBone = false, bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" offsets = { - { x = -1.320, y = 1.370, z = -0.595, rx = -24.250, ry = 0.000, rz = 77.500, depth = 0.860 }, + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525 }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525 }, + }, + }, + [`heavywild`] = { + useBone = false, + bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" + offsets = { + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525 }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525 }, + }, + }, + [`heavyrescue`] = { + useBone = false, + bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" + offsets = { + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525 }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525 }, + }, + }, + [`heavytank`] = { + useBone = false, + bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" + offsets = { + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525 }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525 }, + }, + }, + [`heavypump`] = { + useBone = false, + bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" + offsets = { + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525 }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525 }, + }, + }, + [`walkinarrow`] = { + useBone = false, + bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" + offsets = { + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525 }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525 }, + }, + }, + [`walkin`] = { + useBone = false, + bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" + offsets = { + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525 }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525 }, + }, + }, + [`rescue1`] = { + useBone = false, + bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" + offsets = { + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525 }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525 }, + }, + }, + [`lafdxt6700`] = { + useBone = false, + bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" + offsets = { + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525 }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525 }, + }, + }, + [`engine51`] = { + useBone = false, + bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" + offsets = { + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525 }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525 }, + }, + }, + [`ra51`] = { + useBone = false, + bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" + offsets = { + { x = 1.045, y = -0.095, z = -0.060, rx = -19.000, ry = 0.000, rz = -88.500, depth = 0.525 }, + { x = -0.605, y = -4.155, z = -0.355, rx = -41.750, ry = 0.000, rz = -184.250, depth = 0.525 }, }, }, [`tillertrailer`] = { @@ -251,7 +342,7 @@ Config = { useBone = false, bones = {}, -- to add bones do "bone_name" you can have multiple by doing "bonename", "bonename_2" offsets = { - { x = 0.225, y = -1.590, z = 0.510, rx = -11.500, ry = 0.000, rz = 183.500, depth = 0.645, type = "hand"}, + { x = 0.225, y = -1.590, z = 0.510, rx = -11.500, ry = 0.000, rz = 183.500, depth = 0.645 }, }, }, }, diff --git a/resources/Supply-Line/stream/bv_water_pump.ydr b/resources/Supply-Line/stream/bv_water_pump.ydr index 8a33f3f93..72c63538f 100644 --- a/resources/Supply-Line/stream/bv_water_pump.ydr +++ b/resources/Supply-Line/stream/bv_water_pump.ydr @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d254d250c1170d1af18225d17662809049117482801d164b7c22914876245c79 -size 1793478 +oid sha256:0275e0fdb7b7d790a0105e611d8f66c8c8f5478b5793ff259e4d2f0541f23453 +size 1793560 diff --git a/resources/Supply-Line/sv_supplyline.lua b/resources/Supply-Line/sv_supplyline.lua index 06c372eb8..adf954e87 100644 Binary files a/resources/Supply-Line/sv_supplyline.lua and b/resources/Supply-Line/sv_supplyline.lua differ diff --git a/resources/[EGRP-Discord-Integration]/Discord-VehRestriction/config.lua b/resources/[EGRP-Discord-Integration]/Discord-VehRestriction/config.lua index ff213fde1..e5113deb3 100644 --- a/resources/[EGRP-Discord-Integration]/Discord-VehRestriction/config.lua +++ b/resources/[EGRP-Discord-Integration]/Discord-VehRestriction/config.lua @@ -2327,6 +2327,7 @@ Config.VehicleRestrictions = { "MAXgtsx500", "mpf250rb", "nm_jeep", + "t880nrclafd65", "1E32", "1T87", "L101", @@ -2370,6 +2371,7 @@ Config.VehicleRestrictions = { "21tacouc", "22expdr", "22f150rb", + "t880nrclafd65", "22silv2", "22silv2visor", "23f150pr", @@ -3623,6 +3625,7 @@ Config.VehicleRestrictions = { "montereyparkpd25dura_180", "reevesaceunit", "spec20legcyfpiu", + "t880nrclafd65", "firehawk", "23HennesseyDurango", "csdotp579", @@ -4193,6 +4196,7 @@ Config.VehicleRestrictions = { "lasd18chrg", "lasdtahoelan", "13capriceslick", + "t880nrclafd65", "21silvst", "23lapdlasdsuburls", "23UNMARKsubun", @@ -5318,7 +5322,7 @@ Config.VehicleRestrictions = { "Staff-23gsrb", "Staff-Buggy", "Staff-DMLEOF82", - "Staff-gtwinturbocobra", + "t880nrclafd65", "x3ct522", "fs23hoe", "IDHP_25stang", diff --git a/resources/f550ambow/carcols.meta b/resources/f550ambow/carcols.meta deleted file mode 100644 index 669e97258..000000000 --- a/resources/f550ambow/carcols.meta +++ /dev/null @@ -1,1584 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - VehicleLight_car_utility - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - f550ambow - - - - - - f550ambow - - - - - - - VehicleLight_sirenlight - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4128_f550ambow_modkit - - MKT_STANDARD - - - bumper_1 - bumper_1 - - - bumper_f - - VMT_BUMPER_F - chassis - chassis - VMCP_DEFAULT - - - - - - - - bumper_2 - bumper_2 - - - bumper_f - - VMT_BUMPER_F - chassis - chassis - VMCP_DEFAULT - - - - - - - - bumper_3 - bumper_3 - - - bumper_f - - VMT_BUMPER_F - chassis - chassis - VMCP_DEFAULT - - - - - - - - bumper_4 - bumper_4 - - - bumper_f - - VMT_BUMPER_F - chassis - chassis - VMCP_DEFAULT - - - - - - - - steps_black - steps_black - - - misc_s - - VMT_SKIRT - chassis - chassis - VMCP_DEFAULT - - - - - - - - blackdiamond_box - blackdiamond_box - - - misc_x - - VMT_CHASSIS4 - chassis - chassis - VMCP_DEFAULT - - - - - - - - roof_horns - roof_horns - - - VMT_ROOF - chassis - chassis - VMCP_DEFAULT - - - - - - - - grille_bbadge - grille_bbadge - - - misc_g - - VMT_GRILL - chassis - chassis - VMCP_DEFAULT - - - - - - - - grille_cnoobadge - grille_cnoobadge - - - misc_g - - VMT_GRILL - chassis - chassis - VMCP_DEFAULT - - - - - - - - grille_bnoobadge - grille_bnoobadge - - - misc_g - - VMT_GRILL - chassis - chassis - VMCP_DEFAULT - - - - - - - - cabinet_open - cabinet_open - - - misc_i - - VMT_DOOR_L - chassis - chassis - VMCP_DEFAULT - - - - - - - - mirror_driver - mirror_driver - - mirror_pass - - - wing_lf - wing_rf - - VMT_SPOILER - door_dside_f - chassis - VMCP_DEFAULT - - - - - - - - - - mirror_pass - door_pside_f - - - - - - - - - \ No newline at end of file diff --git a/resources/f550ambow/carvariations.meta b/resources/f550ambow/carvariations.meta deleted file mode 100644 index f06c444b4..000000000 --- a/resources/f550ambow/carvariations.meta +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - f550ambow - - - - 0 - 70 - 0 - 0 - 0 - 0 - - - - - 4128_f550ambow_modkit - - - - - - Police guv plate - - - - - - - - - \ No newline at end of file diff --git a/resources/f550ambow/handling.meta b/resources/f550ambow/handling.meta deleted file mode 100644 index 789635f15..000000000 --- a/resources/f550ambow/handling.meta +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - F450 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 400010 - 0 - 0 - TRUCK - - - - - - - - - - - - \ No newline at end of file diff --git a/resources/f550ambow/stream/f550ambow+hi.ytd b/resources/f550ambow/stream/f550ambow+hi.ytd deleted file mode 100644 index 17d6f1be7..000000000 --- a/resources/f550ambow/stream/f550ambow+hi.ytd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c25e91cc1e6bc25aad2ee19c6a0f348f90c2b648916afa429c3f61c9a852ff5f -size 5332230 diff --git a/resources/f550ambow/stream/f550ambow.yft b/resources/f550ambow/stream/f550ambow.yft deleted file mode 100644 index bab307df0..000000000 --- a/resources/f550ambow/stream/f550ambow.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:03de15d9b7726c5e24755f39efc9cb53e2b489ab24c3eed9bd49da059b1bf25a -size 7667517 diff --git a/resources/f550ambow/stream/f550ambow.ytd b/resources/f550ambow/stream/f550ambow.ytd deleted file mode 100644 index 10fa2081e..000000000 --- a/resources/f550ambow/stream/f550ambow.ytd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e5f9cbe543a16a36367f83c586df9941142651053fdeaa354c8b218b94075e65 -size 5678165 diff --git a/resources/f550ambow/stream/f550ambow_hi.yft b/resources/f550ambow/stream/f550ambow_hi.yft deleted file mode 100644 index ab673cd5e..000000000 --- a/resources/f550ambow/stream/f550ambow_hi.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d64edc6bc0a1584cc104dd1d1360f9388a2ef8b5a3b73e2d4be309321ece80cf -size 10873311 diff --git a/resources/f550ambow/stream/mods/blackdiamond_box.yft b/resources/f550ambow/stream/mods/blackdiamond_box.yft deleted file mode 100644 index 5b0acbd5e..000000000 --- a/resources/f550ambow/stream/mods/blackdiamond_box.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:432002f180ecb9aa7e28958f4a8f33f1002c15b9d77a36f1271f71a773880a0e -size 168012 diff --git a/resources/f550ambow/stream/mods/bumper_1.yft b/resources/f550ambow/stream/mods/bumper_1.yft deleted file mode 100644 index 2453bb6b6..000000000 --- a/resources/f550ambow/stream/mods/bumper_1.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e8d01403c786c3fc6a347fad914695aa26ec8849058a06302cb755db745cac70 -size 846684 diff --git a/resources/f550ambow/stream/mods/bumper_2.yft b/resources/f550ambow/stream/mods/bumper_2.yft deleted file mode 100644 index de570ac5e..000000000 --- a/resources/f550ambow/stream/mods/bumper_2.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a1f89b403ab2854fcf0c9c8e4e0525cc2a93b02c8cdf4b08bc70d70e9c307f0a -size 447596 diff --git a/resources/f550ambow/stream/mods/bumper_3.yft b/resources/f550ambow/stream/mods/bumper_3.yft deleted file mode 100644 index 48c88afa1..000000000 --- a/resources/f550ambow/stream/mods/bumper_3.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:40ad52f2ad6dc884140a04048f59335119eac9f5036668f2c7a5a930d6a9fa4b -size 344191 diff --git a/resources/f550ambow/stream/mods/bumper_4.yft b/resources/f550ambow/stream/mods/bumper_4.yft deleted file mode 100644 index 83af00faf..000000000 --- a/resources/f550ambow/stream/mods/bumper_4.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9e2ad4c0328e15b9f33928bf54f17960eea78c00eac4a26f596de95bb983028e -size 165869 diff --git a/resources/f550ambow/stream/mods/cabinet_open.yft b/resources/f550ambow/stream/mods/cabinet_open.yft deleted file mode 100644 index 63dea4092..000000000 --- a/resources/f550ambow/stream/mods/cabinet_open.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:382454283f9ae68ecf404541a71cc7c56b971b3ecfb2dc698d558672d6031524 -size 485151 diff --git a/resources/f550ambow/stream/mods/grille_bbadge.yft b/resources/f550ambow/stream/mods/grille_bbadge.yft deleted file mode 100644 index 7201d7ffe..000000000 --- a/resources/f550ambow/stream/mods/grille_bbadge.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6f745aff0dc16a1a49b107040ab3b6747f124cd60458fda8ea6944f5e71873ad -size 312472 diff --git a/resources/f550ambow/stream/mods/grille_bnoobadge.yft b/resources/f550ambow/stream/mods/grille_bnoobadge.yft deleted file mode 100644 index 22c754a7d..000000000 --- a/resources/f550ambow/stream/mods/grille_bnoobadge.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0a81643dd0f6e55d83e77766c623f9d975e0941544559103a2112538e0999176 -size 312221 diff --git a/resources/f550ambow/stream/mods/grille_cnoobadge.yft b/resources/f550ambow/stream/mods/grille_cnoobadge.yft deleted file mode 100644 index 02abbe890..000000000 --- a/resources/f550ambow/stream/mods/grille_cnoobadge.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b5d0e7584e91fde0eb48ca847ab36fd45b0d9fdb197545636d15174dad74301e -size 306492 diff --git a/resources/f550ambow/stream/mods/mirror_driver.yft b/resources/f550ambow/stream/mods/mirror_driver.yft deleted file mode 100644 index f59daf2ad..000000000 --- a/resources/f550ambow/stream/mods/mirror_driver.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c31c4dbc31696c9b6d8f464d1e63eb6fe3214bc4566847d9945ae2836611fc53 -size 125253 diff --git a/resources/f550ambow/stream/mods/mirror_pass.yft b/resources/f550ambow/stream/mods/mirror_pass.yft deleted file mode 100644 index 1bea0b3e4..000000000 --- a/resources/f550ambow/stream/mods/mirror_pass.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8adaa33eccce72f30f3acf72810711c43c1af066be66b64370677224c9e60457 -size 126778 diff --git a/resources/f550ambow/stream/mods/roof_horns.yft b/resources/f550ambow/stream/mods/roof_horns.yft deleted file mode 100644 index 22a3c4fbe..000000000 --- a/resources/f550ambow/stream/mods/roof_horns.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a7cac099d477d876eb0c46b554db385509fc771a6692f6a05762f3795acaa637 -size 193040 diff --git a/resources/f550ambow/stream/mods/steps_black.yft b/resources/f550ambow/stream/mods/steps_black.yft deleted file mode 100644 index df1389056..000000000 --- a/resources/f550ambow/stream/mods/steps_black.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:64734716b5b99cb8d112eccdd183815b1ff35bc2669ae8cc2c79639d1c31c3bd -size 43515 diff --git a/resources/f550ambow/vehiclelayouts.meta b/resources/f550ambow/vehiclelayouts.meta deleted file mode 100644 index 003e0e98b..000000000 --- a/resources/f550ambow/vehiclelayouts.meta +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - SEAT_STD_REDNECKAMBO_DSIDE_REAR - seat_dside_r - SEAT_VAN_REAR_LEFT - - TASK_DRIVE_WANDER - IsIdleSeat - - SEAT_VAN_REAR_RIGHT - - - - SEAT_STD_REDNECKAMBO_DSIDE_REAR1 - seat_dside_r1 - SEAT_VAN_REAR_LEFT - - TASK_DRIVE_WANDER - IsIdleSeat - - SEAT_VAN_REAR_RIGHT - - - - SEAT_STD_REDNECKAMBO_PSIDE_REAR - seat_pside_r - SEAT_VAN_REAR_LEFT - - TASK_DRIVE_WANDER - IsIdleSeat - - SEAT_VAN_REAR_RIGHT - - - - - - SEAT_STD_REDNECKAMBO_MAIN_REAR_RIGHT - - - clipset@veh@std@ds@idle_panic - clipset@veh@std@ds@idle_agitated - clipset@veh@std@ds@idle_duck - STD_CAR_FRONT_DS_IDLE - IN_CAR_STANDARD - VEHICLE_DEFAULT - UseStandardInVehicleAnims UseCloseDoorBlendAnims - - STANDARD - ANIM_GROUP_GESTURE_M_CAR_STD_DS - ANIM_GROUP_GESTURE_F_CAR_STD_DS - - - - - - SEAT_STD_REDNECKAMBO_ENTRY_DSIDE_REAR_RIGHT - boot - Cargodoor - - INVALID - SIDE_RIGHT - - - - - - - POINT_TYPE_MAX - - - - SEAT_STD_REDNECKAMBO_ENTRY_DSIDE_REAR1_RIGHT - door_pside_r - - - INVALID - SIDE_RIGHT - - - - - - - POINT_TYPE_MAX - - - - SEAT_STD_REDNECKAMBO_ENTRY_PSIDE_REAR_LEFT - boot - Cargodoor - - INVALID - SIDE_RIGHT - - - - - - - POINT_TYPE_MAX - - - - - - LAYOUT_F550REDNECKAMBO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - StreamAnims UseLeanSteerAnims UseVanOpenDoorBlendParams UseDoorOscillation UseLowerDoorBlockTest - - busted_vehicle_std - - - - - - clipset@veh@van@ds@idle_a - clipset@veh@van@ds@idle_b - clipset@veh@van@ds@idle_c - clipset@veh@van@ds@idle_d - clipset@veh@van@ds@idle_e - - - clipset@veh@van@ds@hit_wheel@idle_a - clipset@veh@van@ds@hit_wheel@idle_b - clipset@veh@van@ds@hit_wheel@idle_c - - - - diff --git a/resources/f550ambow/vehicles.meta b/resources/f550ambow/vehicles.meta deleted file mode 100644 index cea980d78..000000000 --- a/resources/f550ambow/vehicles.meta +++ /dev/null @@ -1,135 +0,0 @@ - - - - vehshare - - - - f550ambow - f550ambow - F450 - F450 - 20FORD - null - null - null - null - - null - fbi2 - LAYOUT_F550REDNECKAMBO - GRANGER_COVER_OFFSET_INFO - EXPLOSION_INFO_DEFAULT - - DEFAULT_FOLLOW_VEHICLE_CAMERA - BOX_VEHICLE_AIM_CAMERA - VEHICLE_BONNET_CAMERA_STANDARD - DEFAULT_POV_CAMERA_LOOKAROUND - - - - - - - - - - - - - - - - - - - - - - - - - - - - VFXVEHICLEINFO_CAR_GENERIC - - - - - - - - - - - - - - - - - - - - - - 35.000000 - 45.000000 - 150.000000 - 250.000000 - 500.000000 - 500.000000 - - - - - - - - - - - SWANKNESS_1 - - FLAG_HAS_LIVERY FLAG_EXTRAS_STRONG FLAG_LAW_ENFORCEMENT - VEHICLE_TYPE_CAR - VPT_FRONT_AND_BACK_PLATES - VDT_FEROCI - VC_EMERGENCY - VWT_SUV - - - - - - - - - - - - WHEEL_FRONT_RIGHT_CAMERA - WHEEL_FRONT_LEFT_CAMERA - WHEEL_REAR_RIGHT_CAMERA - WHEEL_REAR_LEFT_CAMERA - - - - - - - RANGER_CAVALCADE_FRONT_LEFT - RANGER_FRONT_RIGHT - RANGER_PRANGER_REAR_LEFT - RANGER_PRANGER_REAR_RIGHT - - - - - - vehicles_feroci_interior - f550ambow - - - \ No newline at end of file diff --git a/resources/f550ambows/__resource.lua b/resources/f550ambows/__resource.lua deleted file mode 100644 index 8a8e37e1f..000000000 --- a/resources/f550ambows/__resource.lua +++ /dev/null @@ -1,13 +0,0 @@ -resource_manifest_version '44febabe-d386-4d18-afbe-5e627f4af937' - - -files { - 'vehicles.meta', - 'carcols.meta', - 'carvariations.meta', - 'handling.meta' -} -data_file 'VEHICLE_METADATA_FILE' 'vehicles.meta' -data_file 'CARCOLS_FILE' 'carcols.meta' -data_file 'VEHICLE_VARIATION_FILE' 'carvariations.meta' -data_file 'HANDLING_FILE' 'data/handling.meta' diff --git a/resources/f550ambows/carcols.meta b/resources/f550ambows/carcols.meta deleted file mode 100644 index d0bbf80dc..000000000 --- a/resources/f550ambows/carcols.meta +++ /dev/null @@ -1,1584 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - VehicleLight_car_utility - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - f550ambow - - - - - - f550ambows - - - - - - - VehicleLight_sirenlight - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 4128_f550ambow_modkit - - MKT_STANDARD - - - bumper_1 - bumper_1 - - - bumper_f - - VMT_BUMPER_F - chassis - chassis - VMCP_DEFAULT - - - - - - - - bumper_2 - bumper_2 - - - bumper_f - - VMT_BUMPER_F - chassis - chassis - VMCP_DEFAULT - - - - - - - - bumper_3 - bumper_3 - - - bumper_f - - VMT_BUMPER_F - chassis - chassis - VMCP_DEFAULT - - - - - - - - bumper_4 - bumper_4 - - - bumper_f - - VMT_BUMPER_F - chassis - chassis - VMCP_DEFAULT - - - - - - - - steps_black - steps_black - - - misc_s - - VMT_SKIRT - chassis - chassis - VMCP_DEFAULT - - - - - - - - blackdiamond_box - blackdiamond_box - - - misc_x - - VMT_CHASSIS4 - chassis - chassis - VMCP_DEFAULT - - - - - - - - roof_horns - roof_horns - - - VMT_ROOF - chassis - chassis - VMCP_DEFAULT - - - - - - - - grille_bbadge - grille_bbadge - - - misc_g - - VMT_GRILL - chassis - chassis - VMCP_DEFAULT - - - - - - - - grille_cnoobadge - grille_cnoobadge - - - misc_g - - VMT_GRILL - chassis - chassis - VMCP_DEFAULT - - - - - - - - grille_bnoobadge - grille_bnoobadge - - - misc_g - - VMT_GRILL - chassis - chassis - VMCP_DEFAULT - - - - - - - - cabinet_open - cabinet_open - - - misc_i - - VMT_DOOR_L - chassis - chassis - VMCP_DEFAULT - - - - - - - - mirror_driver - mirror_driver - - mirror_pass - - - wing_lf - wing_rf - - VMT_SPOILER - door_dside_f - chassis - VMCP_DEFAULT - - - - - - - - - - mirror_pass - door_pside_f - - - - - - - - - \ No newline at end of file diff --git a/resources/f550ambows/carvariations.meta b/resources/f550ambows/carvariations.meta deleted file mode 100644 index e1a7d02b9..000000000 --- a/resources/f550ambows/carvariations.meta +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - f550ambows - - - - 0 - 70 - 0 - 0 - 0 - 0 - - - - - 4128_f550ambow_modkit - - - - - - Police guv plate - - - - - - - - - \ No newline at end of file diff --git a/resources/f550ambows/handling.meta b/resources/f550ambows/handling.meta deleted file mode 100644 index 789635f15..000000000 --- a/resources/f550ambows/handling.meta +++ /dev/null @@ -1,67 +0,0 @@ - - - - - - F450 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 400010 - 0 - 0 - TRUCK - - - - - - - - - - - - \ No newline at end of file diff --git a/resources/f550ambows/stream/f550ambows+hi.ytd b/resources/f550ambows/stream/f550ambows+hi.ytd deleted file mode 100644 index 1d77fb519..000000000 --- a/resources/f550ambows/stream/f550ambows+hi.ytd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aa1a1d49a5669afe00ca1c4b7f917510943e165860eb6452595c8f1ffa7a3d64 -size 5343279 diff --git a/resources/f550ambows/stream/f550ambows.yft b/resources/f550ambows/stream/f550ambows.yft deleted file mode 100644 index 1f4606e53..000000000 --- a/resources/f550ambows/stream/f550ambows.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:34345a37225d397bcf67724eb85593fa7b7e7e741b144bf5c28073d4fbf9f9a5 -size 7562709 diff --git a/resources/f550ambows/stream/f550ambows.ytd b/resources/f550ambows/stream/f550ambows.ytd deleted file mode 100644 index aa4f3b696..000000000 --- a/resources/f550ambows/stream/f550ambows.ytd +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ab36d72680479028d24f15c5e99494719b04d6982c97120f6768078bf2d68ac -size 5691091 diff --git a/resources/f550ambows/stream/f550ambows_hi.yft b/resources/f550ambows/stream/f550ambows_hi.yft deleted file mode 100644 index 47e59e704..000000000 --- a/resources/f550ambows/stream/f550ambows_hi.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d1309dd9212d2c3422a903aeb1b61ea5547350d3d17b78657856d14ed7a4eba5 -size 10853100 diff --git a/resources/f550ambows/stream/mods/blackdiamond_box.yft b/resources/f550ambows/stream/mods/blackdiamond_box.yft deleted file mode 100644 index 5b0acbd5e..000000000 --- a/resources/f550ambows/stream/mods/blackdiamond_box.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:432002f180ecb9aa7e28958f4a8f33f1002c15b9d77a36f1271f71a773880a0e -size 168012 diff --git a/resources/f550ambows/stream/mods/bumper_1.yft b/resources/f550ambows/stream/mods/bumper_1.yft deleted file mode 100644 index 2453bb6b6..000000000 --- a/resources/f550ambows/stream/mods/bumper_1.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e8d01403c786c3fc6a347fad914695aa26ec8849058a06302cb755db745cac70 -size 846684 diff --git a/resources/f550ambows/stream/mods/bumper_2.yft b/resources/f550ambows/stream/mods/bumper_2.yft deleted file mode 100644 index de570ac5e..000000000 --- a/resources/f550ambows/stream/mods/bumper_2.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a1f89b403ab2854fcf0c9c8e4e0525cc2a93b02c8cdf4b08bc70d70e9c307f0a -size 447596 diff --git a/resources/f550ambows/stream/mods/bumper_3.yft b/resources/f550ambows/stream/mods/bumper_3.yft deleted file mode 100644 index 48c88afa1..000000000 --- a/resources/f550ambows/stream/mods/bumper_3.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:40ad52f2ad6dc884140a04048f59335119eac9f5036668f2c7a5a930d6a9fa4b -size 344191 diff --git a/resources/f550ambows/stream/mods/bumper_4.yft b/resources/f550ambows/stream/mods/bumper_4.yft deleted file mode 100644 index 83af00faf..000000000 --- a/resources/f550ambows/stream/mods/bumper_4.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9e2ad4c0328e15b9f33928bf54f17960eea78c00eac4a26f596de95bb983028e -size 165869 diff --git a/resources/f550ambows/stream/mods/cabinet_open.yft b/resources/f550ambows/stream/mods/cabinet_open.yft deleted file mode 100644 index 63dea4092..000000000 --- a/resources/f550ambows/stream/mods/cabinet_open.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:382454283f9ae68ecf404541a71cc7c56b971b3ecfb2dc698d558672d6031524 -size 485151 diff --git a/resources/f550ambows/stream/mods/grille_bbadge.yft b/resources/f550ambows/stream/mods/grille_bbadge.yft deleted file mode 100644 index 7201d7ffe..000000000 --- a/resources/f550ambows/stream/mods/grille_bbadge.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6f745aff0dc16a1a49b107040ab3b6747f124cd60458fda8ea6944f5e71873ad -size 312472 diff --git a/resources/f550ambows/stream/mods/grille_bnoobadge.yft b/resources/f550ambows/stream/mods/grille_bnoobadge.yft deleted file mode 100644 index 22c754a7d..000000000 --- a/resources/f550ambows/stream/mods/grille_bnoobadge.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0a81643dd0f6e55d83e77766c623f9d975e0941544559103a2112538e0999176 -size 312221 diff --git a/resources/f550ambows/stream/mods/grille_cnoobadge.yft b/resources/f550ambows/stream/mods/grille_cnoobadge.yft deleted file mode 100644 index 02abbe890..000000000 --- a/resources/f550ambows/stream/mods/grille_cnoobadge.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b5d0e7584e91fde0eb48ca847ab36fd45b0d9fdb197545636d15174dad74301e -size 306492 diff --git a/resources/f550ambows/stream/mods/mirror_driver.yft b/resources/f550ambows/stream/mods/mirror_driver.yft deleted file mode 100644 index f59daf2ad..000000000 --- a/resources/f550ambows/stream/mods/mirror_driver.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c31c4dbc31696c9b6d8f464d1e63eb6fe3214bc4566847d9945ae2836611fc53 -size 125253 diff --git a/resources/f550ambows/stream/mods/mirror_pass.yft b/resources/f550ambows/stream/mods/mirror_pass.yft deleted file mode 100644 index 1bea0b3e4..000000000 --- a/resources/f550ambows/stream/mods/mirror_pass.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8adaa33eccce72f30f3acf72810711c43c1af066be66b64370677224c9e60457 -size 126778 diff --git a/resources/f550ambows/stream/mods/roof_horns.yft b/resources/f550ambows/stream/mods/roof_horns.yft deleted file mode 100644 index 22a3c4fbe..000000000 --- a/resources/f550ambows/stream/mods/roof_horns.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a7cac099d477d876eb0c46b554db385509fc771a6692f6a05762f3795acaa637 -size 193040 diff --git a/resources/f550ambows/stream/mods/steps_black.yft b/resources/f550ambows/stream/mods/steps_black.yft deleted file mode 100644 index df1389056..000000000 --- a/resources/f550ambows/stream/mods/steps_black.yft +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:64734716b5b99cb8d112eccdd183815b1ff35bc2669ae8cc2c79639d1c31c3bd -size 43515 diff --git a/resources/f550ambows/vehiclelayouts.meta b/resources/f550ambows/vehiclelayouts.meta deleted file mode 100644 index 003e0e98b..000000000 --- a/resources/f550ambows/vehiclelayouts.meta +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - SEAT_STD_REDNECKAMBO_DSIDE_REAR - seat_dside_r - SEAT_VAN_REAR_LEFT - - TASK_DRIVE_WANDER - IsIdleSeat - - SEAT_VAN_REAR_RIGHT - - - - SEAT_STD_REDNECKAMBO_DSIDE_REAR1 - seat_dside_r1 - SEAT_VAN_REAR_LEFT - - TASK_DRIVE_WANDER - IsIdleSeat - - SEAT_VAN_REAR_RIGHT - - - - SEAT_STD_REDNECKAMBO_PSIDE_REAR - seat_pside_r - SEAT_VAN_REAR_LEFT - - TASK_DRIVE_WANDER - IsIdleSeat - - SEAT_VAN_REAR_RIGHT - - - - - - SEAT_STD_REDNECKAMBO_MAIN_REAR_RIGHT - - - clipset@veh@std@ds@idle_panic - clipset@veh@std@ds@idle_agitated - clipset@veh@std@ds@idle_duck - STD_CAR_FRONT_DS_IDLE - IN_CAR_STANDARD - VEHICLE_DEFAULT - UseStandardInVehicleAnims UseCloseDoorBlendAnims - - STANDARD - ANIM_GROUP_GESTURE_M_CAR_STD_DS - ANIM_GROUP_GESTURE_F_CAR_STD_DS - - - - - - SEAT_STD_REDNECKAMBO_ENTRY_DSIDE_REAR_RIGHT - boot - Cargodoor - - INVALID - SIDE_RIGHT - - - - - - - POINT_TYPE_MAX - - - - SEAT_STD_REDNECKAMBO_ENTRY_DSIDE_REAR1_RIGHT - door_pside_r - - - INVALID - SIDE_RIGHT - - - - - - - POINT_TYPE_MAX - - - - SEAT_STD_REDNECKAMBO_ENTRY_PSIDE_REAR_LEFT - boot - Cargodoor - - INVALID - SIDE_RIGHT - - - - - - - POINT_TYPE_MAX - - - - - - LAYOUT_F550REDNECKAMBO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - StreamAnims UseLeanSteerAnims UseVanOpenDoorBlendParams UseDoorOscillation UseLowerDoorBlockTest - - busted_vehicle_std - - - - - - clipset@veh@van@ds@idle_a - clipset@veh@van@ds@idle_b - clipset@veh@van@ds@idle_c - clipset@veh@van@ds@idle_d - clipset@veh@van@ds@idle_e - - - clipset@veh@van@ds@hit_wheel@idle_a - clipset@veh@van@ds@hit_wheel@idle_b - clipset@veh@van@ds@hit_wheel@idle_c - - - - diff --git a/resources/f550ambows/vehicles.meta b/resources/f550ambows/vehicles.meta deleted file mode 100644 index 5452e495a..000000000 --- a/resources/f550ambows/vehicles.meta +++ /dev/null @@ -1,135 +0,0 @@ - - - - vehshare - - - - f550ambows - f550ambows - F450 - F450 - 20FORD - null - null - null - null - - null - fbi2 - LAYOUT_F550REDNECKAMBO - GRANGER_COVER_OFFSET_INFO - EXPLOSION_INFO_DEFAULT - - DEFAULT_FOLLOW_VEHICLE_CAMERA - BOX_VEHICLE_AIM_CAMERA - VEHICLE_BONNET_CAMERA_STANDARD - DEFAULT_POV_CAMERA_LOOKAROUND - - - - - - - - - - - - - - - - - - - - - - - - - - - - VFXVEHICLEINFO_CAR_GENERIC - - - - - - - - - - - - - - - - - - - - - - 35.000000 - 45.000000 - 150.000000 - 250.000000 - 500.000000 - 500.000000 - - - - - - - - - - - SWANKNESS_1 - - FLAG_HAS_LIVERY FLAG_EXTRAS_STRONG FLAG_LAW_ENFORCEMENT - VEHICLE_TYPE_CAR - VPT_FRONT_AND_BACK_PLATES - VDT_FEROCI - VC_EMERGENCY - VWT_SUV - - - - - - - - - - - - WHEEL_FRONT_RIGHT_CAMERA - WHEEL_FRONT_LEFT_CAMERA - WHEEL_REAR_RIGHT_CAMERA - WHEEL_REAR_LEFT_CAMERA - - - - - - - RANGER_CAVALCADE_FRONT_LEFT - RANGER_FRONT_RIGHT - RANGER_PRANGER_REAR_LEFT - RANGER_PRANGER_REAR_RIGHT - - - - - - vehicles_feroci_interior - f550ambows - - - \ No newline at end of file diff --git a/resources/lvc/SIRENS.lua b/resources/lvc/SIRENS.lua index d94132691..88bd93595 100644 --- a/resources/lvc/SIRENS.lua +++ b/resources/lvc/SIRENS.lua @@ -194,7 +194,7 @@ SIREN_ASSIGNMENTS = { ['walkin'] = { 34, 37, 36, 39, 40, 41 }, ['fireboat'] = { 34, 37, 36, 39, 40, 41 }, ['16ramambo'] = { 34, 37, 36, 39, 40, 41 }, - ['f550ambow'] = { 34, 37, 36, 39, 40, 41 }, + ['t880nrclafd65'] = { 34, 37, 36, 39, 40, 41 }, ['f550ambows'] = { 34, 37, 36, 39, 40, 41 }, ['lafdengine'] = { 42, 43, 44, 45 }, ['lacod6'] = { 34, 37, 36, 39, 40, 41 }, diff --git a/resources/t880nrclafd65/Template/t88065t_sign_1.png b/resources/t880nrclafd65/Template/t88065t_sign_1.png new file mode 100644 index 000000000..4f453df6e Binary files /dev/null and b/resources/t880nrclafd65/Template/t88065t_sign_1.png differ diff --git a/resources/f550ambow/__resource.lua b/resources/t880nrclafd65/__resource.lua similarity index 100% rename from resources/f550ambow/__resource.lua rename to resources/t880nrclafd65/__resource.lua diff --git a/resources/t880nrclafd65/carcols.meta b/resources/t880nrclafd65/carcols.meta new file mode 100644 index 000000000..f092f0433 --- /dev/null +++ b/resources/t880nrclafd65/carcols.meta @@ -0,0 +1,1874 @@ + + + + + 1467777775542_lafdt880_modkit + + MKT_SPECIAL + + + lafdt880parts + lafdt880parts + + + VMT_CHASSIS + chassis + chassis + VMCP_DEFAULT + + + + + + + + + + + + + + + VMT_ENGINE + + + + + + + VMT_ENGINE + + + + + + + VMT_ENGINE + + + + + + + VMT_ENGINE + + + + + + + VMT_BRAKES + + + + + + + VMT_BRAKES + + + + + + + VMT_BRAKES + + + + + + + VMT_GEARBOX + + + + + + + VMT_GEARBOX + + + + + + + VMT_GEARBOX + + + + + + + VMT_ARMOUR + + + + + + + VMT_ARMOUR + + + + + + + VMT_ARMOUR + + + + + + + VMT_ARMOUR + + + + + + + VMT_ARMOUR + + + HORN_TRUCK + + + + VMT_HORN + + + HORN_COP + + + + VMT_HORN + + + HORN_CLOWN + + + + VMT_HORN + + + HORN_MUSICAL_1 + + + + VMT_HORN + + + HORN_MUSICAL_2 + + + + VMT_HORN + + + HORN_MUSICAL_3 + + + + VMT_HORN + + + HORN_MUSICAL_4 + + + + VMT_HORN + + + HORN_MUSICAL_5 + + + + VMT_HORN + + + HORN_SAD_TROMBONE + + + + VMT_HORN + + + MUSICAL_HORN_BUSINESS_1 + + + + VMT_HORN + + + MUSICAL_HORN_BUSINESS_2 + + + + VMT_HORN + + + MUSICAL_HORN_BUSINESS_3 + + + + VMT_HORN + + + MUSICAL_HORN_BUSINESS_4 + + + + VMT_HORN + + + MUSICAL_HORN_BUSINESS_5 + + + + VMT_HORN + + + MUSICAL_HORN_BUSINESS_6 + + + + VMT_HORN + + + MUSICAL_HORN_BUSINESS_7 + + + + VMT_HORN + + + DLC_BUSI2_C_MAJOR_NOTES_C0 + + + + VMT_HORN + + + DLC_BUSI2_C_MAJOR_NOTES_D0 + + + + VMT_HORN + + + DLC_BUSI2_C_MAJOR_NOTES_E0 + + + + VMT_HORN + + + DLC_BUSI2_C_MAJOR_NOTES_F0 + + + + VMT_HORN + + + DLC_BUSI2_C_MAJOR_NOTES_G0 + + + + VMT_HORN + + + DLC_BUSI2_C_MAJOR_NOTES_A0 + + + + VMT_HORN + + + DLC_BUSI2_C_MAJOR_NOTES_B0 + + + + VMT_HORN + + + DLC_BUSI2_C_MAJOR_NOTES_C1 + + + + VMT_HORN + + + HIPSTER_HORN_1 + + + + VMT_HORN + + + HIPSTER_HORN_2 + + + + VMT_HORN + + + HIPSTER_HORN_3 + + + + VMT_HORN + + + HIPSTER_HORN_4 + + + + VMT_HORN + + + INDEP_HORN_1 + + + + VMT_HORN + + + INDEP_HORN_2 + + + + VMT_HORN + + + INDEP_HORN_3 + + + + VMT_HORN + + + INDEP_HORN_4 + + + + VMT_HORN + + + LUXE_HORN_1 + + + + VMT_HORN + + + LUXE_HORN_2 + + + + VMT_HORN + + + LUXE_HORN_3 + + + + VMT_HORN + + + LUXORY_HORN_1 + + + + VMT_HORN + + + LUXURY_HORN_2 + + + + VMT_HORN + + + LUXURY_HORN_3 + + + + VMT_HORN + + + ORGAN_HORN_LOOP_01 + + + + VMT_HORN + + + ORGAN_HORN_LOOP_01_PREVIEW + + + + VMT_HORN + + + ORGAN_HORN_LOOP_02 + + + + VMT_HORN + + + ORGAN_HORN_LOOP_02_PREVIEW + + + + VMT_HORN + + + LOWRIDER_HORN_1 + + + + VMT_HORN + + + LOWRIDER_HORN_1_PREVIEW + + + + VMT_HORN + + + LOWRIDER_HORN_2 + + + + VMT_HORN + + + LOWRIDER_HORN_2_PREVIEW + + + + VMT_HORN + + + + + + + VMT_SUSPENSION + + + + + + + VMT_SUSPENSION + + + + + + + VMT_SUSPENSION + + + + + + + VMT_SUSPENSION + + + + + + + VMT_WHEELS_REAR_OR_HYDRAULICS + + + + + + + VMT_WHEELS_REAR_OR_HYDRAULICS + + + + + + + VMT_WHEELS_REAR_OR_HYDRAULICS + + + + + + + VMT_WHEELS_REAR_OR_HYDRAULICS + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + VehicleLight_car_oldsquare + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ftssilverado + + + + + + t880nrclafd65 + + + + + + + VehicleLight_sirenlight + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/resources/t880nrclafd65/carvariations.meta b/resources/t880nrclafd65/carvariations.meta new file mode 100644 index 000000000..33571c9de --- /dev/null +++ b/resources/t880nrclafd65/carvariations.meta @@ -0,0 +1,54 @@ + + + + + t880nrclafd65 + + + + 112 + 112 + 159 + 156 + + + + + + + + + + + + + + + 1467777775542_lafdt880_modkit + + + + + + Standard White + + + + White Plate 2 + + + + Blue Plate + + + + Yellow Plate + + + + + + + + + \ No newline at end of file diff --git a/resources/t880nrclafd65/handling.meta b/resources/t880nrclafd65/handling.meta new file mode 100644 index 000000000..e184219d1 --- /dev/null +++ b/resources/t880nrclafd65/handling.meta @@ -0,0 +1,103 @@ + + + + + t880nrclafd65 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 20820018 + 0 + 20 + TRUCK + + + + VEHICLE_WEAPON_RADAR + + + + + 0 + 0 + 0 + + + 3.000000 + 0.000000 + + + -0.400000 + 0.000000 + + + 0.707000 + 0.000000 + + + -0.500000 + 0.000000 + + + 0.000000 + 0.000000 + + + 25.000000 + 0.000000 + + + -0.080000 + 0.000000 + + + + + + + + + \ No newline at end of file diff --git a/resources/t880nrclafd65/stream/lafdt880parts.yft b/resources/t880nrclafd65/stream/lafdt880parts.yft new file mode 100644 index 000000000..57900bfb3 --- /dev/null +++ b/resources/t880nrclafd65/stream/lafdt880parts.yft @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:251e714df0325fd9eb549678d3f826309c367eb4844ecea4746cf7e51d9dc455 +size 3471178 diff --git a/resources/t880nrclafd65/stream/t880nrclafd65.yft b/resources/t880nrclafd65/stream/t880nrclafd65.yft new file mode 100644 index 000000000..c56a6f8ab --- /dev/null +++ b/resources/t880nrclafd65/stream/t880nrclafd65.yft @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d10396d120198ab9a6e72455ef55c542b91ea00ae3dc7bf03bd6a09d6ac8e38 +size 13514589 diff --git a/resources/t880nrclafd65/stream/t880nrclafd65.ytd b/resources/t880nrclafd65/stream/t880nrclafd65.ytd new file mode 100644 index 000000000..1f255446f --- /dev/null +++ b/resources/t880nrclafd65/stream/t880nrclafd65.ytd @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e196c0ff2e227ada57e98d4eb335cb44285a18aed6a2ddf716c0e7d017d34f65 +size 9937176 diff --git a/resources/t880nrclafd65/stream/t880nrclafd65_hi.yft b/resources/t880nrclafd65/stream/t880nrclafd65_hi.yft new file mode 100644 index 000000000..c56a6f8ab --- /dev/null +++ b/resources/t880nrclafd65/stream/t880nrclafd65_hi.yft @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d10396d120198ab9a6e72455ef55c542b91ea00ae3dc7bf03bd6a09d6ac8e38 +size 13514589 diff --git a/resources/t880nrclafd65/stream/va_lafdt880rig.ycd b/resources/t880nrclafd65/stream/va_lafdt880rig.ycd new file mode 100644 index 000000000..01220f17c Binary files /dev/null and b/resources/t880nrclafd65/stream/va_lafdt880rig.ycd differ diff --git a/resources/t880nrclafd65/ulc.lua b/resources/t880nrclafd65/ulc.lua new file mode 100644 index 000000000..1cc6a0df2 --- /dev/null +++ b/resources/t880nrclafd65/ulc.lua @@ -0,0 +1,57 @@ + +--[[ + Ultimate Lighting Controller Config + the ULC resource is required to use this configuration + get the resource here: https://github.com/Flohhhhh/ultimate-lighting-controller/releases/latest + To learn how to setup and use ULC visit here: https://docs.dwnstr.com/ulc/overview +]] + +return {names = {"t880nrclafd65"}, + steadyBurnConfig = { + forceOn = false, useTime = false, + disableWithLights = false, + sbExtras = {} + }, + parkConfig = { + usePark = true, + useSync = true, + syncWith = {}, + pExtras = {}, + dExtras = {} + }, + hornConfig = { + useHorn = false, + hornExtras = {}, + disableExtras = {} + }, + brakeConfig = { + useBrakes = false, + speedThreshold = 3, + brakeExtras = {}, + disableExtras = {} + }, + reverseConfig = { + useReverse = false, + reverseExtras = {}, + disableExtras = {} + }, + doorConfig = { + useDoors = false, + driverSide = {enable = {}, disable = {}}, + passSide = {enable = {}, disable = {}}, + trunk = {enable ={}, disable = {}} + }, + buttons = { + {label = "EMG Lights", key = 1, color = "red", extra = 5, linkedExtras = {6,7,9,8,10}, oppositeExtras = {}, offExtras = {}, repair = false}, + {label = "SC Lights", key = 2, color = "green", extra = 1, linkedExtras = {1,2,3,4}, oppositeExtras = {}, offExtras = {}, repair = false} + }, + stages = { + useStages = false, + stageKeys = {}, + }, + defaultStages = { + useDefaults = false, + enableKeys = {}, + disableKeys = {} + } +} \ No newline at end of file diff --git a/resources/t880nrclafd65/vehicles.meta b/resources/t880nrclafd65/vehicles.meta new file mode 100644 index 000000000..0c037552d --- /dev/null +++ b/resources/t880nrclafd65/vehicles.meta @@ -0,0 +1,141 @@ + + + vehshare + + + + t880nrclafd65 + t880nrclafd65 + t880nrclafd65 + t880nrclafd65 + + null + null + va_lafdt880rig + lafdt880rig + + null + PHANTOM + LAYOUT_TRUCK + UTILITRUCK_COVER_OFFSET_INFO + EXPLOSION_INFO_TRUCK + + FOLLOW_HANDLER_CAMERA + CHERRYPICKER_AIM_CAMERA + VEHICLE_BONNET_CAMERA_LOW + DEFAULT_POV_CAMERA_NO_REVERSE + + + + + + + + + + + + + + + + + + VFXVEHICLEINFO_TRUCK_HIDDEN_EXHAUST + + + + + + + + + + + + + + + + + + + + + + 500.000000 + 500.000000 + 500.000000 + 500.000000 + 500.000000 + 500.000000 + + + + + + + + + + + SWANKNESS_1 + + FLAG_HAS_LIVERY FLAG_EXTRAS_STRONG FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_BIG FLAG_NO_BOOT FLAG_AVOID_TURNS FLAG_DELIVERY FLAG_EXTRAS_REQUIRE FLAG_EXTRAS_STRONG FLAG_IS_BULKY FLAG_BLOCK_FROM_ATTRACTOR_SCENARIO FLAG_HAS_OUTRIGGER_LEGS + VEHICLE_TYPE_CAR + VPT_FRONT_AND_BACK_PLATES + VDT_TRUCKDIGI + VC_EMERGENCY + VWT_SPORT + + boattrailer + trailersmall + + + trailersmall2 + + + + S_M_M_AutoShop_01 + + + + S_M_M_AutoShop_02 + + + + S_M_M_Trucker_01 + + + + + + VEH_EXT_BONNET + + + + + + + + WHEEL_WIDE_REAR_RIGHT_CAMERA + WHEEL_WIDE_REAR_LEFT_CAMERA + + Truck + + + + + VAN_PONY_FRONT_LEFT + VAN_PONY_FRONT_RIGHT + + + + + + + vehicles_worn_van + t880nrclafd65 + + + diff --git a/resources/ulc/config.lua b/resources/ulc/config.lua index a6d63e22b..16a7054c7 100644 --- a/resources/ulc/config.lua +++ b/resources/ulc/config.lua @@ -385,7 +385,7 @@ Config = { "reevesaceunit", "615", "montereyparkpd25dura_180", - + "t880nrclafd65", "18charg", "21ppv3", "21ppvHCSO", diff --git a/server.cfg b/server.cfg index 1501c3007..e9a0e58d0 100644 --- a/server.cfg +++ b/server.cfg @@ -83,7 +83,7 @@ ensure fivepd ensure VK_Main ensure VK_Interiors ensure Jailer -ensure +ensure ImperialCAD-main ensure fivepd ensure fivepd-compatlayer ensure Delete-Vehicle @@ -101,7 +101,7 @@ ensure night_ers_k9 ensure PlayCustomSounds ensure bodycam ensure 22f550util -ensure +ensure t880nrclafd65 ensure kq_driftsmoke ensure kq_animsuggest ensure maxchasrt @@ -201,6 +201,7 @@ ensure holster ensure BetterFlashlight +ensure SCBApack ensure firehydrant ensure scenes-main ensure opticomsystem