1
0
mirror of https://github.com/metrostroi-repo/MetrostroiAddon.git synced 2026-05-02 00:42:29 +00:00

Почти все работает, кроме контроля дверей при сборе на ход

This commit is contained in:
Moon Horse
2024-04-27 11:00:16 +03:00
parent a806be8f32
commit e9cc545f73
10 changed files with 118 additions and 122 deletions

View File

@@ -55,9 +55,9 @@ function TRAIN_SYSTEM:Initialize(parameters)
--DKPT
self.Train:LoadSystem("DKPT","Relay","R-52B") --
-- Valve #1
self.Train:LoadSystem("PneumaticNo1","Relay")
self.Train:LoadSystem("PneumaticNo1","Relay","", {hasCoil = true})
-- Valve #2
self.Train:LoadSystem("PneumaticNo2","Relay")
self.Train:LoadSystem("PneumaticNo2","Relay","", {hasCoil = true})
-- Автоматический выключатель торможения (АВТ)
self.Train:LoadSystem("AVT","Relay","AVT-325")
-- Регулятор давления (АК)
@@ -69,9 +69,9 @@ function TRAIN_SYSTEM:Initialize(parameters)
-- Блокировка дверей
self.Train:LoadSystem("BD","Relay","")
-- Вентили дверного воздухораспределителя (ВДОЛ, ВДОП, ВДЗ)
self.Train:LoadSystem("VDOL","Relay","", {bass = true, coil_res = 175})
self.Train:LoadSystem("VDOP","Relay","", {bass = true, coil_res = 175})
self.Train:LoadSystem("VDZ","Relay","", {bass = true, coil_res = 175})
self.Train:LoadSystem("VDOL","Relay","", {bass = true, coil_res = 175, hasCoil = true})
self.Train:LoadSystem("VDOP","Relay","", {bass = true, coil_res = 175, hasCoil = true})
self.Train:LoadSystem("VDZ","Relay","", {bass = true, coil_res = 175, hasCoil = true})
-- Разобщение клапана машиниста
self.Train:LoadSystem("DriverValveDisconnect","Relay","Switch", {bass = true})