This commit is contained in:
MrNewb committed 2025-03-10 02:08:52 -04:00
1 parent ea3b9040ce
commit 4e95d7e9b4
8 files changed
+2 -22

No files matched your search

-4
View File
@@ -4,10 +4,6 @@ local function warnUser()
print("Currently Only Targeting Is Supported By Community Bridge, You Are Using A Resource That Requires The Target Module To Be Used.") print("Currently Only Targeting Is Supported By Community Bridge, You Are Using A Resource That Requires The Target Module To Be Used.")
end end
Target.ModuleName = function()
return "Defualt"
end
Target.AddGlobalPlayer = function(options) Target.AddGlobalPlayer = function(options)
warnUser() warnUser()
end end
-4
View File
@@ -17,10 +17,6 @@ local targetZones = {}
Target = Target or {} Target = Target or {}
Target.ModuleName = function()
return resourceName
end
Target.FixOptions = function(options) Target.FixOptions = function(options)
for k, v in pairs(options) do for k, v in pairs(options) do
local action = v.onSelect or v.action local action = v.onSelect or v.action
-4
View File
@@ -16,10 +16,6 @@ local targetZones = {}
Target = Target or {} Target = Target or {}
Target.ModuleName = function()
return resourceName
end
Target.FixOptions = function(options) Target.FixOptions = function(options)
for k, v in pairs(options) do for k, v in pairs(options) do
local action = v.onSelect or v.action local action = v.onSelect or v.action
@@ -9,10 +9,6 @@ local sleepless = exports.sleepless_interact
Target = Target or {} Target = Target or {}
Target.ModuleName = function()
return resourceName
end
Target.DisableTargeting = function(bool) Target.DisableTargeting = function(bool)
-- nothing to see here -- nothing to see here
end end
-2
View File
@@ -1,7 +1,5 @@
Weather = Weather or {} Weather = Weather or {}
Weather.ModuleName = "default"
---comment ---comment
---@param toggle boolean ---@param toggle boolean
Weather.ToggleSync = function(toggle) Weather.ToggleSync = function(toggle)
-2
View File
@@ -1,8 +1,6 @@
if GetResourceState('cd_easytime') ~= 'started' then return end if GetResourceState('cd_easytime') ~= 'started' then return end
Weather = Weather or {} Weather = Weather or {}
Weather.ModuleName = "cd_easytime"
---comment ---comment
---@param toggle boolean ---@param toggle boolean
Weather.ToggleSync = function(toggle) Weather.ToggleSync = function(toggle)
@@ -1,5 +1,5 @@
if GetResourceState('qb-weathersync') ~= 'started' then return end if GetResourceState('qb-weathersync') ~= 'started' then return end
Weather = {} Weather = Weather or {}
---comment ---comment
---@param toggle boolean ---@param toggle boolean
@@ -1,5 +1,5 @@
if GetResourceState('Renewed-Weathersync') ~= 'started' then return end if GetResourceState('Renewed-Weathersync') ~= 'started' then return end
Weather = {} Weather = Weather or {}
---comment ---comment
---@param toggle boolean ---@param toggle boolean