Track LocalMods as part of monolith

This commit is contained in:
2026-06-08 18:50:16 +03:00
parent 143f2fed7c
commit 1b214b44c2
1287 changed files with 139255 additions and 1 deletions
@@ -0,0 +1,6 @@
Hook.Add("roundStart", "make hulls dark", function()
for k, hull in pairs(Hull.HullList) do
hull.AmbientLight = Color(0, 0, 0, 0)
end
print("for k, hull in pairs(Hull.HullList) do")
end)
@@ -0,0 +1,14 @@
Hook.Add("roundStart", "make level dark", function()
AttemptLevel()
end)
function AttemptLevel()
Timer.Wait(function()
if (Level.Loaded != nil) then
print("Level.Loaded.LevelData.GenerationParams.AmbientLightColor = Color(0,0,0,0)")
Level.Loaded.LevelData.GenerationParams.AmbientLightColor = Color(0,0,0,0)
elseif (not tostring(Game.GameSession.GameMode) == "Barotrauma.TestGameMode") then
print("LevelDarkness AttemptLevel")
AttemptLevel()
end
end, 35)
end
@@ -0,0 +1,26 @@
Hook.Add("roundStart", "No highlight on item", function()
AttemptGUI()
end)
Hook.Add("stop", "Reenable highlight on item", function()
EnableItemHighlight()
end)
function AttemptGUI()
Timer.Wait(function()
if (GUI != nil) then
print("GUI.GUI.DisableItemHighlights = true")
GUI.GUI.DisableItemHighlights = true
else
print("NoItemHighlight AttemptLevel")
AttemptLevel()
end
end, 35)
end
function EnableItemHighlight()
if (GUI != nil) then
print("GUI.GUI.DisableItemHighlights = false")
GUI.GUI.DisableItemHighlights = false
else
print("NoItemHighlight AttemptLevel")
AttemptLevel()
end
end