Possible save fix / Place arrow de-mushroomified / Fixed descriptions
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user