mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
init
This commit is contained in:
19
lua/metrostroi/systems/sys_yas_44v.lua
Normal file
19
lua/metrostroi/systems/sys_yas_44v.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
--------------------------------------------------------------------------------
|
||||
-- Box with rheostats (YaS-44V)
|
||||
--------------------------------------------------------------------------------
|
||||
-- Copyright (C) 2013-2018 Metrostroi Team & FoxWorks Aerospace s.r.o.
|
||||
-- Contains proprietary code. See license.txt for additional information.
|
||||
--------------------------------------------------------------------------------
|
||||
Metrostroi.DefineSystem("YAS_44V")
|
||||
|
||||
function TRAIN_SYSTEM:Initialize()
|
||||
self.Resistors = {
|
||||
["P13-P33"] = 51,
|
||||
["MK1-MK2"] = 18.75,
|
||||
["P33-P42"] = 300,
|
||||
}
|
||||
|
||||
for k,v in pairs(self.Resistors) do
|
||||
self[k] = v
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user