mirror of
https://github.com/yawaflua/Informatis.git
synced 2025-12-10 12:09:27 +02:00
fixed wave, clean clean up
This commit is contained in:
@@ -66,7 +66,7 @@ public class BarInfo {
|
||||
numbers.set(0, healthc.healthf());
|
||||
}
|
||||
|
||||
|
||||
|
||||
if(target instanceof Turret.TurretBuild turret){
|
||||
strings.set(1, Core.bundle.format("shar-stat.reload", Strings.fixed((turret.reload / ((Turret)turret.block).reloadTime) * 100f, 1)));
|
||||
colors.set(1, Pal.accent.cpy().lerp(Color.orange, Mathf.clamp((turret.reload / ((Turret)turret.block).reloadTime))));
|
||||
@@ -226,7 +226,6 @@ public class BarInfo {
|
||||
}
|
||||
|
||||
|
||||
|
||||
if(target instanceof Unit unit && target instanceof Payloadc pay && unit.type != null){
|
||||
strings.set(4, Core.bundle.format("shar-stat.payloadCapacity", format(Mathf.round(Mathf.sqrt(pay.payloadUsed()))), format(Mathf.round(Mathf.sqrt(unit.type().payloadCapacity)))));
|
||||
colors.set(4, Pal.items);
|
||||
|
||||
Reference in New Issue
Block a user