1
0
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:
Moon Horse
2025-11-24 18:17:47 +03:00
parent c5c7f91f42
commit d01446d9e9
19 changed files with 1145 additions and 2677 deletions

View File

@@ -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