mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
init
This commit is contained in:
22
lua/metrostroi/systems/sys_81_71_asnp_vv.lua
Normal file
22
lua/metrostroi/systems/sys_81_71_asnp_vv.lua
Normal file
@@ -0,0 +1,22 @@
|
||||
--------------------------------------------------------------------------------
|
||||
-- I/O between ASNP and electric schemes
|
||||
--------------------------------------------------------------------------------
|
||||
-- Copyright (C) 2013-2018 Metrostroi Team & FoxWorks Aerospace s.r.o.
|
||||
-- Contains proprietary code. See license.txt for additional information.
|
||||
--------------------------------------------------------------------------------
|
||||
Metrostroi.DefineSystem("81_71_ASNP_VV")
|
||||
TRAIN_SYSTEM.DontAccelerateSimulation = false
|
||||
|
||||
function TRAIN_SYSTEM:Initialize()
|
||||
self.Power = 0
|
||||
self.AmplifierPower = 0
|
||||
self.CabinSpeakerPower = 0
|
||||
end
|
||||
|
||||
function TRAIN_SYSTEM:Outputs()
|
||||
return {"Power","AmplifierPower","CabinSpeakerPower"}
|
||||
end
|
||||
|
||||
function TRAIN_SYSTEM:Inputs()
|
||||
return {}
|
||||
end
|
||||
Reference in New Issue
Block a user