Track LocalMods as part of monolith
This commit is contained in:
+6
@@ -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)
|
||||
+14
@@ -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
|
||||
+26
@@ -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
|
||||
Reference in New Issue
Block a user