Possible save fix / Place arrow de-mushroomified / Fixed descriptions

This commit is contained in:
Anuken
2019-02-10 11:46:18 -05:00
parent a9778e6e68
commit 897b90f044
13 changed files with 779 additions and 814 deletions

View File

@@ -19,7 +19,7 @@ public class ItemImage extends Stack{
}
public ItemImage(ItemStack stack){
add(new Image(stack.item.icon(Icon.large)));
add(new Image(stack.item.icon(Icon.medium)));
if(stack.amount != 0){
Table t = new Table().left().bottom();

View File

@@ -211,7 +211,7 @@ public class TechTreeDialog extends FloatingDialog{
list.left();
list.addImage(req.item.getContentIcon()).size(8 * 3).padRight(3);
list.add(req.item.localizedName()).color(Color.LIGHT_GRAY);
list.add(" " + Math.min(data.items().get(req.item, 0), req.amount) + " / " + req.amount)
list.add(" " + Math.min(data.getItem(req.item), req.amount) + " / " + req.amount)
.color(data.has(req.item, req.amount) ? Color.LIGHT_GRAY : Color.SCARLET);
}).fillX().left();
t.row();