Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- export = {}
- function export:LuaDependencies()
- return {}
- end
- function export:Create(cbox)
- cbox:RegisterBox("Domino/System/BreakableEntityController.lua")
- cbox:RegisterBox("Domino/System/DBStimEmitterController.lua")
- cbox:RegisterBox("Domino/System/LightController.lua")
- cbox:RegisterBox("Domino/System/ParticleFxController_v2.lua")
- cbox:RegisterBox("Domino/System/PlaySound_v2.lua")
- cbox:RegisterBox("Domino/System/Timer_v2.lua")
- cbox:LoadResource("sndres0x000235e0", "CSoundResource")
- cbox:LoadResource("sndres0x000235e1", "CSoundResource")
- cbox:LoadResource("sndres0x000235df", "CSoundResource")
- end
- function export:Init(cbox)
- local l0
- self.BigExplosionFX = "2076459883833590435"
- self.RoofBlackSmokeFX = "2076459883833590436"
- self.GasPumpExplosionFX_1 = "2076459883833590438"
- self.GasPumpExplosionFX_2 = "2076459883833590439"
- self.GasStationRoofBreakable = "2076458368316211891"
- self.GasPumpFireOmniLight_02 = "2076459872257311310"
- self.GasPumpFireOmniLight_01 = "2076459872257311311"
- self.OverheadLightBreakable_02 = "2076458742840295661"
- self.OverheadLightBreakable_01 = "2076458742840295660"
- self.OverheadLightBreakable_03 = "2076458742834004202"
- self.OverheadLightBreakable_04 = "2076458742842392814"
- self.ExplosionStimEmitter = "2076459883833590433"
- self.BigExplosionOmniLight_02 = "2076459872257311307"
- self.GasStationCapsuleLight_02 = "2076459407446639075"
- self.GasStationCapsuleLight_01 = "2076459407446639074"
- self.GasStationSpotLight_02 = "2076459407446639072"
- self.GasStationSpotLight_01 = "2076459407446639073"
- self.BigExplosionOmniLight_03 = "2076459872257311308"
- self.BigExplosionOmniLight_01 = "2076459872257311309"
- self.BigFireStimEmitter = "2076459883833590434"
- self.PumpFireStimEmitter = "2076459883833590432"
- self.GasPumpSoundPoint_01 = "2076459883833590431"
- self.GasPumpSoundPoint_02 = "2076459883833590428"
- self.GasStationLoopingFireSoundPoint = "2076459883833590429"
- self.BigExplosionSoundPoint = "2076459883833590430"
- self.FireFX_State03 = "2076461235582271895"
- self.FireFX_State02 = "2076461288682160699"
- self.FireFX_State04 = "2076461235582271894"
- self[28] = cbox:CreateBox("Domino/System/PlaySound_v2.lua")
- l0 = self[28]
- l0._graph = self
- l0.Out = self.f_28_Out
- l0.Started = DummyFunction
- l0.Finished = DummyFunction
- self[32] = cbox:CreateBox("Domino/System/Timer_v2.lua")
- l0 = self[32]
- l0._graph = self
- l0.Out = DummyFunction
- l0.Started = DummyFunction
- l0.Stopped = DummyFunction
- l0.Paused = DummyFunction
- l0.Resumed = DummyFunction
- l0.TimeElapsed = self.f_32_TimeElapsed
- l0.LoopingEnded = DummyFunction
- l0.GotTime = DummyFunction
- self[33] = cbox:CreateBox("Domino/System/Timer_v2.lua")
- l0 = self[33]
- l0._graph = self
- l0.Out = DummyFunction
- l0.Started = DummyFunction
- l0.Stopped = DummyFunction
- l0.Paused = DummyFunction
- l0.Resumed = DummyFunction
- l0.TimeElapsed = self.f_33_TimeElapsed
- l0.LoopingEnded = DummyFunction
- l0.GotTime = DummyFunction
- self[6] = cbox:CreateBox("Domino/System/Timer_v2.lua")
- l0 = self[6]
- l0._graph = self
- l0.Out = DummyFunction
- l0.Started = DummyFunction
- l0.Stopped = DummyFunction
- l0.Paused = DummyFunction
- l0.Resumed = DummyFunction
- l0.TimeElapsed = self.f_6_TimeElapsed
- l0.LoopingEnded = DummyFunction
- l0.GotTime = DummyFunction
- self[26] = cbox:CreateBox("Domino/System/PlaySound_v2.lua")
- l0 = self[26]
- l0._graph = self
- l0.Out = self.f_26_Out
- l0.Started = DummyFunction
- l0.Finished = DummyFunction
- self[8] = cbox:CreateBox("Domino/System/Timer_v2.lua")
- l0 = self[8]
- l0._graph = self
- l0.Out = DummyFunction
- l0.Started = DummyFunction
- l0.Stopped = DummyFunction
- l0.Paused = DummyFunction
- l0.Resumed = DummyFunction
- l0.TimeElapsed = self.f_8_TimeElapsed
- l0.LoopingEnded = DummyFunction
- l0.GotTime = DummyFunction
- self[29] = cbox:CreateBox("Domino/System/PlaySound_v2.lua")
- l0 = self[29]
- l0._graph = self
- l0.Out = self.f_29_Out
- l0.Started = DummyFunction
- l0.Finished = DummyFunction
- self[27] = cbox:CreateBox("Domino/System/PlaySound_v2.lua")
- l0 = self[27]
- l0._graph = self
- l0.Out = self.f_27_Out
- l0.Started = DummyFunction
- l0.Finished = DummyFunction
- end
- function export:ShutDown()
- for k, v in pairs(self) do
- if type(v) == "table" and v.ShutDown ~= self.ShutDown and v ~= self._graph and v.ShutDown ~= nil then
- v:ShutDown()
- end
- end
- end
- function export:State01()
- local l0
- l0 = Boxes[PathID("Domino/System/ParticleFxController_v2.lua")]
- l0.ParticleEmitter = self.GasPumpExplosionFX_1
- l0._graph = self
- l0.Started = self.f_1_Started
- l0.Paused = DummyFunction
- l0.Stopped = DummyFunction
- l0.Cleaned = DummyFunction
- l0:Start()
- end
- function export:f_28_Out()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/DBStimEmitterController.lua")]
- l0.StimEmitter = self.PumpFireStimEmitter
- l0._graph = self
- l0.Out = DummyFunction
- l0.Enabled = self.f_17_Enabled
- l0.Disabled = DummyFunction
- l0:SetEnabled()
- end
- function export:f_10_Enabled()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/LightController.lua")]
- l0.LightEntity = self.GasStationSpotLight_02
- l0.SetEnabled = nil
- l0._graph = self
- l0.Enabled = DummyFunction
- l0.Disabled = self.f_22_Disabled
- l0.IsSet = DummyFunction
- l0.Toggled = DummyFunction
- l0.Out = DummyFunction
- l0:Disable()
- end
- function export:f_32_TimeElapsed()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/ParticleFxController_v2.lua")]
- l0.ParticleEmitter = self.FireFX_State02
- l0._graph = self
- l0.Started = self.f_30_Started
- l0.Paused = DummyFunction
- l0.Stopped = DummyFunction
- l0.Cleaned = DummyFunction
- l0:Start()
- end
- function export:f_17_Enabled()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/LightController.lua")]
- l0.LightEntity = self.GasPumpFireOmniLight_01
- l0.SetEnabled = nil
- l0._graph = self
- l0.Enabled = self.f_9_Enabled
- l0.Disabled = DummyFunction
- l0.IsSet = DummyFunction
- l0.Toggled = DummyFunction
- l0.Out = DummyFunction
- l0:Enable()
- end
- function export:f_33_TimeElapsed()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/ParticleFxController_v2.lua")]
- l0.ParticleEmitter = self.FireFX_State03
- l0._graph = self
- l0.Started = self.f_31_Started
- l0.Paused = DummyFunction
- l0.Stopped = DummyFunction
- l0.Cleaned = DummyFunction
- l0:Start()
- end
- function export:f_9_Enabled()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/LightController.lua")]
- l0.LightEntity = self.GasStationSpotLight_01
- l0.SetEnabled = nil
- l0._graph = self
- l0.Enabled = DummyFunction
- l0.Disabled = self.f_19_Disabled
- l0.IsSet = DummyFunction
- l0.Toggled = DummyFunction
- l0.Out = DummyFunction
- l0:Disable()
- end
- function export:f_6_TimeElapsed()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/ParticleFxController_v2.lua")]
- l0.ParticleEmitter = self.GasPumpExplosionFX_2
- l0._graph = self
- l0.Started = self.f_7_Started
- l0.Paused = DummyFunction
- l0.Stopped = DummyFunction
- l0.Cleaned = DummyFunction
- l0:Start()
- end
- function export:f_11_Enabled()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/LightController.lua")]
- l0.LightEntity = self.BigExplosionOmniLight_02
- l0.SetEnabled = nil
- l0._graph = self
- l0.Enabled = self.f_20_Enabled
- l0.Disabled = DummyFunction
- l0.IsSet = DummyFunction
- l0.Toggled = DummyFunction
- l0.Out = DummyFunction
- l0:Enable()
- end
- function export:f_20_Enabled()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/LightController.lua")]
- l0.LightEntity = self.BigExplosionOmniLight_03
- l0.SetEnabled = nil
- l0._graph = self
- l0.Enabled = self.f_21_Enabled
- l0.Disabled = DummyFunction
- l0.IsSet = DummyFunction
- l0.Toggled = DummyFunction
- l0.Out = DummyFunction
- l0:Enable()
- end
- function export:f_30_Started()
- local l0
- self = self._graph
- l0 = self[33]
- l0.Seconds = 5
- l0:Start()
- end
- function export:f_1_Started()
- local l0
- self = self._graph
- l0 = self[26]
- l0.Entity = self.GasPumpSoundPoint_01
- l0.SoundId = "0x000235df"
- l0:Play()
- end
- function export:f_24_Disabled()
- local l0
- self = self._graph
- l0 = self[8]
- l0.Seconds = 2
- l0:Start()
- end
- function export:f_7_Started()
- local l0
- self = self._graph
- l0 = self[27]
- l0.Entity = self.GasPumpSoundPoint_02
- l0.SoundId = "0x000235df"
- l0:Play()
- end
- function export:f_23_Disabled()
- local l0
- self = self._graph
- l0 = self[32]
- l0.Seconds = 3
- l0:Start()
- end
- function export:f_25_Enabled()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/LightController.lua")]
- l0.LightEntity = self.BigExplosionOmniLight_01
- l0.SetEnabled = nil
- l0._graph = self
- l0.Enabled = self.f_11_Enabled
- l0.Disabled = DummyFunction
- l0.IsSet = DummyFunction
- l0.Toggled = DummyFunction
- l0.Out = DummyFunction
- l0:Enable()
- end
- function export:f_19_Disabled()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/LightController.lua")]
- l0.LightEntity = self.GasStationCapsuleLight_01
- l0.SetEnabled = nil
- l0._graph = self
- l0.Enabled = DummyFunction
- l0.Disabled = self.f_23_Disabled
- l0.IsSet = DummyFunction
- l0.Toggled = DummyFunction
- l0.Out = DummyFunction
- l0:Disable()
- end
- function export:f_18_Enabled()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/DBStimEmitterController.lua")]
- l0.StimEmitter = self.BigFireStimEmitter
- l0._graph = self
- l0.Out = DummyFunction
- l0.Enabled = self.f_25_Enabled
- l0.Disabled = DummyFunction
- l0:SetEnabled()
- end
- function export:f_31_Started()
- local l0
- self = self._graph
- l0 = self[6]
- l0.Seconds = 7
- l0:Start()
- end
- function export:f_21_Enabled()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/ParticleFxController_v2.lua")]
- l0.ParticleEmitter = self.FireFX_State04
- l0._graph = self
- l0.Started = self.f_4_Started
- l0.Paused = DummyFunction
- l0.Stopped = DummyFunction
- l0.Cleaned = DummyFunction
- l0:Start()
- end
- function export:f_22_Disabled()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/LightController.lua")]
- l0.LightEntity = self.GasStationCapsuleLight_02
- l0.SetEnabled = nil
- l0._graph = self
- l0.Enabled = DummyFunction
- l0.Disabled = self.f_24_Disabled
- l0.IsSet = DummyFunction
- l0.Toggled = DummyFunction
- l0.Out = DummyFunction
- l0:Disable()
- end
- function export:f_26_Out()
- local l0
- self = self._graph
- l0 = self[28]
- l0.Entity = self.GasStationLoopingFireSoundPoint
- l0.SoundId = "0x000235e0"
- l0:Play()
- end
- function export:f_8_TimeElapsed()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/ParticleFxController_v2.lua")]
- l0.ParticleEmitter = self.BigExplosionFX
- l0._graph = self
- l0.Started = self.f_3_Started
- l0.Paused = DummyFunction
- l0.Stopped = DummyFunction
- l0.Cleaned = DummyFunction
- l0:Start()
- end
- function export:f_3_Started()
- local l0
- self = self._graph
- l0 = self[29]
- l0.Entity = self.BigExplosionSoundPoint
- l0.SoundId = "0x000235e1"
- l0:Play()
- end
- function export:f_4_Started()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/BreakableEntityController.lua")]
- l0.BreakableEntity = self.GasStationRoofBreakable
- l0._graph = self
- l0.Broken = DummyFunction
- l0:Break()
- end
- function export:f_29_Out()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/DBStimEmitterController.lua")]
- l0.StimEmitter = self.ExplosionStimEmitter
- l0._graph = self
- l0.Out = DummyFunction
- l0.Enabled = self.f_18_Enabled
- l0.Disabled = DummyFunction
- l0:SetEnabled()
- end
- function export:f_27_Out()
- local l0
- self = self._graph
- l0 = Boxes[PathID("Domino/System/LightController.lua")]
- l0.LightEntity = self.GasPumpFireOmniLight_02
- l0.SetEnabled = nil
- l0._graph = self
- l0.Enabled = self.f_10_Enabled
- l0.Disabled = DummyFunction
- l0.IsSet = DummyFunction
- l0.Toggled = DummyFunction
- l0.Out = DummyFunction
- l0:Enable()
- end
- _compilerVersion = 4
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement