Assimilate exit strings

This commit is contained in:
PikaMug 2019-08-29 02:21:18 -04:00
parent 434d819f17
commit 1f637ad6ef
4 changed files with 7 additions and 10 deletions

View File

@ -906,7 +906,7 @@ public class QuestFactory implements ConversationAbandonedListener {
} }
public String getQueryText(ConversationContext context) { public String getQueryText(ConversationContext context) {
return ChatColor.YELLOW + Lang.get("questEditorExited") + "\n"; return ChatColor.YELLOW + Lang.get("confirmDelete") + "\n";
} }
@Override @Override
@ -2020,7 +2020,7 @@ public class QuestFactory implements ConversationAbandonedListener {
public String getPromptText(ConversationContext context) { public String getPromptText(ConversationContext context) {
String text = ChatColor.GREEN + "" + ChatColor.BOLD + "1" + ChatColor.RESET + "" + ChatColor.GREEN + " - " + Lang.get("yesWord") + "\n"; String text = ChatColor.GREEN + "" + ChatColor.BOLD + "1" + ChatColor.RESET + "" + ChatColor.GREEN + " - " + Lang.get("yesWord") + "\n";
text += ChatColor.RED + "" + ChatColor.BOLD + "2" + ChatColor.RESET + "" + ChatColor.RED + " - " + Lang.get("noWord"); text += ChatColor.RED + "" + ChatColor.BOLD + "2" + ChatColor.RESET + "" + ChatColor.RED + " - " + Lang.get("noWord");
return ChatColor.RED + Lang.get("questEditorDeleted") + " (" + ChatColor.YELLOW + (String) context.getSessionData(CK.ED_QUEST_DELETE) + ChatColor.RED + ")\n" + text; return ChatColor.RED + Lang.get("confirmDelete") + " (" + ChatColor.YELLOW + (String) context.getSessionData(CK.ED_QUEST_DELETE) + ChatColor.RED + ")\n" + text;
} }
@Override @Override

View File

@ -408,7 +408,7 @@ public class ActionFactory implements ConversationAbandonedListener {
public String getPromptText(ConversationContext context) { public String getPromptText(ConversationContext context) {
String text = ChatColor.GREEN + "" + ChatColor.BOLD + "1" + ChatColor.RESET + "" + ChatColor.GREEN + " - " + Lang.get("yesWord") + "\n"; String text = ChatColor.GREEN + "" + ChatColor.BOLD + "1" + ChatColor.RESET + "" + ChatColor.GREEN + " - " + Lang.get("yesWord") + "\n";
text += ChatColor.RED + "" + ChatColor.BOLD + "2" + ChatColor.RESET + "" + ChatColor.RED + " - " + Lang.get("noWord"); text += ChatColor.RED + "" + ChatColor.BOLD + "2" + ChatColor.RESET + "" + ChatColor.RED + " - " + Lang.get("noWord");
return ChatColor.RED + Lang.get("eventEditorDeletePrompt") + " (" + ChatColor.YELLOW + (String) context.getSessionData(CK.ED_EVENT_DELETE) + ChatColor.RED + ")\n" + text; return ChatColor.RED + Lang.get("confirmDelete") + " (" + ChatColor.YELLOW + (String) context.getSessionData(CK.ED_EVENT_DELETE) + ChatColor.RED + ")\n" + text;
} }
@Override @Override
@ -799,7 +799,7 @@ public class ActionFactory implements ConversationAbandonedListener {
public String getPromptText(ConversationContext context) { public String getPromptText(ConversationContext context) {
String text = ChatColor.GREEN + "" + ChatColor.BOLD + "1" + ChatColor.RESET + ChatColor.GREEN + " - " + Lang.get("yesWord") + "\n" String text = ChatColor.GREEN + "" + ChatColor.BOLD + "1" + ChatColor.RESET + ChatColor.GREEN + " - " + Lang.get("yesWord") + "\n"
+ ChatColor.RED + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.RED + " - " + Lang.get("noWord"); + ChatColor.RED + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.RED + " - " + Lang.get("noWord");
return ChatColor.YELLOW + Lang.get("questEditorExited") + "\n" + text; return ChatColor.YELLOW + Lang.get("confirmDelete") + "\n" + text;
} }
@Override @Override

View File

@ -1214,7 +1214,7 @@ public class CreateStagePrompt extends FixedSetPrompt {
public String getPromptText(ConversationContext context) { public String getPromptText(ConversationContext context) {
String text = ChatColor.GREEN + "" + ChatColor.BOLD + "1" + ChatColor.RESET + "" + ChatColor.GREEN + " - " + Lang.get("yesWord") + "\n"; String text = ChatColor.GREEN + "" + ChatColor.BOLD + "1" + ChatColor.RESET + "" + ChatColor.GREEN + " - " + Lang.get("yesWord") + "\n";
text += ChatColor.RED + "" + ChatColor.BOLD + "2" + ChatColor.RESET + "" + ChatColor.RED + " - " + Lang.get("noWord"); text += ChatColor.RED + "" + ChatColor.BOLD + "2" + ChatColor.RESET + "" + ChatColor.RED + " - " + Lang.get("noWord");
return ChatColor.RED + Lang.get("stageEditorConfirmStageDelete") + " (" + ChatColor.YELLOW + Lang.get("stageEditorStage") + " " + stageNum + ChatColor.RED + ")\n" + ChatColor.GOLD + "(" + Lang.get("stageEditorConfirmStageNote") + ")\n" + text; return ChatColor.RED + Lang.get("confirmDelete") + " (" + ChatColor.YELLOW + Lang.get("stageEditorStage") + " " + stageNum + ChatColor.RED + ")\n" + ChatColor.GOLD + "(" + Lang.get("stageEditorConfirmStageNote") + ")\n" + text;
} }
@Override @Override

View File

@ -109,8 +109,6 @@ questEditorNeedAskMessage: "You must set an ask message!"
questEditorNeedFinishMessage: "You must set a finish message!" questEditorNeedFinishMessage: "You must set a finish message!"
questEditorNeedStages: "Your Quest has no Stages!" questEditorNeedStages: "Your Quest has no Stages!"
questEditorSaved: "%bold%Quest saved! %reset%(You will need to perform %red%<command> %reset% for it to appear in-game)" questEditorSaved: "%bold%Quest saved! %reset%(You will need to perform %red%<command> %reset% for it to appear in-game)"
questEditorExited: "Are you sure you want to exit without saving?"
questEditorDeleted: "Are you sure you want to delete the Quest?"
stageEditorEditStage: "Edit Stage" stageEditorEditStage: "Edit Stage"
stageEditorNewStage: "Add new Stage" stageEditorNewStage: "Add new Stage"
stageEditorStages: "Stages" stageEditorStages: "Stages"
@ -273,7 +271,6 @@ stageEditorDelayCleared: "Delay cleared."
stageEditorDenizenCleared: "Denizen script cleared." stageEditorDenizenCleared: "Denizen script cleared."
stageEditorObjectiveCleared: "Objective cleared." stageEditorObjectiveCleared: "Objective cleared."
stageEditorMessageCleared: "Message cleared." stageEditorMessageCleared: "Message cleared."
stageEditorConfirmStageDelete: "Are you sure you want to delete this stage?"
stageEditorConfirmStageNote: "Any Stages after will be shifted back one spot" stageEditorConfirmStageNote: "Any Stages after will be shifted back one spot"
stageEditorDeleteSucces: "Stage deleted successfully." stageEditorDeleteSucces: "Stage deleted successfully."
stageEditorEnchantments: "Enchantments" stageEditorEnchantments: "Enchantments"
@ -294,7 +291,6 @@ eventEditorErrorSaving: "An error occurred while saving."
eventEditorDeleted: "Action deleted, Quests and Actions reloaded." eventEditorDeleted: "Action deleted, Quests and Actions reloaded."
eventEditorSaved: "Action saved, Quests and Actions reloaded." eventEditorSaved: "Action saved, Quests and Actions reloaded."
eventEditorEnterEventName: "Enter Action name, <cancel>" eventEditorEnterEventName: "Enter Action name, <cancel>"
eventEditorDeletePrompt: "Are you sure you want to delete the Action?"
eventEditorModifiedNote: 'Note: You have modified an Action that the following Quests use:' eventEditorModifiedNote: 'Note: You have modified an Action that the following Quests use:'
eventEditorForcedToQuit: "If you save the Action, anyone who is actively doing any of these Quests will be forced to quit them." eventEditorForcedToQuit: "If you save the Action, anyone who is actively doing any of these Quests will be forced to quit them."
eventEditorEventInUse: "The following Quests use the Action" eventEditorEventInUse: "The following Quests use the Action"
@ -842,4 +838,5 @@ questSaveError: "An error occurred while saving."
noPermission: "You do not have permission to do that." noPermission: "You do not have permission to do that."
duplicateEditor: "You are already using an editor!" duplicateEditor: "You are already using an editor!"
difference: "The difference is '<data>'." difference: "The difference is '<data>'."
notInstalled: "Not installed" notInstalled: "Not installed"
confirmDelete: "Are you sure?"