mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-15 07:05:51 +01:00
Improve quest accept prompt, per #92
This commit is contained in:
parent
7ce33b3909
commit
b032a32f07
@ -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";
|
||||
}
|
||||
|
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user