mirror of
https://github.com/yawaflua/Informatis.git
synced 2025-12-10 03:59:26 +02:00
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "unitinfo",
|
||||
"displayName": "Unit Infomation",
|
||||
"displayName": "Unit Information",
|
||||
"author": "Sharlotte",
|
||||
"description": "The mod displays more information in-game, such as unit/building, wave, core, tile, item/unit total info etc",
|
||||
"version": "1.3.4.2",
|
||||
|
||||
@@ -236,8 +236,7 @@ public class HudUi {
|
||||
Table statusTable = (Table)waveTable.getChildren().get(1); // TODO: Use scene.find("statustable") when https://github.com/Anuken/Mindustry/pull/5904 is merged
|
||||
waveTable.removeChild(statusTable);
|
||||
table.row();
|
||||
|
||||
table.stack(waveInfoTable, statusTable.top(), pathlineTable);
|
||||
table.stack(waveInfoTable, statusTable.top(), pathlineTable).fillX().colspan(table.getColumns());
|
||||
}
|
||||
|
||||
public void reset(int index, Seq<Button> buttons, Label label, Table table, Table labelTable, String hud){
|
||||
|
||||
@@ -1,34 +1,12 @@
|
||||
package UnitInfo.core;
|
||||
|
||||
import UnitInfo.ui.*;
|
||||
import arc.*;
|
||||
import arc.graphics.*;
|
||||
import arc.graphics.g2d.*;
|
||||
import arc.math.*;
|
||||
import arc.scene.ui.layout.*;
|
||||
import arc.util.*;
|
||||
import mindustry.*;
|
||||
import mindustry.ai.Pathfinder;
|
||||
import mindustry.ai.types.*;
|
||||
import mindustry.content.*;
|
||||
import mindustry.entities.units.*;
|
||||
import mindustry.game.EventType.*;
|
||||
import mindustry.game.*;
|
||||
import mindustry.gen.*;
|
||||
import mindustry.graphics.*;
|
||||
import mindustry.logic.LUnitControl;
|
||||
import mindustry.mod.*;
|
||||
import mindustry.ui.*;
|
||||
import mindustry.world.*;
|
||||
import mindustry.world.blocks.defense.turrets.*;
|
||||
import mindustry.world.blocks.storage.CoreBlock;
|
||||
import mindustry.world.blocks.units.CommandCenter;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
import static UnitInfo.SVars.*;
|
||||
import static arc.Core.*;
|
||||
import static mindustry.Vars.*;
|
||||
|
||||
public class Main extends Mod {
|
||||
|
||||
@@ -36,7 +14,7 @@ public class Main extends Mod {
|
||||
public void init(){
|
||||
Core.app.post(() -> {
|
||||
Mods.ModMeta meta = Vars.mods.locateMod("unitinfo").meta;
|
||||
meta.displayName = "[#B5FFD9]Unit Infomation[]";
|
||||
meta.displayName = "[#B5FFD9]Unit Information[]";
|
||||
meta.author = "[#B5FFD9]Sharlotte[lightgray]#0018[][]";
|
||||
meta.description = bundle.get("shar-description");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user