mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-04 00:52:33 +00:00
81-717/714 pneumatics merged in one system. Door pneumatics added. Back compatibility added. Doors initial states bugfixed. Brake VZs logic slightly modified
This commit is contained in:
@@ -370,7 +370,7 @@ function ENT:InitializeSystems()
|
||||
-- Панель управления 81-710
|
||||
self:LoadSystem("Panel","81_714_Panel")
|
||||
-- Пневмосистема 81-710
|
||||
self:LoadSystem("Pneumatic","81_714_NewPneumatic",{br013_1 = true})
|
||||
self:LoadSystem("Pneumatic","81_717_Pneumatic",{br013_1 = true, pneumatics = 1, headcar = false})
|
||||
-- Everything else
|
||||
self:LoadSystem("Battery")
|
||||
self:LoadSystem("PowerSupply","BPSN")
|
||||
@@ -428,6 +428,8 @@ function ENT:PostInitializeSystems()
|
||||
self.Electric:TriggerInput("Type",self.Electric.MVM)
|
||||
self.Electric:TriggerInput("X2PS",0)
|
||||
self.Electric:TriggerInput("HaveVentilation",1)
|
||||
self.Pneumatic:TriggerInput("NewPneumatics",1)
|
||||
self.Pneumatic:TriggerInput("HeadCarPneumatic",0)
|
||||
end
|
||||
---------------------------------------------------
|
||||
-- Defined train information
|
||||
|
||||
Reference in New Issue
Block a user