Improve quest accept prompt, per #92

This commit is contained in:
HappyPikachu 2017-08-27 15:16:21 -04:00
parent 7ce33b3909
commit b032a32f07
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ public class QuestAcceptPrompt extends StringPrompt {
for (int i = 1; i <= quests.size(); i++) {
Quest quest = quests.get(i - 1);
if (quester.completedQuests.contains(quest.getName())) {
menu += ChatColor.DARK_GREEN + "" + ChatColor.BOLD + "" + i + ". " + ChatColor.RESET + "" + ChatColor.GREEN + "" + ChatColor.ITALIC + quest.getName() + ChatColor.RESET + "" + ChatColor.GREEN + " (" + Lang.get("repeatable") + ")\n";
menu += ChatColor.DARK_GREEN + "" + ChatColor.BOLD + "" + i + ". " + ChatColor.RESET + "" + ChatColor.GREEN + "" + ChatColor.ITALIC + quest.getName() + ChatColor.RESET + "" + ChatColor.GREEN + " " + Lang.get("completedTag") + "\n";
} else {
menu += ChatColor.GOLD + "" + ChatColor.BOLD + "" + i + ". " + ChatColor.RESET + "" + ChatColor.YELLOW + "" + ChatColor.ITALIC + quest.getName() + "\n";
}

View File

@ -753,7 +753,7 @@ public class Lang {
langMap.put("shearSheep", "Shear <color> sheep");
langMap.put("goTo", "Go to <location>");
langMap.put("completed", "Completed");
langMap.put("repeatable", "Repeatable");
langMap.put("completedTag", "(Completed)");
//
langMap.put("invalidSelection", "Invalid selection!");
langMap.put("noActiveQuest", "You do not currently have any active Quests.");