Update quest accept prompt, per #92

This commit is contained in:
HappyPikachu 2017-08-24 20:54:51 -04:00
parent 4096ca0ba5
commit 71f60acff5
2 changed files with 2 additions and 1 deletions

View File

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

View File

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