condense locales
This commit is contained in:
1 parent
fc8a623067
commit
c752baffda
22 files changed
+228
-131
No files matched your search
@@ -21,7 +21,7 @@ for k, v in pairs (locations.DryOutMescaline) do
|
||||
icon = 'fa-solid fa-temperature-high',
|
||||
action = function()
|
||||
if not itemCheck('cactusbulb') then return end
|
||||
if not progressbar(Bridge.Language.Locale('mescaline.dry')) then return end
|
||||
if not progressbar(Bridge.Language.Locale('mesc.dry')) then return end
|
||||
TriggerServerEvent("md-drugs:server:drymescaline", k)
|
||||
end,
|
||||
canInteract = function()
|
||||
@@ -36,7 +36,7 @@ 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 progressbar(Bridge.Language.Locale('mescaline.eat')) then return end
|
||||
if not progressbar(Bridge.Language.Locale('mesc.eat')) then return end
|
||||
if chance <= badTrip then
|
||||
AlienEffect()
|
||||
Wait(math.random(3000,6000))
|
||||
|
||||
Reference in new issue
Block a user