mirror of
https://github.com/metrostroi-repo/MetrostroiAddon.git
synced 2026-05-02 00:42:29 +00:00
implemented control circuits current calculations for BPSN with respect to number of 10th wire connected ones
This commit is contained in:
@@ -331,6 +331,7 @@ function ENT:Think()
|
||||
self:SetPackedBool("lightsActive"..i,false)
|
||||
end
|
||||
end
|
||||
self.Battery.Consumers["SalonLights"] = {Panel.MainLights+Panel.EmergencyLights,(Panel.MainLights*36^-1 + Panel.EmergencyLights*74^-1)^-1,0}
|
||||
|
||||
self:SetPackedBool("DoorsW",Panel.DoorsW > 0)
|
||||
self:SetPackedBool("GRP",Panel.GreenRP > 0)
|
||||
|
||||
Reference in New Issue
Block a user