chore: Reorganising strings
This commit is contained in:
@@ -12,17 +12,31 @@ import java.text.MessageFormat;
|
|||||||
*/
|
*/
|
||||||
@Getter
|
@Getter
|
||||||
public class Strings {
|
public class Strings {
|
||||||
private String welcome;
|
// Stats
|
||||||
|
private String stats;
|
||||||
|
private String currentDay;
|
||||||
|
private String event;
|
||||||
private String forestType;
|
private String forestType;
|
||||||
private String soilType;
|
private String soilType;
|
||||||
private String pathType;
|
private String pathType;
|
||||||
private String waterType;
|
private String waterType;
|
||||||
private String coins;
|
private String coins;
|
||||||
|
private String forestSize;
|
||||||
|
|
||||||
|
// Normal strings
|
||||||
|
private String welcome;
|
||||||
private String marketGreeting;
|
private String marketGreeting;
|
||||||
private String marketBuy;
|
private String marketBuy;
|
||||||
private String marketBuyMessage;
|
|
||||||
private String marketSell;
|
private String marketSell;
|
||||||
|
|
||||||
|
// Info
|
||||||
|
private String marketBuyMessage;
|
||||||
private String marketSellMessage;
|
private String marketSellMessage;
|
||||||
|
private String eventFire;
|
||||||
|
private String eventFlood;
|
||||||
|
private String eventAttack;
|
||||||
|
|
||||||
|
// Errors
|
||||||
private String cantBeBuiltCows;
|
private String cantBeBuiltCows;
|
||||||
private String cantBeBuiltChurch;
|
private String cantBeBuiltChurch;
|
||||||
private String cantBeBuiltVillagerHouse;
|
private String cantBeBuiltVillagerHouse;
|
||||||
@@ -30,22 +44,15 @@ public class Strings {
|
|||||||
private String cantBeBuiltPub;
|
private String cantBeBuiltPub;
|
||||||
private String cantBeBuiltWinery;
|
private String cantBeBuiltWinery;
|
||||||
private String cantBeBuiltCheeseFactory;
|
private String cantBeBuiltCheeseFactory;
|
||||||
|
private String noVillagerHouseMessage;
|
||||||
private String cantBuild;
|
private String cantBuild;
|
||||||
private String cantCutTrees;
|
private String cantCutTrees;
|
||||||
private String cantMilkCows;
|
private String cantMilkCows;
|
||||||
private String cantProduce;
|
private String cantProduce;
|
||||||
private String cantSell;
|
private String cantSell;
|
||||||
private String cantBuy;
|
private String cantBuy;
|
||||||
private String forestSize;
|
|
||||||
private String stats;
|
|
||||||
private String currentDay;
|
|
||||||
private String cantMilkToMuch;
|
private String cantMilkToMuch;
|
||||||
private String noTrees;
|
private String noTrees;
|
||||||
private String event;
|
|
||||||
private String eventFire;
|
|
||||||
private String eventFlood;
|
|
||||||
private String eventAttack;
|
|
||||||
private String noVillagerHouseMessage;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Loads strings from json file
|
* Loads strings from json file
|
||||||
|
|||||||
@@ -1,15 +1,25 @@
|
|||||||
{
|
{
|
||||||
"welcome": "Welcome player! ",
|
"stats": "Your stats: ",
|
||||||
|
"currentDay": "\u001B[4;37mDay: {0}\u001B[0m",
|
||||||
|
"event": "Event for this day: {0}",
|
||||||
"forestType": "Your \u001B[0;32mforest\u001B[0m size: {0}",
|
"forestType": "Your \u001B[0;32mforest\u001B[0m size: {0}",
|
||||||
"soilType": "Your \u001B[38;2;150;93;0msoil\u001B[0m type size: {0}",
|
"soilType": "Your \u001B[38;2;150;93;0msoil\u001B[0m type size: {0}",
|
||||||
"pathType": "Your \u001B[38;2;255;126;0mpath\u001B[0m type: {0}",
|
"pathType": "Your \u001B[38;2;255;126;0mpath\u001B[0m type: {0}",
|
||||||
"waterType": "Your \u001B[0;34mwater\u001B[0m type: {0}",
|
"waterType": "Your \u001B[0;34mwater\u001B[0m type: {0}",
|
||||||
"coins": "Amount of \u001B[0;33mCoins\u001B[0m: {0}",
|
"coins": "Amount of \u001B[0;33mCoins\u001B[0m: {0}",
|
||||||
|
"forestSize": "The size of your forest is {0} trees",
|
||||||
|
|
||||||
|
"welcome": "Welcome player! ",
|
||||||
"marketGreeting": "Welcome to Market!",
|
"marketGreeting": "Welcome to Market!",
|
||||||
"marketBuy": "Pick which item you want to buy",
|
"marketBuy": "Pick which item you want to buy",
|
||||||
"marketBuyMessage": "Info: You bought \u001B[4;37m{0}\u001B[0m",
|
|
||||||
"marketSell": "Pick which item you want to sell",
|
"marketSell": "Pick which item you want to sell",
|
||||||
|
|
||||||
|
"marketBuyMessage": "Info: You bought \u001B[4;37m{0}\u001B[0m",
|
||||||
"marketSellMessage": "Info: You sold \u001B[4;37m{0}\u001B[0m",
|
"marketSellMessage": "Info: You sold \u001B[4;37m{0}\u001B[0m",
|
||||||
|
"eventFire": "Info: Fire! You lost 10 trees...",
|
||||||
|
"eventFlood": "Info: Flood! You lost All of your farmlands... If you had them.",
|
||||||
|
"eventAttack": "Info: Attack! Your villagers got robbed and you lost \u001B[0;33m100 coins\u001B[0m...",
|
||||||
|
|
||||||
"cantBeBuiltCows": "\u001B[4;31mError: First you need to build 3 villager houses before owning cows!\u001B[0m",
|
"cantBeBuiltCows": "\u001B[4;31mError: First you need to build 3 villager houses before owning cows!\u001B[0m",
|
||||||
"cantBeBuiltChurch": "\u001B[4;31mError: You can`t have more than 1 church!\u001B[0m",
|
"cantBeBuiltChurch": "\u001B[4;31mError: You can`t have more than 1 church!\u001B[0m",
|
||||||
"cantBeBuiltVillagerHouse": "\u001B[4;31mError: First you need to built church before villager houses!\u001B[0m",
|
"cantBeBuiltVillagerHouse": "\u001B[4;31mError: First you need to built church before villager houses!\u001B[0m",
|
||||||
@@ -23,13 +33,6 @@
|
|||||||
"cantMilkCows": "\u001B[4;31mError: You don`t own any cows!\u001B[0m",
|
"cantMilkCows": "\u001B[4;31mError: You don`t own any cows!\u001B[0m",
|
||||||
"cantProduce": "\u001B[4;31mError: You can`t produce when you dont have {0}\u001B[0m",
|
"cantProduce": "\u001B[4;31mError: You can`t produce when you dont have {0}\u001B[0m",
|
||||||
"cantSell": "\u001B[4;31mError: You can`t sell this item! You don`t have it!\u001B[0m",
|
"cantSell": "\u001B[4;31mError: You can`t sell this item! You don`t have it!\u001B[0m",
|
||||||
"forestSize": "The size of your forest is {0} trees",
|
|
||||||
"stats": "Your stats: ",
|
|
||||||
"currentDay": "\u001B[4;37mDay: {0}\u001B[0m",
|
|
||||||
"cantMilkToMuch": "\u001B[4;31mError: You milked the cow already 3 times today!\u001B[0m",
|
"cantMilkToMuch": "\u001B[4;31mError: You milked the cow already 3 times today!\u001B[0m",
|
||||||
"noTrees": "\u001B[4;31mError: You don't have any trees left!\u001B[0m",
|
"noTrees": "\u001B[4;31mError: You don't have any trees left!\u001B[0m"
|
||||||
"event": "Event for this day: {0}",
|
|
||||||
"eventFire": "Info: Fire! You lost 10 trees...",
|
|
||||||
"eventFlood": "Info: Flood! You lost All of your farmlands... If you had them.",
|
|
||||||
"eventAttack": "Info: Attack! Your villagers got robbed and you lost \u001B[0;33m100 coins\u001B[0m..."
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user