|
|
|
@ -52,7 +52,7 @@ app.game.hud =
|
|
|
|
|
|
|
|
|
|
# Energy production (47)
|
|
|
|
|
|
|
|
|
|
length = Math.round(((25*app.game.solarpanelCount())*4)/100)
|
|
|
|
|
length = Math.round(((25*app.game.solarpanelCount())*45)/100)
|
|
|
|
|
for i in [0..length]
|
|
|
|
|
app.layer.setPixel("#228ca5", 49+i, 91)
|
|
|
|
|
app.layer.setPixel("#8ddaed", 50+i, 92)
|
|
|
|
|