forked from Simnation/Main
neue sachen
This commit is contained in:
parent
e542e77789
commit
b992cdcfef
119 changed files with 5522 additions and 0 deletions
Binary file not shown.
Before Width: | Height: | Size: 1.2 MiB |
BIN
resources/[test]/qs-weed/.fxap
Normal file
BIN
resources/[test]/qs-weed/.fxap
Normal file
Binary file not shown.
157
resources/[test]/qs-weed/client/custom/framework/esx.lua
Normal file
157
resources/[test]/qs-weed/client/custom/framework/esx.lua
Normal file
|
@ -0,0 +1,157 @@
|
|||
if Config.Framework ~= 'esx' then
|
||||
return
|
||||
end
|
||||
|
||||
ESX = exports['es_extended']:getSharedObject()
|
||||
|
||||
PlayerJob = false
|
||||
CreateThread(function()
|
||||
while not GetPlayerData() or not GetPlayerData().job do
|
||||
Wait(100)
|
||||
end
|
||||
PlayerJob = GetPlayerData().job.name
|
||||
end)
|
||||
|
||||
RegisterNetEvent('esx:setJob')
|
||||
AddEventHandler('esx:setJob', function(job)
|
||||
PlayerJob = job.name
|
||||
end)
|
||||
|
||||
function TriggerServerCallback(name, cb, ...)
|
||||
ESX.TriggerServerCallback(name, cb, ...)
|
||||
end
|
||||
|
||||
function GetPlayerData()
|
||||
return ESX.GetPlayerData()
|
||||
end
|
||||
|
||||
function GetJobName()
|
||||
return GetPlayerData()?.job?.name
|
||||
end
|
||||
|
||||
local texts = {}
|
||||
if GetResourceState('qs-textui') == 'started' then
|
||||
function DrawText3D(x, y, z, text, id, key)
|
||||
local _id = id
|
||||
if not texts[_id] then
|
||||
CreateThread(function()
|
||||
texts[_id] = 5
|
||||
while texts[_id] > 0 do
|
||||
texts[_id] = texts[_id] - 1
|
||||
Wait(0)
|
||||
end
|
||||
texts[_id] = nil
|
||||
exports['qs-textui']:DeleteDrawText3D(id)
|
||||
Debug('Deleted text', id)
|
||||
end)
|
||||
TriggerEvent('textui:DrawText3D', x, y, z, text, id, key)
|
||||
end
|
||||
texts[_id] = 5
|
||||
end
|
||||
else
|
||||
function DrawText3D(x, y, z, text)
|
||||
SetTextScale(0.35, 0.35)
|
||||
SetTextFont(4)
|
||||
SetTextProportional(1)
|
||||
SetTextColour(255, 255, 255, 215)
|
||||
SetTextEntry('STRING')
|
||||
SetTextCentre(true)
|
||||
AddTextComponentString(text)
|
||||
SetDrawOrigin(x, y, z, 0)
|
||||
DrawText(0.0, 0.0)
|
||||
local factor = text:len() / 370
|
||||
DrawRect(0.0, 0.0 + 0.0125, 0.017 + factor, 0.03, 0, 0, 0, 75)
|
||||
ClearDrawOrigin()
|
||||
end
|
||||
end
|
||||
|
||||
function DrawText3Ds(x, y, z, text)
|
||||
SetTextScale(0.35, 0.35)
|
||||
SetTextFont(4)
|
||||
SetTextProportional(1)
|
||||
SetTextColour(255, 255, 255, 215)
|
||||
SetTextEntry('STRING')
|
||||
SetTextCentre(true)
|
||||
AddTextComponentString(text)
|
||||
SetDrawOrigin(x, y, z, 0)
|
||||
DrawText(0.0, 0.0)
|
||||
local factor = (string.len(text)) / 370
|
||||
DrawRect(0.0, 0.0 + 0.0125, 0.017 + factor, 0.03, 0, 0, 0, 75)
|
||||
ClearDrawOrigin()
|
||||
end
|
||||
|
||||
function ProgressBar(name, label, duration, useWhileDead, canCancel, disableControls, animation, prop, propTwo, onFinish, onCancel)
|
||||
if GetResourceState('qs-interface') == 'started' then
|
||||
local success = exports['qs-interface']:ProgressBar({
|
||||
duration = duration,
|
||||
label = label,
|
||||
position = 'bottom',
|
||||
useWhileDead = useWhileDead,
|
||||
canCancel = canCancel,
|
||||
disable = disableControls,
|
||||
anim = {
|
||||
dict = animation.animDict,
|
||||
clip = animation.anim,
|
||||
flag = animation?.flags
|
||||
},
|
||||
prop = prop
|
||||
})
|
||||
if success then
|
||||
onFinish()
|
||||
else
|
||||
onCancel()
|
||||
end
|
||||
return
|
||||
end
|
||||
if lib.progressCircle({
|
||||
duration = duration,
|
||||
label = label,
|
||||
position = 'bottom',
|
||||
useWhileDead = useWhileDead,
|
||||
canCancel = canCancel,
|
||||
disable = disableControls,
|
||||
anim = {
|
||||
dict = animation.animDict,
|
||||
clip = animation.anim,
|
||||
flag = animation?.flags
|
||||
},
|
||||
prop = prop
|
||||
}) then
|
||||
onFinish()
|
||||
else
|
||||
onCancel()
|
||||
end
|
||||
end
|
||||
|
||||
function SendTextMessage(msg, type)
|
||||
if GetResourceState('qs-interface') == 'started' then
|
||||
if type == 'inform' then
|
||||
exports['qs-interface']:AddNotify(msg, 'Inform', 2500, 'fas fa-file')
|
||||
elseif type == 'error' then
|
||||
exports['qs-interface']:AddNotify(msg, 'Error', 2500, 'fas fa-bug')
|
||||
elseif type == 'success' then
|
||||
exports['qs-interface']:AddNotify(msg, 'Success', 2500, 'fas fa-thumbs-up')
|
||||
end
|
||||
return
|
||||
end
|
||||
|
||||
if type == 'inform' then
|
||||
lib.notify({
|
||||
title = 'Weed',
|
||||
description = msg,
|
||||
type = 'inform'
|
||||
})
|
||||
elseif type == 'error' then
|
||||
lib.notify({
|
||||
title = 'Weed',
|
||||
description = msg,
|
||||
type = 'error'
|
||||
})
|
||||
elseif type == 'success' then
|
||||
lib.notify({
|
||||
title = 'Weed',
|
||||
description = msg,
|
||||
type = 'success'
|
||||
})
|
||||
end
|
||||
end
|
157
resources/[test]/qs-weed/client/custom/framework/qb.lua
Normal file
157
resources/[test]/qs-weed/client/custom/framework/qb.lua
Normal file
|
@ -0,0 +1,157 @@
|
|||
if Config.Framework ~= 'qb' then
|
||||
return
|
||||
end
|
||||
|
||||
QBCore = exports['qb-core']:GetCoreObject()
|
||||
|
||||
PlayerJob = false
|
||||
CreateThread(function()
|
||||
while not GetPlayerData() or not GetPlayerData().job do
|
||||
Wait(100)
|
||||
end
|
||||
PlayerJob = GetPlayerData().job.name
|
||||
end)
|
||||
|
||||
RegisterNetEvent('QBCore:Client:OnJobUpdate')
|
||||
AddEventHandler('QBCore:Client:OnJobUpdate', function(job)
|
||||
PlayerJob = job.name
|
||||
end)
|
||||
|
||||
function TriggerServerCallback(name, cb, ...)
|
||||
QBCore.Functions.TriggerCallback(name, cb, ...)
|
||||
end
|
||||
|
||||
function GetPlayerData()
|
||||
return QBCore.Functions.GetPlayerData()
|
||||
end
|
||||
|
||||
function GetJobName()
|
||||
return GetPlayerData()?.job?.name
|
||||
end
|
||||
|
||||
local texts = {}
|
||||
if GetResourceState('qs-textui') == 'started' then
|
||||
function DrawText3D(x, y, z, text, id, key)
|
||||
local _id = id
|
||||
if not texts[_id] then
|
||||
CreateThread(function()
|
||||
texts[_id] = 5
|
||||
while texts[_id] > 0 do
|
||||
texts[_id] = texts[_id] - 1
|
||||
Wait(0)
|
||||
end
|
||||
texts[_id] = nil
|
||||
exports['qs-textui']:DeleteDrawText3D(id)
|
||||
Debug('Deleted text', id)
|
||||
end)
|
||||
TriggerEvent('textui:DrawText3D', x, y, z, text, id, key)
|
||||
end
|
||||
texts[_id] = 5
|
||||
end
|
||||
else
|
||||
function DrawText3D(x, y, z, text)
|
||||
SetTextScale(0.35, 0.35)
|
||||
SetTextFont(4)
|
||||
SetTextProportional(1)
|
||||
SetTextColour(255, 255, 255, 215)
|
||||
SetTextEntry('STRING')
|
||||
SetTextCentre(true)
|
||||
AddTextComponentString(text)
|
||||
SetDrawOrigin(x, y, z, 0)
|
||||
DrawText(0.0, 0.0)
|
||||
local factor = text:len() / 370
|
||||
DrawRect(0.0, 0.0 + 0.0125, 0.017 + factor, 0.03, 0, 0, 0, 75)
|
||||
ClearDrawOrigin()
|
||||
end
|
||||
end
|
||||
|
||||
function DrawText3Ds(x, y, z, text)
|
||||
SetTextScale(0.35, 0.35)
|
||||
SetTextFont(4)
|
||||
SetTextProportional(1)
|
||||
SetTextColour(255, 255, 255, 215)
|
||||
SetTextEntry('STRING')
|
||||
SetTextCentre(true)
|
||||
AddTextComponentString(text)
|
||||
SetDrawOrigin(x, y, z, 0)
|
||||
DrawText(0.0, 0.0)
|
||||
local factor = (string.len(text)) / 370
|
||||
DrawRect(0.0, 0.0 + 0.0125, 0.017 + factor, 0.03, 0, 0, 0, 75)
|
||||
ClearDrawOrigin()
|
||||
end
|
||||
|
||||
function ProgressBar(name, label, duration, useWhileDead, canCancel, disableControls, animation, prop, propTwo, onFinish, onCancel)
|
||||
if GetResourceState('qs-interface') == 'started' then
|
||||
local success = exports['qs-interface']:ProgressBar({
|
||||
duration = duration,
|
||||
label = label,
|
||||
position = 'bottom',
|
||||
useWhileDead = useWhileDead,
|
||||
canCancel = canCancel,
|
||||
disable = disableControls,
|
||||
anim = {
|
||||
dict = animation.animDict,
|
||||
clip = animation.anim,
|
||||
flag = animation?.flags
|
||||
},
|
||||
prop = prop
|
||||
})
|
||||
if success then
|
||||
onFinish()
|
||||
else
|
||||
onCancel()
|
||||
end
|
||||
return
|
||||
end
|
||||
if lib.progressCircle({
|
||||
duration = duration,
|
||||
label = label,
|
||||
position = 'bottom',
|
||||
useWhileDead = useWhileDead,
|
||||
canCancel = canCancel,
|
||||
disable = disableControls,
|
||||
anim = {
|
||||
dict = animation.animDict,
|
||||
clip = animation.anim,
|
||||
flag = animation?.flags
|
||||
},
|
||||
prop = prop
|
||||
}) then
|
||||
onFinish()
|
||||
else
|
||||
onCancel()
|
||||
end
|
||||
end
|
||||
|
||||
function SendTextMessage(msg, type)
|
||||
if GetResourceState('qs-interface') == 'started' then
|
||||
if type == 'inform' then
|
||||
exports['qs-interface']:AddNotify(msg, 'Inform', 2500, 'fas fa-file')
|
||||
elseif type == 'error' then
|
||||
exports['qs-interface']:AddNotify(msg, 'Error', 2500, 'fas fa-bug')
|
||||
elseif type == 'success' then
|
||||
exports['qs-interface']:AddNotify(msg, 'Success', 2500, 'fas fa-thumbs-up')
|
||||
end
|
||||
return
|
||||
end
|
||||
|
||||
if type == 'inform' then
|
||||
lib.notify({
|
||||
title = 'Weed',
|
||||
description = msg,
|
||||
type = 'inform'
|
||||
})
|
||||
elseif type == 'error' then
|
||||
lib.notify({
|
||||
title = 'Weed',
|
||||
description = msg,
|
||||
type = 'error'
|
||||
})
|
||||
elseif type == 'success' then
|
||||
lib.notify({
|
||||
title = 'Weed',
|
||||
description = msg,
|
||||
type = 'success'
|
||||
})
|
||||
end
|
||||
end
|
157
resources/[test]/qs-weed/client/custom/framework/qbx.lua
Normal file
157
resources/[test]/qs-weed/client/custom/framework/qbx.lua
Normal file
|
@ -0,0 +1,157 @@
|
|||
if Config.Framework ~= 'qbx' then
|
||||
return
|
||||
end
|
||||
|
||||
QBCore = exports['qb-core']:GetCoreObject()
|
||||
|
||||
PlayerJob = false
|
||||
CreateThread(function()
|
||||
while not GetPlayerData() or not GetPlayerData().job do
|
||||
Wait(100)
|
||||
end
|
||||
PlayerJob = GetPlayerData().job.name
|
||||
end)
|
||||
|
||||
RegisterNetEvent('QBCore:Client:OnJobUpdate')
|
||||
AddEventHandler('QBCore:Client:OnJobUpdate', function(job)
|
||||
PlayerJob = job.name
|
||||
end)
|
||||
|
||||
function TriggerServerCallback(name, cb, ...)
|
||||
QBCore.Functions.TriggerCallback(name, cb, ...)
|
||||
end
|
||||
|
||||
function GetPlayerData()
|
||||
return exports.qbx_core:GetPlayerData()
|
||||
end
|
||||
|
||||
function GetJobName()
|
||||
return GetPlayerData()?.job?.name
|
||||
end
|
||||
|
||||
local texts = {}
|
||||
if GetResourceState('qs-textui') == 'started' then
|
||||
function DrawText3D(x, y, z, text, id, key)
|
||||
local _id = id
|
||||
if not texts[_id] then
|
||||
CreateThread(function()
|
||||
texts[_id] = 5
|
||||
while texts[_id] > 0 do
|
||||
texts[_id] = texts[_id] - 1
|
||||
Wait(0)
|
||||
end
|
||||
texts[_id] = nil
|
||||
exports['qs-textui']:DeleteDrawText3D(id)
|
||||
Debug('Deleted text', id)
|
||||
end)
|
||||
TriggerEvent('textui:DrawText3D', x, y, z, text, id, key)
|
||||
end
|
||||
texts[_id] = 5
|
||||
end
|
||||
else
|
||||
function DrawText3D(x, y, z, text)
|
||||
SetTextScale(0.35, 0.35)
|
||||
SetTextFont(4)
|
||||
SetTextProportional(1)
|
||||
SetTextColour(255, 255, 255, 215)
|
||||
SetTextEntry('STRING')
|
||||
SetTextCentre(true)
|
||||
AddTextComponentString(text)
|
||||
SetDrawOrigin(x, y, z, 0)
|
||||
DrawText(0.0, 0.0)
|
||||
local factor = text:len() / 370
|
||||
DrawRect(0.0, 0.0 + 0.0125, 0.017 + factor, 0.03, 0, 0, 0, 75)
|
||||
ClearDrawOrigin()
|
||||
end
|
||||
end
|
||||
|
||||
function DrawText3Ds(x, y, z, text)
|
||||
SetTextScale(0.35, 0.35)
|
||||
SetTextFont(4)
|
||||
SetTextProportional(1)
|
||||
SetTextColour(255, 255, 255, 215)
|
||||
SetTextEntry('STRING')
|
||||
SetTextCentre(true)
|
||||
AddTextComponentString(text)
|
||||
SetDrawOrigin(x, y, z, 0)
|
||||
DrawText(0.0, 0.0)
|
||||
local factor = (string.len(text)) / 370
|
||||
DrawRect(0.0, 0.0 + 0.0125, 0.017 + factor, 0.03, 0, 0, 0, 75)
|
||||
ClearDrawOrigin()
|
||||
end
|
||||
|
||||
function ProgressBar(name, label, duration, useWhileDead, canCancel, disableControls, animation, prop, propTwo, onFinish, onCancel)
|
||||
if GetResourceState('qs-interface') == 'started' then
|
||||
local success = exports['qs-interface']:ProgressBar({
|
||||
duration = duration,
|
||||
label = label,
|
||||
position = 'bottom',
|
||||
useWhileDead = useWhileDead,
|
||||
canCancel = canCancel,
|
||||
disable = disableControls,
|
||||
anim = {
|
||||
dict = animation.animDict,
|
||||
clip = animation.anim,
|
||||
flag = animation?.flags
|
||||
},
|
||||
prop = prop
|
||||
})
|
||||
if success then
|
||||
onFinish()
|
||||
else
|
||||
onCancel()
|
||||
end
|
||||
return
|
||||
end
|
||||
if lib.progressCircle({
|
||||
duration = duration,
|
||||
label = label,
|
||||
position = 'bottom',
|
||||
useWhileDead = useWhileDead,
|
||||
canCancel = canCancel,
|
||||
disable = disableControls,
|
||||
anim = {
|
||||
dict = animation.animDict,
|
||||
clip = animation.anim,
|
||||
flag = animation?.flags
|
||||
},
|
||||
prop = prop
|
||||
}) then
|
||||
onFinish()
|
||||
else
|
||||
onCancel()
|
||||
end
|
||||
end
|
||||
|
||||
function SendTextMessage(msg, type)
|
||||
if GetResourceState('qs-interface') == 'started' then
|
||||
if type == 'inform' then
|
||||
exports['qs-interface']:AddNotify(msg, 'Inform', 2500, 'fas fa-file')
|
||||
elseif type == 'error' then
|
||||
exports['qs-interface']:AddNotify(msg, 'Error', 2500, 'fas fa-bug')
|
||||
elseif type == 'success' then
|
||||
exports['qs-interface']:AddNotify(msg, 'Success', 2500, 'fas fa-thumbs-up')
|
||||
end
|
||||
return
|
||||
end
|
||||
|
||||
if type == 'inform' then
|
||||
lib.notify({
|
||||
title = 'Weed',
|
||||
description = msg,
|
||||
type = 'inform'
|
||||
})
|
||||
elseif type == 'error' then
|
||||
lib.notify({
|
||||
title = 'Weed',
|
||||
description = msg,
|
||||
type = 'error'
|
||||
})
|
||||
elseif type == 'success' then
|
||||
lib.notify({
|
||||
title = 'Weed',
|
||||
description = msg,
|
||||
type = 'success'
|
||||
})
|
||||
end
|
||||
end
|
183
resources/[test]/qs-weed/client/custom/framework/standalone.lua
Normal file
183
resources/[test]/qs-weed/client/custom/framework/standalone.lua
Normal file
|
@ -0,0 +1,183 @@
|
|||
if Config.Framework ~= 'standalone' then return end
|
||||
|
||||
PlayerJob = 'unemployed'
|
||||
|
||||
local RequestId = 0
|
||||
local serverRequests = {}
|
||||
|
||||
local clientCallbacks = {}
|
||||
|
||||
---@param eventName string
|
||||
---@param callback function
|
||||
---@param ... any
|
||||
TriggerServerCallback = function(eventName, callback, ...)
|
||||
serverRequests[RequestId] = callback
|
||||
|
||||
TriggerServerEvent('weed:triggerServerCallback', eventName, RequestId, GetInvokingResource() or 'unknown', ...)
|
||||
|
||||
RequestId = RequestId + 1
|
||||
end
|
||||
|
||||
exports('TriggerServerCallback', TriggerServerCallback)
|
||||
|
||||
RegisterNetEvent('weed:serverCallback', function(requestId, invoker, ...)
|
||||
if not serverRequests[requestId] then
|
||||
return print(('[^1ERROR^7] Server Callback with requestId ^5%s^7 Was Called by ^5%s^7 but does not exist.'):format(requestId, invoker))
|
||||
end
|
||||
|
||||
serverRequests[requestId](...)
|
||||
serverRequests[requestId] = nil
|
||||
end)
|
||||
|
||||
---@param eventName string
|
||||
---@param callback function
|
||||
_RegisterClientCallback = function(eventName, callback)
|
||||
clientCallbacks[eventName] = callback
|
||||
end
|
||||
|
||||
RegisterNetEvent('weed:triggerClientCallback', function(eventName, requestId, invoker, ...)
|
||||
if not clientCallbacks[eventName] then
|
||||
return print(('[^1ERROR^7] Client Callback not registered, name: ^5%s^7, invoker resource: ^5%s^7'):format(eventName, invoker))
|
||||
end
|
||||
|
||||
clientCallbacks[eventName](function(...)
|
||||
TriggerServerEvent('weed:clientCallback', requestId, invoker, ...)
|
||||
end, ...)
|
||||
end)
|
||||
|
||||
function GetPlayerData()
|
||||
ImplementError('You need to implement GetPlayerData()')
|
||||
return {}
|
||||
end
|
||||
|
||||
function GetJobName()
|
||||
Error('GetJobName is used with standalone')
|
||||
return Config.PoliceJobs
|
||||
end
|
||||
|
||||
local texts = {}
|
||||
if GetResourceState('qs-textui') == 'started' then
|
||||
function DrawText3D(x, y, z, text, id, key)
|
||||
local _id = id
|
||||
if not texts[_id] then
|
||||
CreateThread(function()
|
||||
texts[_id] = 5
|
||||
while texts[_id] > 0 do
|
||||
texts[_id] = texts[_id] - 1
|
||||
Wait(0)
|
||||
end
|
||||
texts[_id] = nil
|
||||
exports['qs-textui']:DeleteDrawText3D(id)
|
||||
Debug('Deleted text', id)
|
||||
end)
|
||||
TriggerEvent('textui:DrawText3D', x, y, z, text, id, key)
|
||||
end
|
||||
texts[_id] = 5
|
||||
end
|
||||
else
|
||||
function DrawText3D(x, y, z, text)
|
||||
SetTextScale(0.35, 0.35)
|
||||
SetTextFont(4)
|
||||
SetTextProportional(1)
|
||||
SetTextColour(255, 255, 255, 215)
|
||||
SetTextEntry('STRING')
|
||||
SetTextCentre(true)
|
||||
AddTextComponentString(text)
|
||||
SetDrawOrigin(x, y, z, 0)
|
||||
DrawText(0.0, 0.0)
|
||||
local factor = text:len() / 370
|
||||
DrawRect(0.0, 0.0 + 0.0125, 0.017 + factor, 0.03, 0, 0, 0, 75)
|
||||
ClearDrawOrigin()
|
||||
end
|
||||
end
|
||||
|
||||
function DrawText3Ds(x, y, z, text)
|
||||
SetTextScale(0.35, 0.35)
|
||||
SetTextFont(4)
|
||||
SetTextProportional(1)
|
||||
SetTextColour(255, 255, 255, 215)
|
||||
SetTextEntry('STRING')
|
||||
SetTextCentre(true)
|
||||
AddTextComponentString(text)
|
||||
SetDrawOrigin(x, y, z, 0)
|
||||
DrawText(0.0, 0.0)
|
||||
local factor = (string.len(text)) / 370
|
||||
DrawRect(0.0, 0.0 + 0.0125, 0.017 + factor, 0.03, 0, 0, 0, 75)
|
||||
ClearDrawOrigin()
|
||||
end
|
||||
|
||||
function ProgressBar(name, label, duration, useWhileDead, canCancel, disableControls, animation, prop, propTwo, onFinish, onCancel)
|
||||
if GetResourceState('qs-interface') == 'started' then
|
||||
local success = exports['qs-interface']:ProgressBar({
|
||||
duration = duration,
|
||||
label = label,
|
||||
position = 'bottom',
|
||||
useWhileDead = useWhileDead,
|
||||
canCancel = canCancel,
|
||||
disable = disableControls,
|
||||
anim = {
|
||||
dict = animation.animDict,
|
||||
clip = animation.anim,
|
||||
flag = animation?.flags
|
||||
},
|
||||
prop = prop
|
||||
})
|
||||
if success then
|
||||
onFinish()
|
||||
else
|
||||
onCancel()
|
||||
end
|
||||
return
|
||||
end
|
||||
if lib.progressCircle({
|
||||
duration = duration,
|
||||
label = label,
|
||||
position = 'bottom',
|
||||
useWhileDead = useWhileDead,
|
||||
canCancel = canCancel,
|
||||
disable = disableControls,
|
||||
anim = {
|
||||
dict = animation.animDict,
|
||||
clip = animation.anim,
|
||||
flag = animation?.flags
|
||||
},
|
||||
prop = prop
|
||||
}) then
|
||||
onFinish()
|
||||
else
|
||||
onCancel()
|
||||
end
|
||||
end
|
||||
|
||||
function SendTextMessage(msg, type)
|
||||
if GetResourceState('qs-interface') == 'started' then
|
||||
if type == 'inform' then
|
||||
exports['qs-interface']:AddNotify(msg, 'Inform', 2500, 'fas fa-file')
|
||||
elseif type == 'error' then
|
||||
exports['qs-interface']:AddNotify(msg, 'Error', 2500, 'fas fa-bug')
|
||||
elseif type == 'success' then
|
||||
exports['qs-interface']:AddNotify(msg, 'Success', 2500, 'fas fa-thumbs-up')
|
||||
end
|
||||
return
|
||||
end
|
||||
|
||||
if type == 'inform' then
|
||||
lib.notify({
|
||||
title = 'Weed',
|
||||
description = msg,
|
||||
type = 'inform'
|
||||
})
|
||||
elseif type == 'error' then
|
||||
lib.notify({
|
||||
title = 'Weed',
|
||||
description = msg,
|
||||
type = 'error'
|
||||
})
|
||||
elseif type == 'success' then
|
||||
lib.notify({
|
||||
title = 'Weed',
|
||||
description = msg,
|
||||
type = 'success'
|
||||
})
|
||||
end
|
||||
end
|
BIN
resources/[test]/qs-weed/client/main.lua
Normal file
BIN
resources/[test]/qs-weed/client/main.lua
Normal file
Binary file not shown.
34
resources/[test]/qs-weed/fxmanifest.lua
Normal file
34
resources/[test]/qs-weed/fxmanifest.lua
Normal file
|
@ -0,0 +1,34 @@
|
|||
fx_version 'cerulean'
|
||||
|
||||
games { 'gta5' }
|
||||
|
||||
lua54 'yes'
|
||||
|
||||
shared_script {
|
||||
'@ox_lib/init.lua',
|
||||
'shared/*.lua',
|
||||
'locales/*.lua'
|
||||
}
|
||||
|
||||
client_scripts {
|
||||
'client/**/**/**.lua'
|
||||
}
|
||||
|
||||
server_scripts {
|
||||
'@mysql-async/lib/MySQL.lua',
|
||||
'server/**/**/**.lua'
|
||||
}
|
||||
|
||||
dependencies {
|
||||
'ox_lib'
|
||||
}
|
||||
|
||||
escrow_ignore {
|
||||
'shared/config.lua',
|
||||
'locales/*.lua',
|
||||
'client/custom/**/**.lua',
|
||||
'server/custom/**/**.lua',
|
||||
'server/custom/missions'
|
||||
}
|
||||
|
||||
dependency '/assetpacks'
|
26
resources/[test]/qs-weed/locales/ar.lua
Normal file
26
resources/[test]/qs-weed/locales/ar.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["ar"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[ه] - حرق النبات',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[ز] - نبات الحمل',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[هـ] - إزالة النبات الميت',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[هـ] – حصاد النبات',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'يكتب:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'تَغذِيَة:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'صحة:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'نبات ينمو...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'إزالة النبات...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'زرع النبات ...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'مصنع تغذية ...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'لقد غيرت موقف النبات',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'اشتعلت النيران في المصنع بالكامل',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'لا يوجد مكان لوضع النبات',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'أنت لست في منزلك أو في منطقة آمنة',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'هذا النبات لا يحتاج إلى مزيد من التغذية',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'لم يتم العثور على الكائن أو أنه مكسور',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'لقد حصدت النبات بشكل صحيح',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'المصنع لم يعد موجودا',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'ليس لديك أكياس كافية لحصاد النبات بأكمله',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'إنه ليس نباتك ولا يمكنك حصاد نبات لاعب آخر',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'لا يمكنك وضع المزيد من النباتات في هذا المنزل',
|
||||
}
|
26
resources/[test]/qs-weed/locales/bg.lua
Normal file
26
resources/[test]/qs-weed/locales/bg.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["bg"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Изгорено растение',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Носещо растение',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Премахнете мъртвото растение',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Жътва',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Тип:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Хранене:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'здраве:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Отглеждане на растение...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Премахване на растението...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Засаждане на растение...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Завод за хранене...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Променихте позицията на растението',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'Заводът се е запалил напълно',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Няма къде да поставите растението',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'Не сте вкъщи или в безопасна зона',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Това растение не се нуждае от повече хранене',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Предметът не е намерен или е счупен',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Вие сте събрали растението правилно',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Заводът вече не съществува',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Нямате достатъчно торби, за да приберете цялото растение',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'Това не е вашето растение, нито можете да берете растението на друг играч',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'Не можете да поставите повече растения в този дом',
|
||||
}
|
26
resources/[test]/qs-weed/locales/ca.lua
Normal file
26
resources/[test]/qs-weed/locales/ca.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["ca"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Cremar planta',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Portar planta',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Eliminar la planta morta',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Planta de verema',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Tipus:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutrició:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Salut:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Planta en creixement...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Eliminant planta...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Plantar planta...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Planta d\'alimentació...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Has canviat la posició de la planta',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'La planta es va incendiar completament',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'No hi ha lloc per posar la planta',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'No estàs a casa teva ni en una zona segura',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Aquesta planta no necessita més nutrició',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'L\'objecte no s\'ha trobat o està trencat',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Has collit correctament la planta',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'La planta ja no existeix',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'No teniu prou bosses per collir tota la planta',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'No és la teva planta ni pots collir la planta d\'un altre jugador',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'No podeu posar més plantes en aquesta casa',
|
||||
}
|
26
resources/[test]/qs-weed/locales/cs.lua
Normal file
26
resources/[test]/qs-weed/locales/cs.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["cs"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Spálit rostlinu',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Přenášecí rostlina',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Odstraňte odumřelou rostlinu',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Sklizeň rostlin',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Typ:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Výživa:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Zdraví:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Rostoucí rostlina...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Odstraňování rostlin...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Výsadba rostlin...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Krmná rostlina...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Změnil jsi polohu rostliny',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'Závod úplně vzplál',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Rostlinu není kam umístit',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'Nejste doma nebo v bezpečné zóně',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Tato rostlina nepotřebuje více výživy',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Předmět nebyl nalezen nebo je rozbitý',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Rostlinu jste sklidili správně',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Rostlina již neexistuje',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Nemáte dostatek pytlů na sklizeň celé rostliny',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'Není to vaše rostlina ani nemůžete sklízet rostlinu jiného hráče',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'Do tohoto domu nemůžete umístit více rostlin',
|
||||
}
|
26
resources/[test]/qs-weed/locales/da.lua
Normal file
26
resources/[test]/qs-weed/locales/da.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["da"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Brænd plante',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Bær plante',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Fjern døde plante',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Høstplante',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Type:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Ernæring:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Sundhed:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Plante i vækst...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Fjerner plante...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Planter plante...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Foderplante...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Du ændrede anlæggets position',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'Anlægget brød fuldstændig i brand',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Der er ikke noget sted at sætte planten',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'Du er ikke i dit hjem eller i en sikker zone',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Denne plante har ikke brug for mere næring',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Genstanden blev ikke fundet eller er ødelagt',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Du har høstet planten korrekt',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Planten eksisterer ikke længere',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Du har ikke nok poser til at høste hele planten',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'Det er ikke din plante, og du kan heller ikke høste en anden spillers plante',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'Du kan ikke sætte flere planter i dette hjem',
|
||||
}
|
26
resources/[test]/qs-weed/locales/de.lua
Normal file
26
resources/[test]/qs-weed/locales/de.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["de"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] – Pflanze verbrennen',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] – Pflanze tragen',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] – Abgestorbene Pflanzen entfernen',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] – Pflanze ernten',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Typ:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Ernährung:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Gesundheit:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Wachsende Pflanze...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Pflanze entfernen...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Pflanze pflanzen...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Futterpflanze...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Sie haben die Anlagenposition geändert',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'Die Anlage geriet vollständig in Brand',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Es gibt keinen Platz für die Pflanze',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'Sie befinden sich nicht zu Hause oder in einer sicheren Zone',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Diese Pflanze benötigt keine weitere Nahrung',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Das Objekt wurde nicht gefunden oder ist kaputt',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Sie haben die Pflanze richtig geerntet',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Die Pflanze existiert nicht mehr',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Sie haben nicht genügend Beutel, um die gesamte Pflanze zu ernten',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'Es ist weder Ihre Pflanze, noch können Sie die Pflanze eines anderen Spielers ernten',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'Sie können in diesem Haus nicht mehr Pflanzen pflanzen',
|
||||
}
|
26
resources/[test]/qs-weed/locales/el.lua
Normal file
26
resources/[test]/qs-weed/locales/el.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["el"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Φυτό καύσης',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Φυτό μεταφοράς',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Αφαιρέστε το νεκρό φυτό',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Φυτό συγκομιδής',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Τύπος:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Θρέψη:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Υγεία:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Καλλιέργεια φυτών...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Αφαίρεση φυτού...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Φύτευση φυτού...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Φυτό τροφοδοσίας...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Αλλάξατε τη θέση του φυτού',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'Το εργοστάσιο πήρε φωτιά εντελώς',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Δεν υπάρχει μέρος για να βάλετε το φυτό',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'Δεν βρίσκεστε στο σπίτι σας ή σε ασφαλή ζώνη',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Αυτό το φυτό δεν χρειάζεται περισσότερη διατροφή',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Το αντικείμενο δεν βρέθηκε ή είναι σπασμένο',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Έχετε μαζέψει σωστά το φυτό',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Το φυτό δεν υπάρχει πλέον',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Δεν έχετε αρκετές σακούλες για να μαζέψετε ολόκληρο το φυτό',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'Δεν είναι το φυτό σας ούτε μπορείτε να μαζέψετε φυτό άλλου παίκτη',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'Δεν μπορείτε να βάλετε περισσότερα φυτά σε αυτό το σπίτι',
|
||||
}
|
26
resources/[test]/qs-weed/locales/en.lua
Normal file
26
resources/[test]/qs-weed/locales/en.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["en"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Burn plant',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Carry plant',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Remove dead plant',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Harvest plant',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Type:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutrition:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Health:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Growing plant...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Removing plant...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Planting plant...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Feeding plant...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'You changed the plant position',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'The plant caught fire completely',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'There is no place to put the plant',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'You are not at your home or in a safe zone',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'This plant does not need more nutrition',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'The object was not found or is broken',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'You have harvested the plant correctly',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'The plant no longer exists',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'You do not have enough bags to harvest the entire plant',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'It is not your plant nor can you harvest another player\\\'s plant',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'You cannot put more plants in this home',
|
||||
}
|
26
resources/[test]/qs-weed/locales/es.lua
Normal file
26
resources/[test]/qs-weed/locales/es.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["es"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Quemar planta',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Planta de transporte',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Quitar la planta muerta',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Planta de cosecha',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Tipo:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutrición:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Salud:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Planta en crecimiento...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Quitando planta...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Plantación de planta...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Planta de alimentación...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Cambiaste la posición de la planta.',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'La planta se incendió por completo.',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'No hay lugar para poner la planta.',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'No estás en tu casa ni en una zona segura',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Esta planta no necesita más nutrición.',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'El objeto no fue encontrado o está roto.',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Has cosechado la planta correctamente.',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'La planta ya no existe.',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'No tienes suficientes bolsas para cosechar toda la planta.',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'No es tu planta ni puedes cosechar la planta de otro jugador.',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'No se pueden poner más plantas en esta casa.',
|
||||
}
|
26
resources/[test]/qs-weed/locales/fa.lua
Normal file
26
resources/[test]/qs-weed/locales/fa.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["fa"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[اِ] - گیاه را بسوزانید',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - گیاه را حمل کنید',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - گیاه مرده را بردارید',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - گیاه درو',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'نوع:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'تغذیه:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'سلامت:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'در حال رشد گیاه ...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'حذف گیاه ...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'کاشت گیاه ...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'گیاه تغذیه ...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'شما موقعیت گیاه را تغییر دادید',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'این گیاه کاملاً آتش گرفت',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'جایی برای قرار دادن گیاه وجود ندارد',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'شما در خانه یا در یک منطقه امن نیستید',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'این گیاه به تغذیه بیشتری نیاز ندارد',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'شی پیدا نشد یا شکسته است',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'شما گیاه را به درستی برداشت کرده اید',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'این گیاه دیگر وجود ندارد',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'کیسه های کافی برای برداشت کل گیاه ندارید',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'این گیاه شما نیست و نمی توانید گیاه بازیکن دیگری را برداشت کنید',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'شما نمی توانید گیاهان بیشتری را در این خانه قرار دهید',
|
||||
}
|
26
resources/[test]/qs-weed/locales/fr.lua
Normal file
26
resources/[test]/qs-weed/locales/fr.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["fr"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Brûler plante',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Plante de transport',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Supprimer la plante morte',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Plante de récolte',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Taper:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutrition:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Santé:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Plante en croissance...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Suppression d\'une plante...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Plante à planter...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Plante nourricière...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Vous avez changé la position de la plante',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'L\'usine a complètement pris feu',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Il n\'y a pas de place pour mettre la plante',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'Vous n\'êtes pas chez vous ou dans une zone sûre',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Cette plante n\'a pas besoin de plus de nutrition',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'L\'objet n\'a pas été trouvé ou est cassé',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Vous avez récolté la plante correctement',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'La plante n\'existe plus',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Vous n\'avez pas assez de sacs pour récolter la plante entière',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'Ce n\'est pas votre plante et vous ne pouvez pas non plus récolter la plante d\'un autre joueur',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'Vous ne pouvez pas mettre plus de plantes dans cette maison',
|
||||
}
|
26
resources/[test]/qs-weed/locales/he.lua
Normal file
26
resources/[test]/qs-weed/locales/he.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["he"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Burn plant',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Carry plant',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Remove dead plant',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Harvest plant',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Type:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutrition:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Health:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Growing plant...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Removing plant...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Planting plant...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Feeding plant...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'You changed the plant position',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'The plant caught fire completely',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'There is no place to put the plant',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'You are not at your home or in a safe zone',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'This plant does not need more nutrition',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'The object was not found or is broken',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'You have harvested the plant correctly',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'The plant no longer exists',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'You do not have enough bags to harvest the entire plant',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'It is not your plant nor can you harvest another player\'s plant',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'You cannot put more plants in this home',
|
||||
}
|
26
resources/[test]/qs-weed/locales/hi.lua
Normal file
26
resources/[test]/qs-weed/locales/hi.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["hi"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[ई] - जला हुआ पौधा',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[जी] - कैरी प्लांट',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[ई] - मृत पौधे को हटा दें',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[ई] - फसल का पौधा',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'प्रकार:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'पोषण:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'स्वास्थ्य:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'बढ़ता हुआ पौधा...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'पौधा हटाया जा रहा है...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'पौधारोपण...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'भोजन देने वाला पौधा...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'आपने पौधे की स्थिति बदल दी',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'प्लांट पूरी तरह से जलकर खाक हो गया',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'पौधा लगाने की जगह नहीं है',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'आप अपने घर पर या सुरक्षित क्षेत्र में नहीं हैं',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'इस पौधे को अधिक पोषण की आवश्यकता नहीं होती',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'वस्तु नहीं मिली या टूट गयी है',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'आपने पौधे की सही कटाई की है',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'संयंत्र अब अस्तित्व में नहीं है',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'आपके पास पूरे पौधे की कटाई के लिए पर्याप्त बैग नहीं हैं',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'यह आपका पौधा नहीं है और न ही आप किसी अन्य खिलाड़ी का पौधा काट सकते हैं',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'आप इस घर में अधिक पौधे नहीं लगा सकते',
|
||||
}
|
26
resources/[test]/qs-weed/locales/hu.lua
Normal file
26
resources/[test]/qs-weed/locales/hu.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["hu"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Égess el egy növényt',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Növényhordozó',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Távolítsa el az elhalt növényt',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Betakarítás növény',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Típus:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Táplálás:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Egészség:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Növekvő növény...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Növény eltávolítása...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Növény ültetése...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Etető üzem...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Megváltoztatta az üzem pozícióját',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'Az üzem teljesen kigyulladt',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Nincs hová tenni a növényt',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'Nem tartózkodik otthonában vagy biztonságos zónában',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Ennek a növénynek nincs szüksége több táplálékra',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'A tárgy nem található, vagy elromlott',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Helyesen betakarította a növényt',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Az üzem már nem létezik',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Nincs elég zacskója az egész növény betakarításához',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'Ez nem a te növényed, és nem is betakaríthatod egy másik játékos növényét',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'Nem tehet több növényt ebbe az otthonba',
|
||||
}
|
26
resources/[test]/qs-weed/locales/it.lua
Normal file
26
resources/[test]/qs-weed/locales/it.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["it"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Brucia la pianta',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Trasportare la pianta',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Rimuovere la pianta morta',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Pianta da raccogliere',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Tipo:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutrizione:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Salute:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Pianta in crescita...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Rimozione pianta...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Piantare una pianta...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Pianta da nutrire...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Hai cambiato la posizione della pianta',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'L\'impianto ha preso fuoco completamente',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Non c\'è posto dove mettere la pianta',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'Non sei a casa tua o in una zona sicura',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Questa pianta non ha bisogno di più nutrimento',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'L\'oggetto non è stato trovato o è rotto',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Hai raccolto la pianta correttamente',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'L\'impianto non esiste più',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Non hai abbastanza sacchi per raccogliere l\'intera pianta',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'Non è la tua pianta né puoi raccogliere la pianta di un altro giocatore',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'Non puoi mettere più piante in questa casa',
|
||||
}
|
26
resources/[test]/qs-weed/locales/ja.lua
Normal file
26
resources/[test]/qs-weed/locales/ja.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["ja"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - 植物を燃やす',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - キャリープラント',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - 枯れた植物を取り除く',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - 収穫植物',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'タイプ:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = '栄養:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = '健康:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = '成長中の植物...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = '植物を除去しています...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = '植物を植える...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = '給餌植物...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = '工場の位置を変更しました',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = '工場は完全に火災になった',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = '植物を置く場所がない',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'あなたは自宅または安全地帯にいません',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'この植物にはそれ以上の栄養は必要ありません',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'オブジェクトが見つからないか壊れています',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = '植物を正しく収穫しました',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'その工場はもう存在しません',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = '植物全体を収穫するのに十分な袋がありません',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'それはあなたの植物ではなく、他のプレイヤーの植物を収穫することもできません',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'この家にはこれ以上植物を置くことはできません',
|
||||
}
|
26
resources/[test]/qs-weed/locales/ko.lua
Normal file
26
resources/[test]/qs-weed/locales/ko.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["ko"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - 식물 태우기',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - 식물 운반',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - 죽은 식물 제거',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - 수확 식물',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = '유형:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = '영양물 섭취:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = '건강:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = '식물을 키우는 중...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = '식물 제거 중...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = '식물을 심는 중...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = '먹이를 주는 식물...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = '공장 위치를 바꾸셨네요',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = '식물에 완전히 불이 붙었습니다',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = '식물을 심을 곳이 없어요',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = '당신은 집에 없거나 안전지대에 있지 않습니다.',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = '이 식물에는 더 많은 영양이 필요하지 않습니다.',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = '개체를 찾을 수 없거나 손상되었습니다.',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = '식물을 올바르게 수확했습니다',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = '그 식물은 더 이상 존재하지 않습니다.',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = '전체 식물을 수확할 만큼 충분한 봉지가 없습니다.',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = '그것은 당신의 식물이 아니며 다른 플레이어의 식물을 수확할 수도 없습니다.',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = '이 집에는 더 이상 식물을 심을 수 없습니다',
|
||||
}
|
26
resources/[test]/qs-weed/locales/nl.lua
Normal file
26
resources/[test]/qs-weed/locales/nl.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["nl"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Installatie verbranden',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Draag plant',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Verwijder dode plant',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Oogstplant',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Type:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Voeding:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Gezondheid:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Groeiende plant...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Plant verwijderen...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Plantje planten...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Voedingsplant...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Je hebt de plantpositie gewijzigd',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'De fabriek vloog volledig in brand',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Er is geen plek om de plant neer te zetten',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'U bent niet thuis of in een veilige zone',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Meer voeding heeft deze plant niet nodig',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Het object is niet gevonden of is kapot',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Je hebt de plant correct geoogst',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'De fabriek bestaat niet meer',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Je hebt niet genoeg zakken om de hele plant te oogsten',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'Het is niet jouw plant en je kunt ook niet de plant van een andere speler oogsten',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'Je kunt niet meer planten in dit huis zetten',
|
||||
}
|
26
resources/[test]/qs-weed/locales/no.lua
Normal file
26
resources/[test]/qs-weed/locales/no.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["no"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Brenn plante',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Bær plante',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Fjern døde plante',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Høsteplante',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Type:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Ernæring:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Helse:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Voksende plante...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Fjerner planten...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Plante plante...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Matplante...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Du endret anleggsposisjonen',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'Anlegget tok fullstendig fyr',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Det er ikke noe sted å sette planten',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'Du er ikke hjemme eller i en trygg sone',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Denne planten trenger ikke mer næring',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Gjenstanden ble ikke funnet eller er ødelagt',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Du har høstet planten riktig',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Planten eksisterer ikke lenger',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Du har ikke nok poser til å høste hele planten',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'Det er ikke din plante, og du kan heller ikke høste en annen spillers plante',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'Du kan ikke sette flere planter i dette hjemmet',
|
||||
}
|
26
resources/[test]/qs-weed/locales/pl.lua
Normal file
26
resources/[test]/qs-weed/locales/pl.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["pl"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] – Spal roślinę',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] – Noś roślinę',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] – Usuń martwą roślinę',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Roślina zbierająca',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Typ:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Odżywianie:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Zdrowie:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Rosnąca roślina...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Usuwanie rośliny...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Sadzenie roślin...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Roślina zasilająca...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Zmieniłeś położenie rośliny',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'Roślina całkowicie się zapaliła',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Nie ma gdzie postawić rośliny',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'Nie jesteś w domu ani w bezpiecznej strefie',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Ta roślina nie potrzebuje więcej odżywiania',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Obiekt nie został znaleziony lub jest uszkodzony',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Zebrałeś roślinę prawidłowo',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Rośliny już nie ma',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Nie masz wystarczającej liczby worków, aby zebrać całą roślinę',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'To nie jest twoja roślina i nie możesz zbierać roślin innego gracza',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'Nie możesz umieścić więcej roślin w tym domu',
|
||||
}
|
26
resources/[test]/qs-weed/locales/pt.lua
Normal file
26
resources/[test]/qs-weed/locales/pt.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["pt"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Planta queimada',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Carregar planta',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Remover planta morta',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Planta de colheita',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Tipo:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutrição:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Saúde:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Planta crescendo...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Removendo planta...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Plantando planta...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Planta de alimentação...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Você mudou a posição da planta',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'A planta pegou fogo completamente',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Não há lugar para colocar a planta',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'Você não está em sua casa ou em uma zona segura',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Esta planta não precisa de mais nutrição',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'O objeto não foi encontrado ou está quebrado',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Você colheu a planta corretamente',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'A planta não existe mais',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Você não tem sacos suficientes para colher a planta inteira',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'Não é a sua planta nem você pode colher a planta de outro jogador',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'Você não pode colocar mais plantas nesta casa',
|
||||
}
|
26
resources/[test]/qs-weed/locales/ro.lua
Normal file
26
resources/[test]/qs-weed/locales/ro.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["ro"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Arde planta',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Purtați planta',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Îndepărtați planta moartă',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Planta de recoltare',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Tip:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutriţie:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Sănătate:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Planta in crestere...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Se indeparteaza planta...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Planta de plantare...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Planta de hrănire...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Ai schimbat poziția plantei',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'Planta a luat foc complet',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Nu există loc unde să pui planta',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'Nu sunteți acasă sau într-o zonă sigură',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Această plantă nu are nevoie de mai multă hrană',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Obiectul nu a fost găsit sau este rupt',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Ați recoltat planta corect',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Planta nu mai există',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Nu aveți destui saci pentru a recolta întreaga plantă',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'Nu este planta ta și nici nu poți recolta planta altui jucător',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'Nu puteți pune mai multe plante în această casă',
|
||||
}
|
26
resources/[test]/qs-weed/locales/ru.lua
Normal file
26
resources/[test]/qs-weed/locales/ru.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["ru"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Сжечь завод',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Перенести растение',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] — Удалить мертвое растение.',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] — Сбор урожая',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Тип:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Питание:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Здоровье:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Выращивание растения...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Удаление растения...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Посадка растений...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Кормовой завод...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Вы изменили положение растения',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'Завод полностью загорелся',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Растение поставить некуда',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'Вы не у себя дома или в безопасной зоне',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Это растение не нуждается в дополнительном питании',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Объект не найден или сломан',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Вы правильно собрали растение.',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Завода больше нет',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'У вас недостаточно мешков, чтобы собрать все растение.',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'Это не ваше растение, и вы не можете собирать растение другого игрока.',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'Вы не можете посадить больше растений в этом доме.',
|
||||
}
|
26
resources/[test]/qs-weed/locales/sl.lua
Normal file
26
resources/[test]/qs-weed/locales/sl.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["sl"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Zažigalna rastlina',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Prenesite rastlino',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Odstranite mrtvo rastlino',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Žetvena rastlina',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Tip:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Prehrana:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'zdravje:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Rastoča rastlina...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Odstranjevanje rastline ...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Sajenje rastlin...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Krmna rastlina...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Spremenili ste položaj rastline',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'Obrat je v celoti zagorel',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Rastline ni kam postaviti',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'Niste doma ali na varnem območju',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Ta rastlina ne potrebuje več hrane',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Predmet ni bil najden ali pa je pokvarjen',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Rastlino ste pravilno nabrali',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Rastlina ne obstaja več',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Nimate dovolj vreč za nabiranje celotne rastline',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'To ni vaša rastlina, niti ne morete nabirati rastline drugega igralca',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'V ta dom ne morete postaviti več rastlin',
|
||||
}
|
26
resources/[test]/qs-weed/locales/sv.lua
Normal file
26
resources/[test]/qs-weed/locales/sv.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["sv"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Bränn växt',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Bär växt',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Ta bort död planta',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Skördeväxt',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Typ:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Näring:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Hälsa:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Växande växt...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Tar bort växt...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Plantera växt...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Foderväxt...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Du ändrade anläggningens position',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'Anläggningen fattade helt eld',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Det finns ingen plats att sätta plantan på',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'Du är inte hemma eller i en säker zon',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Denna växt behöver inte mer näring',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Objektet hittades inte eller är trasigt',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Du har skördat växten korrekt',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Anläggningen finns inte längre',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Du har inte tillräckligt med påsar för att skörda hela plantan',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'Det är inte din växt och du kan inte heller skörda en annan spelares växt',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'Du kan inte sätta fler växter i det här hemmet',
|
||||
}
|
26
resources/[test]/qs-weed/locales/th.lua
Normal file
26
resources/[test]/qs-weed/locales/th.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["th"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - เผาต้นไม้',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - พกต้นไม้',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - กำจัดพืชที่ตายแล้ว',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - พืชเก็บเกี่ยว',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'พิมพ์:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'โภชนาการ:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'สุขภาพ:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'ปลูกพืช...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'กำลังถอดพืช...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'การปลูกพืช...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'โรงงานให้อาหาร...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'คุณเปลี่ยนตำแหน่งโรงงาน',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'โรงงานถูกไฟไหม้อย่างสมบูรณ์',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'ไม่มีที่วางต้นไม้',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'คุณไม่ได้อยู่ที่บ้านหรืออยู่ในเขตปลอดภัย',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'พืชชนิดนี้ไม่ต้องการสารอาหารเพิ่มเติม',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'ไม่พบวัตถุหรือเสียหาย',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'คุณได้เก็บเกี่ยวพืชอย่างถูกต้อง',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'โรงงานไม่มีอยู่อีกต่อไป',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'คุณมีถุงไม่เพียงพอที่จะเก็บเกี่ยวทั้งต้น',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'ไม่ใช่ต้นไม้ของคุณ และคุณไม่สามารถเก็บเกี่ยวพืชของผู้เล่นคนอื่นได้',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'คุณไม่สามารถปลูกต้นไม้เพิ่มในบ้านนี้ได้',
|
||||
}
|
26
resources/[test]/qs-weed/locales/tk.lua
Normal file
26
resources/[test]/qs-weed/locales/tk.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["tk"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Burn plant',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Carry plant',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Remove dead plant',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Harvest plant',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Type:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Nutrition:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Health:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Growing plant...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Removing plant...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Planting plant...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Feeding plant...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'You changed the plant position',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'The plant caught fire completely',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'There is no place to put the plant',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'You are not at your home or in a safe zone',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'This plant does not need more nutrition',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'The object was not found or is broken',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'You have harvested the plant correctly',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'The plant no longer exists',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'You do not have enough bags to harvest the entire plant',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'It is not your plant nor can you harvest another player\'s plant',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'You cannot put more plants in this home',
|
||||
}
|
26
resources/[test]/qs-weed/locales/tr.lua
Normal file
26
resources/[test]/qs-weed/locales/tr.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["tr"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - Tesisi yakmak',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - Bitkiyi taşı',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - Ölü bitkiyi kaldır',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - Hasat tesisi',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = 'Tip:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = 'Beslenme:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = 'Sağlık:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = 'Büyüyen bitki...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = 'Bitki kaldırılıyor...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = 'Bitki dikmek...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = 'Besleme tesisi...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = 'Tesis konumunu değiştirdiniz',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = 'Fabrika tamamen alev aldı',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = 'Bitkiyi koyacak yer yok',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = 'Evinizde veya güvenli bir bölgede değilsiniz',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = 'Bu bitkinin daha fazla beslenmeye ihtiyacı yok',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = 'Nesne bulunamadı veya bozuk',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = 'Bitkiyi doğru şekilde hasat ettiniz',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = 'Bitki artık mevcut değil',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = 'Bitkinin tamamını hasat etmeye yetecek kadar torbanız yok',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = 'Bu sizin bitkiniz değil, başka bir oyuncunun bitkisini de hasat edemezsiniz',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = 'Bu eve daha fazla bitki koyamazsınız',
|
||||
}
|
26
resources/[test]/qs-weed/locales/zh-CN.lua
Normal file
26
resources/[test]/qs-weed/locales/zh-CN.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["zh-CN"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - 燃烧植物',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - 携带植物',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - 移除死去的植物',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - 收获植物',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = '类型:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = '营养:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = '健康:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = '正在生长的植物...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = '移除植物...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = '种植植物...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = '饲料厂...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = '你改变了植物的位置',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = '工厂完全着火了',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = '没有地方可以放置植物',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = '您不在家或不在安全区',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = '这种植物不需要更多的营养',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = '未找到该对象或该对象已损坏',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = '您已正确收获植物',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = '该工厂已不复存在',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = '您没有足够的袋子来收获整个植物',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = '这不是你的植物,你也不能收获其他玩家的植物',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = '你不能在这个家里放置更多的植物',
|
||||
}
|
26
resources/[test]/qs-weed/locales/zh-TW.lua
Normal file
26
resources/[test]/qs-weed/locales/zh-TW.lua
Normal file
|
@ -0,0 +1,26 @@
|
|||
Locales["zh-TW"] = {
|
||||
["WEED_DRAWTEXT_FIRE_PLANT"] = '[E] - 燃燒植物',
|
||||
["WEED_DRAWTEXT_CARRY_PLANT"] = '[G] - 攜帶植物',
|
||||
["WEED_DRAWTEXT_DEAD_PLANT"] = '[E] - 移除已死的植物',
|
||||
["WEED_DRAWTEXT_HARVEST_PLANT"] = '[E] - 收穫植物',
|
||||
["WEED_DRAWTEXT_TYPE_STATUS"] = '類型:',
|
||||
["WEED_DRAWTEXT_NUTRITION_STATUS"] = '營養:',
|
||||
["WEED_DRAWTEXT_HEALTH_STATUS"] = '健康:',
|
||||
|
||||
["WEED_PROGRESS_GROWING_PLANT"] = '正在生長的植物...',
|
||||
["WEED_PROGRESS_REMOVE_PLANT"] = '移除植物...',
|
||||
["WEED_PROGRESS_PLANTING_PLANT"] = '種植植物...',
|
||||
["WEED_PROGRESS_NUTRITION_PLANT"] = '飼料廠...',
|
||||
|
||||
["WEED_NOTIFICATION_PUT_OBJECT"] = '你改變了植物的位置',
|
||||
["WEED_NOTIFICATION_FIRE_PLANT"] = '工廠完全著火了',
|
||||
["WEED_NOTIFICATION_NO_PLACE"] = '沒有地方可以放置植物',
|
||||
["WEED_NOTIFICATION_SAFE_ZONE"] = '您不在家或不在安全區',
|
||||
["WEED_NOTIFICATION_NO_NUTRITION"] = '這種植物不需要更多的營養',
|
||||
["WEED_NOTIFICATION_BROKEN_OBJECT"] = '未找到該物件或該物件已損壞',
|
||||
["WEED_NOTIFICATION_HARVESTED_PLANT"] = '您已正確收穫植物',
|
||||
["WEED_NOTIFICATION_PLANT_NOT_EXIST"] = '該工廠已不復存在',
|
||||
["WEED_NOTIFICATION_PLANT_NO_BAGS"] = '您沒有足夠的袋子來收穫整株植物',
|
||||
["WEED_NOTIFICATION_NOT_PLANT"] = '這不是你的植物,你也不能收穫其他玩家的植物',
|
||||
["WEED_NOTIFICATION_NO_PLANTS"] = '你不能在這個家裡放置更多的植物',
|
||||
}
|
54
resources/[test]/qs-weed/server/custom/framework/esx.lua
Normal file
54
resources/[test]/qs-weed/server/custom/framework/esx.lua
Normal file
|
@ -0,0 +1,54 @@
|
|||
if Config.Framework ~= 'esx' then
|
||||
return
|
||||
end
|
||||
|
||||
ESX = exports['es_extended']:getSharedObject()
|
||||
|
||||
RegisterNetEvent('esx:playerLoaded', function(id, data)
|
||||
Wait(2000)
|
||||
Debug('Loaded player:', id)
|
||||
CreateQuests(id)
|
||||
end)
|
||||
|
||||
CreateThread(function()
|
||||
for k, v in pairs(ESX.Players) do
|
||||
if v and v.source then
|
||||
Debug('Loaded player:', v.source)
|
||||
CreateQuests(v.source)
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
function RegisterServerCallback(name, cb)
|
||||
ESX.RegisterServerCallback(name, cb)
|
||||
end
|
||||
|
||||
function RegisterUsableItem(name, cb)
|
||||
ESX.RegisterUsableItem(name, cb)
|
||||
end
|
||||
|
||||
function GetPlayerFromId(source)
|
||||
return ESX.GetPlayerFromId(source)
|
||||
end
|
||||
|
||||
function GetItem(player, item)
|
||||
return player.getInventoryItem(item)
|
||||
end
|
||||
|
||||
function AddItem(source, item, count)
|
||||
local player = GetPlayerFromId(source)
|
||||
local success = player.addInventoryItem(item, count)
|
||||
if GetResourceState('ox_inventory'):find('started') then
|
||||
Debug('ox_inventory add item success:::', success)
|
||||
return success
|
||||
end
|
||||
return true
|
||||
end
|
||||
|
||||
---@param source string
|
||||
---@param item string
|
||||
---@param count number
|
||||
function RemoveItem(source, item, count)
|
||||
local player = GetPlayerFromId(source)
|
||||
player.removeInventoryItem(item, count)
|
||||
end
|
47
resources/[test]/qs-weed/server/custom/framework/qb.lua
Normal file
47
resources/[test]/qs-weed/server/custom/framework/qb.lua
Normal file
|
@ -0,0 +1,47 @@
|
|||
if Config.Framework ~= 'qb' then
|
||||
return
|
||||
end
|
||||
|
||||
QBCore = exports['qb-core']:GetCoreObject()
|
||||
|
||||
RegisterNetEvent('QBCore:Server:OnPlayerLoaded', function()
|
||||
local src = source
|
||||
CreateQuests(src)
|
||||
end)
|
||||
|
||||
CreateThread(function()
|
||||
for k, v in pairs(QBCore.Functions.GetPlayers()) do
|
||||
if v then
|
||||
Debug('Loaded player:', v)
|
||||
CreateQuests(v)
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
function RegisterServerCallback(name, cb)
|
||||
QBCore.Functions.CreateCallback(name, cb)
|
||||
end
|
||||
|
||||
function RegisterUsableItem(name, cb)
|
||||
QBCore.Functions.CreateUseableItem(name, cb)
|
||||
end
|
||||
|
||||
function GetPlayerFromId(source)
|
||||
return QBCore.Functions.GetPlayer(source)
|
||||
end
|
||||
|
||||
function GetItem(player, item)
|
||||
local data = player.Functions.GetItemByName(item)
|
||||
data.count = data.amount
|
||||
return data
|
||||
end
|
||||
|
||||
function AddItem(source, item, count)
|
||||
local player = GetPlayerFromId(source)
|
||||
return player.Functions.AddItem(item, count)
|
||||
end
|
||||
|
||||
function RemoveItem(source, item, count, slot)
|
||||
local player = GetPlayerFromId(source)
|
||||
player.Functions.RemoveItem(item, count, slot)
|
||||
end
|
44
resources/[test]/qs-weed/server/custom/framework/qbx.lua
Normal file
44
resources/[test]/qs-weed/server/custom/framework/qbx.lua
Normal file
|
@ -0,0 +1,44 @@
|
|||
if Config.Framework ~= 'qbx' then
|
||||
return
|
||||
end
|
||||
|
||||
QBCore = exports['qb-core']:GetCoreObject()
|
||||
|
||||
RegisterNetEvent('QBCore:Server:OnPlayerLoaded', function()
|
||||
local src = source
|
||||
CreateQuests(src)
|
||||
end)
|
||||
|
||||
CreateThread(function()
|
||||
for k, v in pairs(QBCore.Functions.GetPlayers()) do
|
||||
if v then
|
||||
Debug('Loaded player:', v)
|
||||
CreateQuests(v)
|
||||
end
|
||||
end
|
||||
end)
|
||||
|
||||
function RegisterServerCallback(name, cb)
|
||||
QBCore.Functions.CreateCallback(name, cb)
|
||||
end
|
||||
|
||||
function RegisterUsableItem(name, cb)
|
||||
exports.qbx_core:CreateUseableItem(name, cb)
|
||||
end
|
||||
|
||||
function GetPlayerFromId(source)
|
||||
return exports.qbx_core:GetPlayer(source)
|
||||
end
|
||||
|
||||
function GetItem(player, item)
|
||||
local data = exports.ox_inventory:GetItem(player.PlayerData.source, item, nil, false)
|
||||
return data
|
||||
end
|
||||
|
||||
function AddItem(source, item, count)
|
||||
exports.ox_inventory:AddItem(source, item, count)
|
||||
end
|
||||
|
||||
function RemoveItem(source, item, count)
|
||||
exports.ox_inventory:RemoveItem(source, item, count)
|
||||
end
|
104
resources/[test]/qs-weed/server/custom/framework/standalone.lua
Normal file
104
resources/[test]/qs-weed/server/custom/framework/standalone.lua
Normal file
|
@ -0,0 +1,104 @@
|
|||
if Config.Framework ~= 'standalone' then
|
||||
return
|
||||
end
|
||||
|
||||
local oxHas = GetResourceState('ox_inventory') == 'started'
|
||||
|
||||
-- ESX Callbacks
|
||||
local serverCallbacks = {}
|
||||
|
||||
local clientRequests = {}
|
||||
local RequestId = 0
|
||||
|
||||
---@param eventName string
|
||||
---@param callback function
|
||||
RegisterServerCallback = function(eventName, callback)
|
||||
serverCallbacks[eventName] = callback
|
||||
end
|
||||
|
||||
exports('RegisterServerCallback', RegisterServerCallback)
|
||||
|
||||
RegisterNetEvent('weed:triggerServerCallback', function(eventName, requestId, invoker, ...)
|
||||
if not serverCallbacks[eventName] then
|
||||
return print(('[^1ERROR^7] Server Callback not registered, name: ^5%s^7, invoker resource: ^5%s^7'):format(eventName, invoker))
|
||||
end
|
||||
|
||||
local source = source
|
||||
|
||||
serverCallbacks[eventName](source, function(...)
|
||||
TriggerClientEvent('weed:serverCallback', source, requestId, invoker, ...)
|
||||
end, ...)
|
||||
end)
|
||||
|
||||
---@param player number playerId
|
||||
---@param eventName string
|
||||
---@param callback function
|
||||
---@param ... any
|
||||
TriggerClientCallback = function(player, eventName, callback, ...)
|
||||
clientRequests[RequestId] = callback
|
||||
|
||||
TriggerClientEvent('weed:triggerClientCallback', player, eventName, RequestId, GetInvokingResource() or 'unknown', ...)
|
||||
|
||||
RequestId = RequestId + 1
|
||||
end
|
||||
|
||||
RegisterNetEvent('weed:clientCallback', function(requestId, invoker, ...)
|
||||
if not clientRequests[requestId] then
|
||||
return print(('[^1ERROR^7] Client Callback with requestId ^5%s^7 Was Called by ^5%s^7 but does not exist.'):format(requestId, invoker))
|
||||
end
|
||||
|
||||
clientRequests[requestId](...)
|
||||
clientRequests[requestId] = nil
|
||||
end)
|
||||
|
||||
function RegisterUsableItem(name, cb)
|
||||
ImplementError('RegisterUsableItem is not supported with standalone')
|
||||
return false
|
||||
end
|
||||
|
||||
function GetPlayerFromId(source)
|
||||
return {
|
||||
source = source,
|
||||
identifier = GetIdentifier(source)
|
||||
}
|
||||
end
|
||||
|
||||
function GetPlayerFromIdentifier(identifier)
|
||||
identifier = string.gsub(identifier, ' ', '')
|
||||
local players = GetPlayers()
|
||||
for k, v in pairs(players) do
|
||||
if GetIdentifier(v) == identifier then
|
||||
return {
|
||||
source = v,
|
||||
identifier = identifier
|
||||
}
|
||||
end
|
||||
end
|
||||
return nil
|
||||
end
|
||||
|
||||
function GetIdentifier(source)
|
||||
ImplementError('Get Identifier : You need to implement this function for your framework.')
|
||||
for k, v in pairs(GetPlayerIdentifiers(source)) do
|
||||
if string.sub(v, 1, string.len('license:')) == 'license:' then
|
||||
return v:gsub('license:', '')
|
||||
end
|
||||
end
|
||||
return nil
|
||||
end
|
||||
|
||||
function GetItem(player, item)
|
||||
ImplementError('GetItem : You need to implement this function for your framework.')
|
||||
return true
|
||||
end
|
||||
|
||||
function AddItem(source, item, count)
|
||||
ImplementError('AddItem : You need to implement this function for your framework.')
|
||||
end
|
||||
|
||||
function RemoveItem(source, item, count, slot)
|
||||
if oxHas then
|
||||
return exports.ox_inventory:RemoveItem(source, item, count, nil)
|
||||
end
|
||||
ImplementError('RemoveItem : You need to implement this function for your framework.')
|
||||
end
|
54
resources/[test]/qs-weed/server/custom/missions.lua
Normal file
54
resources/[test]/qs-weed/server/custom/missions.lua
Normal file
|
@ -0,0 +1,54 @@
|
|||
function CreateQuests(source)
|
||||
if GetResourceState('qs-inventory') ~= 'started' then
|
||||
Debug('qs-inventory not started, skipping weed quest creation.')
|
||||
return
|
||||
end
|
||||
|
||||
local quest1 = exports['qs-inventory']:createQuest(source, {
|
||||
name = 'plant_weed_home',
|
||||
title = 'Green Beginnings',
|
||||
description = 'Plant your first weed plant inside your house.',
|
||||
reward = 200,
|
||||
requiredLevel = 1
|
||||
})
|
||||
|
||||
local quest2 = exports['qs-inventory']:createQuest(source, {
|
||||
name = 'feed_weed_home',
|
||||
title = 'Plant Caretaker',
|
||||
description = 'Give nutrition to a weed plant growing in your house.',
|
||||
reward = 150,
|
||||
requiredLevel = 1
|
||||
})
|
||||
|
||||
local quest3 = exports['qs-inventory']:createQuest(source, {
|
||||
name = 'harvest_weed_home',
|
||||
title = 'First Harvest',
|
||||
description = 'Harvest your first batch of home-grown weed.',
|
||||
reward = 300,
|
||||
requiredLevel = 2
|
||||
})
|
||||
|
||||
local quest4 = exports['qs-inventory']:createQuest(source, {
|
||||
name = 'remove_dead_plant',
|
||||
title = 'Clean Grower',
|
||||
description = 'Remove a dead weed plant from your house.',
|
||||
reward = 150,
|
||||
requiredLevel = 1
|
||||
})
|
||||
|
||||
local quest5 = exports['qs-inventory']:createQuest(source, {
|
||||
name = 'move_weed_plant',
|
||||
title = 'Rearranging Nature',
|
||||
description = 'Move a weed plant to a new position inside your house.',
|
||||
reward = 150,
|
||||
requiredLevel = 1
|
||||
})
|
||||
|
||||
Debug('Weed quests assigned to player:', source, {
|
||||
plant_weed_home = quest1,
|
||||
feed_weed_home = quest2,
|
||||
harvest_weed_home = quest3,
|
||||
remove_dead_plant = quest4,
|
||||
move_weed_plant = quest5
|
||||
})
|
||||
end
|
BIN
resources/[test]/qs-weed/server/main.lua
Normal file
BIN
resources/[test]/qs-weed/server/main.lua
Normal file
Binary file not shown.
275
resources/[test]/qs-weed/shared/config.lua
Normal file
275
resources/[test]/qs-weed/shared/config.lua
Normal file
|
@ -0,0 +1,275 @@
|
|||
--[[
|
||||
Welcome to the qs-weed configuration guide!
|
||||
|
||||
Before you start setting up your new asset, take a moment to read this guide carefully.
|
||||
We’ll walk you through each key part of the configuration step by step, ensuring you can
|
||||
tailor everything to perfectly match your server’s requirements.
|
||||
|
||||
Key configuration sections will be marked clearly, like this one you’re reading now.
|
||||
In these sections, we’ll break down each setting available in this file to help you understand
|
||||
and configure it with ease.
|
||||
|
||||
Flexibility is a priority here. Most of the settings are customizable, allowing you to adapt
|
||||
them to your framework, whether it's ESX, QBCore, or another. You’ll find all configurable files
|
||||
located in `client/custom/*` for client-side adjustments or `server/custom/*` for server-side changes.
|
||||
|
||||
Before diving in, please review our complete documentation for detailed guidance:
|
||||
https://docs.quasar-store.com/information/welcome
|
||||
|
||||
This resource is fully customizable, making it simple to adjust features to fit your server’s needs.
|
||||
Take your time exploring and enjoy building your weed management system!
|
||||
]]
|
||||
|
||||
Config = {}
|
||||
Locales = {}
|
||||
|
||||
--[[
|
||||
Choose your preferred language!
|
||||
|
||||
In this section, you can select the main language for your asset. We have a wide
|
||||
selection of default languages available, located in the locales/* folder.
|
||||
|
||||
If your language is not listed, don't worry! You can easily create a new one
|
||||
by adding a new file in the locales folder and customizing it to your needs.
|
||||
|
||||
Default languages available:
|
||||
'ar' -- Arabic
|
||||
'bg' -- Bulgarian
|
||||
'ca' -- Catalan
|
||||
'cs' -- Czech
|
||||
'da' -- Danish
|
||||
'de' -- German
|
||||
'el' -- Greek
|
||||
'en' -- English
|
||||
'es' -- Spanish
|
||||
'fa' -- Persian
|
||||
'fr' -- French
|
||||
'he' -- Hebrew
|
||||
'hi' -- Hindi
|
||||
'hu' -- Hungarian
|
||||
'it' -- Italian
|
||||
'ja' -- Japanese
|
||||
'ko' -- Korean
|
||||
'nl' -- Dutch
|
||||
'no' -- Norwegian
|
||||
'pl' -- Polish
|
||||
'pt' -- Portuguese
|
||||
'ro' -- Romanian
|
||||
'ru' -- Russian
|
||||
'sl' -- Slovenian
|
||||
'sv' -- Swedish
|
||||
'th' -- Thai
|
||||
'tr' -- Turkish
|
||||
'zh-CN' -- Chinese (Simplified)
|
||||
'zh-TW' -- Chinese (Traditional)
|
||||
|
||||
After selecting your preferred language, be sure to save your changes and test
|
||||
the asset to ensure everything works as expected!
|
||||
]]
|
||||
|
||||
Config.Language = 'en'
|
||||
|
||||
--[[
|
||||
The current system will automatically detect if you are using 'qb-core' or 'es_extended'.
|
||||
However, if you have renamed your framework, you can clear the value in `Config.Framework`
|
||||
and manually add your framework name after adjusting the framework-specific files within
|
||||
this script.
|
||||
|
||||
Keep in mind that this detection is automated. Avoid making edits here unless you’re certain
|
||||
of the changes, as incorrect modifications can disrupt functionality.
|
||||
]]
|
||||
|
||||
local esxHas = GetResourceState('es_extended') == 'started'
|
||||
local qbHas = GetResourceState('qb-core') == 'started'
|
||||
local qbxHas = GetResourceState('qbx_core') == 'started'
|
||||
|
||||
Config.Framework = esxHas and 'esx' or qbxHas and 'qbx' or qbHas and 'qb' or 'standalone'
|
||||
|
||||
--[[
|
||||
General asset settings: here you can adjust options like the growth time for plants
|
||||
or add random areas on the map for plantations.
|
||||
|
||||
Please avoid modifying the final settings, as changing them could disrupt the functionality
|
||||
of the asset.
|
||||
]]
|
||||
|
||||
Config.PoliceJobs = { -- Specify jobs that have permission for creating houses
|
||||
'police',
|
||||
'sheriff'
|
||||
}
|
||||
|
||||
Config.HarvestTime = (60 * 1000) * 9.6 -- Growth time in milliseconds
|
||||
Config.MaxPlants = 10 -- Maximum number of plants allowed per house
|
||||
|
||||
Config.WeedArea = { -- Define random plantation areas on the map
|
||||
{
|
||||
id = 'weed-area-01',
|
||||
minZ = 1,
|
||||
maxZ = 800,
|
||||
points = {
|
||||
vec3(3140.91, 4104.55, 77.57),
|
||||
vec3(2092.42, 1953.03, 77.57),
|
||||
vec3(3122.73, 1595.45, 77.57),
|
||||
vec3(3728.79, 3989.39, 77.57)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
--[[
|
||||
Do not modify this section; any changes may disrupt the asset’s functionality.
|
||||
|
||||
Config.Props defines the various stages of weed growth with specific models.
|
||||
These props correspond to different stages, from initial planting ('stage-a')
|
||||
through full growth ('stage-g').
|
||||
]]
|
||||
|
||||
Config.UseableItems = {
|
||||
{
|
||||
itemName = 'weed_white-widow_seed',
|
||||
plantName = 'white-widow',
|
||||
bagCount = 15, -- Need empty_weed_bag count to plant
|
||||
harvestAmount = 2
|
||||
},
|
||||
{
|
||||
itemName = 'weed_white-weed_skunk_seed',
|
||||
plantName = 'skunk',
|
||||
bagCount = 15, -- Need empty_weed_bag count to plant
|
||||
harvestAmount = 2
|
||||
},
|
||||
{
|
||||
itemName = 'weed_purple-haze_seed',
|
||||
plantName = 'purple-haze',
|
||||
bagCount = 15, -- Need empty_weed_bag count to plant
|
||||
harvestAmount = 2
|
||||
},
|
||||
{
|
||||
itemName = 'weed_og-kush_seed',
|
||||
plantName = 'og-kush',
|
||||
bagCount = 15, -- Need empty_weed_bag count to plant
|
||||
harvestAmount = 2
|
||||
},
|
||||
{
|
||||
itemName = 'weed_amnesia_seed',
|
||||
plantName = 'amnesia',
|
||||
bagCount = 15, -- Need empty_weed_bag count to plant
|
||||
harvestAmount = 2
|
||||
},
|
||||
{
|
||||
itemName = 'weed_ak47_seed',
|
||||
plantName = 'ak47',
|
||||
bagCount = 15, -- Need empty_weed_bag count to plant
|
||||
harvestAmount = 2
|
||||
},
|
||||
{
|
||||
itemName = 'weed_nutrition',
|
||||
},
|
||||
}
|
||||
|
||||
Config.Plants = {
|
||||
['og-kush'] = {
|
||||
['label'] = 'OG Kush',
|
||||
['item'] = 'ogkush',
|
||||
['stages'] = {
|
||||
['stage-a'] = 'bkr_prop_weed_01_small_01c',
|
||||
['stage-b'] = 'bkr_prop_weed_01_small_01b',
|
||||
['stage-c'] = 'bkr_prop_weed_01_small_01a',
|
||||
['stage-d'] = 'bkr_prop_weed_med_01b',
|
||||
['stage-e'] = 'bkr_prop_weed_lrg_01a',
|
||||
['stage-f'] = 'bkr_prop_weed_lrg_01b',
|
||||
['stage-g'] = 'bkr_prop_weed_lrg_01b',
|
||||
},
|
||||
['highestStage'] = 'stage-g'
|
||||
},
|
||||
['amnesia'] = {
|
||||
['label'] = 'Amnesia',
|
||||
['item'] = 'amnesia',
|
||||
['stages'] = {
|
||||
['stage-a'] = 'bkr_prop_weed_01_small_01c',
|
||||
['stage-b'] = 'bkr_prop_weed_01_small_01b',
|
||||
['stage-c'] = 'bkr_prop_weed_01_small_01a',
|
||||
['stage-d'] = 'bkr_prop_weed_med_01b',
|
||||
['stage-e'] = 'bkr_prop_weed_lrg_01a',
|
||||
['stage-f'] = 'bkr_prop_weed_lrg_01b',
|
||||
['stage-g'] = 'bkr_prop_weed_lrg_01b',
|
||||
},
|
||||
['highestStage'] = 'stage-g'
|
||||
},
|
||||
['skunk'] = {
|
||||
['label'] = 'Skunk',
|
||||
['item'] = 'skunk',
|
||||
['stages'] = {
|
||||
['stage-a'] = 'bkr_prop_weed_01_small_01c',
|
||||
['stage-b'] = 'bkr_prop_weed_01_small_01b',
|
||||
['stage-c'] = 'bkr_prop_weed_01_small_01a',
|
||||
['stage-d'] = 'bkr_prop_weed_med_01b',
|
||||
['stage-e'] = 'bkr_prop_weed_lrg_01a',
|
||||
['stage-f'] = 'bkr_prop_weed_lrg_01b',
|
||||
['stage-g'] = 'bkr_prop_weed_lrg_01b',
|
||||
},
|
||||
['highestStage'] = 'stage-g'
|
||||
},
|
||||
['ak47'] = {
|
||||
['label'] = 'AK 47',
|
||||
['item'] = 'ak47',
|
||||
['stages'] = {
|
||||
['stage-a'] = 'bkr_prop_weed_01_small_01c',
|
||||
['stage-b'] = 'bkr_prop_weed_01_small_01b',
|
||||
['stage-c'] = 'bkr_prop_weed_01_small_01a',
|
||||
['stage-d'] = 'bkr_prop_weed_med_01b',
|
||||
['stage-e'] = 'bkr_prop_weed_lrg_01a',
|
||||
['stage-f'] = 'bkr_prop_weed_lrg_01b',
|
||||
['stage-g'] = 'bkr_prop_weed_lrg_01b',
|
||||
},
|
||||
['highestStage'] = 'stage-g'
|
||||
},
|
||||
['purple-haze'] = {
|
||||
['label'] = 'Purple Haze',
|
||||
['item'] = 'purplehaze',
|
||||
['stages'] = {
|
||||
['stage-a'] = 'bkr_prop_weed_01_small_01c',
|
||||
['stage-b'] = 'bkr_prop_weed_01_small_01b',
|
||||
['stage-c'] = 'bkr_prop_weed_01_small_01a',
|
||||
['stage-d'] = 'bkr_prop_weed_med_01b',
|
||||
['stage-e'] = 'bkr_prop_weed_lrg_01a',
|
||||
['stage-f'] = 'bkr_prop_weed_lrg_01b',
|
||||
['stage-g'] = 'bkr_prop_weed_lrg_01b',
|
||||
},
|
||||
['highestStage'] = 'stage-g'
|
||||
},
|
||||
['white-widow'] = {
|
||||
['label'] = 'White Widow',
|
||||
['item'] = 'whitewidow',
|
||||
['stages'] = {
|
||||
['stage-a'] = 'bkr_prop_weed_01_small_01c',
|
||||
['stage-b'] = 'bkr_prop_weed_01_small_01b',
|
||||
['stage-c'] = 'bkr_prop_weed_01_small_01a',
|
||||
['stage-d'] = 'bkr_prop_weed_med_01b',
|
||||
['stage-e'] = 'bkr_prop_weed_lrg_01a',
|
||||
['stage-f'] = 'bkr_prop_weed_lrg_01b',
|
||||
['stage-g'] = 'bkr_prop_weed_lrg_01b',
|
||||
},
|
||||
['highestStage'] = 'stage-g'
|
||||
},
|
||||
}
|
||||
|
||||
Config.Props = {
|
||||
['stage-a'] = 'bkr_prop_weed_01_small_01c',
|
||||
['stage-b'] = 'bkr_prop_weed_01_small_01b',
|
||||
['stage-c'] = 'bkr_prop_weed_01_small_01a',
|
||||
['stage-d'] = 'bkr_prop_weed_med_01b',
|
||||
['stage-e'] = 'bkr_prop_weed_lrg_01a',
|
||||
['stage-f'] = 'bkr_prop_weed_lrg_01b',
|
||||
['stage-g'] = 'bkr_prop_weed_lrg_01b',
|
||||
}
|
||||
|
||||
local implemenetCaches = {} -- Internal cache for tracking error implementations, do not modify
|
||||
-- Function to handle error implementations
|
||||
function ImplementError(name)
|
||||
if implemenetCaches[name] then
|
||||
return
|
||||
end
|
||||
print('^1[IMPLEMENT ERROR]^7', name) -- Outputs an error message with the name of the issue
|
||||
implemenetCaches[name] = true -- Caches the name to prevent repeated error messages
|
||||
end
|
||||
|
||||
Config.Debug = true -- Enable debug mode
|
BIN
resources/[test]/qs-weed/shared/functions.lua
Normal file
BIN
resources/[test]/qs-weed/shared/functions.lua
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue