chore: minor changes
This commit is contained in:
@@ -85,6 +85,8 @@ public class Game {
|
||||
if (pathType == PathType.MAIN_PATH) {
|
||||
events.add(Events.ATTACK);
|
||||
}
|
||||
|
||||
Cli.pressEnter();
|
||||
}
|
||||
|
||||
public void build(Item item) {
|
||||
|
||||
@@ -100,6 +100,8 @@ public class Menu {
|
||||
}
|
||||
}
|
||||
case 3 -> {
|
||||
game.getStrings().print("stats");
|
||||
System.out.println();
|
||||
game.getStrings().print("forestType", game.getForestType());
|
||||
game.getStrings().print("soilType", game.getSoilType());
|
||||
game.getStrings().print("pathType", game.getPathType());
|
||||
@@ -107,6 +109,9 @@ public class Menu {
|
||||
System.out.println();
|
||||
game.getStrings().print("coins", game.getPlayer().getCoins());
|
||||
System.out.println();
|
||||
game.getStrings().print("forestSize", game.getForestType().getSize());
|
||||
System.out.println();
|
||||
Cli.pressEnter();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,14 +30,14 @@ public class Strings {
|
||||
private String cantBeBuiltPub;
|
||||
private String cantBeBuiltWinery;
|
||||
private String cantBeBuiltCheeseFactory;
|
||||
private String cantBeBoughtVillagerHouse;
|
||||
private String cantBeBoughtAll;
|
||||
private String cantBuild;
|
||||
private String cantCutTrees;
|
||||
private String cantMilkCows;
|
||||
private String cantProduce;
|
||||
private String cantSell;
|
||||
private String cantBuy;
|
||||
private String forestSize;
|
||||
private String stats;
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -17,11 +17,11 @@
|
||||
"cantBeBuiltPub": "First you need to built hops farmland before a pub! You need hops you know!",
|
||||
"cantBeBuiltWinery": "First you need to built vineyard before a winery! You need grapevines you know!",
|
||||
"cantBeBuiltCheeseFactory": "First you need to own cows before a cheese factory! You need milk you know!",
|
||||
"cantBeBoughtVillagerHouse": "First you need to buy a church before villager houses!",
|
||||
"cantBeBoughtAll": "Buy a villager house first!",
|
||||
"cantBuild": "You don`t have that item in your inventory!",
|
||||
"cantCutTrees": "You need {0} axes to cut trees!",
|
||||
"cantMilkCows": "You don`t own any cows!",
|
||||
"cantProduce": "You can`t produce when you dont have {0}",
|
||||
"cantSell": "You can`t sell this item! You don`t have it!"
|
||||
"cantSell": "You can`t sell this item! You don`t have it!",
|
||||
"forestSize": "The size of your forest is {0} trees",
|
||||
"stats": "Your stats: "
|
||||
}
|
||||
Reference in New Issue
Block a user