diff --git a/.vscode/settings.json b/.vscode/settings.json index 5464e9e..573200d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -21,6 +21,7 @@ "heroinCooldown", "checkLoc", "getRandW", - "shroomsCooldown" + "shroomsCooldown", + "targets" ] } \ No newline at end of file diff --git a/client/TravellingMerchant.lua b/client/TravellingMerchant.lua index ba269f3..a4822e1 100644 --- a/client/TravellingMerchant.lua +++ b/client/TravellingMerchant.lua @@ -1,28 +1,35 @@ - +if not Config.Drugs['TravellingMerchant'] then return end local function spawn() - local data = ps.callback('md-drugs:server:GetMerchant') + local data = Bridge.Callback.Trigger('md-drugs:server:GetMerchant') local model = 's_m_m_trucker_01' - ps.requestModel(model) + requestModel(model) local ped = CreatePed(4, model, data.loc.x, data.loc.y, data.loc.z, data.loc.w, false, true) Freeze(ped, true, data.loc.w) - ps.entityTarget(ped, { + Bridge.Target.AddLocalEntity(ped, { { - label = ps.lang('merchant.targetOpen'), + icon = Bridge.Language.Locale('merchant.targetIcon'), + label = Bridge.Language.Locale('merchant.targetOpen'), action = function() local options = {} for k, v in pairs (data.items) do + local itemInfo = Bridge.Inventory.GetItemInfo(k) options[#options+1] = { - title = ps.getLabel(k), + title = itemInfo.label, description = '$'..v, - icon = ps.getImage(k), - action = function() + icon = itemInfo.image, + onSelect = function() TriggerServerEvent('md-drugs:server:purchaseGoods', k) end } end - ps.menu('Travelling Merchant', 'Travelling Merchant', options) + Bridge.Menu.Open({ + id = 'merchant_menu', + title = Bridge.Language.Locale('merchant.menuTitle'), + options = options + }) end } }) + targets[#targets+1] = ped end spawn() diff --git a/client/cocaine.lua b/client/cocaine.lua index 38d9dd7..9f7c787 100644 --- a/client/cocaine.lua +++ b/client/cocaine.lua @@ -1,12 +1,11 @@ - local cuttingcoke = nil local baggingcoke = nil -local locations = ps.callback('md-drugs:server:GetCokeLocations') +local locations = Config.Cocaine.Locations -local function CutCoke(coords, offset, rotation) -cuttingcoke = true +local function CutCoke(coords, offset, rotation) + cuttingcoke = true local animDict, animName = "anim@amb@business@coc@coc_unpack_cut_left@", "coke_cut_v5_coccutter" - ps.requestAnim(animDict, 500) + Bridge.Anim.RequestDict(animDict, 500) local animDuration = GetAnimDuration(animDict, animName) * 1000 local ped = PlayerPedId() local scenePos, sceneRot = vector3(coords.x + offset.x, coords.y + offset.y,coords.z + offset.z), rotation @@ -48,18 +47,18 @@ cuttingcoke = true DeleteEntity(entitiesList[i]) end RemoveAnimDict(animDict) - FreezeEntityPosition(ped, false) -cuttingcoke = nil + FreezeEntityPosition(ped, false) + cuttingcoke = nil end -local function BagCoke(coords, offset, rotation) +local function BagCoke(coords, offset, rotation) baggingcoke = true local ver = "" local animDict, animName = "anim@amb@business@meth@meth_smash_weight_check@", "break_weigh_"..ver.."char01" - ps.requestAnim(animDict, 500) + Bridge.Anim.RequestDict(animDict, 500) local animDuration = GetAnimDuration(animDict, animName) * 1000 local ped = PlayerPedId() - local scenePos, sceneRot = vector3(coords.x + offset.x, coords.y + offset.y,coords.z + offset.z), rotation + local scenePos, sceneRot = vector3(coords.x + offset.x, coords.y + offset.y,coords.z + offset.z +0.03), rotation local scenes = { { { hash = "bkr_prop_coke_cutblock_01", animName = "break_weigh_"..ver.."box01"}, @@ -111,21 +110,18 @@ baggingcoke = true DeleteEntity(entitiesList[i]) end RemoveAnimDict(animDict) - FreezeEntityPosition(ped, false) -baggingcoke = nil + FreezeEntityPosition(ped, false) + baggingcoke = nil end for k, v in pairs (locations.MakePowder) do - ps.boxTarget('cocaplant'..k, v.loc, {length = v.l, width = v.w, height = 1.0, rotation = v.rot}, { + Bridge.Target.AddBoxZone('cocaplant'..k, v.loc, v.size, v.loc.w or 180.0, { { - label = ps.lang('coke.targetMakePow'), - icon = 'fa-solid fa-seedling', + label = Bridge.Language.Locale('coke.targetMakePow'), + icon = Bridge.Language.Locale('coke.targetMakePowIcon'), action = function() - if not ps.hasItem('coca_leaf') then - ps.notify(ps.lang('Catches.itemMissings', ps.getLabel('coca_leaf')), 'error') - return - end - if not ps.progressbar(ps.lang('coke.makePow'), 4000, 'uncuff') then return end + if not itemCheck('coca_leaf') then return end + if not progressbar(Bridge.Language.Locale('coke.makePow')) then return end TriggerServerEvent("md-drugs:server:makepowder", k) end, canInteract = function() @@ -133,18 +129,16 @@ for k, v in pairs (locations.MakePowder) do end } }) + targets[#targets+1] = 'cocaplant'..k end for k, v in pairs (locations.CuttingCoke) do - ps.boxTarget('cutcoke'..k, v.loc, {length = 1.0, width = 1.0, height = 1.0, rotation = 180.0}, { + Bridge.Target.AddBoxZone('cutcoke'..k, v.loc, v.size, v.loc.w or 180.0, { { - label = ps.lang('coke.targetCutCoke'), - icon = 'fa-solid fa-mortar-pestle', + label = Bridge.Language.Locale('coke.targetCutCoke'), + icon = Bridge.Language.Locale('coke.targetCutCokeIcon'), action = function() - if not ps.hasItem('bakingsoda') then - ps.notify(ps.lang('Catches.itemMissings', ps.getLabel('bakingsoda')), 'error') - return - end + if not itemCheck('bakingsoda') then return end CutCoke(v.loc, v.offset, v.rotation) TriggerServerEvent("md-drugs:server:cutcokeone", k) end, @@ -155,18 +149,16 @@ for k, v in pairs (locations.CuttingCoke) do end, } }) + targets[#targets+1] = 'cutcoke'..k end for k, v in pairs (locations.BaggingCoke) do - ps.boxTarget('bagcoke'..k, v.loc, {length = 1.0, width = 1.0, height = 1.0, rotation = 180.0}, { + Bridge.Target.AddBoxZone('bagcoke'..k, v.loc, v.size, v.loc.w or 180.0, { { - label = ps.lang('coke.targetBagCoke'), - icon = 'fa-solid fa-sack-xmark', + label = Bridge.Language.Locale('coke.targetBagCoke'), + icon = Bridge.Language.Locale('coke.targetBagCokeIcon'), action = function() - if not ps.hasItem('empty_weed_bag') then - ps.notify(ps.lang('Catches.itemMissings', ps.getLabel('empty_weed_bag')), 'error') - return - end + if not itemCheck('empty_weed_bag') then return end BagCoke(v.loc, v.offset, v.rotation) TriggerServerEvent("md-drugs:server:bagcoke", k) end, @@ -177,13 +169,14 @@ for k, v in pairs (locations.BaggingCoke) do end } }) + targets[#targets+1] = 'bagcoke'..k end for k, v in pairs (locations.cokeTele) do - ps.boxTarget('coke_tele'..k, v.inside, {length = v.l, width = v.w, heading = v.rot}, { + Bridge.Target.AddBoxZone('coke_tele'..k, v.inside, v.size, v.inside.w or 180.0,{ { - icon = 'fa-solid fa-door-open', - label = ps.lang('coke.teleOut'), + icon = Bridge.Language.Locale('coke.teleOutIcon'), + label = Bridge.Language.Locale('coke.teleOut'), action = function() SetEntityCoords(PlayerPedId(), v.outside) end, @@ -192,10 +185,11 @@ for k, v in pairs (locations.cokeTele) do end } }) - ps.boxTarget('coke_teleout'..k, v.outside, {length = v.l, width = v.w, heading = v.rot}, { + targets[#targets+1] = 'coke_tele'..k + Bridge.Target.AddBoxZone('coke_teleout'..k, v.outside, v.size, v.outside.w or 180.0,{ { - icon = 'fa-solid fa-door-closed', - label = ps.lang('coke.teleIn'), + icon = Bridge.Language.Locale('coke.teleInIcon'), + label = Bridge.Language.Locale('coke.teleIn'), action = function() SetEntityCoords(PlayerPedId(), v.inside) end, @@ -204,6 +198,7 @@ for k, v in pairs (locations.cokeTele) do end } }) + targets[#targets+1] = 'coke_teleout'..k end CreateThread(function() diff --git a/client/consumables.lua b/client/consumables.lua index 889a9ab..bef914b 100644 --- a/client/consumables.lua +++ b/client/consumables.lua @@ -1,7 +1,8 @@ +if not Config.Drugs['consumables'] then return end - -ps.registerCallback('md-drugs:client:consumedrugs', function(time, effect, anim, progresstext, status, item) - if not ps.progressbar(progresstext .. ps.getLabel(item).. "!", time, anim ) then return end +Bridge.Callback.Register('md-drugs:client:consumedrugs', function(time, effect, anim, progresstext, status, item) + Bridge.Anim.RequestDict(anim.dict) + if not progressbar(progresstext .. Bridge.Inventory.GetItemInfo(item).label.. "!", time, anim ) then return end for k, v in pairs (status) do if k == 'health' then local cur = GetEntityHealth(PlayerPedId()) diff --git a/client/cornerselling.lua b/client/cornerselling.lua index bf4ac0c..66160ed 100644 --- a/client/cornerselling.lua +++ b/client/cornerselling.lua @@ -9,31 +9,62 @@ end local function sellDrug(item, amount, price, targ) PoliceCall(20) - if ps.vehicleData() then - ps.notify(ps.lang('Cornerselling.inVeh'), 'error') + if IsPedInAnyVehicle(PlayerPedId(), true) then + Bridge.Notify.SendNotify(Bridge.Language.Locale('Cornerselling.inVeh'), 'error') walkAway(targ) return end - if not ps.progressbar(string.format(ps.lang('Cornerselling.selling', ps.getLabel(item), price)), 4000, 'uncuff') then walkAway(targ) return end + if not progressbar(Bridge.Language.Locale('Cornerselling.selling', Bridge.Inventory.GetItemInfo(item).label, price)) then + walkAway(targ) + return + end buyers[targ] = 'sold' - TriggerServerEvent('md-drugs:server:sellCornerDrugs', item, amount, price) + TriggerServerEvent('md-drugs:server:sellCornerDrugs', item, amount, price, NetworkGetNetworkIdFromEntity(targ)) walkAway(targ) end local function deny(targ) - PoliceCall(20) + PoliceCall(20) buyers[targ] = 'sold' - if not ps.progressbar(ps.lang('Cornerselling.deny'), 4000, 'argue5') then return end + if not progressbar(Bridge.Language.Locale('Cornerselling.deny'), 4000, { + dict = 'anim@amb@casino@brawl@fights@argue@', + clip = 'arguement_loop_mp_m_brawler_01', + flag = 49 + }) then return end walkAway(targ) end +local function getClosestPed() + local coords = GetEntityCoords(PlayerPedId()) + local distance = 10.0 + local pedList = GetGamePool('CPed') + local closestDistance = 1000.0 + local PED = nil + for i = 1, #pedList do + local ped = pedList[i] + if ped ~= PlayerPedId() then + local pedCoords = GetEntityCoords(ped) + local dist = #(coords - pedCoords) + if dist < closestDistance then + PED = ped + closestDistance = dist + end + end + end + if PED and closestDistance < distance then + return PED, closestDistance + else + return nil + end +end + local function findPed() local targ = nil + repeat Wait(100) - targ = ps.getNearestPed(GetEntityCoords(PlayerPedId()), 8) - + targ = getClosestPed() if IsPedInAnyVehicle(targ, false) or GetEntityHealth(targ) == 0 or not IsPedHuman(targ) then targ = nil end @@ -44,18 +75,21 @@ local function findPed() targ = nil end until targ ~= nil or sell == false + if not sell then return end buyers[targ] = true - ps.drawText(ps.lang('Cornerselling.wait')) + Bridge.HelpText.ShowHelpText(Bridge.Language.Locale('Cornerselling.wait')) repeat Wait(1000) TaskGoToCoordAnyMeans(targ, GetEntityCoords(PlayerPedId()), 1.0, 0, 0, 0, 0) until #(GetEntityCoords(PlayerPedId()) - GetEntityCoords(targ)) < 2.0 or sell == false or inZone + if not sell then return end + TaskTurnPedToFaceEntity(targ, PlayerPedId(), -1) - ps.hideText() + Bridge.HelpText.HideHelpText() CreateThread(function() Wait(45000) walkAway(targ) @@ -65,14 +99,17 @@ local function findPed() end local function checkItems() - local count = 0 + local has = false for k, v in pairs (GlobalState.DrugNames) do - if ps.hasItem(v) then - count = count + 1 + if Bridge.Inventory.HasItem(v) then + has = true break end end - if count == 0 then ps.notify(ps.lang('Cornerselling.nodrugs', 'error')) return false end + if not has then + Bridge.Notify.SendNotify(Bridge.Language.Locale('Cornerselling.nodrugs', 'error')) + return false + end return true end @@ -89,10 +126,10 @@ local function Cornersell() return end - ps.drawText(ps.lang('Cornerselling.searching')) + Bridge.HelpText.ShowHelpText(Bridge.Language.Locale('Cornerselling.searching')) local targ = findPed() - local data = ps.callback('md-drugs:server:cornerselling:getAvailableDrugs', targ) + local data = Bridge.Callback.Trigger('md-drugs:server:cornerselling:getAvailableDrugs', NetworkGetNetworkIdFromEntity(targ)) if data == false then sell = false return @@ -102,13 +139,13 @@ local function Cornersell() TaskGoStraightToCoord(targ, -1858.232910, -1242.395630, 8.60510, 100.0, -1, 0.0, 0.0) SetPedMoveRateOverride(targ, 10.0) local got = false - ps.entityTarget(targ, { + Bridge.Target.AddLocalEntity(targ, { { - label = ps.lang('Cornerselling.targetTakeBack'), - icon ="fa-solid fa-money-bill", + label = Bridge.Language.Locale('Cornerselling.targetTakeBack'), + icon = Bridge.Language.Locale("Cornerselling.targetTakeBackIcon"), action = function() got = true - TriggerServerEvent('md-drugs:server:getBackRobbed') + TriggerServerEvent('md-drugs:server:getBackRobbed', NetworkGetNetworkIdFromEntity(targ)) Cornersell() end, canInteract = function() @@ -116,15 +153,17 @@ local function Cornersell() return true end end, - }}, nil) + } + }) + targets[#targets+1] = targ else - ps.requestAnim("rcmme_tracey1") + Bridge.Anim.RequestDict("rcmme_tracey1") TaskStartScenarioInPlace(targ, "WORLD_HUMAN_STAND_IMPATIENT_UPRIGHT", 0, false) FreezeEntityPosition(targ, true) - ps.entityTarget(targ, { + Bridge.Target.AddLocalEntity(targ, { { - label = string.format(ps.lang('Cornerselling.targetSell'), data.amount, ps.getLabel(data.item), data.price), - icon ="fa-solid fa-money-bill", + label = Bridge.Language.Locale('Cornerselling.targetSell', data.amount, Bridge.Inventory.GetItemInfo(data.item).label, data.price), + icon = Bridge.Language.Locale("Cornerselling.targetSellIcon"), action = function() sellDrug(data.item, data.amount, data.price, targ) Cornersell() @@ -136,8 +175,8 @@ local function Cornersell() end, }, { - label = ps.lang('Cornerselling.targetDeny'), - icon = "fa-solid fa-person-harassing", + label = Bridge.Language.Locale('Cornerselling.targetDeny'), + icon = Bridge.Language.Locale("Cornerselling.targetDenyIcon"), action = function() deny(targ) walkAway(targ) @@ -150,24 +189,39 @@ local function Cornersell() end } }) + targets[#targets+1] = targ end end RegisterNetEvent('md-drugs:client:cornerselling', function() + if inZone then + Bridge.Notify.SendNotify(Bridge.Language.Locale('Cornerselling.inNoSellZone'), 'error') + return + end if sell then sell = false - ps.hideText() - ps.notify(ps.lang('Cornerselling.stopped'), 'error') + Bridge.HelpText.HideHelpText() + Bridge.Notify.SendNotify(Bridge.Language.Locale('Cornerselling.stopped'), 'error') else sell = true - ps.notify(ps.lang('Cornerselling.start'), 'success') + Bridge.Notify.SendNotify(Bridge.Language.Locale('Cornerselling.start'), 'success') Cornersell() end end) CreateThread(function() - for k, v in pairs (QBConfig.NoSellZones) do - local box = ps.zones.box({ coords = v.loc, size = vec3(v.width, v.length, v.height), rotation = 180.0, debug = false, - onEnter = function() inZone = true end, onExit = function() inZone = false end}) + for k, v in pairs (Config.Cornerselling.noSellZones) do + Bridge.Point.Register( + 'MDDRUGNOSELLZONE'..k, + v.loc, + ((v.width or 10.0) + (v.length or 10.0)) / 2, + nil, + function() + inZone = true + end, + function(point, data) + inZone = false + end + ) end -end) \ No newline at end of file +end) diff --git a/client/crack.lua b/client/crack.lua index b0e185e..6f21162 100644 --- a/client/crack.lua +++ b/client/crack.lua @@ -1,20 +1,17 @@ -local locations = ps.callback('md-drugs:server:GetCrackLocations') +local locations = Config.Crack.Locations for k, v in pairs (locations.makecrack) do - ps.boxTarget('makeCrack'..k, v.loc, {length = v.l, width = v.w, height = 1.0, rotation = v.rot}, { + Bridge.Target.AddBoxZone('makeCrack'..k, v.loc, v.size, v.loc.w or 180.0, { { - label = ps.lang('crack.targetMake'), - icon = 'fa-solid fa-temperature-high', + label = Bridge.Language.Locale('crack.targetMake'), + icon = Bridge.Language.Locale('crack.makeIcon'), action = function() - if not ps.hasItem('bakingsoda') then - ps.notify(ps.lang('Catches.itemMissings', ps.getLabel('bakingsoda')), 'error') - return - end + if not itemCheck('bakingsoda') then return end if not minigame() then TriggerServerEvent("md-drugs:server:failcrackone", k) return end - if not ps.progressbar(ps.lang('crack.cook'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('crack.cook')) then return end TriggerServerEvent('md-drugs:server:makecrackone', k) end, canInteract = function() @@ -23,19 +20,17 @@ for k, v in pairs (locations.makecrack) do end } }) + targets[#targets+1] = 'makeCrack'..k end for k, v in pairs (locations.bagcrack) do - ps.boxTarget('bagCrack'..k, v.loc, {length = v.l, width = v.w, height = 1.0, rotation = v.rot}, { + Bridge.Target.AddBoxZone('bagCrack'..k, v.loc, v.size, v.loc.w or 180.0, { { - label = ps.lang('crack.targetBag'), - icon = 'fa-solid fa-weight-scale', + label = Bridge.Language.Locale('crack.targetBag'), + icon = Bridge.Language.Locale('crack.bagIcon'), action = function() - if not ps.hasItem('empty_weed_bag') then - ps.notify(ps.lang('Catches.itemMissings', ps.getLabel('empty_weed_bag')), 'error') - return - end - if not ps.progressbar(ps.lang('crack.bag'), 4000, 'uncuff') then return end + if not itemCheck('empty_weed_bag') then return end + if not progressbar(Bridge.Language.Locale('crack.bag')) then return end TriggerServerEvent("md-drugs:server:bagcrack", k) end, canInteract = function() @@ -44,4 +39,5 @@ for k, v in pairs (locations.bagcrack) do end } }) + targets[#targets+1] = 'bagCrack'..k end \ No newline at end of file diff --git a/client/deliveries.lua b/client/deliveries.lua index d9a062c..f1d10c8 100644 --- a/client/deliveries.lua +++ b/client/deliveries.lua @@ -1,79 +1,83 @@ -local isActive = false +if not Config.Drugs['deliveries'] then return end local dealer = {} +local buyer = nil + +repeat Wait(100) until GlobalState.MDDrugDealers ~= nil local function SpawnDealer() - local getDealers = ps.callback('md-drugs:server:getDealers') - for k,v in pairs(getDealers) do - local Ped = "g_m_y_famdnf_01" - ps.requestModel(Ped, 30000) - local loc = json.decode(v.coords) - dealer[k] = CreatePed(0, Ped,loc.x,loc.y, loc.z-1, loc.h, false, false) - Freeze(dealer[k], true, loc.h) - ps.entityTarget(dealer[k], { + if #dealer >= 1 then + for k,v in pairs (dealer) do + DeletePed(v) + end + dealer = {} + end + for k,v in pairs(GlobalState.MDDrugDealers) do + requestModel(v.model) + dealer[k] = CreatePed(0, v.model, v.coords.x, v.coords.y, v.coords.z-1, v.coords.w, false, false) + Freeze(dealer[k], true, v.coords.w) + Bridge.Target.AddLocalEntity(dealer[k], { { - icon = 'fas fa-user-secret', - label = ps.lang('Deliveries.targetGetDel'), + icon = Bridge.Language.Locale('Deliveries.targetGetDelIcon'), + label = Bridge.Language.Locale('Deliveries.targetGetDel'), action = function() - local data = ps.callback('md-drugs:server:GetDeliveryItem', k) - if type(data) == 'table' and data.coords then - TriggerEvent('md-drugs:client:setLocation', data) - end + TriggerServerEvent('md-drugs:server:requestDelivery', k) end, }, { - icon = "fa-solid fa-store", - label = ps.lang('Deliveries.targetOpenShop'), + icon = Bridge.Language.Locale('Deliveries.targetOpenShopIcon'), + label = Bridge.Language.Locale('Deliveries.targetOpenShop'), action = function() local rep = GetRep() - local items = ps.callback('md-drugs:server:dealerList') local options = {} - for m, d in pairs (items) do + for m, d in pairs (Config.Deliveries.Recipes) do if rep.dealerrep >= d.minrep then options[#options+1] = { - title = ps.getLabel(d.name), + title = Bridge.Inventory.GetItemInfo(d.name).label, description = '$' .. d.price, - icon = ps.getImage(d.name), - action = function() - TriggerServerEvent('md-drugs:server:buyItemDealer', m) + icon = Bridge.Inventory.GetItemInfo(d.name).image, + onSelect = function() + TriggerServerEvent('md-drugs:server:buyItemDealer', m, k) end, } end end - ps.menu(ps.lang('Deliveries.shopHeader'), ps.lang('Deliveries.shopHeader'), options) + Bridge.Menu.Open({ + id = 'DealerMenu', + title = Bridge.Language.Locale('Deliveries.shopHeader'), + description = Bridge.Language.Locale('Deliveries.shopHeader'), + options = options + }) end, } }) end end +SpawnDealer() + RegisterNetEvent('md-drugs:client:RefreshDealers', function() SpawnDealer() end) -SpawnDealer() - RegisterNetEvent('md-drugs:client:setLocation', function(data) - local coord = json.decode(data.coords) + if buyer then + DeletePed(buyer) + end + local coord = data.coords SetNewWaypoint(coord.x, coord.y) - if isActive then return end - isActive = true - local Buyer = CreatePed(0, "g_m_y_famdnf_01",coord.x, coord.y, coord.z-1, coord.w, false, false) - Freeze(Buyer, true, coord.w) - ps.entityTarget(Buyer, { + requestModel("g_m_y_famdnf_01") + buyer = CreatePed(0, "g_m_y_famdnf_01",coord.x, coord.y, coord.z-1, coord.w, false, false) + Freeze(buyer, true, coord.w) + Bridge.Target.AddLocalEntity(buyer , { { - icon = 'fas fa-user-secret', - label = ps.lang('Deliveries.targetHandOff'), + icon = Bridge.Language.Locale('Deliveries.targetHandOffIcon'), + label = Bridge.Language.Locale('Deliveries.targetHandOff'), action = function() - if not ps.progressbar(ps.lang('Deliveries.delivering'), 4000, 'uncuff') then return end - isActive = false - DeletePed(Buyer) - TriggerServerEvent('md-drugs:server:giveDeliveryItems', data.item, data.amount) + if not progressbar(Bridge.Language.Locale('Deliveries.delivering')) then return end + TriggerServerEvent('md-drugs:server:giveDeliveryItems') + Wait(400) + DeletePed(buyer) end, - canInteract = function() - if isActive then - return true - end - end } }) -end) +end) \ No newline at end of file diff --git a/client/functions.lua b/client/functions.lua index 54cd052..4d0beee 100644 --- a/client/functions.lua +++ b/client/functions.lua @@ -1,6 +1,19 @@ local minigametype = Config.minigametype -local dispatch = Config.Dispatch + +function requestModel(ped, timeout) + timeout = timeout or 15000 + local startTime = GetGameTimer() + RequestModel(ped) + while not HasModelLoaded(ped) do + Wait(0) + if GetGameTimer() - startTime > timeout then + Bridge.Prints.Debug('requestModel timed out', ped, GetGameTimer() - startTime) + return false + end + end + return true +end function minigame() local time = 0 @@ -83,46 +96,26 @@ function minigame() end function GetRep() - local rep = ps.callback('md-drugs:server:GetRep') + local rep = Bridge.Callback.Trigger('md-drugs:server:GetRep') return rep end function PoliceCall(chance) local math = math.random(1,100) if math <= chance then - if dispatch == 'ps' then - exports['ps-dispatch']:DrugSale() - elseif dispatch == 'cd' then - local data = exports['cd_dispatch']:GetPlayerInfo() - TriggerServerEvent('cd_dispatch:AddNotification', { - job_table = {'police', }, - coords = data.coords, - title = '420-69 Drug Sale', - message = 'A '..data.sex..' robbing a store at '..data.street, - flash = 0, - unique_id = data.unique_id, - sound = 1, - blip = { sprite = 431, scale = 1.2, colour = 3, flashes = false, text = '420-69 Drug Sale', time = 5, radius = 0,} - }) - elseif dispatch == 'core' then - exports['core_dispatch']:addCall("420-69", "Drugs Are Being Sold", { - {icon="fa-ruler", info="4.5 MILES"}, - }, {GetEntityCoords(PlayerPedId())}, "police", 3000, 11, 5 ) - elseif dispatch == 'aty' then - exports["aty_dispatch"]:SendDispatch('Drug Sale', '420-69', 40, {'police'}) - elseif dispatch == 'qs' then - exports['qs-dispatch']:DrugSale() - elseif dispatch == 'codem' then - local Data = { - type = 'Drug Sale', - header = 'Someone Selling Drugs', - text = 'Hurry up and save the community', - code = '420-69', - } - exports['codem-dispatch']:CustomDispatch(Data) - else - print('Congrats, You Choose 0 of the options :)') - end + Bridge.Dispatch.SendAlert({ + message = Bridge.Language.Locale('Dispatch.header'), + code = Bridge.Language.Locale('Dispatch.code'), + coords = GetEntityCoords(PlayerPedId()), + jobs = {"police"}, + blipData = { + sprite = 161, + color = 1, + scale = 1.0 + }, + time = 300000, + icon = Bridge.Language.Locale('Dispatch.icon') + }) else return end @@ -130,8 +123,8 @@ end function GetCops(number) if number == 0 then return true end - local amount = ps.callback('md-drugs:server:GetCoppers') - if amount >= number then return true else ps.notify('You Need '.. number - amount .. ' More Cops To Do This', 'error') end + local amount = Bridge.Callback.Trigger('md-drugs:server:GetCoppers') + if amount >= number then return true else Bridge.Notify.SendNotify(string.format(Bridge.Language.Locale('Catches.YouNeedMoreCops'), number - amount), 'error') end end function Freeze(entity, toggle, head) @@ -142,18 +135,55 @@ function Freeze(entity, toggle, head) SetBlockingOfNonTemporaryEvents(entity, toggle) end +local function RotationToDirection(rotation) + local adjustedRotation = { + x = (math.pi / 180) * rotation.x, + y = (math.pi / 180) * rotation.y, + z = (math.pi / 180) * rotation.z + } + local direction = { + x = -math.sin(adjustedRotation.z) * math.abs(math.cos(adjustedRotation.x)), + y = math.cos(adjustedRotation.z) * math.abs(math.cos(adjustedRotation.x)), + z = math.sin(adjustedRotation.x) + } + return direction +end + +local function RayCastGamePlayCamera(distance) + local currentRenderingCam = false + if not IsGameplayCamRendering() then + currentRenderingCam = GetRenderingCam() + end + + local cameraRotation = not currentRenderingCam and GetGameplayCamRot() or GetCamRot(currentRenderingCam, 2) + local cameraCoord = not currentRenderingCam and GetGameplayCamCoord() or GetCamCoord(currentRenderingCam) + local direction = RotationToDirection(cameraRotation) + local destination = { + x = cameraCoord.x + direction.x * distance, + y = cameraCoord.y + direction.y * distance, + z = cameraCoord.z + direction.z * distance + } + local _, hit, endCoords, surfaceNormal, entityHit = GetShapeTestResult(StartShapeTestRay(cameraCoord.x, cameraCoord.y, cameraCoord.z, destination.x, destination.y, destination.z, -1, PlayerPedId(), 0)) + return _, hit, endCoords, surfaceNormal, entityHit +end + +local function ray() + local _, hit, endCoords, surfaceNormal, entityHit = RayCastGamePlayCamera(1000.0) + return hit, endCoords, surfaceNormal, entityHit +end + local created = false local heading = 180.0 function StartRay() local run = true local pedcoord = GetEntityCoords(PlayerPedId()) - ps.requestModel('v_ret_ml_tablea', 30000) + requestModel('v_ret_ml_tablea', 30000) local table = CreateObject('v_ret_ml_tablea', pedcoord.x, pedcoord.y, pedcoord.z+1, heading, false, false) repeat - local hit, endCoords, surfaceNormal, entityHit = ps.raycast() + local hit, endCoords, surfaceNormal, entityHit = ray() if not created then created = true - ps.drawText([[[E] To Place + Bridge.HelpText.ShowHelpText([[[E] To Place [DEL] To Cancel [<-] To Move Left [->] To Move Right]]) @@ -170,7 +200,7 @@ function StartRay() heading = heading + 2 end if IsControlPressed(0, 38) then - ps.hideText() + Bridge.HelpText.HideHelpText() run = false DeleteObject(table) created = false @@ -178,7 +208,7 @@ function StartRay() end if IsControlPressed(0, 178) then - ps.hideText() + Bridge.HelpText.HideHelpText() run = false created = false DeleteObject(table) @@ -191,13 +221,13 @@ end function StartRay2() local run = true local pedcoord = GetEntityCoords(PlayerPedId()) - ps.requestModel('bkr_prop_coke_press_01aa', 30000) + requestModel('bkr_prop_coke_press_01aa', 30000) local table = CreateObject('bkr_prop_coke_press_01aa', pedcoord.x, pedcoord.y, pedcoord.z+1, heading, false, false) repeat - local hit, endCoords, surfaceNormal, entityHit = ps.raycast() + local hit, endCoords, surfaceNormal, entityHit = ray() if not created then created = true - ps.drawText([[[E] To Place + Bridge.HelpText.ShowHelpText([[[E] To Place [DEL] To Cancel [<-] To Move Left [->] To Move Right]]) @@ -214,7 +244,7 @@ function StartRay2() heading = heading + 2 end if IsControlPressed(0, 38) then - ps.hideText() + Bridge.HelpText.HideHelpText() run = false DeleteObject(table) created = false @@ -222,7 +252,7 @@ function StartRay2() end if IsControlPressed(0, 178) then - ps.hideText() + Bridge.HelpText.HideHelpText() run = false created = false DeleteObject(table) @@ -232,25 +262,121 @@ function StartRay2() until run == false end -ps.registerCallback('md-drugs:client:uncuff', function(data) - if not ps.progressbar(data, 4000, 'uncuff') then return end +Bridge.Callback.Register('md-drugs:client:uncuff', function(data) + if not progressbar(data) then return end return true end) RegisterCommand('DrugRep', function() if not Config.TierSystem then return end - local rep = ps.callback('md-drugs:server:GetRep', false) - ps.menu('Drug Rep', 'Drug Rep', { - {icon = "fa-solid fa-face-flushed", title = 'Cocaine: '..rep.coke}, - {icon = "fa-solid fa-syringe", title = 'Heroin: '..rep.heroin}, - {icon = "fa-solid fa-vial", title = 'LSD: '..rep.lsd}, - {icon = "fa-solid fa-plug", title = 'Dealer: '..rep.dealerrep}, - {icon = "fa-solid fa-money-bill", title = 'Corner Selling: ' .. rep.cornerselling.rep, description = 'Rank: ' .. rep.cornerselling.label } + local rep = GetRep() + Bridge.Menu.Open({ + id = 'drugrep', + title = Bridge.Language.Locale('DrugRep.header'), + description = Bridge.Language.Locale('DrugRep.increased'), + options = { + {icon = Bridge.Language.Locale('DrugRep.coke.icon'), title = Bridge.Language.Locale('DrugRep.coke.title', rep.coke)}, + {icon = Bridge.Language.Locale('DrugRep.heroin.icon'), title = Bridge.Language.Locale('DrugRep.heroin.title', rep.heroin)}, + {icon = Bridge.Language.Locale('DrugRep.lsd.icon'), title = Bridge.Language.Locale('DrugRep.lsd.title', rep.lsd)}, + {icon = Bridge.Language.Locale('DrugRep.dealerrep.icon'), title = Bridge.Language.Locale('DrugRep.dealerrep.title', rep.dealerrep)}, + {icon = Bridge.Language.Locale('DrugRep.cornerselling.icon'), title = Bridge.Language.Locale('DrugRep.cornerselling.title', rep.cornerselling.rep), description = Bridge.Language.Locale('DrugRep.cornerselling.description', rep.cornerselling.label) } + } }) end, false) -function handleGang(gang) - if gang == nil or gang == '' or gang == "" then return true end - if ps.getGangName() == gang or gang == 1 then return true end - return false -end \ No newline at end of file +if Bridge.Framework.GetResourceName() == 'es_extended' then + function handleGang(gang) + return true + end +else + function handleGang(gang) + if not gang then + return true + end + if #gang == 0 then + return true + end + local data = Bridge.Framework.GetPlayerData() + if not data.gang then + return false + end + return data.gang.name == gang + end +end + +if Config.Emotes == 'scully' then + function playEmote(emote) + exports.scully_emotemenu:playEmoteByCommand(emote, 0) + end + function stopEmote() + exports.scully_emotemenu:cancelEmote() + end +end + +if Config.Emotes == 'dpemotes' then + function playEmote(emote) + TriggerEvent('animations:client:EmoteCommandStart', {emote}) + end + function stopEmote() + TriggerEvent('animations:client:EmoteCommandStart', {"c"}) + end +end + +if Config.Emotes == 'rpemotes' then + function playEmote(emote) + exports["rpemotes"]:EmoteCommandStart(emote, 0) + end + function stopEmote() + exports["rpemotes"]:EmoteCancel() + end +end + +local animation = nil + +function progressbar(text, time, emote, cancel) + local animData + if type(emote) == 'string' then + playEmote(emote) + animation = emote + elseif type(emote) == 'table' then + animData = emote + if emote.prop and not emote.prop.model then + emote.prop = nil + end + end + local success = Bridge.ProgressBar.Open({ + duration = time or 5000, + label = text or 'LAZY AF DEVS', + canCancel = true, + disable = cancel or Config.ProgressBar.Disables, + anim = animData, + prop = animData and animData.prop or nil + }) + if animation then + animation = nil + stopEmote() + end + return success +end + +function itemCheck(item) + if not Bridge.Inventory.HasItem(item) then + Bridge.Notify.SendNotify(Bridge.Language.Locale('Catches.itemMissings', Bridge.Inventory.GetItemInfo(item).label), 'error') + return false + end + return true +end + +AddEventHandler('onResourceStop', function(resourceName) + if GetCurrentResourceName() ~= resourceName then return end + for k, v in pairs (targets) do + if type(v) == 'number' then + Bridge.Target.RemoveLocalEntity(v) + if DoesEntityExist(v) then + DeleteEntity(v) + end + else + Bridge.Target.RemoveZone(v) + end + end +end) \ No newline at end of file diff --git a/client/heroin.lua b/client/heroin.lua index fd0b503..5e8648f 100644 --- a/client/heroin.lua +++ b/client/heroin.lua @@ -1,32 +1,30 @@ - +if not Config.Drugs['heroin'] then return end local herointable = false local dirty = false -local locations = ps.callback('md-drugs:server:GetHeroinLocations') + +local locations = Config.Heroin.Locations local function createLabKit(coord, head) local heroinlabkit = CreateObject("v_ret_ml_tablea", coord.x, coord.y, coord.z - 1, true, false,false) SetEntityHeading(heroinlabkit, head) PlaceObjectOnGroundProperly(heroinlabkit) - ps.entityTarget(heroinlabkit, { + Bridge.Target.AddLocalEntity(heroinlabkit, { { - icon = "fa-solid fa-temperature-high", - label = ps.lang('heroin.targetCook'), + icon = Bridge.Language.Locale('heroin.cookIcon'), + label = Bridge.Language.Locale('heroin.targetCook'), action = function() - if not ps.hasItem('emptyvial') then - ps.notify(ps.lang('Catches.itemMissings', ps.getLabel('emptyvial')), 'error') - return - end + if not itemCheck('emptyvial') then return end if not minigame() then dirty = true TriggerServerEvent("md-drugs:server:failheatingheroin") - ps.requestPTFX("core") - local heroinkit = StartParticleFxLoopedOnEntity("exp_air_molotov", heroinlabkit, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, false, false, false) + local coords = GetEntityCoords(heroinlabkit) + AddExplosion(coords.x, coords.y, coords.z-1.0, 34, 0.0, true, false, true) SetParticleFxLoopedAlpha(heroinkit, 3.0) SetPedToRagdoll(PlayerPedId(), 1300, 1300, 0, 0, 0, 0) - return end - - if not ps.progressbar(ps.lang('heroin.pbCook'), 4000, 'uncuff') then return end + return + end + if not progressbar(Bridge.Language.Locale('heroin.pbCook')) then return end TriggerServerEvent("md-drugs:server:heatliquidheroin") end, canInteract = function() @@ -34,10 +32,10 @@ local function createLabKit(coord, head) end }, { - icon = "fas fa-box-circle-check", - label = ps.lang('heroin.targetPickup'), + icon = Bridge.Language.Locale('heroin.targetPickupIcon'), + label = Bridge.Language.Locale('heroin.targetPickup'), action = function() - if not ps.progressbar(ps.lang('heroin.pbPickup'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('heroin.pbPickup')) then return end herointable = false DeleteObject(heroinlabkit) TriggerServerEvent("md-drugs:server:getheroinlabkitback") @@ -48,15 +46,12 @@ local function createLabKit(coord, head) end }, { - icon = "fa-solid fa-hand-sparkles", - label = ps.lang('heroin.targetClean'), + icon = Bridge.Language.Locale('heroin.targetCleanIcon'), + label = Bridge.Language.Locale('heroin.targetClean'), action = function() - if not ps.hasItem('cleaningkit') then - ps.notify(ps.lang('Catches.itemMissings', ps.getLabel('cleaningkit')), 'error') - return - end - if not ps.progressbar(ps.lang('heroin.pbClean'), 4000, 'clean') then return end - local done = ps.callback('removeCleaningkit', false) + if not itemCheck('cleaningkit') then return end + if not progressbar(Bridge.Language.Locale('heroin.pbClean'), 4000, 'clean') then return end + local done = Bridge.Callback.Trigger('md-drugs:server:removeCleaningKitHeroin', false) if done then dirty = false end end, canInteract = function() @@ -64,15 +59,16 @@ local function createLabKit(coord, head) return false end }}) + targets[#targets+1] = heroinlabkit end for k, v in pairs (locations.dryplant) do - ps.boxTarget('dryHeroin'..k, v.loc, {length = v.l, width = v.w, height = 1.0, rotation = v.rot}, { + Bridge.Target.AddBoxZone('dryHeroin'..k, v.loc, v.size, v.loc.w or 180.0, { { - label = ps.lang('heroin.targetDry'), - icon = 'fa-solid fa-temperature-high', + label = Bridge.Language.Locale('heroin.targetDry'), + icon = Bridge.Language.Locale('heroin.dryIcon'), action = function() - if not ps.progressbar(ps.lang('heroin.pbDry'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('heroin.pbDry')) then return end TriggerServerEvent("md-drugs:server:dryplant", k) end, canInteract = function() @@ -80,19 +76,17 @@ for k, v in pairs (locations.dryplant) do end } }) + targets[#targets+1] = 'dryHeroin'..k end for k, v in pairs (locations.cutheroinone) do - ps.boxTarget('cutHeroin'..k, v.loc, {length = v.l, width = v.w, height = 1.0, rotation = v.rot}, { + Bridge.Target.AddBoxZone('cutHeroin'..k, v.loc, v.size, v.loc.w or 180.0, { { - label = ps.lang('heroin.targetCutHeroin'), - icon = 'fa-solid fa-seedling', + label = Bridge.Language.Locale('heroin.targetCutHeroin'), + icon = Bridge.Language.Locale('heroin.cutIcon'), action = function() - if not ps.hasItem('bakingsoda') then - ps.notify(ps.lang('Catches.itemMissings', ps.getLabel('bakingsoda')), 'error') - return - end - if not ps.progressbar(ps.lang('heroin.pbCutHeroin'), 4000, 'uncuff') then return end + if not itemCheck('bakingsoda') then return end + if not progressbar(Bridge.Language.Locale('heroin.pbCutHeroin')) then return end TriggerServerEvent("md-drugs:server:cutheroin", k) end, canInteract = function() @@ -100,20 +94,22 @@ for k, v in pairs (locations.cutheroinone) do end } }) + targets[#targets+1] = 'cutHeroin'..k end + local peds = {} for k, v in pairs (locations.buyKit) do - ps.requestModel(v.ped, 1000) + requestModel(v.ped, 1000) peds[k] = CreatePed(4, v.ped, v.loc.x, v.loc.y, v.loc.z, v.loc.w, false, false) Freeze(peds[k], true, v.loc.w) SetBlockingOfNonTemporaryEvents(peds[k], true) SetEntityInvincible(peds[k], true) - ps.entityTarget(peds[k], { + Bridge.Target.AddLocalEntity(peds[k], { { - label = ps.lang('heroin.targetBuyKit'), - icon = 'fa-solid fa-box-open', + label = Bridge.Language.Locale('heroin.targetBuyKit'), + icon = Bridge.Language.Locale('heroin.buyIcon'), action = function() - if not ps.progressbar(ps.lang('heroin.pbBuyKit'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('heroin.pbBuyKit')) then return end TriggerServerEvent("md-drugs:server:getheroinlabkit", k) end, canInteract = function() @@ -122,31 +118,32 @@ for k, v in pairs (locations.buyKit) do end } }) + targets[#targets+1] = peds[k] end -ps.registerCallback("md-drugs:client:setheroinlabkit", function() +Bridge.Callback.Register("md-drugs:client:setheroinlabkit", function() if herointable then - ps.notify(ps.lang('heroin.tableout'), 'error') + Bridge.Notify.SendNotify(Bridge.Language.Locale('heroin.tableout'), 'error') return false else herointable = true local location, head = StartRay() if not location then herointable = false return end - if not ps.progressbar(ps.lang('heroin.placing'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('heroin.placing')) then return end createLabKit(location, head) return true, location end end) for k, v in pairs (locations.fillneedle) do - ps.boxTarget('fillNeedle'..k, v.loc, {length = v.l, width = v.w, height = 1.0, rotation = v.rot}, { + Bridge.Target.AddBoxZone('fillNeedle'..k, v.loc, v.size, v.loc.w or 180.0, { { - label = ps.lang('heroin.targetFill'), - icon = 'fa-solid fa-syringe', + label = Bridge.Language.Locale('heroin.targetFill'), + icon = Bridge.Language.Locale('heroin.fillNeedleIcon'), action = function() if not minigame() then TriggerServerEvent("md-drugs:server:failheroin", k) return end - if not ps.progressbar(ps.lang('heroin.pbFill'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('heroin.pbFill')) then return end TriggerServerEvent("md-drugs:server:fillneedle", k) end, canInteract = function() @@ -154,4 +151,5 @@ for k, v in pairs (locations.fillneedle) do end } }) + targets[#targets+1] = 'fillNeedle'..k end \ No newline at end of file diff --git a/client/lean.lua b/client/lean.lua index 8747d3c..b31063d 100644 --- a/client/lean.lua +++ b/client/lean.lua @@ -1,61 +1,68 @@ - +if not Config.Drugs['lean'] then return end local started = false -local hit = 0 -local location = ps.callback('md-drugs:server:GetLeanLocs') +local leanCar = nil -local function SpawnCarPedChase() +local location = Config.Lean.Locations + +local function SpawnCarPedChase(loc) local stoploc = vector3(-1157.63, -3056.71, 13.94) local start = location.StartLoc[math.random(1,#location.StartLoc)] - if started then ps.notify(ps.lang('lean.alreadyChasing'), 'error') return end + if started then Bridge.Notify.SendNotify(Bridge.Language.Locale('lean.alreadyChasing'), 'error') return end started = true - ps.callback('md-drugs:server:RegisterLean') - ps.requestModel("pounder", 30000) - ps.requestModel("ig_priest", 30000) - ps.requestModel("cargobob3", 30000) + requestModel("pounder", 30000) + requestModel("ig_priest", 30000) + requestModel("cargobob3", 30000) - local leancar = CreateVehicle("pounder", start.x+3, start.y-2, start.z-1, 52.0, true, false) + leanCar = CreateVehicle("pounder", start.x+3, start.y-2, start.z-1, 52.0, true, false) local driver = CreatePed(26, "ig_priest", start.x, start.y, start.z, 268.9422, false, false) local pilot2 = CreatePed(26, "ig_priest", stoploc.x-3, stoploc.y-3, stoploc.z-1, 268.9422, false, false) + local can = Bridge.Callback.Trigger('md-drugs:server:registerLean', loc, NetworkGetNetworkIdFromEntity(leanCar)) + if not can then + Bridge.Notify.SendNotify(Bridge.Language.Locale('lean.cantStart'), 'error') + DeleteVehicle(leanCar) + DeleteEntity(driver) + DeleteEntity(pilot2) + started = false + return + end + Bridge.Notify.SendNotify(Bridge.Language.Locale('lean.chaseStarted'), 'success') + SetPedIntoVehicle(pilot2, leanCar, 1) + FreezeEntityPosition(driver, true) FreezeEntityPosition(pilot2, true) SetEntityInvincible(pilot2, true) - SetEntityAsMissionEntity(leancar) - AddBlipForEntity(leancar) - SetPedIntoVehicle(driver, leancar, -1) + SetEntityAsMissionEntity(leanCar) + AddBlipForEntity(leanCar) + SetPedIntoVehicle(driver, leanCar, -1) SetPedFleeAttributes(driver,false) - TaskVehicleDriveToCoordLongrange(driver, leancar, stoploc.x, stoploc.y, stoploc.z-1, 50.0, 524288, 25.0) + TaskVehicleDriveToCoordLongrange(driver, leanCar, stoploc.x, stoploc.y, stoploc.z-1, 50.0, 524288, 25.0) SetPedKeepTask(driver, true) repeat Wait(1000) until #(GetEntityCoords(driver) - stoploc) < 20.0 or GetEntityHealth(driver) == 0 - RemoveBlip(leancar) + RemoveBlip(leanCar) if GetEntityHealth(driver) == 0 then - ps.entityTarget(leancar, { + Bridge.Target.AddLocalEntity(leanCar, { { name = 'leancar', - icon = 'fa-solid fa-car', - label = ps.lang('lean.stealFromTruck'), + icon = Bridge.Language.Locale('lean.carIcon'), + label = Bridge.Language.Locale('lean.stealFromTruck'), action = function() - hit = hit + 1 if not minigame() then return end TriggerServerEvent('md-drugs:server:givelean') started = false - if math.random(1,100) <= 30 or hit == 4 then - hit = 0 - DeleteVehicle(leancar) DeleteEntity(driver) DeleteEntity(pilot2) - end end } }) + targets[#targets+1] = leanCar else - DeleteVehicle(leancar) DeleteEntity(driver) DeleteEntity(pilot2) end @@ -63,15 +70,15 @@ end local leanPeds = {} for k, v in pairs (location.SyrupVendor) do - ps.requestModel(v.ped) + requestModel(v.ped) leanPeds[k] = CreatePed(0, v.ped, v.loc.x, v.loc.y, v.loc.z, false, false) Freeze(leanPeds[k], true, v.loc.w) - ps.entityTarget(leanPeds[k], { + Bridge.Target.AddLocalEntity(leanPeds[k], { { - icon = "fa-solid fa-hand-holding-medical", - label = ps.lang('lean.startMission'), + icon = Bridge.Language.Locale('lean.startMissionIcon'), + label = Bridge.Language.Locale('lean.startMission'), action = function() - SpawnCarPedChase() + SpawnCarPedChase(k) end, canInteract = function() if not handleGang(v.gang) then return false end @@ -79,4 +86,45 @@ for k, v in pairs (location.SyrupVendor) do end }, }) -end \ No newline at end of file + targets[#targets+1] = leanPeds[k] +end + +local function concat(tbl) + local str = "" + for k, v in pairs (tbl) do + str = str .. v.item .. " X " .. v.amount .. " \n " + end + return str +end + +local function getDisabled(recipe) + for k, v in pairs (recipe.ingredients) do + local count = Bridge.Inventory.GetItemCount(v.item) + if count < v.amount then + return true + end + end + return false +end + +RegisterNetEvent("md-drugs:client:makeLean", function() + local menu = {} + for k, v in pairs (Config.Lean.Recipes) do + menu[#menu+1] = { + title = Bridge.Inventory.GetItemInfo(v.item).label, + description = concat(v.ingredients), + icon = Bridge.Inventory.GetItemInfo(v.item).image, + disabled = getDisabled(v), + onSelect = function() + if not progressbar(Bridge.Language.Locale('lean.makingLean')) then return end + TriggerServerEvent('md-drugs:server:makeLean', k) + end, + } + end + Bridge.Menu.Open({ + id = 'makeLeanMenu', + title = Bridge.Language.Locale('lean.makeLeanMenuTitle'), + description = Bridge.Language.Locale('lean.makeLeanMenuDesc'), + options = menu + }) +end) \ No newline at end of file diff --git a/client/lsd.lua b/client/lsd.lua index f759566..6642c53 100644 --- a/client/lsd.lua +++ b/client/lsd.lua @@ -1,18 +1,10 @@ +if not Config.Drugs['lsd'] then return end local tableout = false local dirtylsd = false -local locations = ps.callback('md-drugs:server:GetLSDLocations') - -local function loadParticle(dict) - if not HasNamedPtfxAssetLoaded(dict) then - RequestNamedPtfxAsset(dict) - end - while not HasNamedPtfxAssetLoaded(dict) do - Wait(0) - end - SetPtfxAssetNextCall(dict) -end +local locations = Config.LSD.Locations local function createLabKit(coord, head) + requestModel("v_ret_ml_tablea") local labkit = CreateObject("v_ret_ml_tablea", coord.x, coord.y, coord.z - 1, true, false) SetEntityHeading(labkit, head) PlaceObjectOnGroundProperly(labkit) @@ -20,18 +12,17 @@ local function createLabKit(coord, head) tableout = true local options = { { - icon = "fa-solid fa-temperature-high", - label = ps.lang('lsd.targetHeat'), + icon = Bridge.Language.Locale('lsd.targetHeatIcon'), + label = Bridge.Language.Locale('lsd.targetHeat'), action = function() - local dict = "scr_ie_svm_technical2" if not minigame() then + local coords = GetEntityCoords(labkit) + AddExplosion(coords.x, coords.y, coords.z-1.0, 34, 0.0, true, false, true) dirtylsd = true - loadParticle(dict) - local exitPtfx = StartParticleFxLoopedOnEntity("scr_dst_cocaine", labkit, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.5, false, false, false) - SetParticleFxLoopedAlpha(exitPtfx, 3.0) + TriggerServerEvent("md-drugs:server:failheating") return end - if not ps.progressbar(ps.lang('lsd.heating'), 7000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('lsd.heating'), 7000) then return end TriggerServerEvent("md-drugs:server:heatliquid") end, canInteract = function() @@ -39,15 +30,12 @@ local function createLabKit(coord, head) end }, { - icon = "fa-solid fa-temperature-high", - label = ps.lang('lsd.targetRefine'), + icon = Bridge.Language.Locale('lsd.targetRefineIcon'), + label = Bridge.Language.Locale('lsd.targetRefine'), action = function() - if not ps.hasItem('lsd_one_vial') then - ps.notify(ps.lang('Catches.itemNeeded', ps.getLabel('lsd_one_vial')), 'error') - return - end + if not itemCheck('lsd_one_vial') then return end if not minigame() then TriggerServerEvent("md-drugs:server:failrefinequality") return end - if not ps.progressbar(ps.lang('lsd.refining'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('lsd.refining')) then return end TriggerServerEvent("md-drugs:server:refinequalityacid") end, canInteract = function() @@ -55,15 +43,12 @@ local function createLabKit(coord, head) end }, { - icon = "fa-regular fa-note-sticky", - label = ps.lang('lsd.targetDipping'), + icon = Bridge.Language.Locale('lsd.targetDippingIcon'), + label = Bridge.Language.Locale('lsd.targetDipping'), action = function() - if not ps.hasItem('tab_paper') then - ps.notify(ps.lang('Catches.itemNeeded', ps.getLabel('tab_paper')), 'error') - return - end + if not itemCheck('tab_paper') then return end if not minigame() then TriggerServerEvent("md-drugs:server:failtabs") return end - if not ps.progressbar(ps.lang('lsd.dipping'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('lsd.dipping')) then return end TriggerServerEvent("md-drugs:server:maketabpaper") end, canInteract = function() @@ -71,11 +56,10 @@ local function createLabKit(coord, head) end }, { - event = "md-drugs:client:getlabkitback", - icon = "fas fa-box-circle-check", - label = ps.lang('lsd.targetPickup'), + icon = Bridge.Language.Locale('lsd.targetPickupIcon'), + label = Bridge.Language.Locale('lsd.targetPickup'), action = function() - if not ps.progressbar(ps.lang('lsd.packup'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('lsd.packup')) then return end DeleteObject(labkit) TriggerServerEvent('md-drugs:server:getlabkitback') tableout = false @@ -85,15 +69,12 @@ local function createLabKit(coord, head) end }, { - icon = "fa-solid fa-hand-sparkles", - label = ps.lang('lsd.targetClean'), + icon = Bridge.Language.Locale('lsd.targetCleanIcon'), + label = Bridge.Language.Locale('lsd.targetClean'), action = function() - if not ps.hasItem('cleaningkit') then - ps.notify(ps.lang('Catches.itemNeeded', ps.getLabel('cleaningkit')), 'error') - return - end - if not ps.progressbar(ps.lang('lsd.cleaning'), 4000, 'clean') then return end - local check = ps.callback('md-drugs:server:removecleaningkit') + if not itemCheck('cleaningkit') then return end + if not progressbar(Bridge.Language.Locale('lsd.cleaning'), 4000, 'clean') then return end + local check = Bridge.Callback.Trigger('md-drugs:server:removecleaningkit') if check then dirtylsd = false end @@ -101,17 +82,18 @@ local function createLabKit(coord, head) canInteract = function() if dirtylsd then return true end end } } - ps.entityTarget(labkit, options) + Bridge.Target.AddLocalEntity(labkit, options) + targets[#targets+1] = labkit end for k, v in pairs (locations.lysergicacid) do - ps.boxTarget('lysergicacid'..k, v.loc, {length = v.l, width = v.w, height = 1.0, rotation = v.rot}, { + Bridge.Target.AddBoxZone('lysergicacid'..k,v.loc, v.size, v.loc.w or 180.0, { { - label = ps.lang('lsd.targetLys'), - icon = 'fa-solid fa-temperature-high', + label = Bridge.Language.Locale('lsd.targetLys'), + icon = Bridge.Language.Locale('lsd.targetLysIcon'), action = function() if not minigame() then TriggerServerEvent("md-drugs:server:faillysergic") return end - if not ps.progressbar(ps.lang('lsd.stealLys'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('lsd.stealLys')) then return end TriggerServerEvent("md-drugs:server:getlysergic", k) end, canInteract = function() @@ -120,16 +102,17 @@ for k, v in pairs (locations.lysergicacid) do end } }) + targets[#targets+1] = 'lysergicacid'..k end for k, v in pairs (locations.diethylamide) do - ps.boxTarget('diethylamide'..k, v.loc, {length = v.l, width = v.w, height = 1.0, rotation = v.rot}, { + Bridge.Target.AddBoxZone('diethylamide'..k, v.loc, v.size, v.loc.w or 180.0, { { - label = ps.lang('lsd.targetDie'), - icon = 'fa-solid fa-temperature-high', + label = Bridge.Language.Locale('lsd.targetDie'), + icon = Bridge.Language.Locale('lsd.targetDieIcon'), action = function() if not minigame() then TriggerServerEvent("md-drugs:server:faildiethylamide") return end - if not ps.progressbar(ps.lang('lsd.stealDie'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('lsd.stealDie')) then return end TriggerServerEvent("md-drugs:server:getdiethylamide", k) end, canInteract = function() @@ -138,13 +121,14 @@ for k, v in pairs (locations.diethylamide) do end } }) + targets[#targets+1] = 'diethylamide'..k end for k, v in pairs (locations.gettabs) do - ps.boxTarget('gettabs'..k, v.loc, {length = v.l, width = v.w, height = 1.0, rotation = v.rot}, { + Bridge.Target.AddBoxZone('gettabs'..k, v.loc, v.size, v.loc.w or 180.0, { { - label = ps.lang('lsd.targetBuyTab'), - icon = 'fa-solid fa-hand-holding-dollar', + label = Bridge.Language.Locale('lsd.targetBuyTab'), + icon = Bridge.Language.Locale('lsd.targetBuyTabIcon'), action = function() TriggerServerEvent("md-drugs:server:gettabpaper", k) end, @@ -154,22 +138,24 @@ for k, v in pairs (locations.gettabs) do end } }) + targets[#targets+1] = 'gettabs'..k end + local seller = {} for k, v in pairs (locations.buyLSDkit) do - ps.requestModel(v.ped, 1000) + requestModel(v.ped, 1000) seller[k] = CreatePed(4, v.ped, v.loc.x, v.loc.y, v.loc.z, v.loc.w, false, false) Freeze(seller[k], true, v.loc.w) - ps.entityTarget(seller[k], { + Bridge.Target.AddLocalEntity(seller[k], { { - label = ps.lang('lsd.targetBuyKit'), - icon = 'fa-solid fa-hand-holding-dollar', + label = Bridge.Language.Locale('lsd.targetBuyKit'), + icon = Bridge.Language.Locale('lsd.targetBuyKitIcon'), action = function() - if ps.hasItem('lsdlabkit') then - ps.notify(ps.lang('lsd.alreadyOwn'), 'error') + if Bridge.Inventory.HasItem('lsdlabkit') then + Bridge.Notify.SendNotify(Bridge.Language.Locale('lsd.alreadyOwn'), 'error') return end - if not ps.progressbar(ps.lang('lsd.buyingKit'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('lsd.buyingKit')) then return end TriggerServerEvent('md-drugs:server:getlabkit', k) end, canInteract = function() @@ -178,17 +164,18 @@ for k, v in pairs (locations.buyLSDkit) do end } }) + targets[#targets+1] = seller[k] end -ps.registerCallback("md-drugs:client:setlsdlabkit", function() +Bridge.Callback.Register("md-drugs:client:setlsdlabkit", function() if tableout then - ps.notify(ps.lang('lsd.tableout'), 'error') + Bridge.Notify.SendNotify(Bridge.Language.Locale('lsd.tableout'), 'error') return false else tableout = true local loc, head = StartRay() if not loc then tableout = false return end - if not ps.progressbar(ps.lang('lsd.placing'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('lsd.placing')) then return end createLabKit(loc, head) return true, loc end diff --git a/client/mescaline.lua b/client/mescaline.lua index 5f5838e..ccee0b4 100644 --- a/client/mescaline.lua +++ b/client/mescaline.lua @@ -1,28 +1,27 @@ -local locations = ps.callback('md-drugs:server:GetMescalineLocs') -local badTrip = 20 +if not Config.Drugs['mescaline'] then return end +local badTrip = 100 +local locations = Config.Mescaline.Locations local function AlienEffect() + CreateThread(function() StartScreenEffect("DrugsMichaelAliensFightIn", 3.0, 0) - Wait(math.random(5000, 8000)) StartScreenEffect("DrugsMichaelAliensFight", 3.0, 0) - Wait(math.random(5000, 8000)) + Wait(math.random(25000, 35000)) StartScreenEffect("DrugsMichaelAliensFightOut", 3.0, 0) StopScreenEffect("DrugsMichaelAliensFightIn") StopScreenEffect("DrugsMichaelAliensFight") StopScreenEffect("DrugsMichaelAliensFightOut") + end) end for k, v in pairs (locations.DryOutMescaline) do - ps.boxTarget('dryoutMesc'..k, v.loc, {length = v.l, width = v.w, height = 1.0, rotation = v.rot}, { + Bridge.Target.AddBoxZone('dryoutMesc'..k, v.loc, v.size, v.loc.w or 180.0,{ { - label = ps.lang('mesc.targetDry'), + label = Bridge.Language.Locale('mesc.targetDry'), icon = 'fa-solid fa-temperature-high', action = function() - if not ps.hasItem('cactusbulb') then - ps.notify(ps.lang('Catches.itemNeeded', ps.getLabel('cactusbulb')), 'error') - return - end - if not ps.progressbar(ps.lang('mescaline.dry'), 4000, 'uncuff') then return end + if not itemCheck('cactusbulb') then return end + if not progressbar(Bridge.Language.Locale('mesc.dry')) then return end TriggerServerEvent("md-drugs:server:drymescaline", k) end, canInteract = function() @@ -31,16 +30,18 @@ for k, v in pairs (locations.DryOutMescaline) do end } }) + targets[#targets+1] = 'dryoutMesc'..k end RegisterNetEvent("md-drugs:client:takemescaline", function() local chance, chance2 = math.random(1,100), math.random(1,100) local weapon = '' if chance2 == 100 then weapon = 'weapon_rpg' else weapon = 'weapon_flaregun' end - if not ps.progressbar(ps.lang('mescaline.eat'), 4000, 'uncuff') then return end - if chance <= badTrip then + if not progressbar(Bridge.Language.Locale('mesc.eat')) then return end + if chance <= badTrip then AlienEffect() - local clone = ClonePed(PlayerPedId(), false, false, true) + Wait(math.random(3000,6000)) + local clone = ClonePed(PlayerPedId(), true, true, true) SetEntityAsMissionEntity(clone) SetPedFleeAttributes(clone, false) GiveWeaponToPed(clone, weapon, 1, false, true) diff --git a/client/meth.lua b/client/meth.lua index 0c42144..e9238e9 100644 --- a/client/meth.lua +++ b/client/meth.lua @@ -1,37 +1,37 @@ -local amonia = false -local tray = false -local heated = false -local active = false -local trays = nil - -local locations = ps.callback('md-drugs:server:GetMethLocs') +if not Config.Drugs['meth'] then return end +local amonia, tray, heated, active, trays, startedmeth, methVan = false, false, false, false, nil, false, nil +local locations = Config.Meth.Locations --- meth heist -local startedmeth = false -local function SpawnMethCarPedChase() + +local function SpawnMethCarPedChase(loc) local stoploc = vector3(-1157.63, -3056.71, 13.94) local start = locations.StartLoc[math.random(1,#locations.StartLoc)] if startedmeth then - ps.notify(ps.lang('meth.alreadyChasing'),'error') + Bridge.Notify.SendNotify(Bridge.Language.Locale('meth.alreadyChasing'),'error') else startedmeth = true - ps.callback('md-drugs:server:registerMeth') - - ps.requestModel("journey", 30000) - ps.requestModel("a_m_m_hillbilly_02", 30000) - ps.requestModel("cargobob3", 30000) - - local methcar = CreateVehicle("journey", start.x+3, start.y-2, start.z-1, 52.0, true, false) + requestModel("journey", 30000) + requestModel("a_m_m_hillbilly_02", 30000) + requestModel("cargobob3", 30000) + methVan = CreateVehicle("journey", start.x+3, start.y-2, start.z-1, 52.0, true, false) local methdriver = CreatePed(26, "a_m_m_hillbilly_02", start.x, start.y, start.z, 268.9422, false, false) local methpilot = CreatePed(26, "a_m_m_hillbilly_02", stoploc.x-3, stoploc.y-3, stoploc.z-1, 268.9422, false, false) - + local can = Bridge.Callback.Trigger('md-drugs:server:registerMeth', loc, NetworkGetNetworkIdFromEntity(methVan)) + if not can then + startedmeth = false + DeleteVehicle(methVan) + DeleteEntity(methdriver) + DeleteEntity(methpilot) + return + end FreezeEntityPosition(methpilot, true) SetEntityInvincible(methpilot, true) - SetEntityAsMissionEntity(methcar) - AddBlipForEntity(methcar) - SetPedIntoVehicle(methdriver, methcar, -1) + SetEntityAsMissionEntity(methVan) + AddBlipForEntity(methVan) + SetPedIntoVehicle(methdriver, methVan, -1) SetPedFleeAttributes(methdriver,false) - TaskVehicleDriveToCoordLongrange(methdriver, methcar, stoploc.x, stoploc.y, stoploc.z-1, 50.0, 524288, 25.0) + TaskVehicleDriveToCoordLongrange(methdriver, methVan, stoploc.x, stoploc.y, stoploc.z-1, 50.0, 524288, 25.0) SetPedKeepTask(methdriver, true) repeat @@ -39,25 +39,22 @@ local function SpawnMethCarPedChase() until #(GetEntityCoords(methdriver) - stoploc) < 20.0 or GetEntityHealth(methdriver) == 0 if GetEntityHealth(methdriver) == 0 then - ps.entityTarget(methcar, { + Bridge.Target.AddLocalEntity(methVan, { { name = 'methcar', - icon = 'fa-solid fa-car', - label = ps.lang('meth.targetStealFromCar'), + icon = Bridge.Language.Locale('meth.targetStealFromCarIcon'), + label = Bridge.Language.Locale('meth.targetStealFromCar'), action = function() if not minigame() then return end - TriggerServerEvent('md-drugs:server:givemethingridients') + TriggerServerEvent('md-drugs:server:givemethingridients', NetworkGetNetworkIdFromEntity(methVan)) startedmeth = false - if math.random(1,100) <= 30 then - DeleteVehicle(methcar) - DeleteEntity(methdriver) - DeleteEntity(methpilot) - end + DeleteEntity(methdriver) + DeleteEntity(methpilot) end, } }) else - DeleteVehicle(methcar) + DeleteVehicle(methVan) DeleteEntity(methdriver) DeleteEntity(methpilot) end @@ -68,20 +65,23 @@ local peds = {} for k, v in pairs (locations.MethHeist) do peds[k] = CreatePed(4, GetHashKey(v.ped), v.loc.x, v.loc.y, v.loc.z, v.loc.w, false, true) Freeze(peds[k], true, v.loc.w) - ps.entityTarget(peds[k], { + Bridge.Target.AddLocalEntity(peds[k], { { - name = 'methheist'..k, - icon = 'fa-solid fa-user-secret', - label = ps.lang('meth.targetHeist'), + icon = Bridge.Language.Locale('meth.targetHeistIcon'), + label = Bridge.Language.Locale('meth.targetHeist'), action = function() - if startedmeth then ps.notify(ps.lang('meth.alreadyChasing'),'error') return end - SpawnMethCarPedChase() + if startedmeth then + Bridge.Notify.SendNotify(Bridge.Language.Locale('meth.alreadyChasing'),'error') + return + end + SpawnMethCarPedChase(k) end, canInteract = function() return handleGang(v.gang) end } }) + targets[#targets+1] = peds[k] end ---- start animation shit @@ -94,21 +94,23 @@ local function loadParticle(dict) end SetPtfxAssetNextCall(dict) end + local function dialSuccess(coords) - ps.requestModel('hei_prop_heist_thermite', 2000) + requestModel('hei_prop_heist_thermite', 2000) loadParticle('scr_ornate_heist') - local thermite = CreateObject('hei_prop_heist_thermite', vector3(1006.09, -3201.29, -39.30), true, false, false) + local thermite = CreateObject('hei_prop_heist_thermite', coords.x - 0.5, coords.y - 0.5, coords.z -0.5, true, false, false) FreezeEntityPosition(thermite, true) - SetEntityRotation(thermite, 190.0, 90.0, 140.0, 3, true ) + SetEntityVisible(thermite, false) Wait(1000) local therm = StartParticleFxLoopedOnEntity('scr_heist_ornate_thermal_burn', thermite, 0.0, 1.4, 0.0, 0.0, 0.0, 0.0, 1.5, false, false, false) Wait(math.random(10000, 20000)) StopParticleFxLooped(therm, true) + DeleteObject(thermite) end local function MethCooking(coords, offset, rotation) local animDict, animName = "anim@amb@business@meth@meth_monitoring_cooking@cooking@", "chemical_pour_short_cooker" - ps.requestAnim(animDict, 500) + Bridge.Anim.RequestDict(animDict) SetEntityCoords(PlayerPedId(), coords) local targetPosition = GetEntityCoords(PlayerPedId()) local animDuration = GetAnimDuration(animDict, animName) * 800 @@ -131,7 +133,7 @@ end local function SmashMeth(coords, offset, rotation) local ver = "" local animDict, animName = "anim@amb@business@meth@meth_smash_weight_check@", "break_weigh_"..ver.."char02" - ps.requestAnim(animDict, 500) + Bridge.Anim.RequestDict(animDict, 500) local ped = PlayerPedId() local targetPosition = coords SetEntityCoords(ped, targetPosition) @@ -166,7 +168,7 @@ end local function BagMeth(coords, offset, rotation) local ver = "" local animDict, animName = "anim@amb@business@meth@meth_smash_weight_check@", "break_weigh_"..ver.."char01" - ps.requestAnim(animDict, 500) + Bridge.Anim.RequestDict(animDict, 500) local animDuration = GetAnimDuration(animDict, animName) * 1000 local ped = PlayerPedId() SetEntityCoords(ped, coords) @@ -235,13 +237,13 @@ end local function startcook(num, coords, offset, rotation) if not amonia then - local adding = ps.callback('md-drugs:server:startcook', num) + local adding = Bridge.Callback.Trigger('md-drugs:server:startcook', num) if not adding then return end active = true MethCooking(coords, offset, rotation) amonia = true else - ps.notify(ps.lang('meth.started'), "error") + Bridge.Notify.SendNotify(Bridge.Language.Locale('meth.started'), "error") end end @@ -252,8 +254,9 @@ local function dials(coords) AddExplosion(coords.x, coords.y,coords.z, 49, 10, true, false, true) amonia = false active = false - return end - ps.notify(ps.lang('meth.increaseHeat'), "success") + return + end + Bridge.Notify.SendNotify(Bridge.Language.Locale('meth.increaseHeat'), "success") dialSuccess(coords) heated = true end @@ -267,11 +270,11 @@ local function smash(coords, offset, rotation, buckets, k) Freeze(bucket, true, buckets.w) SmashMeth(coords, offset, rotation) Wait(100) - ps.entityTarget(bucket, { + Bridge.Target.AddLocalEntity(bucket, { { name = 'bucket', - icon = "fa-solid fa-sack-xmark", - label = ps.lang('meth.targetBag'), + icon = Bridge.Language.Locale('meth.targetBagIcon'), + label = Bridge.Language.Locale('meth.targetBag'), action = function() DeleteObject(bucket) active = false @@ -287,34 +290,29 @@ local function smash(coords, offset, rotation, buckets, k) end, } }) + targets[#targets+1] = bucket end end local function trayscarry() if amonia and heated then local pos = GetEntityCoords(PlayerPedId(), true) - ps.requestAnim('anim@heists@box_carry@') + Bridge.Anim.RequestDict('anim@heists@box_carry@') TaskPlayAnim(PlayerPedId(), 'anim@heists@box_carry@', 'idle', 5.0, -1, -1, 50, 0, false, false, false) - ps.requestModel('bkr_prop_meth_tray_02a') + requestModel('bkr_prop_meth_tray_02a') trays = CreateObject("bkr_prop_meth_tray_02a", pos.x, pos.y, pos.z, true, true, true) AttachEntityToEntity(trays, PlayerPedId(), GetPedBoneIndex(PlayerPedId(), 28422), 0.01, -0.2,-0.2, 20.0, 0.0, 0.0, true, true, false, true, 1, true) tray = true end end -CreateThread(function() - BikerMethLab = exports['bob74_ipl']:GetBikerMethLabObject() - BikerMethLab.Style.Set(BikerMethLab.Style.upgrade) - BikerMethLab.Security.Set(BikerMethLab.Security.upgrade) - BikerMethLab.Details.Enable(BikerMethLab.Details.production, true) - RefreshInterior(BikerMethLab.interiorId) -end) + for k, v in pairs (locations.CookMeth) do - ps.boxTarget('cookMeth'..k, v.loc, {length = v.l, width = v.w, rotation = v.rot, height = 1.0},{ + Bridge.Target.AddBoxZone('cookMeth'..k, v.loc, v.size, v.loc.w or 180.0, { { - label = ps.lang('meth.targetCook'), - icon = 'fa-solid fa-temperature-high', + label = Bridge.Language.Locale('meth.targetCook'), + icon = Bridge.Language.Locale('meth.targetCookIcon'), action = function() startcook(k, v.loc, v.offset or vec3(0,0,0), v.rotation or vector3(0,0,180.0)) end, @@ -326,8 +324,8 @@ for k, v in pairs (locations.CookMeth) do end, }, { - icon = "fas fa-sign-in-alt", - label = ps.lang('meth.targetGrabTray'), + icon = Bridge.Language.Locale('meth.targetGrabTrayIcon'), + label = Bridge.Language.Locale('meth.targetGrabTray'), action = function() trayscarry() end, canInteract = function() if not handleGang(v.gang) then return false end @@ -337,14 +335,15 @@ for k, v in pairs (locations.CookMeth) do end, }, }) + targets[#targets+1] = 'cookMeth'..k end for k, v in pairs (locations.MethDials) do - ps.boxTarget('adjustMethDials'..k, v.loc, {length = v.l, width = v.w, rotation = v.rot, height = 1.0},{ + Bridge.Target.AddBoxZone('adjustMethDials'..k, v.loc, v.size, v.loc.w or 180.0, { { name = 'adjustdials', - icon = "fa-solid fa-temperature-three-quarters", - label = ps.lang('meth.targetHeat'), + icon = Bridge.Language.Locale('meth.targetHeatIcon'), + label = Bridge.Language.Locale('meth.targetHeat'), action = function() dials(locations.CookMeth[k].loc) end, @@ -354,14 +353,15 @@ for k, v in pairs (locations.MethDials) do end } }) + targets[#targets+1] = 'adjustMethDials'..k end for k, v in pairs (locations.MethSmash) do - ps.boxTarget('smashMeth'..k, v.loc, {length = v.l, width = v.w, rotation = v.rot, height = 1.0},{ + Bridge.Target.AddBoxZone('smashMeth'..k, v.loc, v.size, v.loc.w or 180.0, { { name = 'smash', - icon = "fa-solid fa-weight-scale", - label = ps.lang('meth.targetSmash'), + icon = Bridge.Language.Locale('meth.targetSmashIcon'), + label = Bridge.Language.Locale('meth.targetSmash'), action = function() smash(v.loc, v.offset, v.rotation, v.bucket,k) end, @@ -371,13 +371,14 @@ for k, v in pairs (locations.MethSmash) do end } }) + targets[#targets+1] = 'smashMeth'..k end for k, v in pairs (locations.MethTele) do - ps.boxTarget('meth_tele'..k, v.inside, {length = v.l, width = v.w, heading = v.rot}, { + Bridge.Target.AddBoxZone('meth_tele'..k, v.inside, v.size, v.rot, { { - icon = 'fa-solid fa-door-open', - label = ps.lang('coke.teleOut'), + icon = Bridge.Language.Locale('meth.teleOutIcon'), + label = Bridge.Language.Locale('meth.teleOut'), action = function() SetEntityCoords(PlayerPedId(), v.outside) end, @@ -386,10 +387,10 @@ for k, v in pairs (locations.MethTele) do end } }) - ps.boxTarget('meth_teleout'..k, v.outside, {length = v.l, width = v.w, heading = v.rot}, { + Bridge.Target.AddBoxZone('meth_teleout'..k, v.outside, v.size, v.rot, { { - icon = 'fa-solid fa-door-closed', - label = ps.lang('coke.teleIn'), + icon = Bridge.Language.Locale('meth.teleInIcon'), + label = Bridge.Language.Locale('meth.teleIn'), action = function() SetEntityCoords(PlayerPedId(), v.inside) end, @@ -398,6 +399,8 @@ for k, v in pairs (locations.MethTele) do end } }) + targets[#targets+1] = 'meth_tele'..k + targets[#targets+1] = 'meth_teleout'..k end RegisterCommand('offset', function() @@ -408,12 +411,12 @@ RegisterCommand('offset', function() end) for k, v in pairs (locations.MethEph) do - ps.boxTarget('stealMethEph'..k, v.loc, {length = v.l, width = v.w, rotation = v.rot, height = 1.0},{ + Bridge.Target.AddBoxZone('stealMethEph'..k, v.loc, v.size, v.loc.w or 180.0, { { - label = ps.lang('meth.targetStealEPH'), - icon = 'fa-solid fa-bucket', + label = Bridge.Language.Locale('meth.targetStealEPH'), + icon = Bridge.Language.Locale('meth.targetStealEPHIcon'), action = function() - if not ps.progressbar(ps.lang('meth.stealingEPH'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('meth.stealingEPH')) then return end TriggerServerEvent("md-drugs:server:geteph", k) end, canInteract = function() @@ -421,14 +424,15 @@ for k, v in pairs (locations.MethEph) do end } }) + targets[#targets+1] = 'stealMethEph'..k end for k, v in pairs (locations.MethAce) do - ps.boxTarget('stealMethAce'..k, v.loc, {length = v.l, width = v.w, rotation = v.rot, height = 1.0},{ + Bridge.Target.AddBoxZone('stealMethAce'..k, v.loc, v.size, v.loc.w or 180.0, { { - label = ps.lang('meth.targetStealACE'), - icon = 'fa-solid fa-bucket', + label = Bridge.Language.Locale('meth.targetStealACE'), + icon = Bridge.Language.Locale('meth.targetStealACEIcon'), action = function() - if not ps.progressbar(ps.lang('meth.stealingACE'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('meth.stealingACE')) then return end TriggerServerEvent("md-drugs:server:getace", k) end, canInteract = function() @@ -436,6 +440,13 @@ for k, v in pairs (locations.MethAce) do end } }) - + targets[#targets+1] = 'stealMethAce'..k end +CreateThread(function() + BikerMethLab = exports['bob74_ipl']:GetBikerMethLabObject() + BikerMethLab.Style.Set(BikerMethLab.Style.upgrade) + BikerMethLab.Security.Set(BikerMethLab.Security.upgrade) + BikerMethLab.Details.Enable(BikerMethLab.Details.production, true) + RefreshInterior(BikerMethLab.interiorId) +end) \ No newline at end of file diff --git a/client/oxyruns.lua b/client/oxyruns.lua index 294f41c..c4006dc 100644 --- a/client/oxyruns.lua +++ b/client/oxyruns.lua @@ -1,18 +1,20 @@ +if not Config.Drugs['oxyruns'] then return end local carryPackage = nil local onMission = false -local locations = ps.callback('md-drugs:server:GetOxyLocs') +local locations = Config.Oxy.Locations local pdAlert = 90 +local vehicle = nil local function getRoute() - local Route = ps.callback('md-drugs:server:getRoute') + local Route = Bridge.Callback.Trigger('md-drugs:server:getRoute') if not Route then - ps.notify(ps.lang('oxy.ditchCar'), "error") + Bridge.Notify.SendNotify(Bridge.Language.Locale('oxy.ditchCar'), "error") onMission = false return false end - + local Route = locations.oxylocations[Route] SetNewWaypoint(Route.x, Route.y) - ps.requestModel('g_m_y_famdnf_01', 30000) + requestModel('g_m_y_famdnf_01', 30000) local oxybuyer = CreatePed(0, 'g_m_y_famdnf_01',Route.x,Route.y,Route.z-1, Route.w, false, false) Freeze(oxybuyer, true, Route.w) local timeOut = 300 @@ -23,13 +25,13 @@ local function getRoute() until #(GetEntityCoords(PlayerPedId()) - vector3(Route.x,Route.y,Route.z)) < 5.0 or timeOut == 0 PoliceCall(pdAlert) - ps.entityTarget(oxybuyer,{ + Bridge.Target.AddLocalEntity(oxybuyer,{ { - label = ps.lang('oxy.targetHandoff'), - icon = "fa-solid fa-dollar-sign", + label = Bridge.Language.Locale('oxy.targetHandoff'), + icon = Bridge.Language.Locale('oxy.targetHandOffIcon'), action = function() if carryPackage then - if not ps.progressbar(ps.lang('oxy.handingoff'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('oxy.handingoff')) then return end TriggerServerEvent("md-drugs:server:giveoxybox") DeleteEntity(oxybuyer) DetachEntity(carryPackage, true, true) @@ -37,47 +39,44 @@ local function getRoute() carryPackage = nil getRoute() else - ps.notify(ps.lang('oxy.emptyHands'), "error") + Bridge.Notify.SendNotify(Bridge.Language.Locale('oxy.emptyHands'), "error") end end } }) + targets[#targets+1] = oxybuyer end for k, v in pairs(locations.OxyPayForTruck) do - ps.boxTarget('oxyTruckPur' ..k , v.loc, {length = v.l, width = v.w, heading = v.rot}, { + Bridge.Target.AddBoxZone('oxyTruckPur' ..k , v.loc, v.size, v.loc.w or 180.0, { { - icon = 'fa-solid fa-truck-fast', - label = ps.lang('oxy.targetPay'), + icon = Bridge.Language.Locale('oxy.targetPayIcon'), + label = Bridge.Language.Locale('oxy.targetPay'), action = function() - ps.requestModel("burrito3", 30000) + requestModel("burrito3", 30000) - local paid = ps.callback('md-drugs:server:payfortruck', false) + local paid = Bridge.Callback.Trigger('md-drugs:server:payfortruck', k) if not paid then return end - local oxycar = CreateVehicle("burrito3",v.truckSpawn.x, v.truckSpawn.y, v.truckSpawn.z, v.truckSpawn.w, true, false) - - if Config.Fuel == "ox_fuel" then - Entity(oxycar).state.fuel = 100.0 - else - exports[Config.Fuel]:SetFuel(oxycar, 100.0) - end - TriggerEvent("vehiclekeys:client:SetOwner", GetVehicleNumberPlateText(oxycar)) - ps.notify(ps.lang('oxy.keys'), 'success') + vehicle = CreateVehicle("burrito3",v.truckSpawn.x, v.truckSpawn.y, v.truckSpawn.z, v.truckSpawn.w, true, false) + SetVehicleFuelLevel(vehicle, 100.0) + local plate = GetVehicleNumberPlateText(vehicle) + Bridge.VehicleKey.GiveKeys(vehicle, plate) + Bridge.Notify.SendNotify(Bridge.Language.Locale('oxy.keys'), 'success') onMission = true - getRoute() - - ps.entityTarget(oxycar, { + TriggerServerEvent('md-drugs:server:startOxyRun', NetworkGetNetworkIdFromEntity(vehicle)) + + Bridge.Target.AddLocalEntity(vehicle, { { - icon = "fa-solid fa-box", - label = ps.lang('oxy.targetGetPackage'), + icon = Bridge.Language.Locale('oxy.targetGetPackageIcon'), + label = Bridge.Language.Locale('oxy.targetGetPackage'), action = function() if carryPackage then - ps.notify(ps.lang('oxy.alreadyCarrying'), "error") + Bridge.Notify.SendNotify(Bridge.Language.Locale('oxy.alreadyCarrying'), "error") else local pos = GetEntityCoords(PlayerPedId(), true) - ps.requestAnim('anim@heists@box_carry@') + Bridge.Anim.RequestDict('anim@heists@box_carry@') TaskPlayAnim(PlayerPedId(), 'anim@heists@box_carry@', 'idle', 5.0, -1, -1, 50, 0, false, false, false) - ps.requestModel("hei_prop_drug_statue_box_big") + requestModel("hei_prop_drug_statue_box_big") carryPackage = CreateObject("hei_prop_drug_statue_box_big", pos.x, pos.y, pos.z, true, true, true) AttachEntityToEntity(carryPackage, PlayerPedId(), GetPedBoneIndex(PlayerPedId(), 57005), 0.05, 0.1, -0.3, 300.0, 250.0, 20.0, true, true, false, true, 1, true) end @@ -87,6 +86,8 @@ for k, v in pairs(locations.OxyPayForTruck) do end } }) + Wait(1000) + getRoute() end, canInteract = function() if onMission then @@ -96,5 +97,5 @@ for k, v in pairs(locations.OxyPayForTruck) do end } }) - + targets[#targets+1] = 'oxyTruckPur' ..k end diff --git a/client/pharma.lua b/client/pharma.lua index aee3fad..f939217 100644 --- a/client/pharma.lua +++ b/client/pharma.lua @@ -1,29 +1,45 @@ -local locations = ps.callback('md-drugs:server:GetPharmaLocs') -ps.registerCallback("md-drugs:client:prescriptionpad", function(data, op) - if ps.getJobType() ~= 'ems' then return end - local input = ps.input(ps.lang('pharma.input.header'), { - {type = 'select', title = ps.lang('pharma.input.title1'), options = data}, - {type = 'select', title = ps.lang('pharma.input.title2'), options = op} +if not Config.Drugs['pharma'] then return end +local locations = Config.Pharma.Locations + +Bridge.Callback.Register("md-drugs:client:prescriptionpad", function( data, op) + local job = Bridge.Framework.GetPlayerJob() + if job ~= 'ambulance' then + Bridge.Notify.SendNotify(Bridge.Language.Locale('pharma.notPharma'), 'error') + return + end + local input = Bridge.Input.Open(Bridge.Language.Locale('pharma.input.header'), { + {type = 'select', title = Bridge.Language.Locale('pharma.input.title1'), options = data}, + {type = 'select', title = Bridge.Language.Locale('pharma.input.title2'), options = op} }) if not input[1] then return end - if not ps.progressbar(ps.lang('pharma.write'), 4000, 'notepad') then return end + if not progressbar(Bridge.Language.Locale('pharma.write'), 4000, { + dict = 'missheistdockssetup1clipboard@base', + clip = 'base', + flag = 49, + prop = { + model = 'prop_notepad_01', + bone = 18905, + pos = {0.1, 0.02, 0.03}, + rot = { -90.0, 0.0, 0.0} + } + }) then return end return {who = input[1], what = input[2]} end) -ps.registerCallback("md-drugs:client:unbottle", function() - if not ps.progressbar(ps.lang('pharma.opening'), 4000, 'uncuff') then return end +Bridge.Callback.Register("md-drugs:client:unbottle", function() + if not progressbar(Bridge.Language.Locale('pharma.opening')) then return end return true end) for k, v in pairs (locations.FillPrescription) do - ps.boxTarget('pharma' ..k , v.loc, {length = v.l, width = v.w, heading = v.rot}, { + Bridge.Target.AddBoxZone('pharma' ..k , v.loc,v.size, v.loc.w or 180, { { - icon = 'fa-solid fa-capsules', - label = ps.lang('pharma.targetFill'), + icon = Bridge.Language.Locale('pharma.fillIcon'), + label = Bridge.Language.Locale('pharma.targetFill'), action = function() - if not ps.progressbar(ps.lang('pharma.fill'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('pharma.fill')) then return end TriggerServerEvent("md-drugs:server:fillprescription", k) end, } diff --git a/client/plantSpawns.lua b/client/plantSpawns.lua index 5070a2f..c5b00d5 100644 --- a/client/plantSpawns.lua +++ b/client/plantSpawns.lua @@ -1,45 +1,50 @@ local DrugPlants = { - {model = 'prop_plant_01a', label = 'coke', langs = ps.lang('coke.targetPick'), tbl = GlobalState.CocaPlant, plantTbl = {}, + {model = 'prop_plant_01a', label = 'coke', langs = Bridge.Language.Locale('coke.targetPick'), tbl = GlobalState.CocaPlant, plantTbl = {}, pick = function(loc) - if not ps.progressbar(ps.lang('coke.picking'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('coke.picking')) then return end TriggerServerEvent("coke:pickupCane", loc) return true end, allow = Config.Drugs.cocaine, + icon = Bridge.Language.Locale('coke.pickIcon'), }, - {model = 'prop_plant_01b', label = 'heroin',langs = ps.lang('heroin.targetPick'), tbl = GlobalState.PoppyPlants, plantTbl = {}, + {model = 'prop_plant_01b', label = 'heroin',langs = Bridge.Language.Locale('heroin.targetPick'), tbl = GlobalState.PoppyPlants, plantTbl = {}, pick = function(loc) - if not ps.progressbar(ps.lang('heroin.picking'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('heroin.picking')) then return end TriggerServerEvent("heroin:pickupCane", loc) return true end, allow = Config.Drugs.heroin, + icon = Bridge.Language.Locale('heroin.pickIcon'), }, - {model = 'prop_cactus_03', label = 'Mescaline', langs = ps.lang('mesc.targetPick'), tbl = GlobalState.Mescaline, plantTbl = {}, + {model = 'prop_cactus_03', label = 'Mescaline', langs = Bridge.Language.Locale('mesc.targetPick'), tbl = GlobalState.Mescaline, plantTbl = {}, pick = function(loc) - if not ps.progressbar(ps.lang('mesc.picking'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('mesc.picking')) then return end TriggerServerEvent("Mescaline:pickupCane", loc) return true end, allow = Config.Drugs.mescaline, + icon = Bridge.Language.Locale('mesc.pickIcon'), }, - {model = 'prop_weed_01', label = 'weed', langs = ps.lang('weed.targetPick'), tbl = GlobalState.WeedPlant, plantTbl = {}, + {model = 'prop_weed_01', label = 'weed', langs = Bridge.Language.Locale('weed.targetPick'), tbl = GlobalState.WeedPlant, plantTbl = {}, pick = function(loc) - if not ps.progressbar(ps.lang('weed.picking'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('weed.picking')) then return end TriggerServerEvent("weed:pickupCane", loc) return true end, allow = Config.Drugs.weed, + icon = Bridge.Language.Locale('weed.pickIcon'), }, - {model = 'mushroom', label = 'shrooms', langs = ps.lang('shrooms.targetPick'), tbl = GlobalState.shrooms, plantTbl = {}, + {model = 'mushroom', label = 'shrooms', langs = Bridge.Language.Locale('shrooms.targetPick'), tbl = GlobalState.shrooms, plantTbl = {}, pick = function(loc) - if not ps.progressbar(ps.lang('shrooms.picking'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('shrooms.picking')) then return end TriggerServerEvent("shrooms:pickupCane", loc) return true end, allow = Config.Drugs.shrooms, + icon = Bridge.Language.Locale('shrooms.pickIcon'), }, } @@ -49,10 +54,10 @@ for k, v in pairs (DrugPlants) do local plant = v.tbl[loc] local hash = GetHashKey(plant.model) if not v.plantTbl[loc] then - ps.requestModel(hash) + requestModel(hash) v.plantTbl[loc] = CreateObject(hash, plant.location, false, true, true) Freeze(v.plantTbl[loc], true, plant.heading) - ps.entityTarget(v.plantTbl[loc], { + Bridge.Target.AddLocalEntity(v.plantTbl[loc], { { icon = v.icon, label = v.langs, @@ -61,6 +66,7 @@ for k, v in pairs (DrugPlants) do end } }) + targets[#targets+1] = v.plantTbl[loc] end end) @@ -76,7 +82,7 @@ for k, v in pairs (DrugPlants) do if not value.taken then v.plantTbl[key] = CreateObject(hash, value.location.x, value.location.y, value.location.z, false, true, true) Freeze(v.plantTbl[key], true, v.heading) - ps.entityTarget(v.plantTbl[key], { + Bridge.Target.AddLocalEntity(v.plantTbl[key], { { icon = v.icon, label = v.langs, @@ -85,22 +91,10 @@ for k, v in pairs (DrugPlants) do end } }) + targets[#targets+1] = v.plantTbl[key] end end end) TriggerEvent(v.label ..":init") ::continue:: - -end - -AddEventHandler('onResourceStop', function(resourceName) - if GetCurrentResourceName() == resourceName then - SetModelAsNoLongerNeeded(GetHashKey('prop_plant_01a')) - for k, v in pairs(DrugPlants) do - for key, plant in pairs(v.plantTbl) do - if DoesEntityExist(plant) then DeleteEntity(plant) end - v.plantTbl[key] = nil - end - end - end -end) \ No newline at end of file +end \ No newline at end of file diff --git a/client/shrooms.lua b/client/shrooms.lua index b05806d..29033ae 100644 --- a/client/shrooms.lua +++ b/client/shrooms.lua @@ -1,3 +1,5 @@ +if not Config.Drugs['shrooms'] then return end + local function EcstasyEffect() local startStamina = 50 SetFlash(0, 0, 500, 20000, 500) @@ -16,8 +18,12 @@ local function EcstasyEffect() startStamina = 0 end -ps.registerCallback("md-drugs:client:shrooms", function() - if not ps.progressbar(ps.lang('shrooms.eat'), 5000, 'eat') then return end +Bridge.Callback.Register("md-drugs:client:shrooms", function() + if not progressbar(Bridge.Language.Locale('shrooms.eat'), 5000, { + dict = 'mp_player_inteat@burger', + clip = 'mp_player_int_eat_burger', + flags = 49 + }) then return end CreateThread(function() EcstasyEffect() end) diff --git a/client/weed.lua b/client/weed.lua index 0500237..909b630 100644 --- a/client/weed.lua +++ b/client/weed.lua @@ -1,31 +1,29 @@ +if not Config.Drugs['weed'] then return end local exploded, drying = false, false -local locations = ps.callback('md-drugs:server:GetWeedLocs') +local locations, recipes = Config.Weed.Locations, Config.Weed.Recipes for k, v in pairs (locations.WeedDry) do - ps.boxTarget('weed_dry'..k, v.loc, {length = v.l, width = v.w, heading = v.rot}, { + Bridge.Target.AddBoxZone('weed_dry'..k, v.loc, v.size, v.loc.w or 180.0, { { - icon = 'fa-solid fa-cannabis', - label = ps.lang('weed.targetDry'), + icon = Bridge.Language.Locale('weed.targetDryIcon'), + label = Bridge.Language.Locale('weed.targetDry'), action = function() - if not ps.hasItem('wetcannabis', 1) then - ps.notify(ps.lang('weed.noDry'), "error") - return - end + if not itemCheck("wetcannabis") then return end if drying then return end local loc = GetEntityCoords(PlayerPedId()) local weedplant = CreateObject("bkr_prop_weed_drying_01a", loc.x, loc.y+.2, loc.z, true, false) drying = true FreezeEntityPosition(weedplant, true) - ps.notify(ps.lang('weed.wait'), "success") + Bridge.Notify.SendNotify(Bridge.Language.Locale('weed.wait'), "success") Wait(math.random(1000,5000)) - ps.notify(ps.lang('weed.take'), "success") - ps.entityTarget(weedplant, { + Bridge.Notify.SendNotify(Bridge.Language.Locale('weed.take'), "success") + Bridge.Target.AddLocalEntity(weedplant, { { - icon = "fa-solid fa-cannabis", - label = ps.lang('weed.targetDryed'), + icon = Bridge.Language.Locale('weed.targetDryIcon'), + label = Bridge.Language.Locale('weed.targetDryed'), action = function() DeleteEntity(weedplant) drying = false - TriggerServerEvent('md-drugs:server:dryoutweed') + TriggerServerEvent('md-drugs:server:dryoutweed', k) end, } }) @@ -36,27 +34,30 @@ for k, v in pairs (locations.WeedDry) do end } }) + targets[#targets+1] = 'weed_dry'..k end for k, v in pairs (locations.WeedTele) do - ps.boxTarget('weed_tele'..k, v.inside, {length = v.l, width = v.w, heading = v.rot}, { + Bridge.Target.AddBoxZone('weed_tele'..k, v.inside, v.size, v.rot or 180.0, { { - icon = 'fa-solid fa-door-open', - label = ps.lang('weed.teleportOut'), + icon = Bridge.Language.Locale('weed.teleportOutIcon'), + label = Bridge.Language.Locale('weed.teleportOut'), action = function() SetEntityCoords(PlayerPedId(), v.outside) end } }) - ps.boxTarget('weed_teleout'..k, v.outside, {length = v.l, width = v.w, heading = v.rot}, { + targets[#targets+1] = 'weed_tele'..k + Bridge.Target.AddBoxZone('weed_teleout'..k, v.outside, v.size, v.rot or 180.0, { { - icon = 'fa-solid fa-door-closed', - label = ps.lang('weed.teleportIn'), + icon = Bridge.Language.Locale('weed.teleportInIcon'), + label = Bridge.Language.Locale('weed.teleportIn'), action = function() SetEntityCoords(PlayerPedId(), v.inside) end } }) + targets[#targets+1] = 'weed_teleout'..k end CreateThread(function() @@ -83,88 +84,156 @@ local function AlienEffect() end RegisterNetEvent("md-drugs:client:dodabs", function() - if not ps.progressbar(ps.lang('weed.dabs'), 4000, 'bong2') then AlienEffect() return end + if not progressbar(Bridge.Language.Locale('weed.dabs'), 4000, 'bong2') then AlienEffect() return end end) local function createBluntOptions(contextId, contextTitle, eventLabelPrefix, tableName) local options = {} - local items = ps.callback('md-drugs:server:GetWeedRecipe', tableName) - for k, v in pairs(items) do + + for k, v in pairs(recipes[tableName]) do local label = {} local item = '' - for m, d in pairs(v.take) do table.insert(label, ps.getLabel(m) .. ' X ' .. d) end + for m, d in pairs(v.take) do table.insert(label, Bridge.Inventory.GetItemInfo(m).label .. ' X ' .. d .. ' \n ') end for m, d in pairs(v.give) do item = m end + local itemData = Bridge.Inventory.GetItemInfo(item) options[#options + 1] = { - icon = ps.getImage(item), - description = table.concat(label, ", "), - title = ps.getLabel(item), - action = function() + icon = itemData.image, + description = table.concat(label, " "), + title = itemData.label, + onSelect = function() if not minigame() then return end - if not ps.progressbar(eventLabelPrefix .. ps.getLabel(item), 4000, 'uncuff') then return end + if not progressbar(eventLabelPrefix .. itemData.label) then return end TriggerServerEvent('md-drugs:server:MakeWeedItems', {item = item, recipe = 'weed', num = k, table = tableName}) end } end - ps.sorter(options, 'title') - ps.menu(contextTitle, contextTitle, options) + Bridge.Menu.Open({ + id = contextId, + title = contextTitle, + options = options, + }) end RegisterNetEvent('md-drugs:client:makeBluntWrap', function(data) - createBluntOptions('mddrugsbluntwraps', "Dipping Syrup", ps.lang('weed.bluntWrap'), 'bluntwrap') + createBluntOptions('mddrugsbluntwraps', "Dipping Syrup", Bridge.Language.Locale('weed.bluntWrap'), 'bluntwrap') end) RegisterNetEvent('md-drugs:client:rollBlunt', function(data) - createBluntOptions('mddrugsblunts', "Roll Blunts", ps.lang('weed.blunts'), 'blunts') + createBluntOptions('mddrugsblunts', "Roll Blunts", Bridge.Language.Locale('weed.blunts'), 'blunts') end) for k, v in pairs (locations.WeedSalesman) do - ps.requestModel(v.ped) + requestModel(v.ped) local ped = CreatePed(4, v.ped, v.loc.x, v.loc.y, v.loc.z - 1.0, v.loc.w, false, true) FreezeEntityPosition(ped, true) SetEntityInvincible(ped, true) SetBlockingOfNonTemporaryEvents(ped, true) - ps.entityTarget(ped, { + Bridge.Target.AddLocalEntity(ped, { { - icon = "fa-solid fa-cannabis", - label = ps.lang('weed.targetSales'), + icon = Bridge.Language.Locale('weed.salesIcon'), + label = Bridge.Language.Locale('weed.targetSales'), action = function() - local itemList = ps.callback('md-drugs:server:getWeedItems') local options = {} - for m, d in pairs (itemList) do + for m, d in pairs (recipes.weedStore) do + local itemInfo = Bridge.Inventory.GetItemInfo(m) options[#options + 1] = { - icon = ps.getImage(m), - title = ps.getLabel(m), + icon = itemInfo.image, + title = itemInfo.label, description = '$' .. d, - action = function() - local input = ps.input('Amount To Buy',{ - {type = 'number', title = 'How Many To Buy', min = 1, max = 1000} + onSelect = function() + local input = Bridge.Input.Open(Bridge.Language.Locale('weed.salesHeader'),{ + {type = 'number', title = Bridge.Language.Locale('weed.salesDesc'), min = 1, max = 1000} }) if not input and input[1] then return end - if not ps.progressbar(ps.lang('weed.buying', ps.getLabel(m)), 2000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('weed.buying', Bridge.Inventory.GetItemInfo(m).label)) then return end TriggerServerEvent('md-drugs:server:buyWeedItem', k, m, input[1]) end } end - ps.menu('Weed Shop', 'Weed Shop', options) + Bridge.Menu.Open({ + id = 'weedDude', + title = Bridge.Language.Locale('weed.salessHeader'), + options = options, + }) end } }) + targets[#targets+1] = ped end + local props = {} for locationKey, locationData in pairs (locations.MakeButter) do if locationData.prop then - ps.requestModel(locationData.prop) + requestModel(locationData.prop) props[#props+1] = CreateObject(locationData.prop, locationData.loc.x, locationData.loc.y, locationData.loc.z - 1.0, false, false, false) FreezeEntityPosition(props[#props], true) SetEntityHeading(props[#props], locationData.loc.w) + Bridge.Target.AddLocalEntity(props[#props], { + { + icon = Bridge.Language.Locale('weed.cannabisIcon'), + label = Bridge.Language.Locale('weed.targetMakeButter'), + action = function() + local options = {} + for k, v in pairs (recipes.makeButter) do + local itemInfo = Bridge.Inventory.GetItemInfo(k) + local label = {} + for m, d in pairs(v.recipe) do table.insert(label, Bridge.Inventory.GetItemInfo(m).label .. ' X ' .. d .. ' \n ') end + options[#options + 1] = { + icon = itemInfo.image, + title = itemInfo.label, + description = table.concat(label, " "), + onSelect = function() + if not progressbar(Bridge.Language.Locale('weed.making', itemInfo.label)) then return end + TriggerServerEvent('md-drugs:server:MakeWeedItems', 'makeButter', k, locationKey) + end + } + end + Bridge.Menu.Open({ + id = 'weedMakeButter', + title = Bridge.Language.Locale('weed.makeButter'), + options = options, + }) + end + } + }) + targets[#targets+1] = props[#props] end end for locationKey, locationData in pairs (locations.MakeOil) do if locationData.prop then - ps.requestModel(locationData.prop) + requestModel(locationData.prop) props[#props+1] = CreateObject(locationData.prop, locationData.loc.x, locationData.loc.y, locationData.loc.z - 1.0, false, false, false) FreezeEntityPosition(props[#props], true) SetEntityHeading(props[#props], locationData.loc.w) + Bridge.Target.AddLocalEntity(props[#props], { + { + icon = Bridge.Language.Locale('weed.cannabisIcon'), + label = Bridge.Language.Locale('weed.targetMakeOil'), + action = function() + local options = {} + for k, v in pairs (recipes.makeOil) do + local itemInfo = Bridge.Inventory.GetItemInfo(k) + local label = {} + for m, d in pairs(v.recipe) do table.insert(label, Bridge.Inventory.GetItemInfo(m).label .. ' X ' .. d .. ' \n ') end + options[#options + 1] = { + icon = itemInfo.image, + title = itemInfo.label, + description = table.concat(label, " "), + onSelect = function() + if not progressbar(Bridge.Language.Locale('weed.making', itemInfo.label)) then return end + TriggerServerEvent('md-drugs:server:MakeWeedItems', 'makeOil', k, locationKey) + end + } + end + Bridge.Menu.Open({ + id = 'weedMakeOil', + title = Bridge.Language.Locale('weed.makeOil'), + options = options, + }) + end + } + }) + targets[#targets+1] = props[#props] end end \ No newline at end of file diff --git a/client/whippit.lua b/client/whippit.lua index 00a4fe5..c29e5d5 100644 --- a/client/whippit.lua +++ b/client/whippit.lua @@ -1,12 +1,14 @@ +if not Config.Drugs['whippit'] then return end local prop = nil + local function animation(color) local coords = GetEntityCoords(PlayerPedId()) - ps.requestAnim('mp_player_intdrink') - ps.requestModel(color) + Bridge.Anim.RequestDict('mp_player_intdrink') + requestModel(color) prop = CreateObject(GetHashKey(color), coords.x, coords.y, coords.z, true, true, true) AttachEntityToEntity(prop, PlayerPedId(), GetPedBoneIndex(PlayerPedId(), 18905), 0.087000, -0.130001, 0.138999, 63.630001, 3.299881, -21.000000, true, true, false, true, 1, true) TaskPlayAnim(PlayerPedId(), 'mp_player_intdrink', 'loop_bottle', 8.0, -8.0, -1, 49, 0, false, false, false) - if ps.progressbar('Inhaling Nitrous', 5000, false) then + if progressbar('Inhaling Nitrous', 5000, false) then ClearPedTasks(PlayerPedId()) DetachEntity(prop, true, true) DeleteEntity(prop) @@ -28,7 +30,7 @@ local function blur(duration) end) end -ps.registerCallback('md-drugs:client:useWhippit', function(color) +Bridge.Callback.Register('md-drugs:client:useWhippit', function(color) if animation(color) then blur(30000) return true @@ -38,39 +40,44 @@ ps.registerCallback('md-drugs:client:useWhippit', function(color) end) local function spawnShops() - local locations = ps.callback('md-drugs:server:getWhippitLocations') - for k, v in pairs(locations) do - ps.requestModel(v.ped) + + for k, v in pairs(Config.Whippit.Locations.Whippit) do + requestModel(v.ped) local ped = CreatePed(5, GetHashKey(v.ped), v.loc.x, v.loc.y, v.loc.z, v.loc.w, true, true) FreezeEntityPosition(ped, true) SetEntityInvincible(ped, true) SetBlockingOfNonTemporaryEvents(ped, true) - ps.entityTarget(ped, { - { - label = ps.lang('Whippit.targetShop'), - icon = 'fa-solid fa-cart-shopping', - action = function() - local menu = {} - local items = ps.callback('md-drugs:server:getwhippitShop') - for item, price in pairs (items) do - menu[#menu + 1] = { - title = ps.getLabel(item), - icon = ps.getImage(item), - description = '$' .. price, - action = function() - local amount = ps.input(ps.getLabel(item), { - {type = 'number', label = 'Amount', name = 'amount', min = 1, max = 100, default = 1} - }) - if amount and amount[1] then - TriggerServerEvent('md-drugs:server:buyWhippitItem', k, item, amount[1]) - end - end - } - end - ps.menu(ps.lang('Whippit.shopHeader'), ps.lang('Whippit.shopHeader'), menu) - end - }, + Bridge.Target.AddLocalEntity(ped, { + { + label = Bridge.Language.Locale('Whippit.targetShop'), + icon = Bridge.Language.Locale('Whippit.whippitIcon'), + action = function() + local menu = {} + for item, price in pairs (Config.Whippit.Recipes.shop) do + local itemInfo = Bridge.Inventory.GetItemInfo(item) + menu[#menu + 1] = { + title = itemInfo.label, + icon = itemInfo.image, + description = '$' .. price, + onSelect = function() + local amount = Bridge.Input.Open(itemInfo.label, { + {type = 'number', label = 'Amount', name = 'amount', min = 1, max = 100, default = 1} + }) + if amount and amount[1] then + TriggerServerEvent('md-drugs:server:buyWhippitItem', k, item, amount[1]) + end + end + } + end + Bridge.Menu.Open({ + id = 'whippitShop', + title = Bridge.Language.Locale('Whippit.shopHeader'), + options = menu + }) + end + }, }) + targets[#targets+1] = ped end end diff --git a/client/wholesale.lua b/client/wholesale.lua index 9c88da4..b36913a 100644 --- a/client/wholesale.lua +++ b/client/wholesale.lua @@ -1,152 +1,95 @@ -local miss = false -local settings = ps.callback('md-drugs:server:GetWSsettings') +if not Config.Drugs['wholesale'] then return end +local active, ped, peds = false, nil, {} -function SetUpPeds(drugCount) - local attackerCount = settings.WholesaleAmbushBase - if settings.WholesaleAmbushScale then - if drugCount > settings.WholesaleAmbushTier1 then - attackerCount = 3 +local function loop(wholesaleData) + local timeout = 600 -- 10 minutes + while active do + Wait(1000) + local dist = #(GetEntityCoords(PlayerPedId()) - vector3(wholesaleData.location.x, wholesaleData.location.y, wholesaleData.location.z)) + if dist < 100.0 then + if IsEntityDead(PlayerPedId()) then + active = false + Bridge.Point.Remove('md-drugs:wholesaleZone'..Bridge.Framework.GetPlayerIdentifier()) + TriggerServerEvent('md-drugs:server:getkilledFuckingNoob') + for k, v in pairs (peds) do + DeleteEntity(v) + end + peds = {} + break + end end - if drugCount > settings.WholesaleAmbushTier2 then - attackerCount = 4 - end - if drugCount > settings.WholesaleAmbushTier3 then - attackerCount = 5 + timeout = timeout - 1 + if timeout <= 0 then + break end end - local weaponTier = settings.WholesaleWeaponsTier1 - if settings.WholesaleWeaponTiers then - if drugCount > settings.WholesaleAmbushTier3 then - weaponTier = settings.WholesaleWeaponsTier4 - elseif drugCount > settings.WholesaleAmbushTier2 then - weaponTier = settings.WholesaleWeaponsTier3 - elseif drugCount > settings.WholesaleAmbushTier1 then - weaponTier = settings.WholesaleWeaponsTier2 - end - end - local playerPed = PlayerPedId() - local playerCoords = GetEntityCoords(playerPed, false) +end + +function SetUpPeds(attackerCount, location) local models = {"g_m_y_ballasout_01", "g_m_y_famdnf_01", "g_m_y_famca_01", "g_m_y_mexgoon_01", "g_m_y_salvagoon_01"} for i = 1, attackerCount do local angle = (360 / attackerCount) * i - local x = playerCoords.x + math.cos(math.rad(angle)) * 15 - local y = playerCoords.y + math.sin(math.rad(angle)) * 15 - local z = playerCoords.z + local x = location.x + math.cos(math.rad(angle)) * 15 + local y = location.y + math.sin(math.rad(angle)) * 15 + local z = location.z local modelHash = GetHashKey(models[math.random(1, #models)]) - ps.requestModel(modelHash) - local ped = CreatePed(4, modelHash, x, y, z, 0.0, true, false) - local weapon = weaponTier[math.random(1, #weaponTier)] - SetPedRelationshipGroupHash(ped, GetHashKey("HATES_PLAYER")) - SetPedCombatAttributes(ped, 46, true) - SetPedCombatAttributes(ped, 0, true) - SetPedCombatAttributes(ped, 5, true) - SetPedCombatAttributes(ped, 2, true) - local healthMultiplier = 1.0 - if drugCount > settings.WholesaleAmbushTier3 then - healthMultiplier = 1.5 - elseif drugCount > settings.WholesaleAmbushTier2 then - healthMultiplier = 1.3 - elseif drugCount > settings.WholesaleAmbushTier1 then - healthMultiplier = 1.2 - end - local baseHealth = GetEntityHealth(ped) - SetEntityHealth(ped, math.floor(baseHealth * healthMultiplier)) - GiveWeaponToPed(ped, GetHashKey(weapon), 500, false, true) - TaskCombatPed(ped, playerPed, 0, 16) - local blip = AddBlipForEntity(ped) - SetBlipAsShortRange(blip, true) - SetBlipColour(blip, 1) - SetBlipScale(blip, 0.7) - SetEntityAsNoLongerNeeded(ped) + requestModel(modelHash) + peds[#peds+1] = CreatePed(4, modelHash, x, y, z, 0.0, true, true) + local weapon = math.random(1, 2) == 1 and "WEAPON_PISTOL" or "WEAPON_BAT" + SetPedRelationshipGroupHash(peds[#peds], GetHashKey("HATES_PLAYER")) + SetPedCombatAttributes(peds[#peds], 46, true) + SetPedCombatAttributes(peds[#peds], 0, true) + SetPedCombatAttributes(peds[#peds], 5, true) + SetPedCombatAttributes(peds[#peds], 2, true) + GiveWeaponToPed(peds[#peds], GetHashKey(weapon), 500, false, true) + TaskCombatPed(peds[#peds], PlayerPedId(), 0, 16) end - local tierName = "Basic" - if drugCount > settings.WholesaleAmbushTier3 then - tierName = "Elite" - elseif drugCount > settings.WholesaleAmbushTier2 then - tierName = "Advanced" - elseif drugCount > settings.WholesaleAmbushTier1 then - tierName = "Medium" - end - ps.notify(string.format(ps.lang('wholesale.ambush'), attackerCount, tierName), 'error') end -RegisterNetEvent("md-drugs:client:GetLocation", function(drug) - if miss then - SetNewWaypoint(drug.location.x, drug.location.y) - else - local loc = drug.location - local timer = 0 - miss = true - SetNewWaypoint(loc.x, loc.y) - if settings.WholesaleShowEstimates and drug.count > 0 then - local bonusTiers = math.floor(drug.count / 10) - local potentialBonus = math.min(bonusTiers * settings.WholesaleQuantityBonus, settings.WholesaleMaxBonus) - local bonusPercent = math.floor(potentialBonus * 100) - local minPayout = math.floor(drug.price.min * (1 + potentialBonus)) - local maxPayout = math.floor(drug.price.max * (1 + potentialBonus)) - local totalMinPayout = drug.count * minPayout - local totalMaxPayout = drug.count * maxPayout - ps.notify(string.format(ps.lang('wholesale.count'), drug.count), 'info') - if bonusPercent > 0 then - ps.notify(string.format(ps.lang('wholesale.bonus'), bonusPercent), 'info') - end - ps.notify(string.format(ps.lang('wholesale.estimate'), totalMinPayout, totalMaxPayout), 'info') - elseif drug.count <= 0 then - ps.notify(ps.lang('wholesale.no_drugs'), 'error') - end - ps.requestModel("g_m_y_famdnf_01", settings.RequestModelTime) - local current = "g_m_y_famdnf_01" - local drugdealer = CreatePed(0, current,loc.x,loc.y,loc.z-1, 90.0, false, false) - FreezeEntityPosition(drugdealer, true) - SetEntityInvincible(drugdealer, true) - ps.entityTarget(drugdealer, {{ - label = ps.lang('wholesale.targetBuyer'), - icon = "fas fa-eye", - action = function() - local luck = math.random(1,100) - if luck <= settings.SuccessfulChance then - if not ps.progressbar(ps.lang('wholesale.wholesaling'), 4000, 'uncuff') then return end - TriggerServerEvent("md-drugs:server:SuccessSale", drug) - else - ps.progressbar("Deal Going Bad", 4000, 'uncuff') - if settings.WholesaleAmbushEnabled then - SetUpPeds(drug.count) - end - if settings.WholesaleFailPoliceAlert > 0 then - local alertChance = math.random(1, 100) - if alertChance <= settings.WholesaleFailPoliceAlert then - PoliceCall(100) - end - end - TriggerServerEvent('md-drugs:server:CleanupWholesale') +RegisterNetEvent("md-drugs:client:GetLocation", function(wholesaleData) + if active then return end + if not wholesaleData then return end + active = true + SetNewWaypoint(wholesaleData.location.x, wholesaleData.location.y) + Bridge.Notify.SendNotify(Bridge.Language.Locale('wholesale.go_location'), 'success') + Bridge.Point.Register( + 'md-drugs:wholesaleZone'..Bridge.Framework.GetPlayerIdentifier(), + vector3(wholesaleData.location.x, wholesaleData.location.y, wholesaleData.location.z), + 50.0, + nil, + function(point, data) + if wholesaleData.ambush then + SetUpPeds(wholesaleData.attackerCount, wholesaleData.location) + loop(wholesaleData) + end + requestModel(GetHashKey("s_m_m_ammucountry")) + ped = CreatePed(4, GetHashKey("s_m_m_ammucountry"), wholesaleData.location.x, wholesaleData.location.y, wholesaleData.location.z, wholesaleData.location.w, false, true) + FreezeEntityPosition(ped, true) + TaskStartScenarioInPlace(ped, "WORLD_HUMAN_STAND_IMPATIENT", 0, true) + Bridge.Notify.SendNotify(Bridge.Language.Locale('wholesale.meet_dealer'), 'info') + Bridge.Target.AddLocalEntity(ped, { + { + label = Bridge.Language.Locale('wholesale.sell_drugs'), + icon = Bridge.Language.Locale('wholesale.sell_drugs_icon'), + action = function() + if not progressbar(Bridge.Language.Locale('wholesale.selling_drugs'), 15000) then return end + TriggerServerEvent('md-drugs:server:SuccessSale') + DeleteEntity(ped) + active = false + Bridge.Point.Remove('md-drugs:wholesaleZone'.. Bridge.Framework.GetPlayerIdentifier()) end - Wait(3000) - DeleteEntity(drugdealer) - miss = false - end - }},drugdealer ) - repeat - Wait(1000) - timer = timer + 1 - until #(GetEntityCoords(PlayerPedId()) - vector3(loc.x, loc.y, loc.z) ) < 4.0 or timer == settings.WholesaleTimeout + 1 - PoliceCall(settings.AlertPoliceWholesale) - if timer <= settings.WholesaleTimeout or #(GetEntityCoords(PlayerPedId()) - vector3(loc.x, loc.y, loc.z) ) < 4.0 then - timer = 0 - else - ps.notify(ps.lang('wholesale.tooLong'), 'error') - DeleteEntity(drugdealer) - TriggerServerEvent('md-drugs:server:CleanupWholesale') - if settings.WholesaleResetOnTimeout then - miss = false - end - end - end + } + }) + targets[#targets+1] = ped + end, + function(point, data) + Bridge.Point.Remove('md-drugs:wholesaleZone'.. Bridge.Framework.GetPlayerIdentifier()) + return data + end) end) -RegisterNetEvent('md-drugs:client:WholesaleComplete', function(data) - local bonusText = "" - if data.bonus > 0 then - bonusText = " (+" .. data.bonus .. "% quantity bonus)" - end - ps.notify(string.format(ps.lang('wholesale.complete'), data.quantity, data.payout, bonusText), 'success') + +RegisterNetEvent('md-drugs:client:MarkLocation', function(data) + SetNewWaypoint(data.x, data.y) + Bridge.Notify.SendNotify(Bridge.Language.Locale('wholesale.go_location'), 'success') end) \ No newline at end of file diff --git a/client/xtc.lua b/client/xtc.lua index ca23244..9fbe3e2 100644 --- a/client/xtc.lua +++ b/client/xtc.lua @@ -1,55 +1,67 @@ +if not Config.Drugs['xtc'] then return end local xtcpress = false -local locations = ps.callback('md-drugs:server:GetXtcLocs') +local locations = Config.XTC.Locations -local function getRecipeList(tbl) - local rec = {} - for m, d in pairs(tbl) do table.insert(rec, ps.getLabel(m) .. ' X ' .. d) end - return table.concat(rec, ', ') +local function getRecipeList(tbl, type) + local rec + if type == 'presses' then + rec = {'XTC FROM THE PREVIOUS TIER REQUIRED TO UPGRADE \n '} + else + rec = {'REQUIRED INGREDIENTS: \n '} + end + + for m, d in pairs(tbl) do table.insert(rec, Bridge.Inventory.GetItemInfo(m).label .. ' X ' .. d .. ' \n ') end + return table.concat(rec, ' ') end -ps.registerCallback('md-drugs:client:setpress', function(xtcData) +Bridge.Callback.Register('md-drugs:client:setpress', function(xtcData) if xtcpress then - ps.notify(ps.lang('xtc.alreadyOut'), 'error') + Bridge.Notify.SendNotify(Bridge.Language.Locale('xtc.alreadyOut'), 'error') return end local coords, head = StartRay2() xtcpress = true - if not ps.progressbar(ps.lang('xtc.settingDown'), 4000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('xtc.settingDown')) then return end local press = CreateObject("bkr_prop_coke_press_01aa", coords.x, coords.y, coords.z, true, false, false) PlaceObjectOnGroundProperly(press) Freeze(press, true, head) local options = { { - icon = "fas fa-eye", - label = ps.lang('xtc.targetMake'), + icon = Bridge.Language.Locale('xtc.pressIcon'), + label = Bridge.Language.Locale('xtc.targetMake'), distance = 2.0, action = function() local options = {} for k, v in pairs(xtcData.recipes) do local descript = getRecipeList(v.take) + local itemInfo = Bridge.Inventory.GetItemInfo(k) options[#options + 1] = { - icon = ps.getImage(k), - title = ps.getLabel(k), + icon = itemInfo.image, + title = Bridge.Language.Locale(k), description = descript, - action = function() - if not minigame() then ps.notify(ps.lang('xtc.fail'), "error") return end - if not ps.progressbar(ps.lang('xtc.making', ps.getLabel(k)), 4000, 'uncuff') then return end + onSelect = function() + if not minigame() then return end + if not progressbar(Bridge.Language.Locale('xtc.making', Bridge.Language.Locale(k))) then return end TriggerServerEvent("md-drugs:server:makextc", k) end, distance = 2.0 } end - ps.menu('XTC Recipes', 'XTC Recipes', options) + Bridge.Menu.Open({ + id = 'XTC Recipes', + title = 'XTC Recipes', + options = options + }) end, canInteract = function() if xtcpress then return true end end }, { - icon = "fas fa-eye", - label = ps.lang('xtc.targetPickup'), + icon = Bridge.Language.Locale('xtc.pressIcon'), + label = Bridge.Language.Locale('xtc.targetPickup'), action = function() - if not ps.progressbar(ps.lang('xtc.picking'), 5000, 'uncuff') then return end + if not progressbar(Bridge.Language.Locale('xtc.picking')) then return end DeleteObject(press) xtcpress = false TriggerServerEvent("md-drugs:server:getpressback") @@ -59,18 +71,19 @@ ps.registerCallback('md-drugs:client:setpress', function(xtcData) end }, } - ps.entityTarget(press, options) + Bridge.Target.AddLocalEntity(press, options) + targets[#targets+1] = press return coords end) for k, v in pairs(locations.mdp2p) do - ps.boxTarget('mdp2p'..k, v.loc, {length = v.l, width = v.w, heading = v.rot}, { + Bridge.Target.AddBoxZone('mdp2p'..k, v.loc, v.size, v.rot or 180.0, { { - icon = 'fa-solid fa-flask', - label = ps.lang('xtc.targetStealMDP2P'), + icon = Bridge.Language.Locale('xtc.mdp2pIcon'), + label = Bridge.Language.Locale('xtc.targetStealMDP2P'), action = function() - if not minigame() then ps.notify(ps.lang('xtc.fail'), "error") return end - if not ps.progressbar(ps.lang('xtc.stealingMDP2P'), 4000, 'uncuff') then return end + if not minigame() then return end + if not progressbar(Bridge.Language.Locale('xtc.stealingMDP2P')) then return end TriggerServerEvent("md-drugs:server:stealmdp2p", k) end, canInteract = function() @@ -78,15 +91,16 @@ for k, v in pairs(locations.mdp2p) do end } }) + targets[#targets+1] = 'mdp2p'..k end for k, v in pairs(locations.isosafrole) do - ps.boxTarget('isosafrole'..k, v.loc, {length = v.l, width = v.w, heading = v.rot}, { + Bridge.Target.AddBoxZone('isosafrole'..k, v.loc, v.size, v.rot or 180.0, { { - icon = 'fa-solid fa-flask', - label = ps.lang('xtc.targetStealIsosafrole'), + icon = Bridge.Language.Locale('xtc.isosafroleIcon'), + label = Bridge.Language.Locale('xtc.targetStealIsosafrole'), action = function() - if not minigame() then ps.notify(ps.lang('xtc.fail'), "error") return end - if not ps.progressbar(ps.lang('xtc.stealingIsosafrole'), 4000, 'uncuff') then return end + if not minigame() then return end + if not progressbar(Bridge.Language.Locale('xtc.stealingIsosafrole')) then return end TriggerServerEvent("md-drugs:server:stealisosafrole", k) end, canInteract = function() @@ -94,16 +108,17 @@ for k, v in pairs(locations.isosafrole) do end } }) + targets[#targets+1] = 'isosafrole'..k end for k, v in pairs(locations.rawxtcloc) do - ps.boxTarget('xtcraw'..k, v.loc, {length = v.l, width = v.w, heading = v.rot}, { + Bridge.Target.AddBoxZone('xtcraw'..k, v.loc, v.size, v.rot or 180.0, { { - icon = 'fa-solid fa-flask', - label = ps.lang('xtc.targetRaw'), + icon = Bridge.Language.Locale('xtc.rawIcon'), + label = Bridge.Language.Locale('xtc.targetRaw'), action = function() - if not minigame() then ps.notify(ps.lang('xtc.fail'), "error") return end - if not ps.progressbar(ps.lang('xtc.makingRaw'), 4000, 'uncuff') then return end + if not minigame() then return end + if not progressbar(Bridge.Language.Locale('xtc.makingRaw')) then return end TriggerServerEvent("md-drugs:server:makingrawxtc", k) end, canInteract = function() @@ -111,40 +126,43 @@ for k, v in pairs(locations.rawxtcloc) do end } }) + targets[#targets+1] = 'xtcraw'..k end for k, v in pairs(locations.xtcpress) do - ps.requestModel(v.ped) + requestModel(v.ped) local ped = CreatePed(0, v.ped, v.loc, false, false) Freeze(ped, true, v.loc.w) - ps.entityTarget(ped, { + Bridge.Target.AddLocalEntity(ped, { { - icon = 'fa-solid fa-flask', - label = ps.lang('xtc.getPress'), - action = function() + icon = Bridge.Language.Locale('xtc.pressIcon'), + label = Bridge.Language.Locale('xtc.getPress'), + onSelect = function() local options = {} - local recipeList = ps.callback('md-drugs:server:getpressrecipes') + local recipeList = Config.XTC.Recipes.presses for m, d in pairs(recipeList) do if m == 'singlepress' then + local itemInfo = Bridge.Inventory.GetItemInfo(m) options[#options + 1] = { - icon = ps.getImage(m), - title = ps.getLabel(m), - description = ps.lang('xtc.buySingle', d.cash), + icon = itemInfo.image, + title = itemInfo.label, + description = Bridge.Language.Locale('xtc.buySingle', d.cash), type = d.type, - action = function() - if not ps.progressbar(ps.lang('xtc.buyp'), 4000, 'uncuff') then return end + onSelect = function() + if not progressbar(Bridge.Language.Locale('xtc.buyp')) then return end TriggerServerEvent('md-drugs:server:buypress',k, m) end, } else - local descript = getRecipeList(d.take) + local itemInfo = Bridge.Inventory.GetItemInfo(m) + local descript = getRecipeList(d.take, 'presses') options[#options + 1] = { - icon = ps.getImage(m), - title = ps.getLabel(m), + icon = itemInfo.image, + title = itemInfo.label, description = descript, type = d.type, - action = function() - if not ps.progressbar(ps.lang('xtc.buyp'), 4000, 'uncuff') then return end + onSelect = function() + if not progressbar(Bridge.Language.Locale('xtc.buyp')) then return end TriggerServerEvent("md-drugs:server:upgradepress", k, m) end, distance = 2.0 @@ -152,42 +170,52 @@ for k, v in pairs(locations.xtcpress) do end end table.sort(options, function(a, b) return a.type < b.type end) - ps.menu('XTC Presses', 'XTC Presses', options) + Bridge.Menu.Open({ + id = 'XTC Presses', + title = 'XTC Presses', + options = options + }) end, canInteract = function() return handleGang(v.gang) end } }) + targets[#targets+1] = ped end for k, v in pairs (locations.stamp) do - ps.boxTarget('xtcstamp'..k, v.loc, {length = v.l, width = v.w, heading = v.rot}, { + Bridge.Target.AddBoxZone('xtcstamp'..k, v.loc, v.size, v.rot or 180.0, { { - icon = 'fa-solid fa-flask', - label = ps.lang('xtc.targetStamp'), - action = function() + icon = Bridge.Language.Locale('xtc.stampIcon'), + label = Bridge.Language.Locale('xtc.targetStamp'), + onSelect = function() local item = { - {item = 'white_xtc', label = ps.getLabel('white_xtc'), color = 'white'}, - {item = 'red_xtc', label = ps.getLabel('red_xtc'), color = 'red'}, - {item = 'orange_xtc', label = ps.getLabel('orange_xtc'), color = 'orange'}, - {item = 'blue_xtc', label = ps.getLabel('blue_xtc'), color = 'blue'}, + {item = 'white_xtc', label = Bridge.Inventory.GetItemInfo('white_xtc').label, color = 'white'}, + {item = 'red_xtc', label = Bridge.Inventory.GetItemInfo('red_xtc').label, color = 'red'}, + {item = 'orange_xtc', label = Bridge.Inventory.GetItemInfo('orange_xtc').label, color = 'orange'}, + {item = 'blue_xtc', label = Bridge.Inventory.GetItemInfo('blue_xtc').label, color = 'blue'}, } local options = {} for m, d in pairs (item) do options[#options + 1] = { - icon = ps.getImage(d.item), + icon = Bridge.Inventory.GetItemInfo(d.item).image, title = d.label, - description = ps.lang('xtc.stamp_desc', d.color), + description = Bridge.Language.Locale('xtc.stamp_desc', d.color), action = function() - if not minigame() then ps.notify(ps.lang('xtc.fail'), "error") return end - if not ps.progressbar(ps.lang('xtc.stamping', d.label), 4000, 'uncuff') then return end + if not minigame() then return end + if not progressbar(Bridge.Language.Locale('xtc.stamping', d.label)) then return end TriggerServerEvent("md-drugs:server:stamp", k, d.color) end, distance = 2.0 } end - ps.menu('Stamp Pills', 'Stamp Pills', options) + Bridge.Menu.Open({ + id = 'XTC Stamp', + title = 'XTC Stamp', + options = options + }) end, canInteract = function() return handleGang(v.gang) end } }) + targets[#targets+1] = 'xtcstamp'..k end diff --git a/clientRun.lua b/clientRun.lua deleted file mode 100644 index 31c4e46..0000000 --- a/clientRun.lua +++ /dev/null @@ -1,27 +0,0 @@ -function loadFile(filePath) - local resourceName = 'md-drugs' - local fullScript = LoadResourceFile(resourceName, filePath) - if not fullScript then - ps.error("Error: Failed to load module '" .. filePath .. "' from resource '" .. resourceName .. "'.") - return false - end - local chunk, err = load(fullScript, filePath, "t") - if not chunk then - ps.error("Error loading Lua chunk from '" .. filePath .. "': " .. tostring(err)) - return false - end - - local success, execErr = pcall(chunk) - if not success then - ps.error("Error executing Lua chunk from '" .. filePath .. "': " .. tostring(execErr)) - return false - end - - return true -end - -for scriptName, toggle in pairs(Config.Drugs) do - if not toggle then goto continue end - loadFile('client/' .. scriptName .. '.lua') - ::continue:: -end \ No newline at end of file diff --git a/fxmanifest.lua b/fxmanifest.lua index fb2c87c..b8552dc 100644 --- a/fxmanifest.lua +++ b/fxmanifest.lua @@ -6,20 +6,19 @@ game "gta5" version '4.0.8' client_scripts { 'client/functions.lua', - 'client/plantSpawns.lua', - 'clientRun.lua', + 'client/**.lua', } server_scripts { - 'server/functions.lua', - 'server/plantSpawns.lua', - 'serverRun.lua', '@oxmysql/lib/MySQL.lua', + 'server/functions.lua', + 'server/**.lua', } shared_scripts { - '@ox_lib/init.lua', - 'shared/**.lua', + '@ox_lib/init.lua', + 'shared/config.lua', + 'shared/DrugData/*.lua', } lua54 'yes' @@ -27,5 +26,5 @@ lua54 'yes' files { 'client/**.lua', 'server/**.lua', - 'locales/**.lua' + 'locales/**.json' } diff --git a/locales/DJ.lua b/locales/DJ.lua deleted file mode 100644 index 8817233..0000000 --- a/locales/DJ.lua +++ /dev/null @@ -1,267 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'Yo! You ain’t in the right SPOT, let’s gooooo!', - needItems = 'Whoa! You’re missing the ESSENTIALS, come on!', - notEnoughMoney = 'Uh-oh! Not enough CASH, gotta grind!', - buySuccess = 'BOOM! You copped %s %s for $%s, YEAH!', - itemMissings = 'CHECK IT! You need: %s', - itemNeeded = 'Grab that %s, LET’S GOOOO!', - cooldown = 'Hold up! Chill for a sec, speed racer!', - invalidItem = 'Uh-uh! That ain’t sold HERE, fam!', - onCooldownWarn = '%s tried to run %s but cooldown, BOOM!', - noCops = 'Not enough COPS online, can’t roll out!', -} - -Lang.coke = { - targetPick = 'GRAB that coca leaf, LET’S GO!', - picking = 'Snatching those leaves, wooo!', - targetMakePow = 'Turn it into POWDER, party time!', - noleaf = 'Need a leaf first, LET’S HUSTLE!', - makePow = 'Choppin’ leaves into POWER, YA!', - targetCutCoke = 'Slice that cocaine, woohoo!', - targetBagCoke = 'Bag it UP, fam!', - teleIn = 'Step into the LAB, LIGHT IT UP!', - teleOut = 'Exit the lab, keep it moving!', - needBakingSoda = 'Baking soda NEEDED, come on!', -} - -Lang.Cornerselling = { - inVeh = 'Yo, stranger alert! Stay safe!', - selling = 'Flippin’ %s for $%s, CASH TIME!', - deny = 'NAH, PASS THAT OFFER!', - wait = 'Hold tight, waiting on the crowd!', - nodrugs = 'No stock? Get back in the game!', - searching = 'Scanning for buyers, keep it HYPE!', - targetTakeBack = 'Grab back the goods, LET’S GO!', - targetSell = 'Sell %s of %s for $%s, PARTY!', - targetDeny = 'Decline that weak offer!', - stopped = 'You ain’t selling? COME ON!', - start = 'GO show your moves, LEGEND!', - gotRobbed = 'Yo, you got JACKED!', - gotBack = 'Reclaimed the goods, YEAH!', - notEnough = 'Not enough stock, HUSTLE UP!', - comDes = 'Sell that heat on the corner, LET’S GO!', -} - -Lang.crack = { - targetMake = 'Cook that crack, turn it UP!', - cook = 'Heating it up, PARTY MODE!', - targetBag = 'Bag it tight, woohoo!', - bag = 'Packing it like a BOSS!', -} - -Lang.Deliveries = { - targetGetDel = 'Grab a delivery mission, LET’S GO!', - targetOpenShop = 'Open that dealer shop, LIGHT IT UP!', - shopHeader = 'Dealer Shop, TIME TO SHINE!', - targetHandOff = 'Hand off the package, PARTY TIME!', - delivering = 'Delivering to the dealer, let’s get it!', - alreadyDelivering = 'Already moving that package, nonstop!', - slowAf = 'TOO SLOW! PICK IT UP!', - newDealerHelp = { - help = 'Place a dealer, LIGHT IT UP!', - name = 'Dealer name, YO!', - timeMin = 'Min time, stay hyped!', - timeMax = 'Max time, keep moving!', - }, - DealerExists = 'Dealer already in the house, BOOM!', - deleteDealer = { - help = 'Remove a dealer, let’s GOO!', - name = 'Dealer name, YEAH!', - }, - deleteDealerSuccess = 'Dealer deleted, PARTY ON!', - deleteDealerFail = 'Failed? Try again, NEVER STOP!', -} - -Lang.heroin = { - targetPick = 'Grab that heroin, LIGHT IT UP!', - picking = 'Picking heroin, GET IT!', - targetCook = 'Cook it up, TURN IT UP!', - pbCook = 'Cooking that fire, WOO!', - targetPickup = 'Pick up the lab, LET’S GO!', - pbPickup = 'Picking up the lab, HYPE!', - targetClean = 'Clean that lab, SHINE!', - pbClean = 'Cleaning the lab, YEAH!', - targetDry = 'Dry out the plant, KEEP IT MOVIN’!', - pbDry = 'Drying plant, PARTY MODE!', - targetCutHeroin = 'Cut that heroin, BOOM!', - pbCutHeroin = 'Cutting it smooth, YEAH!', - targetBuyKit = 'Buy your lab kit, GET IT!', - pbBuyKit = 'Buying that kit, HYPE!', - tableout = 'Table’s already out, LIGHT IT UP!', - placing = 'Placing table down, WOO!', - targetFill = 'Fill that syringe, LET’S GOOOO!', - pbFill = 'Filling up, HYPE ENERGY!', - hasKitAlready = 'Kit already in play, BOOM!', - notEnoughMoney = 'Need $%s cash, hustle up!', - placedKit = 'Placed your lab kit, PARTY TIME!', - failed = 'Failed? Shake it off, KEEP MOVIN’!', -} - -Lang.lean = { - stealFromTruck = 'Snag the truck, GET HYPED!', - startMission = 'Start lean mission, LET’S GO!', - notOnRun = 'Not on a run yet, COME ON!', - alreadyChasing = 'Already chasing a truck, WOO!', -} - -Lang.lsd = { - targetHeat = 'Heating LSD, TURN IT UP!', - heating = 'Heating it UP, PARTY TIME!', - targetRefine = 'Refine that acid, LET’S GOOOO!', - refining = 'Refining, keep it lit!', - targetDipping = 'Dip those tabs, HYPE!', - dipping = 'Dipping, WOO WOO!', - targetPickup = 'Pick up the lab kit, LET’S GO!', - packup = 'Packing up, PARTY MODE!', - targetClean = 'Clean the lab kit, LIGHT IT UP!', - needCleaning = 'Need the cleaning kit, COME ON!', - cleaning = 'Cleaning, keep it hype!', - targetLys = 'Steal lysergic acid, BOOM!', - stealLys = 'Stealing, GET IT!', - targetDie = 'Snag diethylamide, PARTY TIME!', - stealDie = 'Stealing that fire, LET’S GOOOO!', - targetBuyTab = 'Buy tab paper, WOO!', - targetBuyKit = 'Buy LSD lab kit, HYPE ENERGY!', - alreadyOwn = 'Already got this, BOOM!', - buyingKit = 'Buying kit, PARTY ON!', - tableout = 'Table out already, LET’S GO!', - placing = 'Placing down, KEEP IT LIT!', - failed = 'Failed? Shake it off, PARTY TIME!', -} - -Lang.mesc = { - targetPick = 'Grab that cactus, WOO!', - picking = 'Picking cactus, LET’S GOOOO!', - targetDry = 'Dry the cactus, HYPE!', - dry = 'Drying cactus, PARTY MODE!', -} - -Lang.meth = { - alreadyChasing = 'Chasing a truck already, WOO!', - targetStealFromCar = 'Snag the meth car, LIGHT IT UP!', - targetHeist = 'Start meth mission, GET HYPED!', - started = 'Meth’s cooking, BOOM!', - increaseHeat = 'Turn up the heat, PARTY TIME!', - targetBag = 'Bag meth, HYPE ENERGY!', - targetCook = 'Cook meth, LET’S GOOOO!', - targetGrabTray = 'Grab the tray, WOO!', - targetHeat = 'Adjust those dials, KEEP IT LIT!', - targetSmash = 'Smash the tray, BOOM!', - targetStealEPH = 'Steal ephedrine, GET IT!', - stealingEPH = 'Stealing it, PARTY ON!', - targetStealACE = 'Snag acetone, WOO!', - stealingACE = 'Stealing acetone, LET’S GOOOO!', - notOnRun = 'Not on a meth run, COME ON!', - onCooldown = 'Cooldown in effect, CHILL!', - teleIn = 'Step into the lab, HYPE!', - teleOut = 'Exit the lab, PARTY MODE!', -} - -Lang.oxy = { - ditchCar = 'Hot van? Leave it, WOO!', - targetHandoff = 'Hand off the package, LET’S GO!', - handingoff = 'Handing it off, HYPE ENERGY!', - emptyHands = 'Not carrying anything, GET MOVING!', - targetPay = 'Rent oxy van, PARTY TIME!', - keys = 'Keys are in the van, BOOM!', - targetGetPackage = 'Grab the package, WOO!', - alreadyCarrying = 'Already got a package, KEEP IT LIT!', - paid = 'Paid $%s, LET’S GOOOO!', - notOn = 'Not on a route, HYPE!', -} - -Lang.pharma = { - input = { - header = 'Who’s getting the prescription? LET’S GO!', - title1 = 'Player name, GET HYPED!', - title2 = 'Prescription, PARTY TIME!', - }, - write = 'Writing prescription, WOO!', - opening = 'Opening the bottle, LIGHT IT UP!', - targetFill = 'Fill that prescription, HYPE!', - fill = 'Filling up, LET’S GOOOO!', - canceled = 'Canceled? Shake it off, PARTY MODE!', - unbottle = 'Opened the bottle, BOOM!', -} - -Lang.shrooms = { - targetPick = 'Pick those shrooms, WOO!', - picking = 'Picking shrooms, LET’S GOOOO!', - eat = 'Eating shrooms, PARTY TIME!', - cancel = 'Decided not to? HYPE!', - took = 'You took some shrooms! LET’S GO!', -} - -Lang.weed = { - targetPick = 'Grab that weed, WOO!', - picking = 'Picking weed, PARTY MODE!', - targetDry = 'Dry the weed, LET’S GOOOO!', - noDry = 'Need wet weed first, HYPE ENERGY!', - wait = 'Waiting for it to dry... KEEP IT LIT!', - take = 'Ready to take weed, BOOM!', - targetDryed = 'Pickup that weed, PARTY TIME!', - teleportIn = 'Enter the grow house, HYPE!', - teleportOut = 'Leave the grow house, WOO!', - dabs = 'Doing some dabs, LET’S GOOOO!', - bluntWrap = 'Dipping syrup to make %s, PARTY MODE!', - rollBlunt = 'Rolling a %s, BOOM!', - targetSales = 'Buy from dealer, HYPE!', - buying = 'Buying %s from dealer, WOO!', - itemDoesntExist = 'Item doesn’t exist here, LET’S GO!', - needItem = 'Need a %s for this, PARTY TIME!', - crackBlunt = 'Cracking open a blunt, HYPE ENERGY!', -} - -Lang.wholesale = { - alreadyWholesale = 'Already wholesaling, WOO!', - targetBuyer = 'Talk to the buyer, LET’S GOOOO!', - wholesaling = 'Wholesaling drugs, PARTY MODE!', - uhoh = 'Buyer’s getting sketchy, HYPE!', - tooLong = 'Buyer waited too long, WOO!', - notEnoughCops = 'Not enough cops, KEEP IT LIT!', - count = 'Quantity detected: %s, BOOM!', - bonus = 'Quantity bonus: +%s%%, HYPE!', - estimate = 'Estimated payout: $%s - $%s, PARTY TIME!', - no_drugs = 'No drugs to sell, LET’S GOOOO!', - ambush = 'AMBUSH! %s attackers with %s weapons coming! WOO!', - complete = 'Sold %s items for $%s%s, HYPE!', - min_quantity = 'Gotta sell at least %s to wholesale, PARTY MODE!', - deal_failed_cleanup = 'Deal failed? Try again, KEEP IT LIT!', -} - -Lang.xtc = { - alreadyOut = 'Press is out already, WOO!', - settingDown = 'Setting down the press, LET’S GO!', - noPressOut = 'No press out? HYPE!', - targetMake = 'Press pills, PARTY TIME!', - making = 'Pressing a %s, BOOM!', - targetPickup = 'Pick up press, HYPE!', - picking = 'Picking up press, LET’S GOOOO!', - targetStealMDP2P = 'Steal MDP2P, PARTY MODE!', - stealingMDP2P = 'Stealing it, WOO!', - fail = 'Damn dude, you suck, KEEP IT LIT!', - targetStealIsosafrole = 'Steal isosafrole, HYPE!', - stealingIsosafrole = 'Stealing it, LET’S GOOOO!', - targetRaw = 'Make raw XTC, PARTY TIME!', - makingRaw = 'Making raw XTC, WOO!', - getPress = 'Get the press, LET’S GOOOO!', - buySingle = 'Buy single press for $%s, HYPE!', - buyp = 'Buying press, BOOM!', - targetStamp = 'Stamp XTC, PARTY MODE!', - stamp_desc = 'Stamp %s pills, WOO!', - stamping = 'Stamping %s pills, LET’S GO!', - noPills = 'No unstamped pills? HYPE!', -} - -Lang.merchant = { - targetOpen = 'Open merchant menu, LET’S GOOOO!', -} -Lang.Whippit = { - targetShop = 'Open Whippit Shop, PARTY TIME!', - needBalloon = 'Need a balloon for this, HYPE!', - needCanister = 'Need a canister for this, WOO!', - shopHeader = 'Whippit Shop, LET’S GO!', -} -return Lang diff --git a/locales/cs.lua b/locales/cs.lua deleted file mode 100644 index 50274f6..0000000 --- a/locales/cs.lua +++ /dev/null @@ -1,268 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'Nejste na správném místě', - needItems = 'Nemáte potřebné předměty', - notEnoughMoney = 'Jste příliš chudí', - buySuccess = 'Koupili jste %s %s za $%s', - itemMissings = 'Potřebujete %s', - itemNeeded = 'Potřebujete %s', - cooldown = 'Zpomalte, rychlíku', - invalidItem = 'Tento předmět zde není k prodeji', - onCooldownWarn = '%s se pokusil spustit událost %s \n během cooldownu', - noCops = 'Není dostatek policistů online', -} - -Lang.coke = { - targetPick = 'Sbírat listy koky', - picking = 'Sbírání listů koky', - targetMakePow = 'Vyrobit kokainový prášek', - noleaf = 'Potřebujete list koky', - makePow = 'Drcení listů na prášek', - targetCutCoke = 'Řezat kokain', - targetBagCoke = 'Balicí kokain', - teleIn = 'Vstoupit do laboratoře', - teleOut = 'Opustit laboratoř', - needBakingSoda = 'Potřebujete jedlou sodu pro tuto akci', -} - -Lang.Cornerselling = { - inVeh = 'Nebezpečí od cizinců!', - selling = 'Prodávání %s za $%s', - deny = 'Sakra, tohle nabídka ne!', - wait = 'Čekání na zákazníka', - nodrugs = 'Nemáte žádné drogy na prodej', - searching = 'Hledání zákazníků v okolí', - targetTakeBack = 'Vzít zpět drogy', - targetSell = 'Prodat %s z %s za $%s', - targetDeny = 'Odmítnout nabídku', - stopped = 'Vaše líné zadky ani neumí prodávat drogy!', - start = 'Jděte udělat svou mámu pyšnou', - gotRobbed = 'Dostali jste se okradeni, frajere!', - gotBack = 'Dostali jste své věci zpět!', - notEnough = 'Nemáte dostatek tohoto předmětu', - comDes = 'Prodávejte věci na rohu' -} - -Lang.crack = { - targetMake = 'Vařit crack', - cook = 'Vaření cracku', - targetBag = 'Balicí crack', - bag = 'Balení cracku', -} - -Lang.Deliveries = { - targetGetDel = 'Získat doručovací misi', - targetOpenShop = 'Otevřít obchod dealera', - shopHeader = 'Obchod dealera', - targetHandOff = 'Předat zásilku', - delivering = 'Předávání balíčku drogovému dealerovi', - alreadyDelivering = 'Už doručujete balíček', - slowAf = 'Trvalo vám to příliš dlouho!', - newDealerHelp = { - help = 'Umístit dealera', - name = 'Jméno dealera', - timeMin = 'Minimální čas', - timeMax = 'Maximální čas' - }, - DealerExists = 'Dealer již existuje', - deleteDealer = { - help = 'Smazat dealera', - name = 'Jméno dealera', - }, - deleteDealerSuccess = 'Dealer smazán', - deleteDealerFail = 'Selhalo smazání dealera', -} - -Lang.heroin = { - targetPick = 'Sbírat heroin', - picking = 'Sbírání heroinu', - targetCook = 'Vařit heroin', - pbCook = 'Vaření heroinu', - targetPickup = 'Zvednout laboratoř', - pbPickup = 'Zvedání laboratoře', - targetClean = 'Čistit laboratoř', - pbClean = 'Čištění laboratoře', - targetDry = 'Sušit rostlinu', - pbDry = 'Sušení rostliny', - targetCutHeroin = 'Řezat heroin', - pbCutHeroin = 'Řezání heroinu', - targetBuyKit = 'Koupit heroinovou laboratorní sadu', - pbBuyKit = 'Nákup heroinové laboratorní sady', - tableout = 'Už máte stůl venku', - placing = 'Pokládání stolu', - targetFill = 'Naplňovat stříkačku', - pbFill = 'Plnění stříkačky', - hasKitAlready = 'Už máte heroinovou laboratorní sadu', - notEnoughMoney = 'Potřebujete $%s v hotovosti pro tento nákup', - placedKit = 'Umístili jste svou heroinovou laboratorní sadu', - failed = 'Nepodařilo se vám vyrobit heroin a ztratili jste suroviny', -} - -Lang.lean = { - stealFromTruck = 'Krást z náklaďáku', - startMission = 'Spustit misi Lean', - notOnRun = 'Nejste na misi Lean', - alreadyChasing = 'Už pronásledujete náklaďák', -} - -Lang.lsd = { - targetHeat = 'Zahřívat LSD', - heating = 'Zahřívání LSD', - targetRefine = 'Rafinovat kyselinu', - refining = 'Rafinace kyseliny', - targetDipping = 'Namáčet tablety', - dipping = 'Namáčení tablet', - targetPickup = 'Zvednout laboratorní sadu', - packup = 'Balení laboratorní sady', - targetClean = 'Čistit laboratorní sadu', - needCleaning = 'Potřebujete čisticí sadu k vyčištění laboratoře', - cleaning = 'Čištění laboratorní sady', - targetLys = 'Krást lysergickou kyselinu', - stealLys = 'Krácení lysergické kyseliny', - targetDie = 'Krást diethylamid', - stealDie = 'Krácení diethylamidu', - targetBuyTab = 'Koupit papír na tablety', - targetBuyKit = 'Koupit LSD laboratorní sadu', - alreadyOwn = 'Tento předmět již vlastníte', - buyingKit = 'Nákup LSD laboratorní sady', - tableout = 'Už máte stůl venku', - placing = 'Pokládání laboratorní sady!', - failed = 'Jste hrozní ve výrobě drog', -} - -Lang.mesc = { - targetPick = 'Sbírat kaktus', - picking = 'Sbírání kaktusu', - targetDry = 'Sušit kaktus', - dry = 'Sušení kaktusu', -} - -Lang.meth = { - alreadyChasing = 'Už pronásledujete auto', - targetStealFromCar = 'Krást z meth auta', - targetHeist = 'Spustit meth misi', - started = 'Už vaříte meth', - increaseHeat = 'Zvýšili jste teplo', - targetBag = 'Balicí meth', - targetCook = 'Vařit meth', - targetGrabTray = 'Vzít tác methu', - targetHeat = 'Nastavit ovladače', - targetSmash = 'Rozdrtit tác', - targetStealEPH = 'Krást ephedrin', - stealingEPH = 'Krácení ephedrinu', - targetStealACE = 'Krást aceton', - stealingACE = 'Krácení acetonu', - notOnRun = 'Nejste na meth misi', - onCooldown = 'Jste na cooldownu', - teleIn = 'Vstoupit do laboratoře', - teleOut = 'Opustit laboratoř', -} - -Lang.oxy = { - ditchCar = 'Dodávka je horká, nechte ji někde', - targetHandoff = 'Předat balíček', - handingoff = 'Předávání balíčku', - emptyHands = 'Nic nenosíte', - targetPay = 'Pronajmout oxy dodávku', - keys = 'Klíče jsou v dodávce', - targetGetPackage = 'Vzít balíček', - alreadyCarrying = 'Už nesete balíček', - paid = 'Zaplatili jste $%s za pronájem dodávky', - notOn = 'Nejste na trase', -} - -Lang.pharma = { - input = { - header = 'Komu předepsat lék?', - title1 = 'Jméno hráče', - title2 = 'Předpis', - }, - write = 'Psaní předpisu', - opening = 'Otevírání lahvičky s předpisem', - targetFill = 'Vyplnit předpis', - fill = 'Vyplňování předpisu', - canceled = 'Zrušili jste předpis', - unbottle = 'Otevřeli jste lahvičku', -} - -Lang.shrooms = { - targetPick = 'Sbírat houby', - picking = 'Sbírání hub', - eat = 'Jídlo hub', - cancel = 'Rozhodli jste se nebrat houby', - took = 'Vzali jste si nějaké houby!' -} - -Lang.weed = { - targetPick = 'Sbírat marihuanu', - picking = 'Sbírání marihuany', - targetDry = 'Sušit marihuanu', - noDry = 'Potřebujete mokrou marihuanu pro tuto akci', - wait = 'Čekání, až marihuana uschne...', - take = 'Připraveni vzít marihuanu', - targetDryed = 'Zvednout marihuanu', - teleportIn = 'Vstoupit do pěstírny', - teleportOut = 'Opustit pěstírnu', - dabs = 'Dělání dabů', - bluntWrap = 'Namáčení sirupu pro výrobu %s', - rollBlunt = 'Točení %s', - targetSales = 'Koupit od dealera', - buying = 'Nákup %s od dealera', - itemDoesntExist = 'Tento předmět zde neexistuje', - needItem = 'Potřebujete %s pro tuto akci', - crackBlunt = 'Rozlomení jointu' -} - -Lang.wholesale = { - alreadyWholesale = 'Už prodáváte velkoobchodně', - targetBuyer = 'Promluvit si s kupcem', - wholesaling = 'Velkoobchodní prodej drog', - uhoh = 'Kupce začíná být podezřelý', - tooLong = 'Kupce čekal příliš dlouho', - notEnoughCops = 'Není dostatek policistů na službě', - - count = 'Zjištěné množství: %s', - bonus = 'Bonus množství: +%s%%', - estimate = 'Odhadovaný výdělek: $%s - $%s', - no_drugs = 'Nemáte žádné z těchto drog na prodej', - ambush = 'Přepadení! %s útočníků s %s zbraněmi se blíží!', - complete = 'Prodáno %s kusů za $%s%s', - min_quantity = 'Musíte prodat alespoň %s kusů pro velkoobchod', - deal_failed_cleanup = 'Obchod selhal – můžete to zkusit znovu' -} - -Lang.xtc = { - alreadyOut = 'Už máte lis venku', - settingDown = 'Pokládání lisu', - noPressOut = 'Nemáte žádný lis venku', - targetMake = 'Lisovat pilulky', - making = 'Lisování %s', - targetPickup = 'Zvednout lis', - picking = 'Zvedání lisu', - targetStealMDP2P = 'Krást MDP2P', - stealingMDP2P = 'Krácení MDP2P', - fail = 'Sakra, jste v tom hrozní', - targetStealIsosafrole = 'Krást isosafrol', - stealingIsosafrole = 'Krácení isosafrolu', - targetRaw = 'Vyrobit surové XTC', - makingRaw = 'Výroba surového XTC', - getPress = 'Získat lis', - buySingle = 'Koupit jednotlivý lis za $%s', - buyp = 'Nákup lisu', - targetStamp = 'Razítkovat XTC', - stamp_desc = 'Razítkování %s pilulek', - stamping = 'Razítkování %s pilulek', - noPills = 'Nemáte žádné neoznačené pilulky' -} - -Lang.merchant = { - targetOpen = 'Otevřít obchodní nabídku', -} -Lang.Whippit = { - targetShop = 'Otevřít obchod Whippit', - needBalloon = 'Potřebujete balón pro tuto akci', - needCanister = 'Potřebujete kanister pro tuto akci', - shopHeader = 'Obchod Whippit', -} -return Lang \ No newline at end of file diff --git a/locales/de.lua b/locales/de.lua deleted file mode 100644 index f346b12..0000000 --- a/locales/de.lua +++ /dev/null @@ -1,268 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'Du bist nicht am richtigen Ort', - needItems = 'Du hast nicht die benötigten Gegenstände', - notEnoughMoney = 'Du bist zu pleite', - buySuccess = 'Du hast %s %s für $%s gekauft', - itemMissings = 'Du brauchst %s', - itemNeeded = 'Du brauchst %s', - cooldown = 'Langsam, Speed Racer', - invalidItem = 'Dieser Artikel wird hier nicht verkauft', - onCooldownWarn = '%s hat versucht, Event %s auszuführen \n während Cooldown', - noCops = 'Nicht genug Polizisten online', -} - -Lang.coke = { - targetPick = 'Kokablätter pflücken', - picking = 'Pflücke Kokablätter', - targetMakePow = 'Kokainpulver herstellen', - noleaf = 'Du brauchst ein Kokablatt', - makePow = 'Zerkleinere Blätter zu Pulver', - targetCutCoke = 'Kokain schneiden', - targetBagCoke = 'Kokain verpacken', - teleIn = 'Betrete das Labor', - teleOut = 'Verlasse das Labor', - needBakingSoda = 'Du brauchst Backpulver dafür', -} - -Lang.Cornerselling = { - inVeh = 'Fremdengefahr!', - selling = 'Verkaufe %s für $%s', - deny = 'Fick das Angebot', - wait = 'Warte auf Kunden', - nodrugs = 'Du hast keine Drogen zum Verkaufen', - searching = 'Suche nach Kunden in der Nähe', - targetTakeBack = 'Drogen zurücknehmen', - targetSell = 'Verkaufe %s von %s für $%s', - targetDeny = 'Angebot ablehnen', - stopped = 'Dein fauler Arsch kann nicht mal Drogen verkaufen!', - start = 'Mach deine Mama stolz', - gotRobbed = 'Du wurdest ausgeraubt, Nerd!', - gotBack = 'Du hast deine Sachen zurückbekommen!', - notEnough = 'Du hast nicht genug davon', - comDes = 'Verkaufe Sachen an der Ecke' -} - -Lang.crack = { - targetMake = 'Crack kochen', - cook = 'Koche Crack', - targetBag = 'Crack verpacken', - bag = 'Verpacke Crack', -} - -Lang.Deliveries = { - targetGetDel = 'Liefermission annehmen', - targetOpenShop = 'Dealer-Shop öffnen', - shopHeader = 'Dealer-Shop', - targetHandOff = 'Lieferung übergeben', - delivering = 'Übergebe das Paket an den Dealer', - alreadyDelivering = 'Du lieferst bereits ein Paket aus', - slowAf = 'Du warst zu langsam!', - newDealerHelp = { - help = 'Platziere einen Dealer', - name = 'Dealer-Name', - timeMin = 'Mindestzeit', - timeMax = 'Maximalzeit' - }, - DealerExists = 'Dealer existiert bereits', - deleteDealer = { - help = 'Lösche einen Dealer', - name = 'Dealer-Name', - }, - deleteDealerSuccess = 'Dealer gelöscht', - deleteDealerFail = 'Fehler beim Löschen des Dealers', -} - -Lang.heroin = { - targetPick = 'Heroin sammeln', - picking = 'Sammle Heroin', - targetCook = 'Heroin kochen', - pbCook = 'Koche Heroin', - targetPickup = 'Labor abholen', - pbPickup = 'Hebe Labor auf', - targetClean = 'Labor reinigen', - pbClean = 'Reinige Labor', - targetDry = 'Pflanze trocknen', - pbDry = 'Trockne Pflanze', - targetCutHeroin = 'Heroin schneiden', - pbCutHeroin = 'Schneide Heroin', - targetBuyKit = 'Heroin-Laborkit kaufen', - pbBuyKit = 'Kaufe Heroin-Laborkit', - tableout = 'Du hast bereits einen Tisch draußen', - placing = 'Stelle Tisch auf', - targetFill = 'Spritze füllen', - pbFill = 'Fülle Spritze', - hasKitAlready = 'Du besitzt bereits ein Heroin-Laborkit', - notEnoughMoney = 'Du brauchst $%s Bargeld dafür', - placedKit = 'Du hast dein Heroin-Laborkit aufgestellt', - failed = 'Du hast beim Heroin-Kochen versagt und die Zutaten verloren', -} - -Lang.lean = { - stealFromTruck = 'Vom LKW stehlen', - startMission = 'Lean-Mission starten', - notOnRun = 'Du bist nicht auf einer Lean-Mission', - alreadyChasing = 'Du verfolgst bereits einen LKW', -} - -Lang.lsd = { - targetHeat = 'LSD erhitzen', - heating = 'Erhitze LSD', - targetRefine = 'Säure raffinieren', - refining = 'Raffiniere die Säure', - targetDipping = 'Tabs eintauchen', - dipping = 'Tauche Tabs ein', - targetPickup = 'Laborkit abholen', - packup = 'Packe Laborkit ein', - targetClean = 'Laborkit reinigen', - needCleaning = 'Du brauchst ein Reinigungsset, um das Labor zu reinigen', - cleaning = 'Reinige Laborkit', - targetLys = 'Lysergsäure stehlen', - stealLys = 'Stehle Lysergsäure', - targetDie = 'Diethylamid stehlen', - stealDie = 'Stehle Diethylamid', - targetBuyTab = 'Tab-Papier kaufen', - targetBuyKit = 'LSD-Laborkit kaufen', - alreadyOwn = 'Du besitzt diesen Gegenstand bereits', - buyingKit = 'Kaufe LSD-Laborkit', - tableout = 'Du hast bereits einen Tisch draußen', - placing = 'Stelle Laborkit auf!', - failed = 'Du bist schlecht im Drogenmachen', -} - -Lang.mesc = { - targetPick = 'Kaktus pflücken', - picking = 'Pflücke Kaktus', - targetDry = 'Kaktus trocknen', - dry = 'Trockne Kaktus', -} - -Lang.meth = { - alreadyChasing = 'Du verfolgst bereits ein Auto', - targetStealFromCar = 'Vom Meth-Auto stehlen', - targetHeist = 'Meth-Mission starten', - started = 'Du kochst bereits Meth', - increaseHeat = 'Du hast die Hitze erhöht', - targetBag = 'Meth verpacken', - targetCook = 'Meth kochen', - targetGrabTray = 'Meth-Behälter nehmen', - targetHeat = 'Regler einstellen', - targetSmash = 'Behälter zerschlagen', - targetStealEPH = 'Ephedrin stehlen', - stealingEPH = 'Stehle Ephedrin', - targetStealACE = 'Aceton stehlen', - stealingACE = 'Stehle Aceton', - notOnRun = 'Du bist nicht auf einer Meth-Mission', - onCooldown = 'Du bist im Cooldown', - teleIn = 'Betrete das Labor', - teleOut = 'Verlasse das Labor', -} - -Lang.oxy = { - ditchCar = 'Der Van ist heiß, lass ihn irgendwo stehen', - targetHandoff = 'Paket übergeben', - handingoff = 'Übergebe das Paket', - emptyHands = 'Du trägst nichts', - targetPay = 'Oxy-Van mieten', - keys = 'Die Schlüssel liegen im Van', - targetGetPackage = 'Paket nehmen', - alreadyCarrying = 'Du trägst bereits ein Paket', - paid = 'Du hast $%s bezahlt, um den Van zu mieten', - notOn = 'Du bist nicht auf einer Route', -} - -Lang.pharma = { - input = { - header = 'Wem ein Rezept ausstellen?', - title1 = 'Spielername', - title2 = 'Rezept', - }, - write = 'Schreibe Rezept', - opening = 'Öffne Rezeptflasche', - targetFill = 'Rezept einlösen', - fill = 'Löse Rezept ein', - canceled = 'Du hast das Rezept abgebrochen', - unbottle = 'Du hast die Flasche geöffnet', -} - -Lang.shrooms = { - targetPick = 'Pilze sammeln', - picking = 'Sammle Pilze', - eat = 'Iss Pilze', - cancel = 'Habe mich entschieden, keine Pilze zu nehmen', - took = 'Du hast Pilze genommen!' -} - -Lang.weed = { - targetPick = 'Weed pflücken', - picking = 'Pflücke Weed', - targetDry = 'Weed trocknen', - noDry = 'Du brauchst nasses Weed dafür', - wait = 'Warte, bis das Weed trocknet...', - take = 'Bereit, Weed zu nehmen', - targetDryed = 'Weed aufheben', - teleportIn = 'Betrete das Grow-Haus', - teleportOut = 'Verlasse das Grow-Haus', - dabs = 'Mache Dabs', - bluntWrap = 'Tauche Sirup ein, um %s herzustellen', - rollBlunt = 'Drehe einen %s', - targetSales = 'Vom Dealer kaufen', - buying = 'Kaufe %s vom Dealer', - itemDoesntExist = 'Dieser Gegenstand existiert hier nicht', - needItem = 'Du brauchst einen %s dafür', - crackBlunt = 'Knacke einen Joint auf' -} - -Lang.wholesale = { - alreadyWholesale = 'Du verkaufst bereits im Großhandel', - targetBuyer = 'Mit dem Käufer sprechen', - wholesaling = 'Verkaufe Drogen im Großhandel', - uhoh = 'Der Käufer wird misstrauisch', - tooLong = 'Der Käufer hat zu lange gewartet', - notEnoughCops = 'Nicht genug Polizisten im Dienst', - - count = 'Erkannte Menge: %s', - bonus = 'Mengenbonus: +%s%%', - estimate = 'Geschätzte Auszahlung: $%s - $%s', - no_drugs = 'Du hast keine dieser Drogen zum Verkauf', - ambush = 'Hinterhalt! %s Angreifer mit %s Waffen nähern sich!', - complete = 'Verkauft %s Artikel für $%s%s', - min_quantity = 'Du musst mindestens %s Artikel verkaufen, um Großhandel zu betreiben', - deal_failed_cleanup = 'Deal fehlgeschlagen – du kannst es erneut versuchen' -} - -Lang.xtc = { - alreadyOut = 'Du hast bereits eine Presse draußen', - settingDown = 'Stelle die Presse auf', - noPressOut = 'Du hast keine Presse draußen', - targetMake = 'Pillen pressen', - making = 'Presse eine %s', - targetPickup = 'Presse aufheben', - picking = 'Hebe Presse auf', - targetStealMDP2P = 'MDP2P stehlen', - stealingMDP2P = 'Stehle MDP2P', - fail = 'Verdammt, du bist schlecht darin', - targetStealIsosafrole = 'Isosafrol stehlen', - stealingIsosafrole = 'Stehle Isosafrol', - targetRaw = 'Rohes XTC herstellen', - makingRaw = 'Stelle rohes XTC her', - getPress = 'Presse holen', - buySingle = 'Einzelne Presse für $%s kaufen', - buyp = 'Kaufe Presse', - targetStamp = 'XTC stempeln', - stamp_desc = 'Stemple %s Pillen', - stamping = 'Stemple %s Pillen', - noPills = 'Du hast keine ungestempelten Pillen' -} - -Lang.merchant = { - targetOpen = 'Händlermenü öffnen', -} -Lang.Whippit = { - targetShop = 'Whippit Shop öffnen', - needBalloon = 'Du brauchst einen Ballon für diese Aktion', - needCanister = 'Du brauchst einen Kanister für diese Aktion', - shopHeader = 'Whippit Shop', -} -return Lang \ No newline at end of file diff --git a/locales/dovahzul.lua b/locales/dovahzul.lua deleted file mode 100644 index 32f834b..0000000 --- a/locales/dovahzul.lua +++ /dev/null @@ -1,267 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'Ni los daar do fin nol vokul', - needItems = 'Zu’u fen do los vulon los wah dii', - notEnoughMoney = 'Nii lot kruziik, fin sahvot!', - buySuccess = 'Zu’u krah %s %s do $%s, wahrii!', - itemMissings = 'Zu’u fen do wah: %s', - itemNeeded = 'Zu’u fen do %s', - cooldown = 'Zu’u pahk do, naal vokun', - invalidItem = 'Dii item ni los los hi', - onCooldownWarn = '%s fen zul do run %s \n hi do cooldown', - noCops = 'Nii lot cops online, fin sahvot!' -} - -Lang.coke = { - targetPick = 'Tol coca los', - picking = 'Tol coca losing', - targetMakePow = 'Dii cocaine powdr los', - noleaf = 'Zu’u fen do coca los', - makePow = 'Tol leaves do powdr', - targetCutCoke = 'Krah cocaine', - targetBagCoke = 'Bag cocaine', - teleIn = 'Fahdon lab', - teleOut = 'Los lab', - needBakingSoda = 'Zu’u fen do baking soda do hi' -} - -Lang.Cornerselling = { - inVeh = 'Zu’u voth stranger!', - selling = 'Krah %s do $%s', - deny = 'Ni! Dii offer!', - wait = 'Lahvu do customer', - nodrugs = 'Zu’u ni los drugs do sell', - searching = 'Fahdon do nearby customer', - targetTakeBack = 'Tol back drugs', - targetSell = 'Sell %s do %s for $%s', - targetDeny = 'Deny offer', - stopped = 'Zu’u lazy ni sell drugs!', - start = 'Frah do mom proud', - gotRobbed = 'Zu’u los robbed!', - gotBack = 'Zu’u los back hi stuff!', - notEnough = 'Zu’u ni los enough do hi item', - comDes = 'Sell things do corner' -} - -Lang.crack = { - targetMake = 'Krah crack', - cook = 'Krah crack', - targetBag = 'Bag crack', - bag = 'Tol crack do bag' -} - -Lang.Deliveries = { - targetGetDel = 'Tol delivery mission', - targetOpenShop = 'Fahdon dealer shop', - shopHeader = 'Dealer Shop', - targetHandOff = 'Hand off delivery', - delivering = 'Hand package do dealer', - alreadyDelivering = 'Zu’u los already delivering', - slowAf = 'Zu’u los too sahvot!', - newDealerHelp = { - help = 'Place dealer', - name = 'Dealer Name', - timeMin = 'Minimum Time', - timeMax = 'Maximum Time' - }, - DealerExists = 'Dealer los exist', - deleteDealer = { - help = 'Delete dealer', - name = 'Dealer Name', - }, - deleteDealerSuccess = 'Deleted dealer', - deleteDealerFail = 'Failed delete dealer' -} - -Lang.heroin = { - targetPick = 'Tol heroin', - picking = 'Picking heroin', - targetCook = 'Krah heroin', - pbCook = 'Krah up heroin', - targetPickup = 'Tol lab up', - pbPickup = 'Picking up lab', - targetClean = 'Kreh lab', - pbClean = 'Cleaning lab', - targetDry = 'Dry plant', - pbDry = 'Drying plant', - targetCutHeroin = 'Krah heroin', - pbCutHeroin = 'Cutting heroin', - targetBuyKit = 'Buy heroin kit', - pbBuyKit = 'Buying heroin kit', - tableout = 'Zu’u los table out', - placing = 'Placing table', - targetFill = 'Fill syringe', - pbFill = 'Filling syringe', - hasKitAlready = 'Zu’u los heroin kit', - notEnoughMoney = 'Zu’u fen do $%s', - placedKit = 'Placed heroin kit', - failed = 'Zu’u los failed krah heroin' -} - -Lang.lean = { - stealFromTruck = 'Stahl from truck', - startMission = 'Start lean mission', - notOnRun = 'Zu’u ni los on lean run', - alreadyChasing = 'Zu’u los chasing truck' -} - -Lang.lsd = { - targetHeat = 'Heat LSD', - heating = 'Heating LSD', - targetRefine = 'Refine acid', - refining = 'Refining acid', - targetDipping = 'Dip tabs', - dipping = 'Dipping tabs', - targetPickup = 'Tol lab kit up', - packup = 'Packing up lab kit', - targetClean = 'Clean lab kit', - needCleaning = 'Zu’u fen do cleaning kit', - cleaning = 'Cleaning lab kit', - targetLys = 'Stahl lysergic acid', - stealLys = 'Stealing lysergic acid', - targetDie = 'Stahl diethylamide', - stealDie = 'Stealing diethylamide', - targetBuyTab = 'Buy tab paper', - targetBuyKit = 'Buy LSD lab kit', - alreadyOwn = 'Zu’u los own hi item', - buyingKit = 'Buying LSD lab kit', - tableout = 'Table los out', - placing = 'Placing lab kit', - failed = 'Zu’u los failed make drugs' -} - -Lang.mesc = { - targetPick = 'Tol cactus', - picking = 'Picking cactus', - targetDry = 'Dry cactus', - dry = 'Drying cactus' -} - -Lang.meth = { - alreadyChasing = 'Zu’u los chasing truck', - targetStealFromCar = 'Stahl meth car', - targetHeist = 'Start meth mission', - started = 'Zu’u los meth cooking', - increaseHeat = 'Zu’u los increase heat', - targetBag = 'Bag meth', - targetCook = 'Cook meth', - targetGrabTray = 'Grab meth tray', - targetHeat = 'Adjust dials', - targetSmash = 'Smash tray', - targetStealEPH = 'Stahl ephedrine', - stealingEPH = 'Stealing ephedrine', - targetStealACE = 'Stahl acetone', - stealingACE = 'Stealing acetone', - notOnRun = 'Zu’u ni los on meth run', - onCooldown = 'Zu’u los on cooldown', - teleIn = 'Fahdon lab', - teleOut = 'Los lab' -} - -Lang.oxy = { - ditchCar = 'Van los hot, leave it', - targetHandoff = 'Hand off package', - handingoff = 'Handing off package', - emptyHands = 'Zu’u ni los carry', - targetPay = 'Rent oxy van', - keys = 'Keys los in van', - targetGetPackage = 'Grab package', - alreadyCarrying = 'Zu’u los carry package', - paid = 'Paid $%s', - notOn = 'Zu’u ni los on route' -} - -Lang.pharma = { - input = { - header = 'Who to give prescription?', - title1 = 'Player name', - title2 = 'Prescription' - }, - write = 'Writing prescription', - opening = 'Opening bottle', - targetFill = 'Fill prescription', - fill = 'Getting prescription filled', - canceled = 'Canceled prescription', - unbottle = 'Opened bottle' -} - -Lang.shrooms = { - targetPick = 'Tol shrooms', - picking = 'Picking shrooms', - eat = 'Eating shrooms', - cancel = 'Decided not to', - took = 'Took shrooms' -} - -Lang.weed = { - targetPick = 'Tol weed', - picking = 'Picking weed', - targetDry = 'Dry weed', - noDry = 'Need wet weed', - wait = 'Waiting for weed', - take = 'Ready to take weed', - targetDryed = 'Pickup weed', - teleportIn = 'Fahdon grow house', - teleportOut = 'Los grow house', - dabs = 'Doing dabs', - bluntWrap = 'Dipping syrup %s', - rollBlunt = 'Rolling %s', - targetSales = 'Buy from dealer', - buying = 'Buying %s', - itemDoesntExist = 'Item does not exist', - needItem = 'Need %s', - crackBlunt = 'Cracking blunt' -} - -Lang.wholesale = { - alreadyWholesale = 'Already wholesaling', - targetBuyer = 'Talk to buyer', - wholesaling = 'Wholesaling drugs', - uhoh = 'Buyer getting sketchy', - tooLong = 'Buyer waited too long', - notEnoughCops = 'Not enough guards', - count = 'Quantity: %s', - bonus = 'Bonus: +%s%%', - estimate = 'Estimated payout: $%s - $%s', - no_drugs = 'No drugs to sell', - ambush = 'AMBUSH! %s attackers coming!', - complete = 'Sold %s for $%s%s', - min_quantity = 'Must sell %s minimum', - deal_failed_cleanup = 'Deal failed, try again' -} - -Lang.xtc = { - alreadyOut = 'Press out already', - settingDown = 'Setting press down', - noPressOut = 'No press out', - targetMake = 'Press pills', - making = 'Pressing %s', - targetPickup = 'Pickup press', - picking = 'Picking press', - targetStealMDP2P = 'Stahl MDP2P', - stealingMDP2P = 'Stealing MDP2P', - fail = 'Failed!', - targetStealIsosafrole = 'Stahl isosafrole', - stealingIsosafrole = 'Stealing isosafrole', - targetRaw = 'Make raw XTC', - makingRaw = 'Making raw XTC', - getPress = 'Get press', - buySingle = 'Buy single press $%s', - buyp = 'Buying press', - targetStamp = 'Stamp XTC', - stamp_desc = 'Stamp %s pills', - stamping = 'Stamping %s pills', - noPills = 'No unstamped pills' -} - -Lang.merchant = { - targetOpen = 'Open merchant menu' -} -Lang.Whippit = { - targetShop = 'Open Whippit Shop', - needBalloon = 'You Need A Balloon For This', - needCanister = 'You Need A Canister For This', - shopHeader = 'Whippit Shop' -} -return Lang diff --git a/locales/en.json b/locales/en.json new file mode 100644 index 0000000..2b7feb1 --- /dev/null +++ b/locales/en.json @@ -0,0 +1,357 @@ +{ + "Catches": { + "outOfRangeWarn": "Player: %s attempted to exploit Event: '%s' by triggering the event out of range.", + "notEnoughMoney": "Damn You Are A Broke Fuck", + "itemMissings": "You Need %s", + "onCooldownWarn": "Player: %s Attempted To Run Event %s \n while on cooldown", + "missedTable": "Player: %s attempted to exploit Event: '%s' by triggering the event without being in a server table", + "YouNeedMoreCops": "You Need %s More Police To Do This" + }, + + "coke": { + "targetPick": "Pick Coca Leaf", + "picking": "Picking Coca Leaf", + "targetMakePow": "Make Cocaine Powder", + "targetMakePowIcon": "fa-solid fa-seedling", + "makePow": "Chopping Leaves into Powder", + "targetCutCoke": "Cut Cocaine", + "targetCutCokeIcon": "fa-solid fa-mortal-pestle", + "targetBagCoke": "Bag Cocaine", + "targetBagCokeIcon": "fa-solid fa-sack-xmark", + "teleIn": "Enter the Lab", + "teleInIcon": "fa-solid fa-door-closed", + "teleOutIcon":"fa-solid fa-door-open", + "teleOut": "Exit the Lab", + "cutCokeAgain": "Cutting Cocaine With Baking Soda", + "pickIcon": "fa-solid fa-seedling" + }, + + "Cornerselling": { + "inVeh": "Stranger Danger!", + "selling": "Selling %s for $%s", + "deny": "Fuck That Offer", + "wait": "Waiting For Customer", + "nodrugs": "You Do Not Have Any Drugs To Sell", + "searching": "Searching For Nearby Customers", + "targetTakeBack": "Take Back Drugs", + "targetTakeBackIcon": "fa-solid fa-hand-back-fist", + "targetSell": "Sell %s Of %s For $%s", + "targetSellIcon": "fa-solid fa-money-bill", + "targetDeny": "Deny Offer", + "targetDenyIcon": "fa-solid fa-person-harassing", + "stopped": "Your Lazy Ass Cant Even Sell Drugs!", + "start": "Go Make Your Mom Proud", + "gotRobbed": "You Got Robbed Nerd!", + "gotBack": "You Got Your Stuff Back!", + "notEnough": "You Dont Have Enough Of This Item", + "comDes": "Sell Things On The Corner", + "notEnoughCops": "You Need %s More Police To Do This" + }, + + "crack": { + "targetMake": "Cook Some Crack", + "makeIcon": "fa-solid fa-temperature-high", + "cook": "Cooking Crack", + "targetBag": "Bag Crack", + "bagIcon": "fa-solid fa-weight-scale", + "bag": "Bagging Crack", + "breakdown": "Breaking Down Crack Even Further" + }, + + "Deliveries": { + "targetGetDel": "Get Delivery Mission", + "targetGetDelIcon": "fas fa-user-secret", + "targetOpenShop": "Open Dealer Shop", + "targetOpenShopIcon": "fas fa-store", + "shopHeader": "Dealer Shop", + "targetHandOff": "Hand Off Delivery", + "targetHandOffIcon": "fa-solid fa-box-open", + "delivering": "Handing The Package To Drug Dealer", + "itemDoesntExist": "Player: %s attempted to exploit the deliveries shop event by trying to purchase an item that does not exist in the deliveries shop: %s", + "alreadyDelivering": "You Are Already Delivering A Package", + "slowAf": "You Took To Long And Now The Customer Cancelled You Fucking Turtle!", + "deliveryFailed": "Dude, You Didnt Even Bring The Drugs I Asked For!", + "delivery_success": "You Successfully Delivered The Package!" + }, + + "heroin": { + "targetPick": "Pick Heroin", + "picking": "Picking Heroin", + "targetCook": "Cook Heroin", + "pbCook": "Cooking Up Heroin", + "cookIcon": "fa-solid fa-temperature-high", + "targetPickup": "Pick Up Lab", + "targetPickupIcon": "fa-solid fa-box-circle-check", + "pbPickup": "Picking Up Lab", + "targetClean": "Clean Lab", + "targetCleanIcon": "fa-solid fa-broom", + "pbClean": "Cleaning Lab", + "targetDry": "Dry Out Plant", + "dryIcon": "fa-solid fa-temperature-high", + "pbDry": "Drying Out Plant", + "targetCutHeroin": "Cut Heroin", + "pbCutHeroin": "Cutting Heroin", + "cutIcon": "fa-solid fa-mortal-pestle", + "targetBuyKit": "Buy Heroin Lab Kit", + "buyIcon": "fa-solid fa-box-open", + "fillNeedleIcon": "fa-solid fa-syringe", + "pbBuyKit": "Buying Heroin Lab Kit", + "tableout": "You Already Have A Table Out", + "placing": "Placing Down Table", + "targetFill": "Fill Syringe", + "pbFill": "Filling Syringe", + "hasKitAlready": "You Already Have A Heroin Lab Kit", + "hasKitAlreadyPlaced": "You Already Have A Heroin Lab Kit Placed", + "notEnoughMoney": "You Need $%s In Cash For This", + "placedKit": "You Placed Down Your Heroin Lab Kit", + "failed": "You Failed To Make Heroin And Lost Your Ingredients", + "pickIcon": "fa-brands fa-pagelines" + }, + + "lean": { + "stealFromTruck": "Steal From Truck", + "startMission": "Start Lean Mission", + "alreadyChasing": "You Are Already Chasing A Truck", + "carIcon": "fa-solid fa-truck-fast", + "startMissionIcon": "fa-solid fa-hand-holding-medical", + "makingLean": "Making Lean", + "makeLeanMenuTitle": "Lean Creation", + "makeLeanMenuDesc": "Choose Your Ingredients", + "vehDoesntExist": "Player: %s attempted to exploit the lean event by triggering the event when the vehicle does not exist.", + "wrongVehModel": "Player: %s attempted to exploit the lean event by triggering the event in the wrong vehicle model.", + "maxTaken": "You Have Taken The Maximum Amount Of Lean From This Run" + }, + + "lsd": { + "targetHeat": "Heating LSD", + "targetHeatIcon": "fa-solid fa-temperature-high", + "heating": "Heating Up LSD", + "targetRefine": "Refine The Acid", + "targetRefineIcon": "fa-solid fa-vial", + "refining": "Refining The Acid", + "targetDipping": "Dip Tabs", + "targetDippingIcon": "fa-solid fa-droplet", + "dipping": "Dipping Tabs", + "targetPickup": "Pick Up Lab Kit", + "targetPickupIcon": "fas fa-box-circle-check", + "packup": "Packing Up Lab Kit", + "targetClean": "Clean Lab Kit", + "targetCleanIcon": "fa-solid fa-hand-sparkles", + "cleaning": "Cleaning Lab Kit", + "targetLys": "Steal Lysergic Acid", + "targetLysIcon": "fa-solid fa-vial", + "stealLys": "Stealing Lysergic Acid", + "targetDie": "Steal Diethylamide", + "targetDieIcon": "fa-solid fa-vial", + "stealDie": "Stealing Diethylamide", + "targetBuyTab": "Buy Tab Paper", + "targetBuyTabIcon": "fa-solid fa-hand-holding-dollar", + "targetBuyKit": "Buy LSD Lab Kit", + "targetBuyKitIcon": "fa-solid fa-hand-holding-dollar", + "alreadyOwn": "You Already Own An LSD Lab Kit", + "buyingKit": "Buying LSD Lab Kit", + "tableout": "You Already Have A Table Out", + "placing": "Placing Lab Kit Down!", + "failed": "You Suck At Making Drugs" + }, + + "mesc": { + "targetPick": "Pick Cactus", + "picking": "Picking Cactus", + "targetDry": "Dry Cactus", + "dry": "Drying Cactus", + "eat": "Taking Mescaline", + "pickIcon": "fa-solid fa-holly-berry" + }, + + "meth": { + "alreadyChasing": "You Already Are Chasing A Truck", + "targetStealFromCar": "Steal From Meth Car", + "targetStealFromCarIcon": "fa-solid fa-truck-fast", + "targetHeist": "Start Meth Mission", + "targetHeistIcon": "fa-solid fa-user-secret", + "started": "You Already Have Meth Cooking", + "increaseHeat": "You Increased The Heat", + "targetBag": "Bag Meth", + "targetBagIcon": "fa-solid fa-sack-xmark", + "targetCook": "Cook Meth", + "targetCookIcon": "fa-solid fa-temperature-high", + "targetGrabTray": "Grab Meth Tray", + "targetGrabTrayIcon": "fas fa-sign-in-alt", + "targetHeat": "Adjust The Dials", + "targetHeatIcon": "fa-solid fa-temperature-three-quarters", + "targetSmash": "Smash The Tray", + "targetSmashIcon": "fa-solid fa-hammer", + "targetStealEPH": "Steal Ephedrine", + "targetStealEPHIcon": "fa-solid fa-vial", + "stealingEPH": "Stealing Ephedrine", + "targetStealACE": "Steal Acetone", + "targetStealACEIcon": "fa-solid fa-vial", + "stealingACE": "Stealing Acetone", + "teleIn": "Enter the Lab", + "teleInIcon": "fa-solid fa-door-open", + "teleOutIcon":"fa-solid fa-door-closed", + "teleOut": "Exit the Lab", + "wrongVehModel": "Player: %s Passed A Vehicle Model: %s for Meth Van but The Proper Vehicle Model is: %s ", + "notOnRun": "Player: %s attempted to exploit the meth run event by triggering the event when not on a meth run.", + "finishedRun": "You Have Finished Your Meth Run" + }, + + "oxy": { + "ditchCar": "The Van Is Hot, Leave It Somewhere", + "targetHandoff": "Hand Off The Package", + "targetHandOffIcon": "fa-solid fa-box-open", + "handingoff": "Handing Off The Package", + "emptyHands": "You Are Not Carrying Anything", + "targetPay": "Rent Oxy Van", + "targetPayIcon": "fa-solid fa-hand-holding-dollar", + "keys": "The Keys Are In The Van", + "targetGetPackage": "Grab Package", + "targetGetPackageIcon": "fa-solid fa-box-open", + "alreadyCarrying": "You Are Already Carrying A Package", + "notOn": "You Are Not On A Route", + "notOnOxyRun": "Player: %s attempted to exploit the oxy run event by triggering the give event when not on an oxy run.", + "mismatchOxyVan": "Player: %s Passed Vehicle: %s for Oxy Van " + }, + + "pharma": { + "input": { + "header": "Who To Give A Prescription To?", + "title1": "Player Name", + "title2": "Prescription" + }, + "write": "Writing Prescription", + "opening": "Opening Prescription Bottle", + "targetFill": "Fill Prescription", + "fill": "Getting Prescription Filled", + "canceled": "You Canceled The Prescription", + "unbottle": "You Opened The Bottle", + "fillIcon": "fa-solid fa-prescription-bottle-medical" + }, + + "shrooms": { + "targetPick": "Pick Shrooms", + "picking": "Picking Shrooms", + "eat": "Eating Shrooms", + "cancel": "Decided To Not Do Shrooms", + "took": "You Took Some Shrooms!", + "pickIcon": "fa-solid fa-mushroom" + }, + + "weed": { + "targetPick": "Pick Weed", + "targetDryIcon": "fa-solid fa-temperature-high", + "picking": "Picking Weed", + "targetDry": "Dry Weed", + "noDry": "You Need Wet Weed For This", + "wait": "Waiting For Weed To Dry...", + "take": "Ready To Take Weed", + "targetDryed": "Pickup Weed", + "teleportIn": "Enter The Grow House", + "teleportOut": "Leave The Grow House", + "dabs": "Doing Some Dabs", + "bluntWrap": "Dipping Syrup To Make %s", + "targetSales": "Buy From Dealer", + "salessHeader": "Weed Salesman", + "salesIcon": "fa-solid fa-handshake", + "salesHeader": "Amount To Buy", + "salesDesc": "how Many Do You Wish To Buy?", + "buying": "Buying %s From Dealer", + "needItem": "You Need A %s For This", + "crackBlunt": "Cracking Open A Blunt", + "pickIcon": "fa-solid fa-cannabis", + "teleportInIcon": "fa-solid fa-door-open", + "teleportOutIcon":"fa-solid fa-door-closed", + "cannabisIcon": "fa-solid fa-cannabis", + "itemDoesntExistWarn": "Player: %s attempted to exploit the weed salesman event by trying to purchase an item that does not exist in the weed salesman: %s", + "invalidTableWarn": "Player: %s attempted to exploit the weed event by triggering the event with an invalid recipe table butter/oil.", + "recipeDoesntExistWarn": "Player: %s attempted to exploit the weed event by triggering the event with a non existent recipe name: %s.", + "targetMakeButter": "Make Edible Products", + "targetMakeOil": "Make Oil" + }, + + "wholesale": { + "go_location": "Your Meeting Spot Has Been Marked On Your GPS", + "sell_drugs": "Hand Over Product", + "sell_drugs_icon": "fa-solid fa-handshake", + "selling_drugs": "Handing Over The Product", + "not_enough_police": "Not Enough Police Online To Start A Wholesale Deal", + "not_enough_drugs": "Wholesale Is Meant For Large Amounts Of Drugs", + "ambush_fail_warn": "Player: %s attempted to exploit the wholesale Sale event by triggering the event when they should be ambushed." + }, + + "xtc": { + "alreadyOut": "You Have A Press Out Already", + "settingDown": "Setting Down The Press", + "targetMake": "Press Pills", + "pressIcon": "fa-solid fa-pills", + "making": "Pressing A %s", + "targetPickup": "Pick Up Press", + "targetPickupIcon": "fa-solid fa-hand-holding", + "picking": "Picking Up Press", + "targetStealMDP2P": "Steal MDP2P", + "mdp2pIcon": "fa-solid fa-vial", + "stealingMDP2P": "Stealing MDP2P", + "targetStealIsosafrole": "Steal Isosafrole", + "isosafroleIcon": "fa-solid fa-vial", + "stealingIsosafrole": "Stealing Isosafrole", + "targetRaw": "Make Raw XTC", + "rawIcon": "fa-solid fa-hand-scissors", + "makingRaw": "Making Raw XTC", + "getPress": "Get Press", + "buySingle": "Buy Single Press For $%s", + "buyp": "Buying Press", + "targetStamp": "Stamp XTC", + "stampIcon": "fa-solid fa-stamp", + "stamp_desc": "Stamp %s Pills", + "stamping": "Stamping %s Pills", + "noPills": "You Dont Have Any Unstamped Pills", + "noActivePress": "Player: %s attempted to exploit the xtc event by trying to stamp pills without having an active press." + }, + + "merchant": { + "targetOpen": "Open Merchant Menu", + "targetIcon": "fa-solid fa-shop", + "menuTitle": "Travelling Merchant", + "itemDoesntExist": "Player: %s attempted to exploit the merchant event by trying to purchase an item that does not exist in the merchant: %s" + }, + + "Whippit": { + "targetShop": "Open Whippit Shop", + "needBalloon": "You Need A Balloon For This", + "needCanister": "You Need A Canister For This", + "shopHeader": "Whippit Shop", + "whippitIcon": "fa-solid fa-cart-shopping", + "invalidItemWarn": "Player: %s attempted to exploit the whippit shop event by trying to purchase an item that does not exist in the whippit shop: %s" + }, + "Dispatch": { + "header": "Drug Activity", + "code": "4-2-0", + "icon": "fas fa-exclamation-triangle" + }, + "DrugRep": { + "header": "Drug Reputation", + "increased": "Your Current Drug Reputation Stats", + "coke": { + "icon": "fa-solid fa-face-flushed", + "title": "Cocaine: %s" + }, + "heroin": { + "icon": "fa-solid fa-syringe", + "title": "Heroin: %s" + }, + "lsd": { + "icon": "fa-solid fa-vial", + "title": "LSD: %s" + }, + "dealerrep": { + "icon": "fa-solid fa-plug", + "title": "Dealer: %s" + }, + "cornerselling": { + "icon": "fa-solid fa-money-bill", + "title": "Corner Selling: %s", + "description": "Rank: %s" + } + } +} diff --git a/locales/en.lua b/locales/en.lua deleted file mode 100644 index be3f993..0000000 --- a/locales/en.lua +++ /dev/null @@ -1,270 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'You Are Not In The Correct Location', - needItems = 'You Do Not Have The Required Items', - notEnoughMoney = 'Youre To Broke', - buySuccess = 'You Bought %s %s For $%s', - itemMissings = 'You Need %s', - itemNeeded = 'You Need %s', - cooldown = 'Slow Down Speed Racer', - invalidItem = 'This Item Is Not Sold Here', - onCooldownWarn = '%s Attempted To Run Event %s \n while on cooldown', - noCops = 'Not Enough Police Online', -} - -Lang.coke = { - targetPick = 'Pick Coca Leaf', - picking = 'Picking Coca Leaf', - targetMakePow = 'Make Cocaine Powder', - noleaf = 'You Need A Coke Leaf', - makePow = 'Chopping Leaves into Powder', - targetCutCoke = 'Cut Cocaine', - targetBagCoke = 'Bag Cocaine', - teleIn = 'Enter the Lab', - teleOut = 'Exit the Lab', - needBakingSoda = 'You Need Baking Soda For This', -} - -Lang.Cornerselling = { - inVeh = 'Stranger Danger!', - selling = 'Selling %s for $%s', - deny = 'Fuck That Offer', - wait = 'Waiting For Customer', - nodrugs = 'You Do Not Have Any Drugs To Sell', - searching = 'Searching For Nearby Customers', - targetTakeBack = 'Take Back Drugs', - targetSell = 'Sell %s Of %s For $%s', - targetDeny = 'Deny Offer', - stopped = 'Your Lazy Ass Cant Even Sell Drugs!', - start = 'Go Make Your Mom Proud', - gotRobbed = 'You Got Robbed Nerd!', - gotBack = 'You Got Your Stuff Back!', - notEnough = 'You Dont Have Enough Of This Item', - comDes = 'Sell Things On The Corner' -} - -Lang.crack = { - targetMake = 'Cook Some Crack', - cook = 'Cooking Crack', - targetBag = 'Bag Crack', - bag = 'Bagging Crack', -} - -Lang.Deliveries = { - targetGetDel = 'Get Delivery Mission', - targetOpenShop = 'Open Dealer Shop', - shopHeader = 'Dealer Shop', - targetHandOff = 'Hand Off Delivery', - delivering = 'Handing The Package To Drug Dealer', - alreadyDelivering = 'You Are Already Delivering A Package', - slowAf = 'You Took To Long!', - newDealerHelp = { - help = 'Place A Dealer', - name = 'Dealer Name', - timeMin = 'Minimum Time', - timeMax = 'Maximum Time' - }, - DealerExists = 'Dealer Already Exists', - deleteDealer = { - help = 'Delete A Dealer', - name = 'Dealer Name', - }, - deleteDealerSuccess = 'Deleted Dealer', - deleteDealerFail = 'Failed To Delete Dealer', -} - -Lang.heroin = { - targetPick = 'Pick Heroin', - picking = 'Picking Heroin', - targetCook = 'Cook Heroin', - pbCook = 'Cooking Up Heroin', - targetPickup = 'Pick Up Lab', - pbPickup = 'Picking Up Lab', - targetClean = 'Clean Lab', - pbClean = 'Cleaning Lab', - targetDry = 'Dry Out Plant', - pbDry = 'Drying Out Plant', - targetCutHeroin = 'Cut Heroin', - pbCutHeroin = 'Cutting Heroin', - targetBuyKit = 'Buy Heroin Lab Kit', - pbBuyKit = 'Buying Heroin Lab Kit', - tableout = 'You Already Have A Table Out', - placing = 'Placing Down Table', - targetFill = 'Fill Syringe', - pbFill = 'Filling Syringe', - hasKitAlready = 'You Already Have A Heroin Lab Kit', - notEnoughMoney = 'You Need $%s In Cash For This', - placedKit = 'You Placed Down Your Heroin Lab Kit', - failed = 'You Failed To Make Heroin And Lost Your Ingredients', -} - -Lang.lean = { - stealFromTruck = 'Steal From Truck', - startMission = 'Start Lean Mission', - notOnRun = 'You Are Not On A Lean Run', - alreadyChasing = 'You Are Already Chasing A Truck', -} - -Lang.lsd = { - targetHeat = 'Heating LSD', - heating = 'Heating Up LSD', - targetRefine = 'Refine The Acid', - refining = 'Refining The Acid', - targetDipping = 'Dip Tabs', - dipping = 'Dipping Tabs', - targetPickup = 'Pick Up Lab Kit', - packup = 'Packing Up Lab Kit', - targetClean = 'Clean Lab Kit', - needCleaning = 'You Need A Cleaning Kit To Clean The Lab', - cleaning = 'Cleaning Lab Kit', - targetLys = 'Steal Lysergic Acid', - stealLys = 'Stealing Lysergic Acid', - targetDie = 'Steal Diethylamide', - stealDie = 'Stealing Diethylamide', - targetBuyTab = 'Buy Tab Paper', - targetBuyKit = 'Buy LSD Lab Kit', - alreadyOwn = 'You Already Own This Item', - buyingKit = 'Buying LSD Lab Kit', - tableout = 'You Already Have A Table Out', - placing = 'Placing Lab Kit Down!', - failed = 'You Suck At Making Drugs', -} - -Lang.mesc = { - targetPick = 'Pick Cactus', - picking = 'Picking Cactus', - targetDry = 'Dry Cactus', - dry = 'Drying Cactus', -} - -Lang.meth = { - alreadyChasing = 'You Already Are Chasing A Truck', - targetStealFromCar = 'Steal From Meth Car', - targetHeist = 'Start Meth Mission', - started = 'You Already Have Meth Cooking', - increaseHeat = 'You Increased The Heat', - targetBag = 'Bag Meth', - targetCook = 'Cook Meth', - targetGrabTray = 'Grab Meth Tray', - targetHeat = 'Adjust The Dials', - targetSmash = 'Smash The Tray', - targetStealEPH = 'Steal Ephedrine', - stealingEPH = 'Stealing Ephedrine', - targetStealACE = 'Steal Acetone', - stealingACE = 'Stealing Acetone', - notOnRun = 'You Are Not On A Meth Run', - onCooldown = 'You Are On A Cooldown', - teleIn = 'Enter the Lab', - teleOut = 'Exit the Lab', -} - -Lang.oxy = { - ditchCar = 'The Van Is Hot, Leave It Somewhere', - targetHandoff = 'Hand Off The Package', - handingoff = 'Handing Off The Package', - emptyHands = 'You Are Not Carrying Anything', - targetPay = 'Rent Oxy Van', - keys = 'The Keys Are In The Van', - targetGetPackage = 'Grab Package', - alreadyCarrying = 'You Are Already Carrying A Package', - paid = 'You Paid $%s To Rent The Van', - notOn = 'You Are Not On A Route', -} - -Lang.pharma = { - input = { - header = 'Who To Give A Prescription To?', - title1 = 'Player Name', - title2 = 'Prescription', - }, - write = 'Writing Prescription', - opening = 'Opening Prescription Bottle', - targetFill = 'Fill Prescription', - fill = 'Getting Prescription Filled', - canceled = 'You Canceled The Prescription', - unbottle = 'You Opened The Bottle', -} - -Lang.shrooms = { - targetPick = 'Pick Shrooms', - picking = 'Picking Shrooms', - eat = 'Eating Shrooms', - cancel = 'Decided To Not Do Shrooms', - took = 'You Took Some Shrooms!' -} - -Lang.weed = { - targetPick = 'Pick Weed', - picking = 'Picking Weed', - targetDry = 'Dry Weed', - noDry = 'You Need Wet Weed For This', - wait = 'Waiting For Weed To Dry...', - take = 'Ready To Take Weed', - targetDryed = 'Pickup Weed', - teleportIn = 'Enter The Grow House', - teleportOut = 'Leave The Grow House', - dabs = 'Doing Some Dabs', - bluntWrap = 'Dipping Syrup To Make %s', - rollBlunt = 'Rolling A %s', - targetSales = 'Buy From Dealer', - buying = 'Buying %s From Dealer', - itemDoesntExist = 'This Item Does Not Exist Here', - needItem = 'You Need A %s For This', - crackBlunt = 'Cracking Open A Blunt' -} - -Lang.wholesale = { - alreadyWholesale = 'Already Wholesaling', - targetBuyer = 'Talk To The Buyer', - wholesaling = 'Wholesaling Drugs', - uhoh = 'The Buyer Is Getting Sketchy', - tooLong = 'The Buyer Waited Too Long', - notEnoughCops = 'Not Enough Cops On Duty', - - count = 'Quantity detected: %s', - bonus = 'Quantity bonus: +%s%%', - estimate = 'Estimated payout: $%s - $%s', - no_drugs = 'You do not have any of this drug to sell', - ambush = 'Ambush! %s attackers with %s weapons are approaching!', - complete = 'Sold %s items for $%s%s', - min_quantity = 'You must sell at least %s items to wholesale', - deal_failed_cleanup = 'Deal failed - you can try again' -} - -Lang.xtc = { - alreadyOut = 'You Have A Press Out Already', - settingDown = 'Setting Down The Press', - noPressOut = 'You Do Not Have A Press Out', - targetMake = 'Press Pills', - making = 'Pressing A %s', - targetPickup = 'Pick Up Press', - picking = 'Picking Up Press', - targetStealMDP2P = 'Steal MDP2P', - stealingMDP2P = 'Stealing MDP2P', - fail = 'Damn Dude You Suck', - targetStealIsosafrole = 'Steal Isosafrole', - stealingIsosafrole = 'Stealing Isosafrole', - targetRaw = 'Make Raw XTC', - makingRaw = 'Making Raw XTC', - getPress = 'Get Press', - buySingle = 'Buy Single Press For $%s', - buyp = 'Buying Press', - targetStamp = 'Stamp XTC', - stamp_desc = 'Stamp %s Pills', - stamping = 'Stamping %s Pills', - noPills = 'You Dont Have Any Unstamped Pills' -} - -Lang.merchant = { - targetOpen = 'Open Merchant Menu', -} - -Lang.Whippit = { - targetShop = 'Open Whippit Shop', - needBalloon = 'You Need A Balloon For This', - needCanister = 'You Need A Canister For This', - shopHeader = 'Whippit Shop', -} - -return Lang \ No newline at end of file diff --git a/locales/es.lua b/locales/es.lua deleted file mode 100644 index fd6ec2a..0000000 --- a/locales/es.lua +++ /dev/null @@ -1,270 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'No estás en la ubicación correcta', - needItems = 'No tienes los objetos requeridos', - notEnoughMoney = 'Estás demasiado pobre', - buySuccess = 'Compraste %s %s por $%s', - itemMissings = 'Necesitas %s', - itemNeeded = 'Necesitas %s', - cooldown = 'Despacio, Speed Racer', - invalidItem = 'Este artículo no se vende aquí', - onCooldownWarn = '%s intentó ejecutar el evento %s \n mientras estaba en cooldown', - noCops = 'No hay suficientes policías en línea', -} - -Lang.coke = { - targetPick = 'Recoger hojas de coca', - picking = 'Recogiendo hojas de coca', - targetMakePow = 'Hacer polvo de cocaína', - noleaf = 'Necesitas una hoja de coca', - makePow = 'Triturando hojas en polvo', - targetCutCoke = 'Cortar cocaína', - targetBagCoke = 'Empaquetar cocaína', - teleIn = 'Entrar al laboratorio', - teleOut = 'Salir del laboratorio', - needBakingSoda = 'Necesitas bicarbonato de sodio para esto', -} - -Lang.Cornerselling = { - inVeh = '¡Peligro de desconocidos!', - selling = 'Vendiendo %s por $%s', - deny = 'A la mierda esa oferta', - wait = 'Esperando cliente', - nodrugs = 'No tienes drogas para vender', - searching = 'Buscando clientes cercanos', - targetTakeBack = 'Recuperar drogas', - targetSell = 'Vender %s de %s por $%s', - targetDeny = 'Rechazar oferta', - stopped = '¡Tu perezoso trasero ni siquiera puede vender drogas!', - start = 'Ve a hacer sentir orgullosa a tu mamá', - gotRobbed = '¡Te robaron, nerd!', - gotBack = '¡Recuperaste tus cosas!', - notEnough = 'No tienes suficiente de este artículo', - comDes = 'Vende cosas en la esquina' -} - -Lang.crack = { - targetMake = 'Cocinar crack', - cook = 'Cocinando crack', - targetBag = 'Empaquetar crack', - bag = 'Empaquetando crack', -} - -Lang.Deliveries = { - targetGetDel = 'Obtener misión de entrega', - targetOpenShop = 'Abrir tienda de dealer', - shopHeader = 'Tienda de Dealer', - targetHandOff = 'Entregar paquete', - delivering = 'Entregando el paquete al dealer', - alreadyDelivering = 'Ya estás entregando un paquete', - slowAf = '¡Te tomó demasiado tiempo!', - newDealerHelp = { - help = 'Colocar un dealer', - name = 'Nombre del dealer', - timeMin = 'Tiempo mínimo', - timeMax = 'Tiempo máximo' - }, - DealerExists = 'El dealer ya existe', - deleteDealer = { - help = 'Eliminar un dealer', - name = 'Nombre del dealer', - }, - deleteDealerSuccess = 'Dealer eliminado', - deleteDealerFail = 'Error al eliminar dealer', -} - -Lang.heroin = { - targetPick = 'Recoger heroína', - picking = 'Recogiendo heroína', - targetCook = 'Cocinar heroína', - pbCook = 'Cocinando heroína', - targetPickup = 'Recoger laboratorio', - pbPickup = 'Recogiendo laboratorio', - targetClean = 'Limpiar laboratorio', - pbClean = 'Limpiando laboratorio', - targetDry = 'Secar planta', - pbDry = 'Secando planta', - targetCutHeroin = 'Cortar heroína', - pbCutHeroin = 'Cortando heroína', - targetBuyKit = 'Comprar kit de laboratorio de heroína', - pbBuyKit = 'Comprando kit de laboratorio de heroína', - tableout = 'Ya tienes una mesa colocada', - placing = 'Colocando mesa', - targetFill = 'Llenar jeringa', - pbFill = 'Llenando jeringa', - hasKitAlready = 'Ya tienes un kit de laboratorio de heroína', - notEnoughMoney = 'Necesitas $%s en efectivo para esto', - placedKit = 'Colocaste tu kit de laboratorio de heroína', - failed = 'Fallaste al hacer heroína y perdiste los ingredientes', -} - -Lang.lean = { - stealFromTruck = 'Robar del camión', - startMission = 'Iniciar misión de Lean', - notOnRun = 'No estás en una misión de Lean', - alreadyChasing = 'Ya estás persiguiendo un camión', -} - -Lang.lsd = { - targetHeat = 'Calentar LSD', - heating = 'Calentando LSD', - targetRefine = 'Refinar el ácido', - refining = 'Refinando el ácido', - targetDipping = 'Sumergir pastillas', - dipping = 'Sumergiendo pastillas', - targetPickup = 'Recoger kit de laboratorio', - packup = 'Empacando kit de laboratorio', - targetClean = 'Limpiar kit de laboratorio', - needCleaning = 'Necesitas un kit de limpieza para limpiar el laboratorio', - cleaning = 'Limpiando kit de laboratorio', - targetLys = 'Robar ácido lisérgico', - stealLys = 'Robando ácido lisérgico', - targetDie = 'Robar dietilamida', - stealDie = 'Robando dietilamida', - targetBuyTab = 'Comprar papel para pastillas', - targetBuyKit = 'Comprar kit de laboratorio de LSD', - alreadyOwn = 'Ya posees este artículo', - buyingKit = 'Comprando kit de laboratorio de LSD', - tableout = 'Ya tienes una mesa colocada', - placing = '¡Colocando kit de laboratorio!', - failed = 'Eres pésimo haciendo drogas', -} - -Lang.mesc = { - targetPick = 'Recoger cactus', - picking = 'Recogiendo cactus', - targetDry = 'Secar cactus', - dry = 'Secando cactus', -} - -Lang.meth = { - alreadyChasing = 'Ya estás persiguiendo un auto', - targetStealFromCar = 'Robar del auto de metanfetamina', - targetHeist = 'Iniciar misión de metanfetamina', - started = 'Ya tienes metanfetamina cocinándose', - increaseHeat = 'Aumentaste el calor', - targetBag = 'Empaquetar metanfetamina', - targetCook = 'Cocinar metanfetamina', - targetGrabTray = 'Agarrar bandeja de metanfetamina', - targetHeat = 'Ajustar las perillas', - targetSmash = 'Romper la bandeja', - targetStealEPH = 'Robar efedrina', - stealingEPH = 'Robando efedrina', - targetStealACE = 'Robar acetona', - stealingACE = 'Robando acetona', - notOnRun = 'No estás en una misión de metanfetamina', - onCooldown = 'Estás en cooldown', - teleIn = 'Entrar al laboratorio', - teleOut = 'Salir del laboratorio', -} - -Lang.oxy = { - ditchCar = 'La camioneta está caliente, déjala en algún lugar', - targetHandoff = 'Entregar el paquete', - handingoff = 'Entregando el paquete', - emptyHands = 'No estás cargando nada', - targetPay = 'Alquilar camioneta de Oxy', - keys = 'Las llaves están en la camioneta', - targetGetPackage = 'Agarrar paquete', - alreadyCarrying = 'Ya estás cargando un paquete', - paid = 'Pagaste $%s para alquilar la camioneta', - notOn = 'No estás en una ruta', -} - -Lang.pharma = { - input = { - header = '¿A quién recetar?', - title1 = 'Nombre del jugador', - title2 = 'Receta', - }, - write = 'Escribiendo receta', - opening = 'Abriendo frasco de receta', - targetFill = 'Llenar receta', - fill = 'Llenando receta', - canceled = 'Cancelaste la receta', - unbottle = 'Abriste el frasco', -} - -Lang.shrooms = { - targetPick = 'Recoger hongos', - picking = 'Recogiendo hongos', - eat = 'Comiendo hongos', - cancel = 'Decidiste no tomar hongos', - took = '¡Tomaste algunos hongos!' -} - -Lang.weed = { - targetPick = 'Recoger hierba', - picking = 'Recogiendo hierba', - targetDry = 'Secar hierba', - noDry = 'Necesitas hierba mojada para esto', - wait = 'Esperando a que la hierba se seque...', - take = 'Listo para tomar la hierba', - targetDryed = 'Recoger hierba', - teleportIn = 'Entrar a la casa de cultivo', - teleportOut = 'Salir de la casa de cultivo', - dabs = 'Haciendo dabs', - bluntWrap = 'Mojando jarabe para hacer %s', - rollBlunt = 'Armando un %s', - targetSales = 'Comprar del dealer', - buying = 'Comprando %s del dealer', - itemDoesntExist = 'Este artículo no existe aquí', - needItem = 'Necesitas un %s para esto', - crackBlunt = 'Rompiendo un porro' -} - -Lang.wholesale = { - alreadyWholesale = 'Ya estás vendiendo al por mayor', - targetBuyer = 'Hablar con el comprador', - wholesaling = 'Vendiendo drogas al por mayor', - uhoh = 'El comprador se está poniendo sospechoso', - tooLong = 'El comprador esperó demasiado', - notEnoughCops = 'No hay suficientes policías de servicio', - - count = 'Cantidad detectada: %s', - bonus = 'Bono de cantidad: +%s%%', - estimate = 'Pago estimado: $%s - $%s', - no_drugs = 'No tienes ninguna de estas drogas para vender', - ambush = '¡Emboscada! ¡%s atacantes con %s armas se acercan!', - complete = 'Vendiste %s artículos por $%s%s', - min_quantity = 'Debes vender al menos %s artículos para vender al por mayor', - deal_failed_cleanup = 'El trato falló: puedes intentarlo de nuevo' -} - -Lang.xtc = { - alreadyOut = 'Ya tienes una prensa colocada', - settingDown = 'Colocando la prensa', - noPressOut = 'No tienes una prensa colocada', - targetMake = 'Prensar pastillas', - making = 'Prensando una %s', - targetPickup = 'Recoger prensa', - picking = 'Recogiendo prensa', - targetStealMDP2P = 'Robar MDP2P', - stealingMDP2P = 'Robando MDP2P', - fail = 'Maldita sea, eres pésimo en esto', - targetStealIsosafrole = 'Robar isosafrol', - stealingIsosafrole = 'Robando isosafrol', - targetRaw = 'Hacer XTC crudo', - makingRaw = 'Haciendo XTC crudo', - getPress = 'Obtener prensa', - buySingle = 'Comprar prensa individual por $%s', - buyp = 'Comprando prensa', - targetStamp = 'Estampar XTC', - stamp_desc = 'Estampar %s pastillas', - stamping = 'Estampando %s pastillas', - noPills = 'No tienes pastillas sin estampar' -} - -Lang.merchant = { - targetOpen = 'Abrir menú de comerciante', -} - -Lang.Whippit = { - targetShop = 'Abrir tienda Whippit', - needBalloon = 'Necesitas un globo para esto', - needCanister = 'Necesitas un bote para esto', - shopHeader = 'Tienda Whippit', -} - -return Lang \ No newline at end of file diff --git a/locales/fr.lua b/locales/fr.lua deleted file mode 100644 index 098a03d..0000000 --- a/locales/fr.lua +++ /dev/null @@ -1,269 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'Vous n’êtes pas au bon endroit', - needItems = 'Vous n’avez pas les objets requis', - notEnoughMoney = 'Vous êtes trop fauché', - buySuccess = 'Vous avez acheté %s %s pour $%s', - itemMissings = 'Vous avez besoin de %s', - itemNeeded = 'Vous avez besoin de %s', - cooldown = 'Ralentissez, Speed Racer', - invalidItem = 'Cet objet n’est pas vendu ici', - onCooldownWarn = '%s a tenté de lancer l’événement %s \n pendant le cooldown', - noCops = 'Pas assez de policiers en ligne', -} - -Lang.coke = { - targetPick = 'Ramasser des feuilles de coca', - picking = 'Ramassage de feuilles de coca', - targetMakePow = 'Fabriquer de la poudre de cocaïne', - noleaf = 'Vous avez besoin d’une feuille de coca', - makePow = 'Hachage des feuilles en poudre', - targetCutCoke = 'Couper la cocaïne', - targetBagCoke = 'Mettre la cocaïne en sachets', - teleIn = 'Entrer dans le labo', - teleOut = 'Sortir du labo', - needBakingSoda = 'Vous avez besoin de bicarbonate de soude pour ça', -} - -Lang.Cornerselling = { - inVeh = 'Danger inconnu !', - selling = 'Vente de %s pour $%s', - deny = 'Va te faire foutre, cette offre', - wait = 'En attente de client', - nodrugs = 'Vous n’avez aucune drogue à vendre', - searching = 'Recherche de clients à proximité', - targetTakeBack = 'Récupérer les drogues', - targetSell = 'Vendre %s de %s pour $%s', - targetDeny = 'Refuser l’offre', - stopped = 'Votre cul paresseux ne peut même pas vendre de la drogue !', - start = 'Allez rendre fière votre mère', - gotRobbed = 'Vous vous êtes fait braquer, bouffon !', - gotBack = 'Vous avez récupéré vos affaires !', - notEnough = 'Vous n’en avez pas assez de cet objet', - comDes = 'Vendez des trucs dans la rue' -} - -Lang.crack = { - targetMake = 'Cuire du crack', - cook = 'Cuisson du crack', - targetBag = 'Mettre le crack en sachets', - bag = 'Mise en sachets du crack', -} - -Lang.Deliveries = { - targetGetDel = 'Prendre une mission de livraison', - targetOpenShop = 'Ouvrir la boutique du dealer', - shopHeader = 'Boutique du Dealer', - targetHandOff = 'Remettre la livraison', - delivering = 'Remise du paquet au dealer', - alreadyDelivering = 'Vous êtes déjà en train de livrer un paquet', - slowAf = 'Vous avez mis trop de temps !', - newDealerHelp = { - help = 'Placer un dealer', - name = 'Nom du dealer', - timeMin = 'Temps minimum', - timeMax = 'Temps maximum' - }, - DealerExists = 'Le dealer existe déjà', - deleteDealer = { - help = 'Supprimer un dealer', - name = 'Nom du dealer', - }, - deleteDealerSuccess = 'Dealer supprimé', - deleteDealerFail = 'Échec de la suppression du dealer', -} - -Lang.heroin = { - targetPick = 'Ramasser de l’héroïne', - picking = 'Ramassage d’héroïne', - targetCook = 'Cuire de l’héroïne', - pbCook = 'Cuisson d’héroïne', - targetPickup = 'Récupérer le labo', - pbPickup = 'Récupération du labo', - targetClean = 'Nettoyer le labo', - pbClean = 'Nettoyage du labo', - targetDry = 'Sécher la plante', - pbDry = 'Séchage de la plante', - targetCutHeroin = 'Couper l’héroïne', - pbCutHeroin = 'Découpage de l’héroïne', - targetBuyKit = 'Acheter un kit de labo d’héroïne', - pbBuyKit = 'Achat du kit de labo d’héroïne', - tableout = 'Vous avez déjà une table installée', - placing = 'Installation de la table', - targetFill = 'Remplir la seringue', - pbFill = 'Remplissage de la seringue', - hasKitAlready = 'Vous possédez déjà un kit de labo d’héroïne', - notEnoughMoney = 'Vous avez besoin de $%s en liquide pour ça', - placedKit = 'Vous avez installé votre kit de labo d’héroïne', - failed = 'Vous avez échoué à fabriquer de l’héroïne et perdu vos ingrédients', -} - -Lang.lean = { - stealFromTruck = 'Voler du camion', - startMission = 'Démarrer la mission Lean', - notOnRun = 'Vous n’êtes pas en mission Lean', - alreadyChasing = 'Vous poursuivez déjà un camion', -} - -Lang.lsd = { - targetHeat = 'Chauffer le LSD', - heating = 'Chauffage du LSD', - targetRefine = 'Raffiner l’acide', - refining = 'Raffinage de l’acide', - targetDipping = 'Tremper les comprimés', - dipping = 'Trempage des comprimés', - targetPickup = 'Récupérer le kit de labo', - packup = 'Rangement du kit de labo', - targetClean = 'Nettoyer le kit de labo', - needCleaning = 'Vous avez besoin d’un kit de nettoyage pour nettoyer le labo', - cleaning = 'Nettoyage du kit de labo', - targetLys = 'Vol de l’acide lysergique', - stealLys = 'Vol d’acide lysergique', - targetDie = 'Vol de diéthylamide', - stealDie = 'Vol de diéthylamide', - targetBuyTab = 'Acheter du papier pour comprimés', - targetBuyKit = 'Acheter un kit de labo LSD', - alreadyOwn = 'Vous possédez déjà cet objet', - buyingKit = 'Achat du kit de labo LSD', - tableout = 'Vous avez déjà une table installée', - placing = 'Installation du kit de labo !', - failed = 'Vous êtes nul pour fabriquer des drogues', -} - -Lang.mesc = { - targetPick = 'Ramasser un cactus', - picking = 'Ramassage de cactus', - targetDry = 'Sécher le cactus', - dry = 'Séchage du cactus', -} - -Lang.meth = { - alreadyChasing = 'Vous poursuivez déjà une voiture', - targetStealFromCar = 'Vol de la voiture de méth', - targetHeist = 'Démarrer la mission méth', - started = 'Vous êtes déjà en train de cuire de la méth', - increaseHeat = 'Vous avez augmenté la chaleur', - targetBag = 'Mettre la méth en sachets', - targetCook = 'Cuire de la méth', - targetGrabTray = 'Prendre le plateau de méth', - targetHeat = 'Ajuster les boutons', - targetSmash = 'Écraser le plateau', - targetStealEPH = 'Vol d’éphédrine', - stealingEPH = 'Vol d’éphédrine', - targetStealACE = 'Vol d’acétone', - stealingACE = 'Vol d’acétone', - notOnRun = 'Vous n’êtes pas en mission méth', - onCooldown = 'Vous êtes en cooldown', - teleIn = 'Entrer dans le labo', - teleOut = 'Sortir du labo', -} - -Lang.oxy = { - ditchCar = 'Le van est brûlant, laissez-le quelque part', - targetHandoff = 'Remettre le paquet', - handingoff = 'Remise du paquet', - emptyHands = 'Vous ne portez rien', - targetPay = 'Louer le van Oxy', - keys = 'Les clés sont dans le van', - targetGetPackage = 'Prendre le paquet', - alreadyCarrying = 'Vous portez déjà un paquet', - paid = 'Vous avez payé $%s pour louer le van', - notOn = 'Vous n’êtes pas sur un trajet', -} - -Lang.pharma = { - input = { - header = 'À qui prescrire ?', - title1 = 'Nom du joueur', - title2 = 'Ordonnance', - }, - write = 'Rédaction de l’ordonnance', - opening = 'Ouverture du flacon d’ordonnance', - targetFill = 'Faire exécuter l’ordonnance', - fill = 'Exécution de l’ordonnance', - canceled = 'Vous avez annulé l’ordonnance', - unbottle = 'Vous avez ouvert le flacon', -} - -Lang.shrooms = { - targetPick = 'Ramasser des champignons', - picking = 'Ramassage de champignons', - eat = 'Manger des champignons', - cancel = 'Vous avez décidé de ne pas prendre de champignons', - took = 'Vous avez pris des champignons !' -} - -Lang.weed = { - targetPick = 'Ramasser de l’herbe', - picking = 'Ramassage d’herbe', - targetDry = 'Sécher l’herbe', - noDry = 'Vous avez besoin d’herbe humide pour ça', - wait = 'Attente du séchage de l’herbe...', - take = 'Prêt à prendre l’herbe', - targetDryed = 'Ramasser l’herbe', - teleportIn = 'Entrer dans la serre', - teleportOut = 'Sortir de la serre', - dabs = 'Faire des dabs', - bluntWrap = 'Tremper du sirop pour faire %s', - rollBlunt = 'Rouler un %s', - targetSales = 'Acheter au dealer', - buying = 'Achat de %s auprès du dealer', - itemDoesntExist = 'Cet objet n’existe pas ici', - needItem = 'Vous avez besoin d’un %s pour ça', - crackBlunt = 'Casser un joint' -} - -Lang.wholesale = { - alreadyWholesale = 'Vous vendez déjà en gros', - targetBuyer = 'Parler à l’acheteur', - wholesaling = 'Vente de drogues en gros', - uhoh = 'L’acheteur devient méfiant', - tooLong = 'L’acheteur a trop attendu', - notEnoughCops = 'Pas assez de flics en service', - - count = 'Quantité détectée : %s', - bonus = 'Bonus de quantité : +%s%%', - estimate = 'Paiement estimé : $%s - $%s', - no_drugs = 'Vous n’avez aucune de ces drogues à vendre', - ambush = 'Embush ! %s attaquants avec %s armes approchent !', - complete = 'Vendu %s articles pour $%s%s', - min_quantity = 'Vous devez vendre au moins %s articles pour vendre en gros', - deal_failed_cleanup = 'Échec de la transaction — vous pouvez réessayer' -} - -Lang.xtc = { - alreadyOut = 'Vous avez déjà une presse installée', - settingDown = 'Installation de la presse', - noPressOut = 'Vous n’avez pas de presse installée', - targetMake = 'Presser des pilules', - making = 'Pressage d’une %s', - targetPickup = 'Récupérer la presse', - picking = 'Récupération de la presse', - targetStealMDP2P = 'Vol de MDP2P', - stealingMDP2P = 'Vol de MDP2P', - fail = 'Putain, vous êtes nul', - targetStealIsosafrole = 'Vol d’isosafrole', - stealingIsosafrole = 'Vol d’isosafrole', - targetRaw = 'Fabriquer du XTC brut', - makingRaw = 'Fabrication de XTC brut', - getPress = 'Obtenir une presse', - buySingle = 'Acheter une presse individuelle pour $%s', - buyp = 'Achat de la presse', - targetStamp = 'Estamper le XTC', - stamp_desc = 'Estampage de %s pilules', - stamping = 'Estampage de %s pilules', - noPills = 'Vous n’avez pas de pilules non estampées' -} - -Lang.merchant = { - targetOpen = 'Ouvrir le menu du marchand', -} - -Lang.Whippit = { - targetShop = 'Ouvrir la boutique Whippit', - needBalloon = 'Vous avez besoin d’un ballon pour ça', - needCanister = 'Vous avez besoin d’un bidon pour ça', - shopHeader = 'Boutique Whippit', -} -return Lang \ No newline at end of file diff --git a/locales/gungan.lua b/locales/gungan.lua deleted file mode 100644 index 592e77a..0000000 --- a/locales/gungan.lua +++ /dev/null @@ -1,269 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'Yousa not bein in da right place-o!', - needItems = 'Yousa no havin da tings needed!', - notEnoughMoney = 'Yousa too broke, mooey mooey!', - buySuccess = 'Yousa buyin %s %s for %s credits!', - itemMissings = 'Yousa needin dis stuff: %s', - itemNeeded = 'Yousa needin %s', - cooldown = 'Ooooh, slow down speeda racer!', - invalidItem = 'Dis item not bein sold here, okeeday?', - onCooldownWarn = '%s tryin to do da event %s \n while still on da cooldown!', - noCops = 'Nosa! Not enough cops online, okeeday!', -} - -Lang.coke = { - targetPick = 'Pickin coca leafies, okeeday', - picking = 'Meesa pickin coca leaf', - targetMakePow = 'Makin da powdery stuff', - noleaf = 'Yousa needin a coca leaf!', - makePow = 'Choppin leafies into da powder', - targetCutCoke = 'Cutty-cut da cocaine', - targetBagCoke = 'Baggin da cocaine', - teleIn = 'Meesa goin inside da lab', - teleOut = 'Meesa leavin da lab', - needBakingSoda = 'Yousa needin bakin soda for dis, okeeday', -} - -Lang.Cornerselling = { - inVeh = 'Stranger danger, stay outta da speeder!', - selling = 'Meesa sellin %s for %s credits', - deny = 'Nosa, meesa no likin dat offer!', - wait = 'Waitin for da customer to come', - nodrugs = 'Yousa not havin no tings to sell', - searching = 'Meesa lookin for customers, okeeday', - targetTakeBack = 'Takin back da stuff', - targetSell = 'Sellin %s of %s for %s credits', - targetDeny = 'Sayin nosa to da offer', - stopped = 'Yousa too lazy, can’t even sell nuttin!', - start = 'Go make yo mama proud, okeeday!', - gotRobbed = 'Yousa got robbed, mooey mooey!', - gotBack = 'Yousa gots yo tings back!', - notEnough = 'Yousa no havin enough of dis item', - comDes = 'Sellin da tings on da corner', -} - -Lang.crack = { - targetMake = 'Cookin da cracky-crack', - cook = 'Meesa cookin crack', - targetBag = 'Baggin da crack', - bag = 'Meesa baggin crack', -} - -Lang.Deliveries = { - targetGetDel = 'Gettin da deliver mission', - targetOpenShop = 'Openin da dealer shop', - shopHeader = 'Dealer shop, okeeday', - targetHandOff = 'Handin da package to da dealer', - delivering = 'Meesa givin da package to da drug dealer', - alreadyDelivering = 'Yousa already doin a delivery, okeeday', - slowAf = 'Yousa too slow, oh no!', - newDealerHelp = { - help = 'Placina dealer', - name = 'Dealer name', - timeMin = 'Da minimum time', - timeMax = 'Da maximum time', - }, - DealerExists = 'Dis dealer already existin!', - deleteDealer = { - help = 'Deletin a dealer', - name = 'Dealer name', - }, - deleteDealerSuccess = 'Meesa deletin da dealer!', - deleteDealerFail = 'Nosa! Failed deletin da dealer!', -} - -Lang.heroin = { - targetPick = 'Pickin da heroin plant', - picking = 'Meesa pickin da heroin', - targetCook = 'Cookin da heroin', - pbCook = 'Meesa cookin heroin up', - targetPickup = 'Pickin up da lab', - pbPickup = 'Meesa pickin up lab', - targetClean = 'Cleanin da lab', - pbClean = 'Meesa cleanin da lab', - targetDry = 'Dryin da plant', - pbDry = 'Meesa dryin out plant', - targetCutHeroin = 'Cuttin heroin', - pbCutHeroin = 'Meesa cuttin heroin', - targetBuyKit = 'Buyin da heroin kit', - pbBuyKit = 'Meesa buyin da heroin kit', - tableout = 'Yousa already havin a table out!', - placing = 'Placin down table', - targetFill = 'Fillin syringe', - pbFill = 'Meesa fillin syringe', - hasKitAlready = 'Yousa already havin a kit', - notEnoughMoney = 'Yousa needin %s credits for dis', - placedKit = 'Yousa placed down da kit', - failed = 'Oh no! Yousa fail makin heroin, lost all da stuff!', -} - -Lang.lean = { - stealFromTruck = 'Stealin from da truck', - startMission = 'Startin lean mission', - notOnRun = 'Yousa not on no lean run', - alreadyChasing = 'Yousa already chasin a truck!', -} - -Lang.lsd = { - targetHeat = 'Heat up da LSD', - heating = 'Meesa heating da LSD', - targetRefine = 'Refine da acid', - refining = 'Refinin da acid', - targetDipping = 'Dippin tabs', - dipping = 'Meesa dippin tabs', - targetPickup = 'Pickin up da lab kit', - packup = 'Packin da lab kit', - targetClean = 'Cleanin da lab kit', - needCleaning = 'Yousa needin a cleanin kit', - cleaning = 'Meesa cleanin lab kit', - targetLys = 'Stealin lysergic acid', - stealLys = 'Meesa stealin da acid', - targetDie = 'Stealin diethylamide', - stealDie = 'Meesa stealin da diethylamide', - targetBuyTab = 'Buyin da tab paper', - targetBuyKit = 'Buyin da LSD kit', - alreadyOwn = 'Yousa already havin dis ting', - buyingKit = 'Meesa buyin da LSD kit', - tableout = 'Yousa already havin table out!', - placing = 'Placin da kit down!', - failed = 'Yousa suck makin da drugs, okeeday', -} - -Lang.mesc = { - targetPick = 'Pickin cactus', - picking = 'Meesa pickin cactus', - targetDry = 'Dryin cactus', - dry = 'Meesa dryin cactus', -} - -Lang.meth = { - alreadyChasing = 'Yousa already chasin da truck', - targetStealFromCar = 'Stealin from meth car', - targetHeist = 'Startin meth mission', - started = 'Yousa already cookin meth', - increaseHeat = 'Yousa increasin da heat', - targetBag = 'Baggin meth', - targetCook = 'Cookin meth', - targetGrabTray = 'Grabbin da tray', - targetHeat = 'Adjustin da dials', - targetSmash = 'Smashin da tray', - targetStealEPH = 'Stealin ephedrine', - stealingEPH = 'Meesa stealin ephedrine', - targetStealACE = 'Stealin acetone', - stealingACE = 'Meesa stealin acetone', - notOnRun = 'Yousa not on no meth run', - onCooldown = 'Yousa bein on cooldown!', - teleIn = 'Enterin da lab', - teleOut = 'Leavin da lab', -} - -Lang.oxy = { - ditchCar = 'Dis van hot! Yousa leave it somewhere', - targetHandoff = 'Handin da package', - handingoff = 'Meesa handin off da package', - emptyHands = 'Yousa no carryin nuttin', - targetPay = 'Rentin oxy van', - keys = 'Da keys in da van', - targetGetPackage = 'Grabbin da package', - alreadyCarrying = 'Yousa already carryin package', - paid = 'Yousa payin %s credits to rent van', - notOn = 'Yousa not on no route', -} - -Lang.pharma = { - input = { - header = 'Who meesa givin da prescription to?', - title1 = 'Da player name', - title2 = 'Prescription', - }, - write = 'Meesa writin prescription', - opening = 'Openin da bottle', - targetFill = 'Fillin prescription', - fill = 'Meesa fillin prescription', - canceled = 'Yousa cancel da prescription', - unbottle = 'Meesa openin da bottle', -} - -Lang.shrooms = { - targetPick = 'Pickin shroomies', - picking = 'Meesa pickin shrooms', - eat = 'Meesa eatin shrooms', - cancel = 'Nosa, no doin da shrooms', - took = 'Yousa takin da shrooms!', -} - -Lang.weed = { - targetPick = 'Pickin da weed', - picking = 'Meesa pickin weed', - targetDry = 'Dryin da weed', - noDry = 'Yousa needin da wet weed', - wait = 'Waitin for da weed to dry, okeeday', - take = 'Ready to take weed!', - targetDryed = 'Pickin up da dry weed', - teleportIn = 'Meesa goin in da grow house', - teleportOut = 'Meesa leavin da grow house', - dabs = 'Meesa doin da dabs', - bluntWrap = 'Dippin syrup makin %s', - rollBlunt = 'Rollin a %s', - targetSales = 'Buyin from da dealer', - buying = 'Meesa buyin %s from dealer', - itemDoesntExist = 'Nosa, dis ting no exist here', - needItem = 'Yousa needin %s for dis', - crackBlunt = 'Crackin open da blunt', -} - -Lang.wholesale = { - alreadyWholesale = 'Yousa already wholesalin!', - targetBuyer = 'Talkin to da buyer', - wholesaling = 'Meesa wholesalin da drugs', - uhoh = 'Buyer gettin all sketchy, uh oh!', - tooLong = 'Buyer waitin too long!', - notEnoughCops = 'Nosa! Not enough cops here', - - count = 'Quantity detected: %s', - bonus = 'Quantity bonus: +%s%%', - estimate = 'Estimated payout: %s - %s credits', - no_drugs = 'Yousa not havin dis ting to sell', - ambush = 'Ambush! %s attackers wit %s weapons comin!', - complete = 'Sold %s items for %s credits%s', - min_quantity = 'Yousa must be sellin at least %s', - deal_failed_cleanup = 'Deal failed, yousa tryin again', -} - -Lang.xtc = { - alreadyOut = 'Yousa already havin da press out', - settingDown = 'Placin down da press', - noPressOut = 'Yousa no havin no press out', - targetMake = 'Pressin da pills', - making = 'Pressin a %s pill', - targetPickup = 'Pickin up da press', - picking = 'Meesa pickin up da press', - targetStealMDP2P = 'Stealin MDP2P', - stealingMDP2P = 'Meesa stealin MDP2P', - fail = 'Nosa! Yousa fail dis ting!', - targetStealIsosafrole = 'Stealin isosafrole', - stealingIsosafrole = 'Meesa stealin isosafrole', - targetRaw = 'Makin raw XTC', - makingRaw = 'Meesa makin raw XTC', - getPress = 'Gettin da press', - buySingle = 'Buyin one press for %s credits', - buyp = 'Meesa buyin press', - targetStamp = 'Stampin da XTC', - stamp_desc = 'Stampin %s pills', - stamping = 'Stampin %s pills', - noPills = 'Yousa not havin no pills to stamp', -} - -Lang.merchant = { - targetOpen = 'Openin da merchant menu', -} - -Lang.Whippit = { - targetShop = 'Open Whippit Shop', - needBalloon = 'Yousa needin a balloon for dis', - needCanister = 'Yousa needin a canister for dis', - shopHeader = 'Whippit Shop', -} -return Lang diff --git a/locales/klingon.lua b/locales/klingon.lua deleted file mode 100644 index bcbbc8a..0000000 --- a/locales/klingon.lua +++ /dev/null @@ -1,268 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'bIvumtaHbe’ Daq lughDaq', - needItems = 'Dochmey lugh DaHutlh', - notEnoughMoney = 'HuchlIj machqu’', - buySuccess = 'DaSuqta’ %s %s chenmoHmeH $%s', - itemMissings = 'DaHutlh Dochmey %s', - itemNeeded = 'DaHutlh %s', - cooldown = 'yIyep! nomqu’ bIvum', - invalidItem = 'Dochvam naDbe’ SuvwI’', - onCooldownWarn = '%s tay’mo’ nIDta’ %s ghu’vamDaq (cooldown)', - noCops = 'Nii lot cops online, fin sahvot!' -} - -Lang.coke = { - targetPick = 'coca tI’ jon', - picking = 'coca tI’ lupung', - targetMakePow = 'cocaine hach', - noleaf = 'coca tI’ DaHutlh', - makePow = 'tI’ QorwI’powDaq rurchu’', - targetCutCoke = 'cocaine polHa’', - targetBagCoke = 'cocaine pochHa’', - teleIn = 'labDaq yI’el', - teleOut = 'labvo’ yImej', - needBakingSoda = 'DochvamvaD baking soda DaHutlh' -} - -Lang.Cornerselling = { - inVeh = 'nov vIQoy!', - selling = '%s DajonmeH $%s', - deny = 'Qo’! bIDoH', - wait = 'lojmItDaq lojmIt', - nodrugs = 'Dochmey Hutlh', - searching = 'nuvmey SamtaH', - targetTakeBack = 'DochmeylIj cheghmoH', - targetSell = '%s Doch %s jonmeH $%s', - targetDeny = 'Qoch', - stopped = 'bIQongmo’ bIjonlaHbe’', - start = 'SoSlI’ quvmoH!', - gotRobbed = 'DochmeylIj jonlu’!', - gotBack = 'DochmeylIj Daja’chu’ta’', - notEnough = 'Dochvam machqu’ Daghaj', - comDes = 'lojmItDaq Dochmey jon' -} - -Lang.crack = { - targetMake = 'crack vuv', - cook = 'crack vuvtaH', - targetBag = 'crack pochHa’', - bag = 'crack pochHa’taH' -} - -Lang.Deliveries = { - targetGetDel = 'ngoq Qu’ Hev', - targetOpenShop = 'dealer mIch poSmoH', - shopHeader = 'dealer mIch', - targetHandOff = 'paket nob', - delivering = 'paket nobtaH', - alreadyDelivering = 'paket naQ DInobtaH', - slowAf = 'tughqu’ bIvum!', - newDealerHelp = { - help = 'dealer ghoS', - name = 'dealer pong', - timeMin = 'poHHom puS', - timeMax = 'poHHom nI’' - }, - DealerExists = 'dealer tu’lu already', - deleteDealer = { - help = 'dealer qIl', - name = 'dealer pong', - }, - deleteDealerSuccess = 'dealer qIlta’', - deleteDealerFail = 'dealer qIlHa’' -} - -Lang.heroin = { - targetPick = 'heroin tI’ jon', - picking = 'heroin tI’ lupung', - targetCook = 'heroin vuv', - pbCook = 'heroin vuvtaH', - targetPickup = 'lab lupung', - pbPickup = 'lab lupungtaH', - targetClean = 'lab Say’moH', - pbClean = 'lab Say’moHtaH', - targetDry = 'tI’ mach puv', - pbDry = 'tI’ mach puvtaH', - targetCutHeroin = 'heroin polHa’', - pbCutHeroin = 'heroin polHa’taH', - targetBuyKit = 'heroin lab jan je’', - pbBuyKit = 'heroin lab jan je’taH', - tableout = 'raS SoHtaH already', - placing = 'raS lanlu’taH', - targetFill = 'syringe teblI’', - pbFill = 'syringe teblI’taH', - hasKitAlready = 'lab jan DaHutlh already', - notEnoughMoney = 'DochvamvaD $%s Huch DaHutlh', - placedKit = 'lab jan Dalanpu’', - failed = 'heroin QapHa’pu’, DochmeylIj lujpu’' -} - -Lang.lean = { - stealFromTruck = 'rutlhDaq Doch jon', - startMission = 'lean Qu’ tagh', - notOnRun = 'lean Qu’ Daghajbe’', - alreadyChasing = 'rutlh Daq DajachtaH already' -} - -Lang.lsd = { - targetHeat = 'LSD tujmoH', - heating = 'LSD tujtaH', - targetRefine = 'acid tetlh', - refining = 'acid tetlhtaH', - targetDipping = 'tabDaq tlhap', - dipping = 'tabDaq tlhaptaH', - targetPickup = 'lab jan lupung', - packup = 'lab jan nItebHa’moH', - targetClean = 'lab jan Say’moH', - needCleaning = 'Say’meH jan DaHutlh', - cleaning = 'lab jan Say’moHtaH', - targetLys = 'lysergic acid jon', - stealLys = 'lysergic acid jonlu’taH', - targetDie = 'diethylamide jon', - stealDie = 'diethylamide jonlu’taH', - targetBuyTab = 'tab nav je’', - targetBuyKit = 'LSD lab jan je’', - alreadyOwn = 'Dochvam Daghaj already', - buyingKit = 'lab jan je’taH', - tableout = 'raS SoHtaH already', - placing = 'lab jan lanlu’taH', - failed = 'bIQapbe’! bIjonHa’pu’' -} - -Lang.mesc = { - targetPick = 'cactus jon', - picking = 'cactus jonlu’taH', - targetDry = 'cactus puv', - dry = 'cactus puvtaH' -} - -Lang.meth = { - alreadyChasing = 'rutlh Daq DajachtaH already', - targetStealFromCar = 'meth car jon', - targetHeist = 'meth Qu’ tagh', - started = 'meth vuvtaH already', - increaseHeat = 'tuj nIbtaH', - targetBag = 'meth pochHa’', - targetCook = 'meth vuv', - targetGrabTray = 'meth tray lupung', - targetHeat = 'Dial tu’Qom', - targetSmash = 'tray Qop', - targetStealEPH = 'ephedrine jon', - stealingEPH = 'ephedrine jonlu’taH', - targetStealACE = 'acetone jon', - stealingACE = 'acetone jonlu’taH', - notOnRun = 'meth Qu’ Daghajbe’', - onCooldown = 'DaH bIQutlh', - teleIn = 'labDaq yI’el', - teleOut = 'labvo’ yImej' -} - -Lang.oxy = { - ditchCar = 'rutlh QIHmoH, pa’ lan', - targetHandoff = 'paket nob', - handingoff = 'paket nobtaH', - emptyHands = 'Doch Daghajbe’', - targetPay = 'oxy rutlh rent', - keys = 'rutlh QI’meyDaq chaHtaH', - targetGetPackage = 'paket lupung', - alreadyCarrying = 'paket Daghaj already', - paid = 'DaSuqta’ $%s rutlh rentmeH', - notOn = 'rutlh Heghajbe’' -} - -Lang.pharma = { - input = { - header = 'SoHvaD prescription noblu’ ’Iv?', - title1 = 'nuv pong', - title2 = 'prescription', - }, - write = 'prescription ghItlh', - opening = 'bottle poSmoH', - targetFill = 'prescription teblI’', - fill = 'prescription teblI’taH', - canceled = 'prescription DaqIlHa’', - unbottle = 'bottle DaPoSmoHta’' -} - -Lang.shrooms = { - targetPick = 'mushroom jon', - picking = 'mushroom jonlu’taH', - eat = 'mushroom Sop', - cancel = 'mushroom Sopbe’', - took = 'mushroom Daje’pu’' -} - -Lang.weed = { - targetPick = 'weed jon', - picking = 'weed jonlu’taH', - targetDry = 'weed puv', - noDry = 'weed bIQ puv DaHutlh', - wait = 'weed puv lurgh', - take = 'weed lupunglaH', - targetDryed = 'weed lupung', - teleportIn = 'grow house yI’el', - teleportOut = 'grow house yImej', - dabs = 'dab Qap', - bluntWrap = '%s chenmoHmeH syrup Dap', - rollBlunt = '%s QorwI’ roll', - targetSales = 'dealervo’ je’', - buying = '%s dealervo’ DaSuq', - itemDoesntExist = 'Dochvam tu’lu’be’', - needItem = 'DochvamvaD %s DaHutlh', - crackBlunt = 'blunt Qop' -} - -Lang.wholesale = { - alreadyWholesale = 'wholesale naQ already', - targetBuyer = 'buyer tlhoch', - wholesaling = 'wholesale Qap', - uhoh = 'buyer vItlhutlh', - tooLong = 'buyer loS nI’qu’', - notEnoughCops = 'cop puSqu’', - - count = 'Dochmey mI’: %s', - bonus = 'mI’ bonus: +%s%%', - estimate = 'payout SeH: $%s - $%s', - no_drugs = 'Dochvam Daghajbe’', - ambush = 'jonlu’! %s jagh %s nuH lulo’taH', - complete = '%s Dochmey jonlu’ $%s%s', - min_quantity = 'Dochmey %s puS naQ jonlaH', - deal_failed_cleanup = 'jonHa’pu’ – wa’logh nIDlaH' -} - -Lang.xtc = { - alreadyOut = 'press SoHtaH already', - settingDown = 'press lanlu’taH', - noPressOut = 'press Daghajbe’', - targetMake = 'pill QorwI’', - making = '%s QorwI’taH', - targetPickup = 'press lupung', - picking = 'press lupungtaH', - targetStealMDP2P = 'MDP2P jon', - stealingMDP2P = 'MDP2P jonlu’taH', - fail = 'QapHa’pu’! bIjatlhHa’', - targetStealIsosafrole = 'isosafrole jon', - stealingIsosafrole = 'isosafrole jonlu’taH', - targetRaw = 'XTC raw chenmoH', - makingRaw = 'XTC raw chenmoHtaH', - getPress = 'press Suq', - buySingle = 'wa’ press je’ $%s', - buyp = 'press je’taH', - targetStamp = 'XTC maq', - stamp_desc = '%s pill maq', - stamping = '%s pill maqtaH', - noPills = 'pill unstamped Daghajbe’' -} - -Lang.merchant = { - targetOpen = 'merchant mIch poSmoH', -} -Lang.Whippit = { - targetShop = 'Whippit Shop poSmoH', - needBalloon = 'DochvamvaD balloon DaHutlh', - needCanister = 'DochvamvaD canister DaHutlh', - shopHeader = 'Whippit Shop', -} -return Lang diff --git a/locales/meanieweenie.lua b/locales/meanieweenie.lua deleted file mode 100644 index b004f41..0000000 --- a/locales/meanieweenie.lua +++ /dev/null @@ -1,269 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'Oi, you ain’t in the damn right spot', - needItems = 'You don’t even have the shit you need', - notEnoughMoney = 'You’re too broke, loser', - buySuccess = 'Finally bought %s %s for $%s, smartass', - itemMissings = 'You need this crap: %s', - itemNeeded = 'Get your hands on %s, idiot', - cooldown = 'Slow your ass down, speed freak', - invalidItem = 'This crap ain’t sold here, dumbfuck', - onCooldownWarn = '%s tried to run %s while on cooldown, lol', - noCops = 'Nosa! Not enough cops online, okeeday!', -} - -Lang.coke = { - targetPick = 'Grab that coke leaf, lazy ass', - picking = 'Picking the damn leaf', - targetMakePow = 'Whip up some cocaine powder', - noleaf = 'No leaf? Can’t make shit, genius', - makePow = 'Chop those leaves into powder, dumbass', - targetCutCoke = 'Cut the damn cocaine', - targetBagCoke = 'Bag that shit up', - teleIn = 'Step into the lab, dipshit', - teleOut = 'Get out of the lab, moron', - needBakingSoda = 'You need baking soda for this, noob', -} - -Lang.Cornerselling = { - inVeh = 'Get out, stranger danger!', - selling = 'Selling %s for $%s, cha-ching', - deny = 'Hell no, fuck that offer', - wait = 'Stand around waiting for a sucker', - nodrugs = 'You got no drugs to sell, dumbfuck', - searching = 'Scoping for nearby marks', - targetTakeBack = 'Take back that crap', - targetSell = 'Sell %s of %s for $%s, duh', - targetDeny = 'Reject the pathetic offer', - stopped = 'Lazy piece of shit can’t sell for shit!', - start = 'Go make your mom proud, loser', - gotRobbed = 'You got jacked, nerd!', - gotBack = 'You got your shit back, finally', - notEnough = 'You don’t have enough of this crap', - comDes = 'Sell stuff on the corner, dumbass' -} - -Lang.crack = { - targetMake = 'Cook some crack, shithead', - cook = 'Cooking that crack, duh', - targetBag = 'Bag up that crap', - bag = 'Bagging the crack, moron', -} - -Lang.Deliveries = { - targetGetDel = 'Grab a delivery, lazy bastard', - targetOpenShop = 'Open dealer shop, finally', - shopHeader = 'Dealer shop, not your playground', - targetHandOff = 'Hand over the package, asshole', - delivering = 'Handing package to dealer, hurry up', - alreadyDelivering = 'You’re already doing a delivery, dipshit', - slowAf = 'You took too damn long!', - newDealerHelp = { - help = 'Place a dealer, lazy fuck', - name = 'Dealer name, dumbass', - timeMin = 'Min time, asshole', - timeMax = 'Max time, moron' - }, - DealerExists = 'Dealer already exists, genius', - deleteDealer = { - help = 'Delete a dealer, loser', - name = 'Dealer name, duh', - }, - deleteDealerSuccess = 'Dealer deleted, finally', - deleteDealerFail = 'Failed to delete dealer, lol', -} - -Lang.heroin = { - targetPick = 'Pick heroin, idiot', - picking = 'Picking heroin, duh', - targetCook = 'Cook heroin, shithead', - pbCook = 'Cooking up heroin, finally', - targetPickup = 'Pick up lab, dipshit', - pbPickup = 'Picking up lab, moron', - targetClean = 'Clean the lab, lazy ass', - pbClean = 'Cleaning lab, you useless fuck', - targetDry = 'Dry out the plant, dumbass', - pbDry = 'Drying out the damn plant', - targetCutHeroin = 'Cut the heroin, fucker', - pbCutHeroin = 'Cutting the heroin, finally', - targetBuyKit = 'Buy heroin lab kit, moron', - pbBuyKit = 'Buying that kit, dumbass', - tableout = 'You already have a table out, loser', - placing = 'Placing the damn table down', - targetFill = 'Fill the syringe, idiot', - pbFill = 'Filling that syringe, moron', - hasKitAlready = 'You already have a heroin lab kit, fucker', - notEnoughMoney = 'You need $%s cash for this, brokeass', - placedKit = 'Placed your heroin kit, finally', - failed = 'Failed to make heroin, you fuckup', -} - -Lang.lean = { - stealFromTruck = 'Steal from truck, dumbfuck', - startMission = 'Start lean mission, asshole', - notOnRun = 'You aren’t on a lean run, moron', - alreadyChasing = 'Already chasing a truck, lazy ass', -} - -Lang.lsd = { - targetHeat = 'Heating LSD, dipshit', - heating = 'Heating up LSD, moron', - targetRefine = 'Refine the acid, shithead', - refining = 'Refining acid, lazy bastard', - targetDipping = 'Dip tabs, idiot', - dipping = 'Dipping tabs, dumbass', - targetPickup = 'Pick up lab kit, loser', - packup = 'Packing up lab kit, finally', - targetClean = 'Clean lab kit, moron', - needCleaning = 'You need cleaning kit, dumbfuck', - cleaning = 'Cleaning lab kit, dipshit', - targetLys = 'Steal lysergic acid, asshole', - stealLys = 'Stealing lysergic acid, moron', - targetDie = 'Steal diethylamide, fucker', - stealDie = 'Stealing diethylamide, idiot', - targetBuyTab = 'Buy tab paper, lazy ass', - targetBuyKit = 'Buy LSD lab kit, dumbfuck', - alreadyOwn = 'You already own this crap, loser', - buyingKit = 'Buying LSD lab kit, finally', - tableout = 'You already have a table out, shithead', - placing = 'Placing lab kit down, idiot', - failed = 'You suck at making drugs, moron', -} - -Lang.mesc = { - targetPick = 'Pick cactus, dumbass', - picking = 'Picking cactus, idiot', - targetDry = 'Dry cactus, lazy fuck', - dry = 'Drying cactus, shithead', -} - -Lang.meth = { - alreadyChasing = 'Already chasing a truck, asshole', - targetStealFromCar = 'Steal from meth car, moron', - targetHeist = 'Start meth mission, dipshit', - started = 'Already have meth cooking, dumbfuck', - increaseHeat = 'You increased the heat, shithead', - targetBag = 'Bag meth, lazy ass', - targetCook = 'Cook meth, idiot', - targetGrabTray = 'Grab meth tray, loser', - targetHeat = 'Adjust the dials, fucker', - targetSmash = 'Smash the tray, moron', - targetStealEPH = 'Steal ephedrine, dumbass', - stealingEPH = 'Stealing ephedrine, idiot', - targetStealACE = 'Steal acetone, shithead', - stealingACE = 'Stealing acetone, dipshit', - notOnRun = 'Not on a meth run, moron', - onCooldown = 'You’re on cooldown, loser', - teleIn = 'Enter the lab, dumbfuck', - teleOut = 'Exit the lab, idiot', -} - -Lang.oxy = { - ditchCar = 'Van is hot, leave it somewhere, fucker', - targetHandoff = 'Hand off the package, dipshit', - handingoff = 'Handing off package, moron', - emptyHands = 'You’re not carrying shit, idiot', - targetPay = 'Rent oxy van, lazy ass', - keys = 'Keys are in the van, dumbfuck', - targetGetPackage = 'Grab the package, shithead', - alreadyCarrying = 'Already carrying a package, loser', - paid = 'Paid $%s to rent van, finally', - notOn = 'Not on a route, moron', -} - -Lang.pharma = { - input = { - header = 'Who the fuck gets this prescription?', - title1 = 'Player name, asshole', - title2 = 'Prescription, dumbfuck', - }, - write = 'Writing prescription, shithead', - opening = 'Opening prescription bottle, moron', - targetFill = 'Fill prescription, idiot', - fill = 'Getting prescription filled, dipshit', - canceled = 'You canceled the prescription, loser', - unbottle = 'Opened the bottle, fucker', -} - -Lang.shrooms = { - targetPick = 'Pick shrooms, dumbass', - picking = 'Picking shrooms, idiot', - eat = 'Eating shrooms, shithead', - cancel = 'Decided not to do shrooms, loser', - took = 'Took some shrooms, fucker!', -} - -Lang.weed = { - targetPick = 'Pick weed, dumbfuck', - picking = 'Picking weed, idiot', - targetDry = 'Dry weed, shithead', - noDry = 'Need wet weed for this, loser', - wait = 'Waiting for weed to dry, dipshit...', - take = 'Ready to take weed, moron', - targetDryed = 'Pick up weed, fucker', - teleportIn = 'Enter grow house, asshole', - teleportOut = 'Leave grow house, idiot', - dabs = 'Doing some dabs, dumbfuck', - bluntWrap = 'Dipping syrup to make %s, loser', - rollBlunt = 'Rolling a %s, shithead', - targetSales = 'Buy from dealer, dipshit', - buying = 'Buying %s from dealer, moron', - itemDoesntExist = 'Item does not exist here, dumbass', - needItem = 'Need a %s for this, fucker', - crackBlunt = 'Cracking open a blunt, loser', -} - -Lang.wholesale = { - alreadyWholesale = 'Already wholesaling, asshole', - targetBuyer = 'Talk to the buyer, shithead', - wholesaling = 'Wholesaling drugs, moron', - uhoh = 'Buyer’s getting sketchy, dipshit', - tooLong = 'Buyer waited too long, dumbfuck', - notEnoughCops = 'Not enough cops on duty, loser', - - count = 'Quantity detected: %s, fucker', - bonus = 'Quantity bonus: +%s%%, shithead', - estimate = 'Estimated payout: $%s - $%s, moron', - no_drugs = 'You don’t have any of this drug, dumbass', - ambush = 'Ambush! %s attackers with %s weapons approaching, fucker!', - complete = 'Sold %s items for $%s%s, idiot', - min_quantity = 'Must sell at least %s items, loser', - deal_failed_cleanup = 'Deal failed, try again, dumbfuck', -} - -Lang.xtc = { - alreadyOut = 'You have a press out already, shithead', - settingDown = 'Setting down the press, moron', - noPressOut = 'No press out, dumbass', - targetMake = 'Press pills, loser', - making = 'Pressing a %s, fucker', - targetPickup = 'Pick up press, idiot', - picking = 'Picking up press, dipshit', - targetStealMDP2P = 'Steal MDP2P, asshole', - stealingMDP2P = 'Stealing MDP2P, moron', - fail = 'Damn dude, you suck, shithead', - targetStealIsosafrole = 'Steal isosafrole, dumbfuck', - stealingIsosafrole = 'Stealing isosafrole, loser', - targetRaw = 'Make raw XTC, fucker', - makingRaw = 'Making raw XTC, idiot', - getPress = 'Get press, moron', - buySingle = 'Buy single press for $%s, shithead', - buyp = 'Buying press, dumbass', - targetStamp = 'Stamp XTC, loser', - stamp_desc = 'Stamp %s pills, fucker', - stamping = 'Stamping %s pills, idiot', - noPills = 'No unstamped pills, shithead', -} - -Lang.merchant = { - targetOpen = 'Open merchant menu, asshole', -} -Lang.Whippit = { - targetShop = 'Open Whippit Shop', - needBalloon = 'You need a balloon for this, dumbass', - needCanister = 'You need a canister for this, moron', - shopHeader = 'Whippit Shop', -} - -return Lang diff --git a/locales/nl.lua b/locales/nl.lua deleted file mode 100644 index 0b0ec85..0000000 --- a/locales/nl.lua +++ /dev/null @@ -1,269 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'Je bent niet op de juiste locatie', - needItems = 'Je hebt de benodigde items niet', - notEnoughMoney = 'Je bent te arm', - buySuccess = 'Je hebt %s %s gekocht voor $%s', - itemMissings = 'Je hebt nodig: %s', - itemNeeded = 'Je hebt %s nodig', - cooldown = 'Rustig aan, Speed Racer', - invalidItem = 'Dit item wordt hier niet verkocht', - onCooldownWarn = '%s probeerde event %s uit te voeren \n terwijl hij/zij in cooldown zat', - noCops = 'Niet genoeg politie online', -} - -Lang.coke = { - targetPick = 'Cocabladeren plukken', - picking = 'Cocabladeren aan het plukken', - targetMakePow = 'Cocaïnepoeder maken', - noleaf = 'Je hebt een cocablad nodig', - makePow = 'Bladeren aan het malen tot poeder', - targetCutCoke = 'Cocaïne snijden', - targetBagCoke = 'Cocaïne verpakken', - teleIn = 'Betreed het lab', - teleOut = 'Verlaat het lab', - needBakingSoda = 'Je hebt zuiveringszout nodig voor dit proces', -} - -Lang.Cornerselling = { - inVeh = 'Vreemdelingengevaar!', - selling = 'Verkopen van %s voor $%s', - deny = 'Deze deal kan me niks schelen', - wait = 'Wachten op klant', - nodrugs = 'Je hebt geen drugs om te verkopen', - searching = 'Zoeken naar klanten in de buurt', - targetTakeBack = 'Drugs terugnemen', - targetSell = 'Verkoop %s van %s voor $%s', - targetDeny = 'Bod weigeren', - stopped = 'Je luie reet kan niet eens drugs verkopen!', - start = 'Ga je moeder trots maken', - gotRobbed = 'Je bent beroofd, sukkel!', - gotBack = 'Je hebt je spullen teruggekregen!', - notEnough = 'Je hebt hier niet genoeg van', - comDes = 'Verkoop spullen op straat' -} - -Lang.crack = { - targetMake = 'Crack koken', - cook = 'Crack aan het koken', - targetBag = 'Crack verpakken', - bag = 'Crack aan het verpakken', -} - -Lang.Deliveries = { - targetGetDel = 'Bezorgmissie ophalen', - targetOpenShop = 'Dealerwinkel openen', - shopHeader = 'Dealerwinkel', - targetHandOff = 'Pakket afleveren', - delivering = 'Pakket aan dealer aan het overhandigen', - alreadyDelivering = 'Je bent al een pakket aan het bezorgen', - slowAf = 'Je deed er veel te lang over!', - newDealerHelp = { - help = 'Plaats een dealer', - name = 'Dealer Naam', - timeMin = 'Minimum tijd', - timeMax = 'Maximum tijd' - }, - DealerExists = 'Dealer bestaat al', - deleteDealer = { - help = 'Verwijder een dealer', - name = 'Dealer Naam', - }, - deleteDealerSuccess = 'Dealer verwijderd', - deleteDealerFail = 'Kon dealer niet verwijderen', -} - -Lang.heroin = { - targetPick = 'Heroïne plukken', - picking = 'Heroïne aan het plukken', - targetCook = 'Heroïne koken', - pbCook = 'Heroïne aan het koken', - targetPickup = 'Labo ophalen', - pbPickup = 'Labo aan het ophalen', - targetClean = 'Labo schoonmaken', - pbClean = 'Labo aan het schoonmaken', - targetDry = 'Plant drogen', - pbDry = 'Plant aan het drogen', - targetCutHeroin = 'Heroïne snijden', - pbCutHeroin = 'Heroïne aan het snijden', - targetBuyKit = 'Heroïne labokit kopen', - pbBuyKit = 'Heroïne labokit aan het kopen', - tableout = 'Je hebt al een tafel neergezet', - placing = 'Tafel aan het neerzetten', - targetFill = 'Spuits vullen', - pbFill = 'Spuits aan het vullen', - hasKitAlready = 'Je hebt al een heroïne labokit', - notEnoughMoney = 'Je hebt $%s contant nodig voor dit item', - placedKit = 'Je hebt je heroïne labokit neergezet', - failed = 'Je bent gefaald bij het maken van heroïne en bent je ingrediënten kwijtgeraakt', -} - -Lang.lean = { - stealFromTruck = 'Van de vrachtwagen stelen', - startMission = 'Lean-missie starten', - notOnRun = 'Je bent niet bezig met een Lean-run', - alreadyChasing = 'Je bent al een vrachtwagen aan het achtervolgen', -} - -Lang.lsd = { - targetHeat = 'LSD verwarmen', - heating = 'LSD aan het verwarmen', - targetRefine = 'Zuur zuiveren', - refining = 'Zuur aan het zuiveren', - targetDipping = 'Tabletten dopen', - dipping = 'Tabletten aan het dopen', - targetPickup = 'Labokit ophalen', - packup = 'Labokit aan het inpakken', - targetClean = 'Labokit schoonmaken', - needCleaning = 'Je hebt een schoonmaakkit nodig om het labo schoon te maken', - cleaning = 'Labokit aan het schoonmaken', - targetLys = 'Lysergeenzuur stelen', - stealLys = 'Lysergeenzuur aan het stelen', - targetDie = 'Diethylamide stelen', - stealDie = 'Diethylamide aan het stelen', - targetBuyTab = 'Tabletpapier kopen', - targetBuyKit = 'LSD labokit kopen', - alreadyOwn = 'Je bezit dit item al', - buyingKit = 'LSD labokit aan het kopen', - tableout = 'Je hebt al een tafel neergezet', - placing = 'Labokit aan het neerzetten!', - failed = 'Je bent slecht in het maken van drugs', -} - -Lang.mesc = { - targetPick = 'Cactus plukken', - picking = 'Cactus aan het plukken', - targetDry = 'Cactus drogen', - dry = 'Cactus aan het drogen', -} - -Lang.meth = { - alreadyChasing = 'Je bent al een auto aan het achtervolgen', - targetStealFromCar = 'Van de methauto stelen', - targetHeist = 'Meth-missie starten', - started = 'Je hebt al meth aan het koken', - increaseHeat = 'Je hebt de hitte verhoogd', - targetBag = 'Meth verpakken', - targetCook = 'Meth koken', - targetGrabTray = 'Meth-lade pakken', - targetHeat = 'Knoppen aanpassen', - targetSmash = 'Lade kapotslaan', - targetStealEPH = 'Efedrine stelen', - stealingEPH = 'Efedrine aan het stelen', - targetStealACE = 'Aceton stelen', - stealingACE = 'Aceton aan het stelen', - notOnRun = 'Je bent niet op een meth-run', - onCooldown = 'Je zit in cooldown', - teleIn = 'Betreed het lab', - teleOut = 'Verlaat het lab', -} - -Lang.oxy = { - ditchCar = 'De bus is te heet, laat hem ergens achter', - targetHandoff = 'Pakket overhandigen', - handingoff = 'Pakket aan het overhandigen', - emptyHands = 'Je draagt niets', - targetPay = 'Oxy-bus huren', - keys = 'De sleutels zitten in de bus', - targetGetPackage = 'Pakket pakken', - alreadyCarrying = 'Je draagt al een pakket', - paid = 'Je hebt $%s betaald om de bus te huren', - notOn = 'Je bent niet op een route', -} - -Lang.pharma = { - input = { - header = 'Aan wie een recept geven?', - title1 = 'Spelernaam', - title2 = 'Recept', - }, - write = 'Recept aan het schrijven', - opening = 'Receptflesje aan het openen', - targetFill = 'Recept invullen', - fill = 'Recept aan het invullen', - canceled = 'Je hebt het recept geannuleerd', - unbottle = 'Je hebt het flesje geopend', -} - -Lang.shrooms = { - targetPick = 'Paddestoelen plukken', - picking = 'Paddestoelen aan het plukken', - eat = 'Paddestoelen aan het eten', - cancel = 'Besloten om geen paddestoelen te nemen', - took = 'Je hebt wat paddestoelen genomen!' -} - -Lang.weed = { - targetPick = 'Wiet plukken', - picking = 'Wiet aan het plukken', - targetDry = 'Wiet drogen', - noDry = 'Je hebt natte wiet nodig voor dit proces', - wait = 'Wachten tot de wiet droog is...', - take = 'Klaar om wiet te nemen', - targetDryed = 'Wiet oppakken', - teleportIn = 'Betreed de kweekruimte', - teleportOut = 'Verlaat de kweekruimte', - dabs = 'Dabs aan het doen', - bluntWrap = 'Siroop aan het dopen om %s te maken', - rollBlunt = 'Een %s aan het rollen', - targetSales = 'Kopen van de dealer', - buying = 'Aan het kopen van %s bij de dealer', - itemDoesntExist = 'Dit item bestaat hier niet', - needItem = 'Je hebt een %s nodig voor dit proces', - crackBlunt = 'Een joint openbreken' -} - -Lang.wholesale = { - alreadyWholesale = 'Je bent al groothandelend', - targetBuyer = 'Praat met de koper', - wholesaling = 'Drugs groothandelend', - uhoh = 'De koper wordt nerveus', - tooLong = 'De koper heeft te lang gewacht', - notEnoughCops = 'Niet genoeg politieagenten op dienst', - - count = 'Gedetecteerde hoeveelheid: %s', - bonus = 'Hoeveelheidsbonus: +%s%%', - estimate = 'Geschatte uitbetaling: $%s - $%s', - no_drugs = 'Je hebt geen van deze drugs om te verkopen', - ambush = 'Overval! %s aanvallers met %s wapens naderen!', - complete = '%s items verkocht voor $%s%s', - min_quantity = 'Je moet minstens %s items verkopen om groothandel te doen', - deal_failed_cleanup = 'Deal mislukt — je kunt het opnieuw proberen' -} - -Lang.xtc = { - alreadyOut = 'Je hebt al een pers neergezet', - settingDown = 'Pers aan het neerzetten', - noPressOut = 'Je hebt geen pers neergezet', - targetMake = 'Pillen persen', - making = 'Een %s aan het persen', - targetPickup = 'Pers oppakken', - picking = 'Pers aan het oppakken', - targetStealMDP2P = 'MDP2P stelen', - stealingMDP2P = 'MDP2P aan het stelen', - fail = 'Verdomme, je bent hier slecht in', - targetStealIsosafrole = 'Isosafrol stelen', - stealingIsosafrole = 'Isosafrol aan het stelen', - targetRaw = 'Ruwe XTC maken', - makingRaw = 'Ruwe XTC aan het maken', - getPress = 'Pers ophalen', - buySingle = 'Enkele pers kopen voor $%s', - buyp = 'Pers aan het kopen', - targetStamp = 'XTC stempelen', - stamp_desc = '%s pillen aan het stempelen', - stamping = '%s pillen aan het stempelen', - noPills = 'Je hebt geen ongestempelde pillen' -} - -Lang.merchant = { - targetOpen = 'Handelaarsmenu openen', -} - -Lang.Whippit = { - targetShop = 'Whippit-winkel openen', - needBalloon = 'Je hebt een ballon nodig voor dit proces', - needCanister = 'Je hebt een kanister nodig voor dit proces', - shopHeader = 'Whippit-winkel', -} -return Lang \ No newline at end of file diff --git a/locales/piglatin.lua b/locales/piglatin.lua deleted file mode 100644 index 82d05bc..0000000 --- a/locales/piglatin.lua +++ /dev/null @@ -1,269 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'ouYay Areyay otnay Inyay Ethay Orrectcay Ocationlay', - needItems = 'ouYay Oday Otnay Avehay Ethay Equiredray Itemsyay', - notEnoughMoney = 'ouYay Ereyay Otay Okebray', - buySuccess = 'ouYay Oughtbay %s %s Orfay $%s', - itemMissings = 'ouYay Eednay %s', - itemNeeded = 'ouYay Eednay %s', - cooldown = 'owSlay OwnDay Eedspay AcerRay', - invalidItem = 'isThay Itemyay Isyay Otnay Oldsay EreHay', - onCooldownWarn = '%s Attemptedyay Otay Unray Eventyay %s \n ilewhay onyay ooldowncay', - noCops = 'Nosa! Not enough cops online, okeeday!' -} - -Lang.coke = { - targetPick = 'ickPay Ocacay Eaflay', - picking = 'ickingPay Ocacay Eaflay', - targetMakePow = 'akeMay Ocacaineyay Owderpay', - noleaf = 'ouYay Eednay Ayay Okecay Eaflay', - makePow = 'oppingChay Eaveslay intoyay Owderpay', - targetCutCoke = 'utCay Ocacaineyay', - targetBagCoke = 'agBay Ocacaineyay', - teleIn = 'Enteryay ethay Ablay', - teleOut = 'Exityay ethay Ablay', - needBakingSoda = 'ouYay Eednay Akingbay Odasay Orfay isThay', -} - -Lang.Cornerselling = { - inVeh = 'angerStray angerDay!', - selling = 'ellingSay %s orfay $%s', - deny = 'uckFay AtThay Offeray', - wait = 'aitingWay Orfay Ustomercay', - nodrugs = 'ouYay Oday Otnay Avehay Anyyay Ugsdray Otay EllSay', - searching = 'earchingSay Orfay Earbynay Ustomerscay', - targetTakeBack = 'akeTay AckBay Ugsdray', - targetSell = 'ellSay %s Ofyay %s Orfay $%s', - targetDeny = 'enyDay Offeray', - stopped = 'ourYay Azylay Assyay AntCay Evenyay EllSay Ugsdray!', - start = 'oGay AkeMay ourYay OmMay OudPray', - gotRobbed = 'ouYay OtGay ObbedRay ErdNay!', - gotBack = 'ouYay OtGay ourYay UffStay AckBay!', - notEnough = 'ouYay OntDay Avehay Enoughyay Ofyay isThay Itemyay', - comDes = 'ellSay ingsThay Onyay Ethay OrnerCay' -} - -Lang.crack = { - targetMake = 'ookCay OmeSay AckCray', - cook = 'ookingCay AckCray', - targetBag = 'agBay AckCray', - bag = 'aggingBay AckCray', -} - -Lang.Deliveries = { - targetGetDel = 'etGay EliveryDay IssionMay', - targetOpenShop = 'Openyay EalerDay OpShay', - shopHeader = 'EalerDay OpShay', - targetHandOff = 'andHay Offyay EliveryDay', - delivering = 'andingHay Ethay AckagePay Otay Ugdray EalerDay', - alreadyDelivering = 'ouYay Areyay Alreadyyay EliveringDay Ayay AckagePay', - slowAf = 'ouYay OokTay Otay OngLay!', - newDealerHelp = { - help = 'acePlay Ayay EalerDay', - name = 'EalerDay Amenay', - timeMin = 'inimumMay ImeTay', - timeMax = 'aximumMay ImeTay' - }, - DealerExists = 'EalerDay Alreadyyay Existsyay', - deleteDealer = { - help = 'eleteDay Ayay EalerDay', - name = 'EalerDay Amenay', - }, - deleteDealerSuccess = 'eletedDay EalerDay', - deleteDealerFail = 'ailedFay Otay eleteDay EalerDay', -} - -Lang.heroin = { - targetPick = 'ickPay EroinHay', - picking = 'ickingPay EroinHay', - targetCook = 'ookCay EroinHay', - pbCook = 'ookingCay Upyay EroinHay', - targetPickup = 'ickPay Upyay Ablay', - pbPickup = 'ickingPay Upyay Ablay', - targetClean = 'eanClay Ablay', - pbClean = 'eaningClay Ablay', - targetDry = 'yDray Outyay AntPlay', - pbDry = 'ryingDay Outyay AntPlay', - targetCutHeroin = 'utCay EroinHay', - pbCutHeroin = 'uttingCay EroinHay', - targetBuyKit = 'uyBay EroinHay Ablay ItKay', - pbBuyKit = 'uyingBay EroinHay Ablay ItKay', - tableout = 'ouYay Alreadyyay Avehay Ayay AbleTay Outyay', - placing = 'acingPlay OwnDay AbleTay', - targetFill = 'illFay Yringesay', - pbFill = 'illingFay Yringesay', - hasKitAlready = 'ouYay Alreadyyay Avehay Ayay EroinHay Ablay ItKay', - notEnoughMoney = 'ouYay Eednay $%s Inyay AshCay Orfay isThay', - placedKit = 'ouYay AcedPlay OwnDay ourYay EroinHay Ablay ItKay', - failed = 'ouYay ailedFay Otay AkeMay EroinHay Andyay OstLay ourYay Ingredientsyay', -} - -Lang.lean = { - stealFromTruck = 'ealStay Omfray UckTray', - startMission = 'artStay EanLay IssionMay', - notOnRun = 'ouYay Areyay Otnay Onyay Ayay EanLay UnRay', - alreadyChasing = 'ouYay Areyay Alreadyyay AsingChay Ayay UckTray', -} - -Lang.lsd = { - targetHeat = 'eatingHay LSD', - heating = 'eatingHay Upyay LSD', - targetRefine = 'efineRay Ethay Acidyay', - refining = 'efiningRay Ethay Acidyay', - targetDipping = 'ipDay AbsTay', - dipping = 'ippingDay AbsTay', - targetPickup = 'ickPay Upyay Ablay ItKay', - packup = 'ackingPay Upyay Ablay ItKay', - targetClean = 'eanClay Ablay ItKay', - needCleaning = 'ouYay Eednay Ayay EaningClay ItKay Otay EanClay Ethay Ablay', - cleaning = 'eaningClay Ablay ItKay', - targetLys = 'ealStay YsergicLay Acidyay', - stealLys = 'ealingStay YsergicLay Acidyay', - targetDie = 'ealStay iethylamideDay', - stealDie = 'ealingStay iethylamideDay', - targetBuyTab = 'uyBay AbTay AperPay', - targetBuyKit = 'uyBay LSD Ablay ItKay', - alreadyOwn = 'ouYay Alreadyyay Ownyay isThay Itemyay', - buyingKit = 'uyingBay LSD Ablay ItKay', - tableout = 'ouYay Alreadyyay Avehay Ayay AbleTay Outyay', - placing = 'acingPlay Ablay ItKay OwnDay!', - failed = 'ouYay UcksSay Atyay AkingMay UgsDray', -} - -Lang.mesc = { - targetPick = 'ickPay ActusCay', - picking = 'ickingPay ActusCay', - targetDry = 'yDray ActusCay', - dry = 'ryingDay ActusCay', -} - -Lang.meth = { - alreadyChasing = 'ouYay Alreadyyay Areyay AsingChay Ayay UckTray', - targetStealFromCar = 'ealStay Omfray EthMay ArCay', - targetHeist = 'artStay EthMay IssionMay', - started = 'ouYay Alreadyyay Avehay EthMay OokingCay', - increaseHeat = 'ouYay Increasedyay Ethay EatHay', - targetBag = 'agBay EthMay', - targetCook = 'ookCay EthMay', - targetGrabTray = 'abGray EthMay AyTray', - targetHeat = 'adjustyay Ethay IalsDay', - targetSmash = 'ashSmay Ethay AyTray', - targetStealEPH = 'ealStay Ephedrineyay', - stealingEPH = 'ealingStay Ephedrineyay', - targetStealACE = 'ealStay Acetoneyay', - stealingACE = 'ealingStay Acetoneyay', - notOnRun = 'ouYay Areyay Otnay Onyay Ayay EthMay UnRay', - onCooldown = 'ouYay Areyay Onyay Ayay OoldownCay', - teleIn = 'Enteryay Ethay Ablay', - teleOut = 'Exityay Ethay Ablay', -} - -Lang.oxy = { - ditchCar = 'Ethay AnVay Isyay OtHay, Eavelay Ityay Omewheresay', - targetHandoff = 'andHay Offyay Ethay AckagePay', - handingoff = 'andingHay Offyay Ethay AckagePay', - emptyHands = 'ouYay Areyay Otnay ArryingCay Anythingyay', - targetPay = 'entRay Oxyyay AnVay', - keys = 'Ethay Eyskay Areyay Inyay Ethay AnVay', - targetGetPackage = 'abGray AckagePay', - alreadyCarrying = 'ouYay Areyay Alreadyyay ArryingCay Ayay AckagePay', - paid = 'ouYay AidPay $%s Otay EntRay Ethay AnVay', - notOn = 'ouYay Areyay Otnay Onyay Ayay OuteRay', -} - -Lang.pharma = { - input = { - header = 'oWhay Otay IveGay Ayay EscriptionPray Otyay?', - title1 = 'ayerPlay Amenay', - title2 = 'escriptionPray', - }, - write = 'itingWray EscriptionPray', - opening = 'openingyay EscriptionPray OttleBay', - targetFill = 'illFay EscriptionPray', - fill = 'ettingGay EscriptionPray IlledFay', - canceled = 'ouYay AnceledCay Ethay EscriptionPray', - unbottle = 'ouYay Openedyay Ethay OttleBay', -} - -Lang.shrooms = { - targetPick = 'ickPay RoomsShay', - picking = 'ickingPay RoomsShay', - eat = 'eatingyay RoomsShay', - cancel = 'ecidedDay Otay Otnay Oday RoomsShay', - took = 'ouYay OokTay Omesay RoomsShay!', -} - -Lang.weed = { - targetPick = 'ickPay EedWay', - picking = 'ickingPay EedWay', - targetDry = 'yDray EedWay', - noDry = 'ouYay Eednay EtWay EedWay Orfay isThay', - wait = 'aitingWay Orfay EedWay Otay yDray...', - take = 'eadyRay Otay AkeTay EedWay', - targetDryed = 'ickupPay EedWay', - teleportIn = 'Enteryay Ethay OwGray OuseHay', - teleportOut = 'eaveLay Ethay OwGray OuseHay', - dabs = 'oingDay Omesay AbsDay', - bluntWrap = 'ippingDay YrupSay Otay AkeMay %s', - rollBlunt = 'ollingRay Ayay %s', - targetSales = 'uyBay Omfray EalerDay', - buying = 'uyingBay %s Omfray EalerDay', - itemDoesntExist = 'isThay Itemyay OesDay Otnay Existyay EreHay', - needItem = 'ouYay Eednay Ayay %s Orfay isThay', - crackBlunt = 'ackingCray Openyay Ayay UntBlay' -} - -Lang.wholesale = { - alreadyWholesale = 'Alreadyyay OlesalingWhay', - targetBuyer = 'alkTay Otay Ethay UyerBay', - wholesaling = 'olesalingWhay UgsDray', - uhoh = 'Ethay UyerBay Isyay EttingGay EtchySkay', - tooLong = 'Ethay UyerBay AitedWay Otay OngLay', - notEnoughCops = 'Otnay Enoughyay OpsCay Onyay UtyDay', - - count = 'antityQuay EtectedDay: %s', - bonus = 'antityQuay OnusBay: +%s%%', - estimate = 'Estimatedyay AyoutPay: $%s - $%s', - no_drugs = 'ouYay Oday Otnay Avehay Anyyay Ofyay isthay UgDray Otay EllSay', - ambush = 'Ambushyay! %s attackersyay ithway %s eaponsway areyay approachingyay!', - complete = 'oldSay %s itemsyay orfay $%s%s', - min_quantity = 'ouYay Ustmay EllSay Atlay Eastyay %s itemsyay Otay OlesaleWhay', - deal_failed_cleanup = 'EalDay ailedFay - ouyay ancay ytray againyay' -} - -Lang.xtc = { - alreadyOut = 'ouYay Avehay Ayay EssPray Outyay Alreadyyay', - settingDown = 'ettingSay OwnDay Ethay EssPray', - noPressOut = 'ouYay Oday Otnay Avehay Ayay EssPray Outyay', - targetMake = 'essPray IllsPay', - making = 'essingPray Ayay %s', - targetPickup = 'ickPay Upyay EssPray', - picking = 'ickingPay Upyay EssPray', - targetStealMDP2P = 'ealStay MDP2Pyay', - stealingMDP2P = 'ealingStay MDP2Pyay', - fail = 'amnDay UdeDay ouYay UcksSay', - targetStealIsosafrole = 'ealStay Isosafroleyay', - stealingIsosafrole = 'ealingStay Isosafroleyay', - targetRaw = 'akeMay AwRay XTCyay', - makingRaw = 'akingMay AwRay XTCyay', - getPress = 'etGay EssPray', - buySingle = 'uyBay IngleSay EssPray Orfay $%s', - buyp = 'uyingBay EssPray', - targetStamp = 'ampStay XTCyay', - stamp_desc = 'ampStay %s IllsPay', - stamping = 'ampingStay %s IllsPay', - noPills = 'ouYay OntDay Avehay Anyyay Unstampedyay IllsPay' -} - -Lang.merchant = { - targetOpen = 'Openyay ErchantMay EnuMay', -} - -Lang.Whippit = { - targetShop = 'Openyay HippitWay OpShay', - needBalloon = 'ouYay Eednay Ayay AlloonBay Orfay isThay', - needCanister = 'ouYay Eednay Ayay AnisterCay Orfay isThay', - shopHeader = 'HippitWay OpShay', -} -return Lang diff --git a/locales/pirate.lua b/locales/pirate.lua deleted file mode 100644 index a25e10e..0000000 --- a/locales/pirate.lua +++ /dev/null @@ -1,269 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'Ye be not in the right port, matey!', - needItems = 'Ye be lackin’ the proper booty', - notEnoughMoney = 'Ye pockets be emptier than Davey Jones’ locker', - buySuccess = 'Ye plundered %s %s fer $%s', - itemMissings = 'Ye be needin’ %s', - itemNeeded = 'Ye be needin’ %s', - cooldown = 'Avast! Slow yer sails, sailor!', - invalidItem = 'This booty ain’t sold on these seas', - onCooldownWarn = '%s tried to run the voyage %s \n while the crew be restin’', - noCops = 'Not enough watchmen on duty, yarrr!' -} - -Lang.coke = { - targetPick = 'Pluck the coca leaf', - picking = 'Plunderin’ coca leaves', - targetMakePow = 'Grind the white powder', - noleaf = 'Ye need a coca leaf, swabbie!', - makePow = 'Choppin’ leaves inta powder', - targetCutCoke = 'Carve up the cocaine', - targetBagCoke = 'Stash cocaine in sacks', - teleIn = 'Sneak inta the secret hold', - teleOut = 'Slip outta the secret hold', - needBakingSoda = 'Ye be needin’ bakin’ soda fer this, yarrr' -} - -Lang.Cornerselling = { - inVeh = 'Stranger danger, ye scallywag!', - selling = 'Hawk’n %s fer $%s', - deny = 'Blimey, shove that deal!', - wait = 'Waitin’ fer a matey with coin', - nodrugs = 'Ye hold no contraband, landlubber', - searching = 'Scoutin’ fer passin’ sailors', - targetTakeBack = 'Snatch back the goods', - targetSell = 'Trade %s o’ %s fer $%s', - targetDeny = 'Turn down the offer', - stopped = 'Ye lazy bilge rat, can’t even peddle the wares!', - start = 'Go make yer mum proud, lad', - gotRobbed = 'Ye been plundered, ye sorry dog!', - gotBack = 'Ye reclaimed yer booty!', - notEnough = 'Ye don’t hold enough o’ this booty', - comDes = 'Sellin’ goods on the street corner, yarrr' -} - -Lang.crack = { - targetMake = 'Cook some crack in the galley', - cook = 'Brewin’ crack on the stove', - targetBag = 'Stash the crack', - bag = 'Stashin’ the crack, yarrr', -} - -Lang.Deliveries = { - targetGetDel = 'Snag a smuggler’s run', - targetOpenShop = 'Open the dealer’s chest', - shopHeader = 'Dealer’s Market', - targetHandOff = 'Hand off the cargo', - delivering = 'Passin’ the package to a shady sailor', - alreadyDelivering = 'Ye already got a run, bucko', - slowAf = 'Too slow, ye barnacle brain!', - newDealerHelp = { - help = 'Drop anchor a dealer', - name = 'Dealer’s Name', - timeMin = 'Shortest tide', - timeMax = 'Longest tide' - }, - DealerExists = 'That dealer’s already sailin’', - deleteDealer = { - help = 'Scuttle a dealer', - name = 'Dealer’s Name', - }, - deleteDealerSuccess = 'Dealer scuttled to the depths', - deleteDealerFail = 'The dealer lives yet, yarrr', -} - -Lang.heroin = { - targetPick = 'Pick the poppy treasure', - picking = 'Harvestin’ heroin booty', - targetCook = 'Brew the heroin stew', - pbCook = 'Cookin’ up heroin grog', - targetPickup = 'Snatch the lab chest', - pbPickup = 'Packin’ up the lab', - targetClean = 'Swab the lab deck', - pbClean = 'Swabbin’ down the lab', - targetDry = 'Dry out the devil’s weed', - pbDry = 'Hangin’ plants to dry', - targetCutHeroin = 'Slice the heroin', - pbCutHeroin = 'Cuttin’ heroin', - targetBuyKit = 'Buy a heroin galley kit', - pbBuyKit = 'Buyin’ the galley kit', - tableout = 'Ye already got a table out, matey', - placing = 'Droppin’ the galley table', - targetFill = 'Fill a syringe', - pbFill = 'Filling the syringe', - hasKitAlready = 'Ye already got a heroin galley kit', - notEnoughMoney = 'Ye need $%s in coin fer this', - placedKit = 'Ye set yer galley kit down', - failed = 'Ye bungled the brew an’ lost yer stash', -} - -Lang.lean = { - stealFromTruck = 'Plunder the cargo wagon', - startMission = 'Set sail on a lean run', - notOnRun = 'Ye be not on a lean voyage', - alreadyChasing = 'Ye be already tailin’ a wagon', -} - -Lang.lsd = { - targetHeat = 'Heat the acid grog', - heating = 'Stokin’ the acid fire', - targetRefine = 'Refine the devil’s brew', - refining = 'Refinin’ the acid', - targetDipping = 'Dip the cursed tabs', - dipping = 'Dippin’ tabs', - targetPickup = 'Snatch the lab kit', - packup = 'Stashin’ the lab kit', - targetClean = 'Scrub the lab kit', - needCleaning = 'Ye need a scrub kit to swab this lab', - cleaning = 'Swabbin’ the lab kit', - targetLys = 'Steal lysergic acid booty', - stealLys = 'Snatchin’ lysergic acid', - targetDie = 'Steal diethylamide loot', - stealDie = 'Snatchin’ diethylamide', - targetBuyTab = 'Buy tab parchment', - targetBuyKit = 'Buy LSD lab kit', - alreadyOwn = 'Ye already hold this booty', - buyingKit = 'Buyin’ LSD galley kit', - tableout = 'Ye already got a table out', - placing = 'Plantin’ the lab kit', - failed = 'Ye botched the brew, yarrr', -} - -Lang.mesc = { - targetPick = 'Harvest the cactus booty', - picking = 'Pluckin’ cactus', - targetDry = 'Dry the cactus flesh', - dry = 'Dryin’ cactus', -} - -Lang.meth = { - alreadyChasing = 'Ye already be chasin’ a wagon', - targetStealFromCar = 'Plunder the meth cart', - targetHeist = 'Set sail on a meth run', - started = 'Ye already be brewin’ meth, matey', - increaseHeat = 'Ye stoked the fire hotter', - targetBag = 'Bag the meth booty', - targetCook = 'Cook the meth stew', - targetGrabTray = 'Snatch the meth tray', - targetHeat = 'Twist the dials', - targetSmash = 'Smash the tray', - targetStealEPH = 'Steal ephedrine booty', - stealingEPH = 'Snatchin’ ephedrine', - targetStealACE = 'Steal acetone booty', - stealingACE = 'Snatchin’ acetone', - notOnRun = 'Ye be not on a meth run', - onCooldown = 'Ye be coolin’ yer heels, yarrr', - teleIn = 'Sneak into the meth galley', - teleOut = 'Slip outta the meth galley', -} - -Lang.oxy = { - ditchCar = 'The wagon be too hot, stash it away', - targetHandoff = 'Hand off the cursed cargo', - handingoff = 'Passin’ the package', - emptyHands = 'Ye be carryin’ nothin’, bilge rat', - targetPay = 'Rent an oxy wagon', - keys = 'The keys be in the wagon, matey', - targetGetPackage = 'Snatch a parcel', - alreadyCarrying = 'Ye already be carryin’ a parcel', - paid = 'Ye paid $%s to rent the wagon', - notOn = 'Ye be not on a smuggler’s route', -} - -Lang.pharma = { - input = { - header = 'Who gets this magic scroll?', - title1 = 'Sailor’s Name', - title2 = 'Prescription', - }, - write = 'Scrawlin’ a prescription', - opening = 'Poppin’ open the medicine chest', - targetFill = 'Fill the prescription', - fill = 'Fetchin’ the potion', - canceled = 'Ye canceled the scroll', - unbottle = 'Ye popped open the potion flask', -} - -Lang.shrooms = { - targetPick = 'Harvest the magic shrooms', - picking = 'Pluckin’ shrooms', - eat = 'Munchin’ shrooms, yarrr', - cancel = 'Changed yer mind on the shrooms', - took = 'Ye ate the shrooms, matey!', -} - -Lang.weed = { - targetPick = 'Harvest the devil’s lettuce', - picking = 'Pluckin’ weed', - targetDry = 'Dry the weed booty', - noDry = 'Ye need wet weed fer this, swabbie', - wait = 'Waitin’ fer the weed to dry...', - take = 'Time to snatch the weed', - targetDryed = 'Pick up the weed stash', - teleportIn = 'Sneak into the grow cabin', - teleportOut = 'Slip outta the grow cabin', - dabs = 'Dabbin’ the wax, yarrr', - bluntWrap = 'Dippin’ syrup to make %s', - rollBlunt = 'Rollin’ a %s', - targetSales = 'Buy off a shady dealer', - buying = 'Buyin’ %s from a dealer', - itemDoesntExist = 'This booty be not here', - needItem = 'Ye need a %s fer this', - crackBlunt = 'Crackin’ open a blunt', -} - -Lang.wholesale = { - alreadyWholesale = 'Ye already be tradin’ in bulk', - targetBuyer = 'Speak to the buyer', - wholesaling = 'Sellin’ contraband by the chest', - uhoh = 'The buyer looks shifty, yarrr', - tooLong = 'The buyer grew weary o’ waitin’', - notEnoughCops = 'Not enough watchmen on duty', - - count = 'Booty counted: %s', - bonus = 'Bonus fer quantity: +%s%%', - estimate = 'Ye may get $%s - $%s', - no_drugs = 'Ye hold none o’ this contraband', - ambush = 'An ambush! %s rogues with %s weapons approach!', - complete = 'Sold %s booty fer $%s%s', - min_quantity = 'Ye must sell at least %s to wholesale', - deal_failed_cleanup = 'The trade sank – try again later', -} - -Lang.xtc = { - alreadyOut = 'Ye already got a press out, matey', - settingDown = 'Droppin’ the press', - noPressOut = 'Ye got no press, bilge rat', - targetMake = 'Press the pills', - making = 'Pressin’ a %s', - targetPickup = 'Snatch up the press', - picking = 'Grabbin’ the press', - targetStealMDP2P = 'Snatch the MDP2P booty', - stealingMDP2P = 'Stealin’ MDP2P', - fail = 'By thunder, ye be useless!', - targetStealIsosafrole = 'Snatch isosafrole booty', - stealingIsosafrole = 'Stealin’ isosafrole', - targetRaw = 'Cook raw XTC grog', - makingRaw = 'Brewin’ raw XTC', - getPress = 'Fetch a press', - buySingle = 'Buy a single press fer $%s', - buyp = 'Buyin’ the press', - targetStamp = 'Stamp the XTC', - stamp_desc = 'Stamp %s pills', - stamping = 'Stampin’ %s pills', - noPills = 'Ye got no naked pills to stamp', -} - -Lang.merchant = { - targetOpen = 'Open the trader’s menu', -} - -Lang.Whippit = { - targetShop = 'Open Whippit Shop', - needBalloon = 'Ye need a balloon fer this, matey', - needCanister = 'Ye need a canister fer this, swabbie', - shopHeader = 'Whippit Shop', -} -return Lang diff --git a/locales/pt-br.lua b/locales/pt-br.lua deleted file mode 100644 index 39aa59d..0000000 --- a/locales/pt-br.lua +++ /dev/null @@ -1,268 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'Você não está no local correto', - needItems = 'Você não tem os itens necessários', - notEnoughMoney = 'Você tá muito liso', - buySuccess = 'Você comprou %s %s por $%s', - itemMissings = 'Você precisa de %s', - itemNeeded = 'Você precisa de %s', - cooldown = 'Calma, Speed Racer', - invalidItem = 'Este item não é vendido aqui', - onCooldownWarn = '%s tentou executar o evento %s \n enquanto estava em cooldown', - noCops = 'Poucos policiais online', -} - -Lang.coke = { - targetPick = 'Colher folhas de coca', - picking = 'Colhendo folhas de coca', - targetMakePow = 'Fazer pó de cocaína', - noleaf = 'Você precisa de uma folha de coca', - makePow = 'Moendo folhas em pó', - targetCutCoke = 'Cortar cocaína', - targetBagCoke = 'Ensacar cocaína', - teleIn = 'Entrar no laboratório', - teleOut = 'Sair do laboratório', - needBakingSoda = 'Você precisa de bicarbonato de sódio para isso', -} - -Lang.Cornerselling = { - inVeh = 'Perigo de desconhecido!', - selling = 'Vendendo %s por $%s', - deny = 'Foda-se essa oferta', - wait = 'Esperando por cliente', - nodrugs = 'Você não tem drogas para vender', - searching = 'Procurando por clientes próximos', - targetTakeBack = 'Recuperar drogas', - targetSell = 'Vender %s de %s por $%s', - targetDeny = 'Recusar oferta', - stopped = 'Seu bunda mole nem consegue vender droga!', - start = 'Vai fazer sua mãe se orgulhar', - gotRobbed = 'Você foi roubado, otário!', - gotBack = 'Você recuperou suas coisas!', - notEnough = 'Você não tem o suficiente desse item', - comDes = 'Venda coisas na esquina' -} - -Lang.crack = { - targetMake = 'Cozinhar crack', - cook = 'Cozinhando crack', - targetBag = 'Ensacar crack', - bag = 'Ensacando crack', -} - -Lang.Deliveries = { - targetGetDel = 'Pegar missão de entrega', - targetOpenShop = 'Abrir loja do traficante', - shopHeader = 'Loja do Traficante', - targetHandOff = 'Entregar encomenda', - delivering = 'Entregando o pacote ao traficante', - alreadyDelivering = 'Você já está entregando um pacote', - slowAf = 'Você demorou demais!', - newDealerHelp = { - help = 'Colocar um traficante', - name = 'Nome do traficante', - timeMin = 'Tempo mínimo', - timeMax = 'Tempo máximo' - }, - DealerExists = 'Traficante já existe', - deleteDealer = { - help = 'Deletar um traficante', - name = 'Nome do traficante', - }, - deleteDealerSuccess = 'Traficante deletado', - deleteDealerFail = 'Falha ao deletar traficante', -} - -Lang.heroin = { - targetPick = 'Colher heroína', - picking = 'Colhendo heroína', - targetCook = 'Cozinhar heroína', - pbCook = 'Cozinhando heroína', - targetPickup = 'Recuperar laboratório', - pbPickup = 'Recuperando laboratório', - targetClean = 'Limpar laboratório', - pbClean = 'Limpando laboratório', - targetDry = 'Secar planta', - pbDry = 'Secando planta', - targetCutHeroin = 'Cortar heroína', - pbCutHeroin = 'Cortando heroína', - targetBuyKit = 'Comprar kit de laboratório de heroína', - pbBuyKit = 'Comprando kit de laboratório de heroína', - tableout = 'Você já tem uma mesa montada', - placing = 'Montando mesa', - targetFill = 'Encher seringa', - pbFill = 'Enchendo seringa', - hasKitAlready = 'Você já tem um kit de laboratório de heroína', - notEnoughMoney = 'Você precisa de $%s em dinheiro para isso', - placedKit = 'Você montou seu kit de laboratório de heroína', - failed = 'Você falhou em fazer heroína e perdeu os ingredientes', -} - -Lang.lean = { - stealFromTruck = 'Roubar do caminhão', - startMission = 'Iniciar missão de Lean', - notOnRun = 'Você não está em uma missão de Lean', - alreadyChasing = 'Você já está perseguindo um caminhão', -} - -Lang.lsd = { - targetHeat = 'Aquecer LSD', - heating = 'Aquecendo LSD', - targetRefine = 'Refinar o ácido', - refining = 'Refinando o ácido', - targetDipping = 'Mergulhar comprimidos', - dipping = 'Mergulhando comprimidos', - targetPickup = 'Recuperar kit de laboratório', - packup = 'Guardando kit de laboratório', - targetClean = 'Limpar kit de laboratório', - needCleaning = 'Você precisa de um kit de limpeza para limpar o laboratório', - cleaning = 'Limpando kit de laboratório', - targetLys = 'Roubar ácido lisérgico', - stealLys = 'Roubando ácido lisérgico', - targetDie = 'Roubar dietilamida', - stealDie = 'Roubando dietilamida', - targetBuyTab = 'Comprar papel para comprimidos', - targetBuyKit = 'Comprar kit de laboratório de LSD', - alreadyOwn = 'Você já possui este item', - buyingKit = 'Comprando kit de laboratório de LSD', - tableout = 'Você já tem uma mesa montada', - placing = 'Montando kit de laboratório!', - failed = 'Você é péssimo em fazer drogas', -} - -Lang.mesc = { - targetPick = 'Colher cacto', - picking = 'Colhendo cacto', - targetDry = 'Secar cacto', - dry = 'Secando cacto', -} - -Lang.meth = { - alreadyChasing = 'Você já está perseguindo um carro', - targetStealFromCar = 'Roubar do carro de metanfetamina', - targetHeist = 'Iniciar missão de metanfetamina', - started = 'Você já tem metanfetamina cozinhando', - increaseHeat = 'Você aumentou o calor', - targetBag = 'Ensacar metanfetamina', - targetCook = 'Cozinhar metanfetamina', - targetGrabTray = 'Pegar bandeja de metanfetamina', - targetHeat = 'Ajustar os controles', - targetSmash = 'Esmagar a bandeja', - targetStealEPH = 'Roubar efedrina', - stealingEPH = 'Roubando efedrina', - targetStealACE = 'Roubar acetona', - stealingACE = 'Roubando acetona', - notOnRun = 'Você não está em uma missão de metanfetamina', - onCooldown = 'Você está em cooldown', - teleIn = 'Entrar no laboratório', - teleOut = 'Sair do laboratório', -} - -Lang.oxy = { - ditchCar = 'A van tá quente, deixe ela em algum lugar', - targetHandoff = 'Entregar o pacote', - handingoff = 'Entregando o pacote', - emptyHands = 'Você não está carregando nada', - targetPay = 'Alugar van de Oxy', - keys = 'As chaves estão dentro da van', - targetGetPackage = 'Pegar pacote', - alreadyCarrying = 'Você já está carregando um pacote', - paid = 'Você pagou $%s para alugar a van', - notOn = 'Você não está em uma rota', -} - -Lang.pharma = { - input = { - header = 'Para quem passar a receita?', - title1 = 'Nome do jogador', - title2 = 'Receita', - }, - write = 'Escrevendo receita', - opening = 'Abrindo frasco da receita', - targetFill = 'Preencher receita', - fill = 'Preenchendo receita', - canceled = 'Você cancelou a receita', - unbottle = 'Você abriu o frasco', -} - -Lang.shrooms = { - targetPick = 'Colher cogumelos', - picking = 'Colhendo cogumelos', - eat = 'Comendo cogumelos', - cancel = 'Decidiu não usar cogumelos', - took = 'Você usou alguns cogumelos!' -} - -Lang.weed = { - targetPick = 'Colher maconha', - picking = 'Colhendo maconha', - targetDry = 'Secar maconha', - noDry = 'Você precisa de maconha úmida para isso', - wait = 'Esperando a maconha secar...', - take = 'Pronto para pegar a maconha', - targetDryed = 'Pegar maconha seca', - teleportIn = 'Entrar na estufa', - teleportOut = 'Sair da estufa', - dabs = 'Fazendo dabs', - bluntWrap = 'Molhando xarope para fazer %s', - rollBlunt = 'Enrolando um %s', - targetSales = 'Comprar do traficante', - buying = 'Comprando %s do traficante', - itemDoesntExist = 'Este item não existe aqui', - needItem = 'Você precisa de um %s para isso', - crackBlunt = 'Quebrando um baseado' -} - -Lang.wholesale = { - alreadyWholesale = 'Você já está vendendo no atacado', - targetBuyer = 'Falar com o comprador', - wholesaling = 'Vendendo drogas no atacado', - uhoh = 'O comprador está ficando desconfiado', - tooLong = 'O comprador esperou demais', - notEnoughCops = 'Policiais insuficientes de plantão', - - count = 'Quantidade detectada: %s', - bonus = 'Bônus de quantidade: +%s%%', - estimate = 'Pagamento estimado: $%s - $%s', - no_drugs = 'Você não tem nenhuma dessas drogas para vender', - ambush = 'Emboscada! %s atacantes com %s armas se aproximam!', - complete = 'Vendidos %s itens por $%s%s', - min_quantity = 'Você precisa vender pelo menos %s itens para vender no atacado', - deal_failed_cleanup = 'Negócio falhou — você pode tentar novamente' -} - -Lang.xtc = { - alreadyOut = 'Você já tem uma prensa montada', - settingDown = 'Montando a prensa', - noPressOut = 'Você não tem uma prensa montada', - targetMake = 'Prensar pílulas', - making = 'Prensando uma %s', - targetPickup = 'Recuperar prensa', - picking = 'Recuperando prensa', - targetStealMDP2P = 'Roubar MDP2P', - stealingMDP2P = 'Roubando MDP2P', - fail = 'Porra, você é ruim nisso', - targetStealIsosafrole = 'Roubar isosafrol', - stealingIsosafrole = 'Roubando isosafrol', - targetRaw = 'Fazer XTC cru', - makingRaw = 'Fazendo XTC cru', - getPress = 'Pegar prensa', - buySingle = 'Comprar prensa individual por $%s', - buyp = 'Comprando prensa', - targetStamp = 'Carimbar XTC', - stamp_desc = 'Carimbando %s pílulas', - stamping = 'Carimbando %s pílulas', - noPills = 'Você não tem pílulas sem carimbo' -} - -Lang.merchant = { - targetOpen = 'Abrir menu do comerciante', -} -Lang.Whippit = { - targetShop = 'Abrir loja Whippit', - needBalloon = 'Você precisa de um balão para isso', - needCanister = 'Você precisa de um recipiente para isso', - shopHeader = 'Loja Whippit', -} -return Lang \ No newline at end of file diff --git a/locales/tr.lua b/locales/tr.lua deleted file mode 100644 index 9a192c3..0000000 --- a/locales/tr.lua +++ /dev/null @@ -1,269 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'Doğru konumda değilsiniz', - needItems = 'Gerekli eşyalara sahip değilsiniz', - notEnoughMoney = 'Çok fakirsin', - buySuccess = '%s adet %s satın aldınız, ücret: $%s', - itemMissings = 'Şunlara ihtiyacınız var: %s', - itemNeeded = '%s gerekli', - cooldown = 'Yavaşla, Speed Racer', - invalidItem = 'Bu ürün burada satılmıyor', - onCooldownWarn = '%s, %s olayını cooldown süresinde çalıştırmaya çalıştı \n', - noCops = 'Yeterli polis çevrimiçi değil', -} - -Lang.coke = { - targetPick = 'Koka yaprağı topla', - picking = 'Koka yaprağı toplanıyor', - targetMakePow = 'Kokain tozu yap', - noleaf = 'Bir koka yaprağına ihtiyacın var', - makePow = 'Yapraklar toza dönüştürülüyor', - targetCutCoke = 'Kokaini kes', - targetBagCoke = 'Kokaini paketle', - teleIn = 'Laboratuvara gir', - teleOut = 'Laboratuvardan çık', - needBakingSoda = 'Bunun için kabartma tozu gerekli', -} - -Lang.Cornerselling = { - inVeh = 'Yabancı tehlikesi!', - selling = '%s satılıyor, fiyat: $%s', - deny = 'Bu teklifi geç', - wait = 'Müşteri bekleniyor', - nodrugs = 'Satılacak uyuşturucun yok', - searching = 'Yakınlarda müşteri aranıyor', - targetTakeBack = 'Uyuşturucuları geri al', - targetSell = '%s adet %s sat, fiyat: $%s', - targetDeny = 'Teklifi reddet', - stopped = 'Tembel götün uyuşturucu bile satamıyor!', - start = 'Git anneni gururlandır', - gotRobbed = 'Soyuldun, salak!', - gotBack = 'Eşyalarını geri aldın!', - notEnough = 'Bu eşyadan yeterince yok', - comDes = 'Sokakta şeyler sat' -} - -Lang.crack = { - targetMake = 'Crack pişir', - cook = 'Crack pişiriliyor', - targetBag = 'Crack paketle', - bag = 'Crack paketleniyor', -} - -Lang.Deliveries = { - targetGetDel = 'Teslimat görevi al', - targetOpenShop = 'Bayi dükkanını aç', - shopHeader = 'Bayi Dükkanı', - targetHandOff = 'Paketi teslim et', - delivering = 'Paketi bayiye teslim ediyorsun', - alreadyDelivering = 'Zaten bir paket teslim ediyorsun', - slowAf = 'Çok fazla vakit harcadın!', - newDealerHelp = { - help = 'Bir bayi yerleştir', - name = 'Bayi Adı', - timeMin = 'Minimum süre', - timeMax = 'Maksimum süre' - }, - DealerExists = 'Bayi zaten mevcut', - deleteDealer = { - help = 'Bir bayiyi sil', - name = 'Bayi Adı', - }, - deleteDealerSuccess = 'Bayi silindi', - deleteDealerFail = 'Bayi silinemedi', -} - -Lang.heroin = { - targetPick = 'Heroin topla', - picking = 'Heroin toplanıyor', - targetCook = 'Heroin pişir', - pbCook = 'Heroin pişiriliyor', - targetPickup = 'Laboratuvarı topla', - pbPickup = 'Laboratuvar toplanıyor', - targetClean = 'Laboratuvarı temizle', - pbClean = 'Laboratuvar temizleniyor', - targetDry = 'Bitkiyi kurut', - pbDry = 'Bitki kurutuluyor', - targetCutHeroin = 'Heroini kes', - pbCutHeroin = 'Heroin kesiliyor', - targetBuyKit = 'Heroin laboratuvar kiti satın al', - pbBuyKit = 'Heroin laboratuvar kiti satın alınıyor', - tableout = 'Zaten bir masa çıkarttın', - placing = 'Masa yerleştiriliyor', - targetFill = 'Şırıngayı doldur', - pbFill = 'Şırınga dolduruluyor', - hasKitAlready = 'Zaten bir heroin laboratuvar kiti sahibisin', - notEnoughMoney = 'Bunun için $%s nakit gerekli', - placedKit = 'Heroin laboratuvar kitini yerleştirdin', - failed = 'Heroin yapımında başarısız oldun ve malzemelerini kaybettin', -} - -Lang.lean = { - stealFromTruck = 'Kamyonetten çal', - startMission = 'Lean görevini başlat', - notOnRun = 'Lean görevinde değilsin', - alreadyChasing = 'Zaten bir kamyoneti kovalıyorsun', -} - -Lang.lsd = { - targetHeat = 'LSD’yi ısıt', - heating = 'LSD ısıtılıyor', - targetRefine = 'Asidi rafine et', - refining = 'Asit rafine ediliyor', - targetDipping = 'Tabletleri daldır', - dipping = 'Tabletler daldırılıyor', - targetPickup = 'Laboratuvar kiti topla', - packup = 'Laboratuvar kiti paketleniyor', - targetClean = 'Laboratuvar kiti temizle', - needCleaning = 'Laboratuvarı temizlemek için temizlik kiti gerekli', - cleaning = 'Laboratuvar kiti temizleniyor', - targetLys = 'Liserjik asit çal', - stealLys = 'Liserjik asit çalınıyor', - targetDie = 'Dietilamid çal', - stealDie = 'Dietilamid çalınıyor', - targetBuyTab = 'Tablet kağıdı satın al', - targetBuyKit = 'LSD laboratuvar kiti satın al', - alreadyOwn = 'Bu eşyaya zaten sahipsin', - buyingKit = 'LSD laboratuvar kiti satın alınıyor', - tableout = 'Zaten bir masa çıkarttın', - placing = 'Laboratuvar kiti yerleştiriliyor!', - failed = 'Uyuşturucu yapmada berbatsın', -} - -Lang.mesc = { - targetPick = 'Kaktüs topla', - picking = 'Kaktüs toplanıyor', - targetDry = 'Kaktüsü kurut', - dry = 'Kaktüs kurutuluyor', -} - -Lang.meth = { - alreadyChasing = 'Zaten bir aracı kovalıyorsun', - targetStealFromCar = 'Meth arabasından çal', - targetHeist = 'Meth görevini başlat', - started = 'Zaten meth pişiriyorsun', - increaseHeat = 'Isıyı artırdın', - targetBag = 'Meth paketle', - targetCook = 'Meth pişir', - targetGrabTray = 'Meth tepsisini al', - targetHeat = 'Kontrolleri ayarla', - targetSmash = 'Tepsinin üzerine vur', - targetStealEPH = 'Efedrin çal', - stealingEPH = 'Efedrin çalınıyor', - targetStealACE = 'Aseton çal', - stealingACE = 'Aseton çalınıyor', - notOnRun = 'Meth görevinde değilsin', - onCooldown = 'Cooldown süresindesin', - teleIn = 'Laboratuvara gir', - teleOut = 'Laboratuvardan çık', -} - -Lang.oxy = { - ditchCar = 'Araba sıcak, bir yere bırak', - targetHandoff = 'Paketi teslim et', - handingoff = 'Paketi teslim ediyorsun', - emptyHands = 'Hiçbir şey taşıyorsun', - targetPay = 'Oxy minibüsünü kirala', - keys = 'Anahtarlar minibüsün içinde', - targetGetPackage = 'Paketi al', - alreadyCarrying = 'Zaten bir paket taşıyorsun', - paid = 'Minibüsü kiralamak için $%s ödedin', - notOn = 'Bir rotada değilsin', -} - -Lang.pharma = { - input = { - header = 'Kime reçete yazmak istiyorsun?', - title1 = 'Oyuncu Adı', - title2 = 'Reçete', - }, - write = 'Reçete yazılıyor', - opening = 'Reçete şişesi açılıyor', - targetFill = 'Reçeteyi doldur', - fill = 'Reçete dolduruluyor', - canceled = 'Reçeteyi iptal ettin', - unbottle = 'Şişeyi açtın', -} - -Lang.shrooms = { - targetPick = 'Mantar topla', - picking = 'Mantar toplanıyor', - eat = 'Mantar yiyorsun', - cancel = 'Mantar almaktan vazgeçtin', - took = 'Biraz mantar aldın!' -} - -Lang.weed = { - targetPick = 'Ot topla', - picking = 'Ot toplanıyor', - targetDry = 'Otu kurut', - noDry = 'Bunun için ıslak ota ihtiyacın var', - wait = 'Otların kuruması bekleniyor...', - take = 'Otu almaya hazır', - targetDryed = 'Kurutulmuş otu al', - teleportIn = 'Yetiştirme evine gir', - teleportOut = 'Yetiştirme evinden çık', - dabs = 'Dab çekiyorsun', - bluntWrap = '%s yapmak için şurup daldırılıyor', - rollBlunt = 'Bir %s sarılıyor', - targetSales = 'Bayiden satın al', - buying = 'Bayiden %s alınıyor', - itemDoesntExist = 'Bu eşya burada mevcut değil', - needItem = 'Bunun için bir %s gerekli', - crackBlunt = 'Sarılı jointi aç' -} - -Lang.wholesale = { - alreadyWholesale = 'Zaten toptan satış yapıyorsun', - targetBuyer = 'Alıcıyla konuş', - wholesaling = 'Uyuşturucular toptan satılıyor', - uhoh = 'Alıcı şüphelenmeye başladı', - tooLong = 'Alıcı çok fazla bekledi', - notEnoughCops = 'Yeterli polis nöbette değil', - - count = 'Tespit edilen miktar: %s', - bonus = 'Miktar bonusu: +%s%%', - estimate = 'Tahmini ödeme: $%s - $%s', - no_drugs = 'Bu uyuşturucudan satılacak hiçbiri yok', - ambush = 'Pusula! %s saldırgan, %s silahlı yaklaşıyor!', - complete = '%s adet ürün $%s%s karşılığında satıldı', - min_quantity = 'Toptan satış yapmak için en az %s adet satmalısın', - deal_failed_cleanup = 'Anlaşma başarısız — tekrar deneyebilirsin' -} - -Lang.xtc = { - alreadyOut = 'Zaten bir pres yerleştirdin', - settingDown = 'Pres yerleştiriliyor', - noPressOut = 'Hiçbir pres yerleştirilmemiş', - targetMake = 'Hapları presle', - making = 'Bir %s presleniyor', - targetPickup = 'Presi topla', - picking = 'Pres toplanıyor', - targetStealMDP2P = 'MDP2P çal', - stealingMDP2P = 'MDP2P çalınıyor', - fail = 'Amına koyayım, bunda çok kötüsün', - targetStealIsosafrole = 'Isosafrol çal', - stealingIsosafrole = 'Isosafrol çalınıyor', - targetRaw = 'Ham XTC yap', - makingRaw = 'Ham XTC yapılıyor', - getPress = 'Pres al', - buySingle = 'Tekli presi $%s karşılığında satın al', - buyp = 'Pres satın alınıyor', - targetStamp = 'XTC’yi damgala', - stamp_desc = '%s adet hap damgalanıyor', - stamping = '%s adet hap damgalanıyor', - noPills = 'Damgasız hapların yok' -} - -Lang.merchant = { - targetOpen = 'Tüccar menüsünü aç', -} - -Lang.Whippit = { - targetShop = 'Whippit Dükkanını Aç', - needBalloon = 'Bunun için bir balona ihtiyacın var', - needCanister = 'Bunun için bir bidona ihtiyacın var', - shopHeader = 'Whippit Dükkanı', -} -return Lang \ No newline at end of file diff --git a/locales/uwu.lua b/locales/uwu.lua deleted file mode 100644 index 89ba106..0000000 --- a/locales/uwu.lua +++ /dev/null @@ -1,267 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'Nya~ You\'re not in the right spot! >_<', - needItems = 'Aww... you don’t have all da items I need... 😢', - notEnoughMoney = 'Oof, you’re too broke, sweetie 💸', - buySuccess = 'Yay! You bought %s %s for $%s! 💖', - itemMissings = 'You need:%s', - itemNeeded = 'You need %s... plz go get it! 🥺', - cooldown = 'Silly baka, slow down! ⏳', - invalidItem = 'Eh? This item isn’t sold here, silly! 🙃', - onCooldownWarn = '%s tried to run %s but is on cooldown, oopsie! ❄️', - noCops = 'Nosa! Not enough cops online, okeeday!', -} - -Lang.coke = { - targetPick = 'Pick a coca leef (so fresh! 🌿)', - picking = 'Picking leefs... so crunchy~ 💚', - targetMakePow = 'Make pow-pow from leefs 💨', - noleaf = 'Nooo leef? No pow! 😿', - makePow = 'Choppin’ leefs into fine pow~ ✂️✨', - targetCutCoke = 'Cut da coke, cut it real good ✂️💎', - targetBagCoke = 'Bag it up, pretty lil’ bags! 🎀', - teleIn = 'Enter the secret lab~ 🔐', - teleOut = 'Leave the lab... for now... 👋', - needBakingSoda = 'You need bakie soda, silly! 🧂', -} - -Lang.Cornerselling = { - inVeh = 'No sellin’ from da car, weirdo! 🚗❌', - selling = 'Selling %s for $%s... cha-ching! 💵', - deny = 'NOPE! I don’t like dis offer! 🙅♀️', - wait = 'Waiting for a cutie customer... 👀', - nodrugs = 'You got no drugs to sell... 😔', - searching = 'Looking for lil’ customers nearby... 🔍', - targetTakeBack = 'Take back my stuff! 🫵', - targetSell = 'Sell %s of %s for $%s 💼', - targetDeny = 'Say no to dumb offers! 🚫', - stopped = 'You gave up?? Booo! 😤', - start = 'Go make mama proud, cutie! 💪', - gotRobbed = 'Owie... you got robbed... 💔', - gotBack = 'Yay! You got your stuff back! 🎉', - notEnough = 'You don’t have enough, silly! 🥺', - comDes = 'Sell drugs on da corner, hustler~ 🕶️', -} - -Lang.crack = { - targetMake = 'Cook some crack, bby 💣', - cook = 'Cookin’ crack... smoky smoky~ 💨', - targetBag = 'Bag da crack, make it purrty~ 🎀', - bag = 'Baggin’ crack like a pro! 💼', -} - -Lang.Deliveries = { - targetGetDel = 'Get a delivery mission, go go! 🚚', - targetOpenShop = 'Open your lil’ shop! 🏪', - shopHeader = 'Deally Dealer Shop 💊', - targetHandOff = 'Hand off da package, quick! 📦', - delivering = 'Givin’ da package to da dealer... 💌', - alreadyDelivering = 'You’re already deliverin’, silly! 🐢', - slowAf = 'Tooo slow! Mission failed... 😵', - newDealerHelp = { - help = 'Place a new dealer friend! 🤝', - name = 'What’s their name?', - timeMin = 'Min time (mins)', - timeMax = 'Max time (mins)', - }, - DealerExists = 'Oopsie! Dealer already here! 🙈', - deleteDealer = { - help = 'Delete a dealer... bye bye~ 👋', - name = 'Dealer name to delete?', - }, - deleteDealerSuccess = 'Dealer deleted! Peace out! ✌️', - deleteDealerFail = 'Couldn’t delete... maybe they ran? 🏃♂️', -} - -Lang.heroin = { - targetPick = 'Pick up da plant, bby~ 🌱', - picking = 'Picking plant... so fresh! 💚', - targetCook = 'Cook da heroin, make it strong 💪', - pbCook = 'Cookin’ up some strong stuff... 🔥', - targetPickup = 'Pick up lab table~ 🧪', - pbPickup = 'Picking up da lil’ lab... 🧫', - targetClean = 'Clean da lab, make it sparkly ✨', - pbClean = 'Wiping down da table... 🧼', - targetDry = 'Dry da plant, make it cruncky~ 💤', - pbDry = 'Drying da plant... patience, bby~ ⏳', - targetCutHeroin = 'Cut da heroin, make it pretty ✂️', - pbCutHeroin = 'Cutting like a pro chef! 👩🍳', - targetBuyKit = 'Buy a heroin lab kit? 💰', - pbBuyKit = 'Buying da kit... now you’re official! 🎉', - tableout = 'You already got a table out, silly! 🙃', - placing = 'Placing da table... science time! 🔬', - targetFill = 'Fill da syringe... be careful! 💉', - pbFill = 'Filling da needle... drip drip~ 💧', - hasKitAlready = 'You already got a kit, silly! 🤪', - notEnoughMoney = 'You need $%s in cash, cutie 💸', - placedKit = 'You placed your lab kit! Science go! 🧪✨', - failed = 'Oof... you failed and lost it all... 😭', -} - -Lang.lean = { - stealFromTruck = 'Steal from da truck, shhh~ 🤫', - startMission = 'Start da lean mission! 🍬', - notOnRun = 'You’re not on a run, silly! 🙅♂️', -} - -Lang.lsd = { - targetHeat = 'Heat da LSD, make it bubble~ 🔥', - heating = 'Heating up... don’t burn it! 😳', - targetRefine = 'Refine da acid, make it pure 💎', - refining = 'Purifying da tabs... so shiny~ ✨', - targetDipping = 'Dip da tabs, make em glow 💫', - dipping = 'Dipping tabs like a cookie~ 🍪', - targetPickup = 'Pick up da lab kit~ 🎒', - packup = 'Packing up da lab... bye bye~ 👋', - targetClean = 'Clean da lab, make it sparkly ✨', - needCleaning = 'You need a cleaning kit, silly! 🧽', - cleaning = 'Cleaning da lab... so tidy~ 🧹', - targetLys = 'Steal lysergic acid... shhh~ 🤫', - stealLys = 'Snatching da acid... so sneaky~ 🦝', - targetDie = 'Steal diethylamide... risky! 😈', - stealDie = 'Grabbin’ da chems... ooooh~ 🔬', - targetBuyTab = 'Buy tab paper, make it pretty~ 📄', - targetBuyKit = 'Buy LSD lab kit? 💖', - alreadyOwn = 'You already got it, silly! 🙃', - buyingKit = 'Buying da kit... artist in da making! 🎨', - tableout = 'Table already out, no space! 🙈', - placing = 'Placing da lab down! Science time~ 🔬', - failed = 'You suck at making drugs... lol 😂', -} - -Lang.mesc = { - targetPick = 'Pick da cactus, ouchie~ 🌵', - picking = 'Picking cactus... careful of spikes! 😬', - targetDry = 'Dry da cactus, make it powdery~ 💨', - dry = 'Drying slowly... patience, bby~ ⏳', -} - -Lang.meth = { - alreadyChasing = 'You’re already chasin’ a truck, silly! 🚛', - targetStealFromCar = 'Steal from da meth car~ 🚗', - targetHeist = 'Start da meth mission! 💥', - started = 'Meth already cookin’, chill! 🧊', - increaseHeat = 'You turned up da heat... 🔥', - targetBag = 'Bag da meth, make it pretty~ 🎀', - targetCook = 'Cook da meth, make it strong 💪', - targetGrabTray = 'Grab da meth tray~ 🍽️', - targetHeat = 'Adjust da dials... science! 🔬', - targetSmash = 'Smash da tray, big baddie~ 💣', - targetStealEPH = 'Steal ephedrine... shhh~ 🤫', - stealingEPH = 'Snatching da ephedrine... 🧪', - targetStealACE = 'Steal acetone... 💨', - stealingACE = 'Grabbin’ da acetone... 🧫', - notOnRun = 'You’re not on a run, silly! 🙅♂️', - onCooldown = 'You’re on cooldown, take a nap~ 😴', - teleIn = 'Enter da lab... secretly~ 🔐', - teleOut = 'Leave da lab... for now~ 👋', -} - -Lang.oxy = { - ditchCar = 'Da van is hot! Ditch it quick! 🚨', - targetHandoff = 'Hand off da package, fast! 📦', - handingoff = 'Givin’ da package... done! ✅', - emptyHands = 'Your hands are empty, silly! 🙃', - targetPay = 'Rent da oxy van? 💰', - keys = 'Keys are in da van... shhh~ 🔑', - targetGetPackage = 'Grab da package~ 📦', - alreadyCarrying = 'You already got a package! 🤸♂️', - paid = 'You paid $%s for da van! 💸', - notOn = 'You’re not on a route, silly! 🗺️', -} - -Lang.pharma = { - input = { - header = 'Who gets da prescription, bby?', - title1 = 'Player name?', - title2 = 'What medicine?', - }, - write = 'Writing da prescription... 📝', - opening = 'Opening da bottle... pop! 💊', - targetFill = 'Fill da prescription~ 💊', - fill = 'Getting it filled... almost! 💉', - canceled = 'You canceled... no meds for you! 😢', - unbottle = 'You opened da bottle! Yay! 🎉', -} - -Lang.shrooms = { - targetPick = 'Pick da shrooms, little fun-gi~ 🍄', - picking = 'Picking shrooms... so cute! 💚', - eat = 'Eating shrooms... trip time! 🌈', - cancel = 'Changed your mind? No tripping! 😌', - took = 'You took some shrooms! Wheee~ 🌀', -} - -Lang.weed = { - targetPick = 'Pick da weed, so green~ 🌿', - picking = 'Picking weed... sticky icky~ ✂️', - targetDry = 'Dry da weed, make it crisp~ 💨', - noDry = 'You need wet weed, silly! 🌱', - wait = 'Waiting for it to dry... patience~ ⏳', - take = 'It’s ready! Take it now! 🎉', - targetDryed = 'Pick up da dry weed~ 🌿', - teleportIn = 'Enter da grow house~ 🏡', - teleportOut = 'Leave da grow house~ 👋', - dabs = 'Doing some dabs... strong stuff~ 💨', - bluntWrap = 'Dipping syrup to make %s... 🍯', - rollBlunt = 'Rolling a %s... puffer puffer~ 🚬', - targetSales = 'Buy from da dealer~ 💵', - buying = 'Buying %s from dealer... 🛒', - itemDoesntExist = 'That item doesn’t exist here... 🤷♂️', - needItem = 'You need a %s for this, silly! 🙃', - crackBlunt = 'Cracking open a blunt... 🚬💥', -} - -Lang.wholesale = { - alreadyWholesale = 'Already wholesaling, chill! 😌', - targetBuyer = 'Talk to da buyer, make a deal~ 💼', - wholesaling = 'Wholesaling drugs... big moves~ 💰', - uhoh = 'The buyer looks sketchy... 👀', - tooLong = 'Buyer got impatient... bye bye~ 👋', - notEnoughCops = 'Not enough cops on duty... safe! 🚔', - count = 'Found %s itemies~', - bonus = 'Bonus: +%s%% mowe sparkwes~ ✨', - estimate = 'You get $%s - $%s monies~ 💖', - no_drugs = 'No dwugies to seww, sadge~', - ambush = 'AMBUSCH! %s bad guys wif %s bang-bangs~ 💥', - complete = 'Sowd %s itemies fow $%s%s~ 🎉', - min_quantity = 'Need to seww %s itemies min~', - deal_failed_cleanup = 'Deaw faiwed... twy again? 💔' -} - -Lang.xtc = { - alreadyOut = 'You already got a press out! 🙃', - settingDown = 'Setting down da press... 💤', - noPressOut = 'No press out... where it go? 🤔', - targetMake = 'Press pills, make em pop~ 💊', - making = 'Pressing a %s... so satisfying~ ✨', - targetPickup = 'Pick up da press~ 🧰', - picking = 'Picking up da press... bye bye~ 👋', - targetStealMDP2P = 'Steal MDP2P... shhh~ 🤫', - stealingMDP2P = 'Snatching da MDP2P... 🧪', - fail = 'Damn dude... you really suck... 😅', - targetStealIsosafrole = 'Steal isosafrole~ 💨', - stealingIsosafrole = 'Grabbin’ da chems... 🧫', - targetRaw = 'Make raw XTC, yikes~ 💣', - makingRaw = 'Making raw XTC... risky! 🔥', - getPress = 'Get press, make pills~ 🖨️', - buySingle = 'Buy single press for $%s? 💰', - buyp = 'Buying press... factory time! 🏭', - targetStamp = 'Stamp XTC, make it pretty~ ✨', - stamp_desc = 'Stamp %s pills with design~ 🖋️', - stamping = 'Stamping %s pills... so clean~ ✨', - noPills = 'You got no unstamped pills... 🫙', -} - -Lang.merchant = { - targetOpen = 'Open Wopen Store', -} - -Lang.Whippit = { - targetShop = 'Open Whippit Shop', - needBalloon = 'You need a balloon for this, cutie! 🎈', - needCanister = 'You need a canister for this, bby! 🛢️', - shopHeader = 'Whippit Shop 🥳', -} -return Lang \ No newline at end of file diff --git a/locales/wookie.lua b/locales/wookie.lua deleted file mode 100644 index 55ae7b4..0000000 --- a/locales/wookie.lua +++ /dev/null @@ -1,267 +0,0 @@ -Lang = {} - -Lang.Catches = { - notIn = 'Rraaarrrr!', - needItems = 'Hnnngh oogar!', - notEnoughMoney = 'Whroooaah mmgra!', - buySuccess = 'Raaar %s %s whrrr $%s!', - itemMissings = 'Oogar:%s', - itemNeeded = 'Rraa %s!', - cooldown = 'Whhrrroooaannn!', - invalidItem = 'Khhrrrnnngh!', - onCooldownWarn = '%s RRRRAAAAAAAAUGGGGHHH %s \n WHHHRRROOOAAANNN!', - noCops = 'WROAH RaW RRRRRRA!' -} - -Lang.coke = { - targetPick = 'Rraaarr whrroo!', - picking = 'Whrrroo hnnngh!', - targetMakePow = 'Rraa pow!', - noleaf = 'Oogar whrroo!', - makePow = 'Rraa powwhrrr!', - targetCutCoke = 'Khhrrr pow!', - targetBagCoke = 'Blarrg sack!', - teleIn = 'Vrroo hnnn!', - teleOut = 'Vrroo nngh!', - needBakingSoda = 'Rraa baka soda!', -} - -Lang.Cornerselling = { - inVeh = 'Rraa whrrroo!', - selling = 'Skreee %s whrrr $%s!', - deny = 'Grrrnnn!', - wait = 'Oogar oogar!', - nodrugs = 'Hnnngh oogar!', - searching = 'Whhrrroooaannn skreee!', - targetTakeBack = 'Rraa back!', - targetSell = 'Skreee %s ra %s whrrr $%s!', - targetDeny = 'Grrrnnn!', - stopped = 'Whhrrroooaannn oogar!', - start = 'Rraa oogar!', - gotRobbed = 'Rraa blarrg!', - gotBack = 'Rraa back oogar!', - notEnough = 'Hnnngh ra %s!', - comDes = 'Skreee oogar!', -} - -Lang.crack = { - targetMake = 'Rraa crack!', - cook = 'Crack rraa!', - targetBag = 'Blarrg crack!', - bag = 'Crack sack!', -} - -Lang.Deliveries = { - targetGetDel = 'Rraa del!', - targetOpenShop = 'Oogar shop!', - shopHeader = 'Oogar Shop', - targetHandOff = 'Rraa package!', - delivering = 'Package rraa!', - alreadyDelivering = 'Rraa del oogar!', - slowAf = 'Whhrrroooaannn grrr!', - newDealerHelp = { - help = 'Rraa dealer!', - name = 'Dealer rraa?', - timeMin = 'Rraa min?', - timeMax = 'Rraa max?', - }, - DealerExists = 'Dealer oogar!', - deleteDealer = { - help = 'Rraa delete!', - name = 'Dealer rraa?', - }, - deleteDealerSuccess = 'Dealer rraa gone!', - deleteDealerFail = 'Dealer rraa no gone!', -} - -Lang.heroin = { - targetPick = 'Rraa plant!', - picking = 'Plant rraa!', - targetCook = 'Rraa heroin!', - pbCook = 'Heroin rraa!', - targetPickup = 'Rraa lab!', - pbPickup = 'Lab rraa!', - targetClean = 'Rraa clean!', - pbClean = 'Clean lab!', - targetDry = 'Rraa dry!', - pbDry = 'Dry plant!', - targetCutHeroin = 'Rraa cut!', - pbCutHeroin = 'Cut heroin!', - targetBuyKit = 'Rraa kit!', - pbBuyKit = 'Buy kit rraa!', - tableout = 'Rraa table oogar!', - placing = 'Table rraa!', - targetFill = 'Rraa syringe!', - pbFill = 'Fill rraa!', - hasKitAlready = 'Kit oogar!', - notEnoughMoney = 'Rraa $%s!', - placedKit = 'Kit rraa placed!', - failed = 'Rraa fail oogar!', -} - -Lang.lean = { - stealFromTruck = 'Rraa truck!', - startMission = 'Rraa mission!', - notOnRun = 'Run no oogar!', -} - -Lang.lsd = { - targetHeat = 'Rraa heat!', - heating = 'Heat rraa!', - targetRefine = 'Rraa refine!', - refining = 'Refine rraa!', - targetDipping = 'Rraa dip!', - dipping = 'Dip rraa!', - targetPickup = 'Rraa labkit!', - packup = 'Labkit rraa!', - targetClean = 'Rraa clean!', - needCleaning = 'Clean kit rraa!', - cleaning = 'Clean rraa!', - targetLys = 'Rraa lys!', - stealLys = 'Lys rraa!', - targetDie = 'Rraa die!', - stealingDie = 'Die rraa!', - targetBuyTab = 'Rraa tab!', - targetBuyKit = 'Rraa kit!', - alreadyOwn = 'Kit oogar!', - buyingKit = 'Buy kit rraa!', - tableout = 'Table oogar!', - placing = 'Place rraa!', - failed = 'Rraa fail oogar!', -} - -Lang.mesc = { - targetPick = 'Rraa cactus!', - picking = 'Cactus rraa!', - targetDry = 'Rraa dry!', - dry = 'Dry cactus!', -} - -Lang.meth = { - alreadyChasing = 'Chase oogar!', - targetStealFromCar = 'Rraa car!', - targetHeist = 'Rraa mission!', - started = 'Meth rraa!', - increaseHeat = 'Rraa heat up!', - targetBag = 'Rraa bag!', - targetCook = 'Rraa cook!', - targetGrabTray = 'Rraa tray!', - targetHeat = 'Rraa dial!', - targetSmash = 'Rraa smash!', - targetStealEPH = 'Rraa eph!', - stealingEPH = 'Eph rraa!', - targetStealACE = 'Rraa ace!', - stealingACE = 'Ace rraa!', - notOnRun = 'Run no oogar!', - onCooldown = 'Rraa cool!', - teleIn = 'SSSNNNAAARRR!!', - teleOut = 'WRRROOOOWW!!', -} - -Lang.oxy = { - ditchCar = 'Rraa van!', - targetHandoff = 'Rraa hand!', - handingoff = 'Hand rraa!', - emptyHands = 'Hands oogar!', - targetPay = 'Rraa pay!', - keys = 'Keys rraa!', - targetGetPackage = 'Rraa grab!', - alreadyCarrying = 'Carry oogar!', - paid = 'Paid $%s rraa!', - notOn = 'On no oogar!', -} - -Lang.pharma = { - input = { - header = 'Rraa who?', - title1 = 'Player rraa?', - title2 = 'Prescription rraa?', - }, - write = 'Rraa write!', - opening = 'Rraa open!', - targetFill = 'Rraa fill!', - fill = 'Fill rraa!', - canceled = 'Rraa cancel!', - unbottle = 'Rraa open!', -} - -Lang.shrooms = { - targetPick = 'Rraa shroom!', - picking = 'Shroom rraa!', - eat = 'Eat rraa!', - cancel = 'No rraa!', - took = 'Rraa took!', -} - -Lang.weed = { - targetPick = 'Rraa weed!', - picking = 'Weed rraa!', - targetDry = 'Rraa dry!', - noDry = 'Wet rraa!', - wait = 'Wait rraa!', - take = 'Take rraa!', - targetDryed = 'Rraa dry!', - teleportIn = 'Rraa house!', - teleportOut = 'Rraa leave!', - dabs = 'Rraa dab!', - bluntWrap = 'Rraa wrap %s!', - rollBlunt = 'Rraa roll %s!', - targetSales = 'Rraa buy!', - buying = 'Buy %s rraa!', - itemDoesntExist = 'No rraa!', - needItem = 'Rraa %s!', - crackBlunt = 'Rraa crack!', -} - -Lang.wholesale = { - alreadyWholesale = 'Rraa whole!', - targetBuyer = 'Rraa buyer!', - wholesaling = 'Whole rraa!', - uhoh = 'Buyer rraa!', - tooLong = 'Time rraa!', - notEnoughCops = 'Cops no oogar!', - count = '%s RRRAAAUGH!!', - bonus = ' +%s%% — GRRROWL!!', - estimate = '$%s - $%s — BWAAAAARRGH!!', - no_drugs = ' NNAARRGH!!', - ambush = ' %s WRAAAAAGH!! %s!!', - complete = ' %s — $%s%s — RRROWWR!!', - min_quantity = ' %s — BWAAAAH!!', - deal_failed_cleanup = ' MMMRRR...', -} - -Lang.xtc = { - alreadyOut = 'Press oogar!', - settingDown = 'Press rraa!', - noPressOut = 'No press!', - targetMake = 'Rraa press!', - making = 'Press %s rraa!', - targetPickup = 'Rraa pick!', - picking = 'Pick rraa!', - targetStealMDP2P = 'Rraa mdp!', - stealingMDP2P = 'Mdp rraa!', - targetStealIsosafrole = 'Rraa iso!', - stealingIsosafrole = 'Iso rraa!', - targetRaw = 'Rraa raw!', - makingRaw = 'Raw rraa!', - getPress = 'Rraa press!', - buySingle = 'Buy press $%s!', - buyp = 'Buy rraa!', - targetStamp = 'Rraa stamp!', - stamp_desc = 'Stamp %s rraa!', - stamping = 'Stamp %s rraa!', - noPills = 'Pills no oogar!', -} - -Lang.merchant = { - targetOpen = 'Rraa raw!', -} - -Lang.Whippit = { - targetShop = 'Rraa Whippit!', - needBalloon = 'Rraa balloon!', - needCanister = 'Rraa canister!', - shopHeader = 'Whippit Rraa!', -} - -return Lang \ No newline at end of file diff --git a/mddrugs.sql b/mddrugs.sql index abc220f..769d5ed 100644 --- a/mddrugs.sql +++ b/mddrugs.sql @@ -1,11 +1,19 @@ +DROP TABLE IF EXISTS `dealers`; + +CREATE TABLE `dealers` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `coords` text DEFAULT NULL, + `createdby` varchar(50) NOT NULL DEFAULT '0', + `model` text DEFAULT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; + CREATE TABLE IF NOT EXISTS `deliveriesdealer` ( `id` int(11) NOT NULL AUTO_INCREMENT, `cid` varchar(50) NOT NULL, `itemdata` varchar(50) NOT NULL, - `timestart` varchar(50) NOT NULL, - `timestop` varchar(50) DEFAULT NULL, - `maxtime` varchar(50) NOT NULL, + `maxtime` int(11) NOT NULL DEFAULT 0, `location` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci; @@ -16,4 +24,4 @@ CREATE TABLE IF NOT EXISTS `drugrep` ( `drugrep` varchar(255) DEFAULT NULL, `name` varchar(50) DEFAULT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci; +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci; \ No newline at end of file diff --git a/readme.md b/readme.md index a0aca62..9793330 100644 --- a/readme.md +++ b/readme.md @@ -1,169 +1,117 @@ # 🌿 MD-Drugs – Advanced Drug System for FiveM -A fully customizable, immersive drug system for FiveM servers. +> ✨ A fully customizable, immersive, and performance-optimized drug system built for serious FiveM roleplay servers.
-
-
+
+
+**[Join Mustache Scripts Discord](https://discord.gg/sAMzrB4DDx)**
+