mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
Уборка принтов
This commit is contained in:
@@ -214,8 +214,6 @@ function TRAIN_SYSTEM:TriggerInput(name,value)
|
||||
if (name == "Block") then
|
||||
self.Blocked = value
|
||||
elseif (name == "Close") and (value > self.trigger_level) and (self.Value ~= 1.0 or self.TargetValue ~= 1.0) then --(self.TargetValue ~= 1.0 and self.rpb))
|
||||
if self.Name:find("PA") then print "Сгорел предохранитель!" end
|
||||
--if self.Name:find("RD") then print "Попытка включить РД!" end
|
||||
if self.pneumatic and self.Train.Pneumatic.TrainLinePressure < 3 then return end
|
||||
if (not self.ChangeTime) or (self.TargetValue ~= 1.0) then
|
||||
self.ChangeTime = self.Time + FailSim.Value(self,"CloseTime")
|
||||
@@ -300,10 +298,6 @@ function TRAIN_SYSTEM:Think(dT)
|
||||
self.SpuriousTripTimer = nil
|
||||
end
|
||||
|
||||
-- Should move this chunk outside of turbostroi
|
||||
---------********************************************----------
|
||||
---------********************************************----------
|
||||
|
||||
--print("РД = ",self.Train.Battery.Consumers[self.Train.RD])
|
||||
if self.hasCoil then
|
||||
self.Current = self.TargetValue*self.Train.Battery.eds_eq/self.coil_res
|
||||
|
||||
Reference in New Issue
Block a user