Add a solar panel output multiplier (#7013)
* do * world processor compatibility * useless
This commit is contained in:
@@ -26,7 +26,7 @@ public class SolarGenerator extends PowerGenerator{
|
||||
@Override
|
||||
public void updateTile(){
|
||||
productionEfficiency = enabled ?
|
||||
Mathf.maxZero(Attribute.light.env() +
|
||||
state.rules.solarMultiplier * Mathf.maxZero(Attribute.light.env() +
|
||||
(state.rules.lighting ?
|
||||
1f - state.rules.ambientLight.a :
|
||||
1f
|
||||
|
||||
Reference in New Issue
Block a user