mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-30 22:53:33 +01:00
Update quest accept prompt, per #92
This commit is contained in:
parent
4096ca0ba5
commit
71f60acff5
@ -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("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 {
|
||||
menu += ChatColor.GOLD + "" + ChatColor.BOLD + "" + i + ". " + ChatColor.RESET + "" + ChatColor.YELLOW + "" + ChatColor.ITALIC + quest.getName() + "\n";
|
||||
}
|
||||
|
@ -753,6 +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("invalidSelection", "Invalid selection!");
|
||||
langMap.put("noActiveQuest", "You do not currently have any active Quests.");
|
||||
|
Loading…
Reference in New Issue
Block a user