mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-24 03:25:20 +01:00
Match quest/action name selection prompts
This commit is contained in:
parent
b04bc5d54c
commit
524f48d3fb
@ -497,8 +497,7 @@ public class QuestFactory implements ConversationAbandonedListener {
|
||||
}
|
||||
|
||||
public String getQueryText() {
|
||||
return ChatColor.AQUA + Lang.get("questEditorCreate") + " " + ChatColor.GOLD + "- "
|
||||
+ Lang.get("questEditorEnterQuestName");
|
||||
return Lang.get("questEditorEnterQuestName");
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -507,7 +506,7 @@ public class QuestFactory implements ConversationAbandonedListener {
|
||||
= new QuestsEditorPostOpenSelectCreatePromptEvent(context);
|
||||
plugin.getServer().getPluginManager().callEvent(event);
|
||||
|
||||
String text = ChatColor.GOLD + getTitle()+ "\n" + getQueryText();
|
||||
String text = ChatColor.GOLD + getTitle()+ "\n" + ChatColor.YELLOW + getQueryText();
|
||||
return text;
|
||||
}
|
||||
|
||||
@ -543,9 +542,9 @@ public class QuestFactory implements ConversationAbandonedListener {
|
||||
public String getPromptText(ConversationContext context) {
|
||||
String s = ChatColor.GOLD + Lang.get("questEditTitle") + "\n";
|
||||
for (Quest q : plugin.getQuests()) {
|
||||
s += ChatColor.GRAY + "- " + ChatColor.YELLOW + q.getName() + "\n";
|
||||
s += ChatColor.GRAY + "- " + ChatColor.AQUA + q.getName() + "\n";
|
||||
}
|
||||
return s + ChatColor.GOLD + Lang.get("questEditorEnterQuestName");
|
||||
return s + ChatColor.YELLOW + Lang.get("questEditorEnterQuestName");
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -945,7 +944,7 @@ public class QuestFactory implements ConversationAbandonedListener {
|
||||
public String getPromptText(ConversationContext context) {
|
||||
String text = ChatColor.GOLD + Lang.get("questDeleteTitle") + "\n";
|
||||
for (Quest quest : plugin.getQuests()) {
|
||||
text += ChatColor.AQUA + quest.getName() + ChatColor.YELLOW + ",";
|
||||
text += ChatColor.AQUA + quest.getName() + ChatColor.GRAY + ",";
|
||||
}
|
||||
text = text.substring(0, text.length() - 1) + "\n";
|
||||
text += ChatColor.YELLOW + Lang.get("questEditorEnterQuestName");
|
||||
|
@ -400,7 +400,7 @@ public class ActionFactory implements ConversationAbandonedListener {
|
||||
|
||||
@Override
|
||||
public String getPromptText(ConversationContext context) {
|
||||
String text = ChatColor.AQUA + Lang.get("eventEditorCreate") + ChatColor.GOLD + " - "
|
||||
String text = ChatColor.GOLD + Lang.get("eventEditorCreate") + "\n" + ChatColor.YELLOW
|
||||
+ Lang.get("eventEditorEnterEventName");
|
||||
return text;
|
||||
}
|
||||
@ -437,7 +437,7 @@ public class ActionFactory implements ConversationAbandonedListener {
|
||||
public String getPromptText(ConversationContext context) {
|
||||
String text = ChatColor.GOLD + "- " + Lang.get("eventEditorEdit") + " -\n";
|
||||
for (Action a : plugin.getActions()) {
|
||||
text += ChatColor.AQUA + a.getName() + ChatColor.YELLOW + ", ";
|
||||
text += ChatColor.AQUA + a.getName() + ChatColor.GRAY + ", ";
|
||||
}
|
||||
text = text.substring(0, text.length() - 2) + "\n";
|
||||
text += ChatColor.YELLOW + Lang.get("eventEditorEnterEventName");
|
||||
@ -562,7 +562,7 @@ public class ActionFactory implements ConversationAbandonedListener {
|
||||
public String getPromptText(ConversationContext context) {
|
||||
String text = ChatColor.GOLD + "- " + Lang.get("eventEditorDelete") + " -\n";
|
||||
for (Action a : plugin.getActions()) {
|
||||
text += ChatColor.AQUA + a.getName() + ChatColor.YELLOW + ",";
|
||||
text += ChatColor.AQUA + a.getName() + ChatColor.GRAY + ",";
|
||||
}
|
||||
text = text.substring(0, text.length() - 1) + "\n";
|
||||
text += ChatColor.YELLOW + Lang.get("eventEditorEnterEventName");
|
||||
|
@ -49,7 +49,6 @@ COMMAND_QUESTADMIN_REMOVE_HELP: "<command> [player] [quest] - Remove a completed
|
||||
COMMAND_QUESTADMIN_RELOAD: "reload"
|
||||
COMMAND_QUESTADMIN_RELOAD_HELP: "<command> - Safely reload the plugin"
|
||||
questEditorHeader: "Create Quest"
|
||||
questEditorCreate: "Create new Quest"
|
||||
questEditorEdit: "Edit a Quest"
|
||||
questEditorDelete: "Delete Quest"
|
||||
questEditorName: "Set name"
|
||||
|
Loading…
Reference in New Issue
Block a user