Add a solar panel output multiplier (#7013)

* do

* world processor compatibility

* useless
This commit is contained in:
Ilya246
2022-06-14 05:09:06 +04:00
committed by GitHub
parent 58bfd0e46c
commit dc5b184d45
6 changed files with 8 additions and 1 deletions

View File

@@ -1401,6 +1401,7 @@ public class LExecutor{
}
}
case ambientLight -> state.rules.ambientLight.fromDouble(exec.num(value));
case solarMultiplier -> state.rules.solarMultiplier = exec.numf(value);
case unitBuildSpeed, unitDamage, blockHealth, blockDamage, buildSpeed, rtsMinSquad, rtsMinWeight -> {
Team team = exec.team(p1);
if(team != null){