Skip to content

Commit

Permalink
Added DreamCore.DisableOtherWeatherResourcesCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
Tuncion committed Dec 13, 2024
1 parent a22474c commit a03cbc8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,8 @@ end

-- Check for other weather resources which can be a conflict
function CheckOtherWeatherResources()
if DreamCore.DisableOtherWeatherResourcesCheck then return end

for i, v in ipairs(PossibleOtherWeatherResources) do
if GetResourceState(v) == 'started' then
if DreamCore.PreventOtherWeatherResources then
Expand Down
3 changes: 2 additions & 1 deletion settings/DreamCore.lua
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ end
-- Snow System (Snowballs & Overlay)
DreamCore.XmasSnow = true -- Set to false if you don't want snow
DreamCore.PreventOtherWeatherResources = true -- Set to true if you want to prevent other weather resources | ⚠️ We will stop all other weather resources!!!!!!
DreamCore.DisableOtherWeatherResourcesCheck = false -- Set to true if you want to disable the check for other weather resources | ⚠️ We will not check if other weather resources are running!!!!!!

DreamCore.SnowOverlay = true -- Set to false if you don't want the snow overlay | Requires DreamCore.XmasSnow = true
DreamCore.Snowballs = true -- Set to false if you don't want snowballs | Requires DreamCore.XmasSnow = true
Expand Down Expand Up @@ -122,7 +123,7 @@ DreamCore.PropSystem = {
sprite = 161,
color = 0,
scale = 0.6,
name = SnowmanBlip1
name = SnowmanBlip1
}
},
{
Expand Down

0 comments on commit a03cbc8

Please sign in to comment.