Mech descriptions / Balancing / Crash fix / Physics fix

This commit is contained in:
Anuken
2018-08-27 09:52:33 -04:00
parent 2f7f16daff
commit 6323c13704
17 changed files with 614 additions and 724 deletions

View File

@@ -155,12 +155,26 @@ public class ContentDisplay{
table.left().defaults().fillX();
//TODO stat list goes here
//table.add(Bundles.format("text.mech.armor", mech.armor));
table.row();
//table.add(Bundles.format("text.unit.speed", Strings.toFixed(mech.speed, 1)));
if(Bundles.has("mech." + mech.name + ".weapon")){
table.add(Bundles.format("text.mech.weapon", Bundles.get("mech." + mech.name + ".weapon")));
table.row();
}
if(Bundles.has("mech." + mech.name + ".ability")){
table.add(Bundles.format("text.mech.ability", Bundles.get("mech." + mech.name + ".ability")));
table.row();
}
table.add(Bundles.format("text.mech.armor", mech.armor));
table.row();
table.add(Bundles.format("text.mech.itemcapacity", mech.itemCapacity));
table.row();
if(mech.drillPower > 0){
table.add(Bundles.format("text.mech.minespeed", (int) (mech.mineSpeed * 10)));
table.row();
table.add(Bundles.format("text.mech.minepower", mech.drillPower));
table.row();
}
}
public static void displayUnit(Table table, UnitType unit){