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-06-11 15:22:05 +03:00
parent c1718c084e
commit b74d4873af
9 changed files with 182 additions and 79 deletions

View File

@@ -569,10 +569,6 @@ end
--------------------------------------------------------------------------------
function ENT:Think()
self.RetVal = self.BaseClass.Think(self)
--[[if self.Battery.Consumers[self.RD] then
print("RD.pickup_current = "..tostring(self.RD.pickup_current),"RD current = "..self.Battery.Consumers[self.RD][3])
end]]
--print("Entity RD = ",self.RD.Value)
local Panel = self.Panel
local Pneumatic = self.Pneumatic
local power = Panel.V1 > -1.5