Stop BatterySystem from iterating over every battery just to recharge micro-reactors (#5393)
This commit is contained in:
@@ -145,6 +145,7 @@
|
||||
- type: PowerCell
|
||||
maxCharge: 50
|
||||
startingCharge: 50
|
||||
- type: BatterySelfRecharger
|
||||
autoRecharge: true
|
||||
autoRechargeRate: 0.16667 #takes about 5 minutes to charge itself back to full
|
||||
- type: Appearance
|
||||
@@ -165,6 +166,7 @@
|
||||
- type: PowerCell
|
||||
maxCharge: 600 #lights drain 3/s but recharge of 2 makes this 1/s. Therefore 600 is 10 minutes of light.
|
||||
startingCharge: 600
|
||||
- type: BatterySelfRecharger
|
||||
autoRecharge: true
|
||||
autoRechargeRate: 2 #recharge of 2 makes total drain 1w / s so max charge is 1:1 with time. Time to fully charge should be 5 minutes. Having recharge gives light an extended flicker period which gives you some warning to return to light area.
|
||||
- type: Appearance
|
||||
|
||||
Reference in New Issue
Block a user