Sensors, SetProp, and SetRule (#9943)

* some fun things for world proc only

* fix the format artifact

* SetProp and reformating

* Wildcard imports

* Wildcard imports

* velocity conversion

* compacting description

Co-authored-by: Anuken <arnukren@gmail.com>

* Update core/src/mindustry/world/blocks/defense/turrets/Turret.java

---------

Co-authored-by: Anuken <arnukren@gmail.com>
This commit is contained in:
TripleToxic
2024-07-07 11:28:19 -04:00
committed by GitHub
parent e07a739ae2
commit 82bcf5966e
8 changed files with 38 additions and 2 deletions

View File

@@ -1497,6 +1497,7 @@ public class LExecutor{
}
case ambientLight -> state.rules.ambientLight.fromDouble(value.num());
case solarMultiplier -> state.rules.solarMultiplier = Math.max(value.numf(), 0f);
case dragMultiplier -> state.rules.dragMultiplier = Math.max(value.numf(), 0f);
case ban -> {
Object cont = value.obj();
if(cont instanceof Block b){