1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-02 00:42:29 +00:00
Files
MetrostroiAddon/lua/metrostroi/systems/_obsolete/sys_81_710ru1_electric.lua
g_brzhezinskiy 1d05caf866 init
2021-01-02 12:51:45 +03:00

31 lines
991 B
Lua
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
--------------------------------------------------------------------------------
-- Электрические цепи 81-704-81-710 (Е, Еж, Ем)
--------------------------------------------------------------------------------
Metrostroi.DefineSystem("81_710RU1_Electric")
function TRAIN_SYSTEM:Initialize()
self.TrainSolver = "Ezh3RU1"
self.ThyristorController = true
-- Load all functions from base
Metrostroi.BaseSystems["Electric"].Initialize(self)
for k,v in pairs(Metrostroi.BaseSystems["Electric"]) do
if type(v) == "function" then
self[k] = v
end
end
end
function TRAIN_SYSTEM:Inputs(...)
return Metrostroi.BaseSystems["Electric"].Inputs(self,...)
end
function TRAIN_SYSTEM:Outputs(...)
return Metrostroi.BaseSystems["Electric"].Outputs(self,...)
end
function TRAIN_SYSTEM:TriggerInput(...)
return Metrostroi.BaseSystems["Electric"].TriggerInput(self,...)
end
function TRAIN_SYSTEM:Think(...)
return Metrostroi.BaseSystems["Electric"].Think(self,...)
end