mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
init
This commit is contained in:
30
lua/metrostroi/systems/_obsolete/sys_81_701_electric.lua
Normal file
30
lua/metrostroi/systems/_obsolete/sys_81_701_electric.lua
Normal file
@@ -0,0 +1,30 @@
|
||||
--------------------------------------------------------------------------------
|
||||
-- Электрические цепи 81-701
|
||||
--------------------------------------------------------------------------------
|
||||
Metrostroi.DefineSystem("81_701_Electric")
|
||||
|
||||
function TRAIN_SYSTEM:Initialize()
|
||||
self.TrainSolver = "E"
|
||||
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
|
||||
Reference in New Issue
Block a user