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

release branch init

This commit is contained in:
g_brzhezinskiy
2021-01-02 15:32:05 +03:00
parent 1d05caf866
commit 09566ce158
398 changed files with 8389 additions and 77275 deletions

View File

@@ -79,15 +79,16 @@ function TRAIN_SYSTEM:Think(dT)
if self.ALS ~= ALS.Enabled then
ALS:TriggerInput("Enable",self.ALS)
end
self.RPB = self.Power
self.RPB = Power and 1 or 0
self.F6 = ALS.F6
self.F5 = ALS.F5
self.F4 = ALS.F4
self.F3 = ALS.F3
self.F2 = ALS.F2
self.F1 = ALS.F1
self.NoFreq = (1-math.min(1,(self.F1+self.F2+self.F3+self.F4+self.F5+self.F6)))*math.min(1,self.ALS+self.Power)
self.NoFreq = ALS.NoFreq
if ALS.Enabled == 0 and VRD then self.NoFreq = 1 end
--ALS
if Power then
local Vlimit = -10