Make timescale accessible to logic (#4503)
This commit is contained in:
committed by
GitHub
parent
b05f867800
commit
48ee3d255d
@@ -1311,6 +1311,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
case health -> health;
|
||||
case maxHealth -> maxHealth;
|
||||
case efficiency -> efficiency();
|
||||
case timescale -> timeScale;
|
||||
case range -> this instanceof Ranged r ? r.range() / tilesize : 0;
|
||||
case rotation -> rotation;
|
||||
case totalItems -> items == null ? 0 : items.total();
|
||||
|
||||
@@ -21,6 +21,7 @@ public enum LAccess{
|
||||
maxHealth,
|
||||
heat,
|
||||
efficiency,
|
||||
timescale,
|
||||
rotation,
|
||||
x,
|
||||
y,
|
||||
|
||||
Reference in New Issue
Block a user