LD = require("design.LevelDesignLibrary")
function BreakWoodPlanks()
  local breakable = GameObjects.re_entry_woodplanks_break.Child:GetBreakable()
  if breakable.Broken == false then
    breakable:Break()
    PlayWoodBreakSound()
  end
end
function SCA_ExitCaveCrawl100_Enable()
  GameObjects.SCA_ExitCaveCrawl100.LuaObjectScript.Enable()
end
function SCA_ExitCaveCrawl140_Enable()
  GameObjects.SCA_ExitCaveCrawl140.LuaObjectScript.Enable()
end
function CinematicModeOn()
  game.Cinematics.EnableCinematicMode()
end
function CinematicModeOff()
  game.Cinematics.DisableCinematicMode()
end
function LoadCheck_Peak140()
  game.UI.LoadCheck("Peak140_CavernDark")
end
function LoadCheck_Peak100()
  game.UI.LoadCheck("Peak100_Entrance")
end
local woodEmitter
function PlayWoodBreakSound()
  woodEmitter = GameObjects.SNDWoodBreak:FindSingleSoundEmitterByName("SNDWoodBreak")
  LD.PlaySound(woodEmitter, "SND_BRK_Wood_Tree_Break_Fall_Land_peak170")
end
