mirror of
https://github.com/PikaMug/Quests.git
synced 2024-11-12 13:43:57 +01:00
Consolidate block prompt strings
This commit is contained in:
parent
7c657f64a8
commit
a06639350f
@ -313,7 +313,7 @@ public class BlocksPrompt extends FixedSetPrompt {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getPromptText(ConversationContext context) {
|
public String getPromptText(ConversationContext context) {
|
||||||
return ChatColor.YELLOW + Lang.get("stageEditorBreakBlocksPrompt");
|
return ChatColor.YELLOW + Lang.get("stageEditorEnterBlockAmounts");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -388,7 +388,7 @@ public class BlocksPrompt extends FixedSetPrompt {
|
|||||||
text += ChatColor.BLUE + "" + ChatColor.BOLD + "1" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
text += ChatColor.BLUE + "" + ChatColor.BOLD + "1" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
||||||
+ Lang.get("stageEditorSetBlockNames") + " (" + Lang.get("noNamesSet") + ")\n";
|
+ Lang.get("stageEditorSetBlockNames") + " (" + Lang.get("noNamesSet") + ")\n";
|
||||||
text += ChatColor.GRAY + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.GRAY + " - "
|
text += ChatColor.GRAY + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.GRAY + " - "
|
||||||
+ Lang.get("stageEditorSetDamageAmounts") + " (" + Lang.get("noneSet") + ")\n";
|
+ Lang.get("stageEditorSetBlockAmounts") + " (" + Lang.get("noneSet") + ")\n";
|
||||||
text += ChatColor.GRAY + "" + ChatColor.BOLD + "3" + ChatColor.RESET + ChatColor.GRAY + " - "
|
text += ChatColor.GRAY + "" + ChatColor.BOLD + "3" + ChatColor.RESET + ChatColor.GRAY + " - "
|
||||||
+ Lang.get("stageEditorSetBlockDurability") + " (" + Lang.get("noneSet") + ")\n";
|
+ Lang.get("stageEditorSetBlockDurability") + " (" + Lang.get("noneSet") + ")\n";
|
||||||
text += ChatColor.RED + "" + ChatColor.BOLD + "4" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
text += ChatColor.RED + "" + ChatColor.BOLD + "4" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
||||||
@ -403,10 +403,10 @@ public class BlocksPrompt extends FixedSetPrompt {
|
|||||||
}
|
}
|
||||||
if (context.getSessionData(pref + CK.S_DAMAGE_AMOUNTS) == null) {
|
if (context.getSessionData(pref + CK.S_DAMAGE_AMOUNTS) == null) {
|
||||||
text += ChatColor.BLUE + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
text += ChatColor.BLUE + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
||||||
+ Lang.get("stageEditorSetDamageAmounts") + " (" + Lang.get("noneSet") + ")\n";
|
+ Lang.get("stageEditorSetBlockAmounts") + " (" + Lang.get("noneSet") + ")\n";
|
||||||
} else {
|
} else {
|
||||||
text += ChatColor.BLUE + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
text += ChatColor.BLUE + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
||||||
+ Lang.get("stageEditorSetDamageAmounts") + "\n";
|
+ Lang.get("stageEditorSetBlockAmounts") + "\n";
|
||||||
for (Integer i : getBlockAmounts(context)) {
|
for (Integer i : getBlockAmounts(context)) {
|
||||||
text += ChatColor.GRAY + " - " + ChatColor.AQUA + i + "\n";
|
text += ChatColor.GRAY + " - " + ChatColor.AQUA + i + "\n";
|
||||||
}
|
}
|
||||||
@ -550,7 +550,7 @@ public class BlocksPrompt extends FixedSetPrompt {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getPromptText(ConversationContext context) {
|
public String getPromptText(ConversationContext context) {
|
||||||
return ChatColor.YELLOW + Lang.get("stageEditorDamageBlocksPrompt");
|
return ChatColor.YELLOW + Lang.get("stageEditorEnterBlockAmounts");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -625,7 +625,7 @@ public class BlocksPrompt extends FixedSetPrompt {
|
|||||||
text += ChatColor.BLUE + "" + ChatColor.BOLD + "1" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
text += ChatColor.BLUE + "" + ChatColor.BOLD + "1" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
||||||
+ Lang.get("stageEditorSetBlockNames") + " (" + Lang.get("noNamesSet") + ")\n";
|
+ Lang.get("stageEditorSetBlockNames") + " (" + Lang.get("noNamesSet") + ")\n";
|
||||||
text += ChatColor.GRAY + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.GRAY + " - "
|
text += ChatColor.GRAY + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.GRAY + " - "
|
||||||
+ Lang.get("stageEditorSetPlaceAmounts") + " (" + Lang.get("noneSet") + ")\n";
|
+ Lang.get("stageEditorSetBlockAmounts") + " (" + Lang.get("noneSet") + ")\n";
|
||||||
text += ChatColor.GRAY + "" + ChatColor.BOLD + "3" + ChatColor.RESET + ChatColor.GRAY + " - "
|
text += ChatColor.GRAY + "" + ChatColor.BOLD + "3" + ChatColor.RESET + ChatColor.GRAY + " - "
|
||||||
+ Lang.get("stageEditorSetBlockDurability") + " (" + Lang.get("noneSet") + ")\n";
|
+ Lang.get("stageEditorSetBlockDurability") + " (" + Lang.get("noneSet") + ")\n";
|
||||||
text += ChatColor.RED + "" + ChatColor.BOLD + "4" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
text += ChatColor.RED + "" + ChatColor.BOLD + "4" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
||||||
@ -640,10 +640,10 @@ public class BlocksPrompt extends FixedSetPrompt {
|
|||||||
}
|
}
|
||||||
if (context.getSessionData(pref + CK.S_PLACE_AMOUNTS) == null) {
|
if (context.getSessionData(pref + CK.S_PLACE_AMOUNTS) == null) {
|
||||||
text += ChatColor.BLUE + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
text += ChatColor.BLUE + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
||||||
+ Lang.get("stageEditorSetPlaceAmounts") + " (" + Lang.get("noneSet") + ")\n";
|
+ Lang.get("stageEditorSetBlockAmounts") + " (" + Lang.get("noneSet") + ")\n";
|
||||||
} else {
|
} else {
|
||||||
text += ChatColor.BLUE + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
text += ChatColor.BLUE + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
||||||
+ Lang.get("stageEditorSetPlaceAmounts") + "\n";
|
+ Lang.get("stageEditorSetBlockAmounts") + "\n";
|
||||||
for (Integer i : getBlockAmounts(context)) {
|
for (Integer i : getBlockAmounts(context)) {
|
||||||
text += ChatColor.GRAY + " - " + ChatColor.AQUA + i + "\n";
|
text += ChatColor.GRAY + " - " + ChatColor.AQUA + i + "\n";
|
||||||
}
|
}
|
||||||
@ -787,7 +787,7 @@ public class BlocksPrompt extends FixedSetPrompt {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getPromptText(ConversationContext context) {
|
public String getPromptText(ConversationContext context) {
|
||||||
return ChatColor.YELLOW + Lang.get("stageEditorPlaceBlocksPrompt");
|
return ChatColor.YELLOW + Lang.get("stageEditorEnterBlockAmounts");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -862,7 +862,7 @@ public class BlocksPrompt extends FixedSetPrompt {
|
|||||||
text += ChatColor.BLUE + "" + ChatColor.BOLD + "1" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
text += ChatColor.BLUE + "" + ChatColor.BOLD + "1" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
||||||
+ Lang.get("stageEditorSetBlockNames") + " (" + Lang.get("noNamesSet") + ")\n";
|
+ Lang.get("stageEditorSetBlockNames") + " (" + Lang.get("noNamesSet") + ")\n";
|
||||||
text += ChatColor.GRAY + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.GRAY + " - "
|
text += ChatColor.GRAY + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.GRAY + " - "
|
||||||
+ Lang.get("stageEditorSetUseAmounts") + " (" + Lang.get("noneSet") + ")\n";
|
+ Lang.get("stageEditorSetBlockAmounts") + " (" + Lang.get("noneSet") + ")\n";
|
||||||
text += ChatColor.GRAY + "" + ChatColor.BOLD + "3" + ChatColor.RESET + ChatColor.GRAY + " - "
|
text += ChatColor.GRAY + "" + ChatColor.BOLD + "3" + ChatColor.RESET + ChatColor.GRAY + " - "
|
||||||
+ Lang.get("stageEditorSetBlockDurability") + " (" + Lang.get("noneSet") + ")\n";
|
+ Lang.get("stageEditorSetBlockDurability") + " (" + Lang.get("noneSet") + ")\n";
|
||||||
text += ChatColor.RED + "" + ChatColor.BOLD + "4" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
text += ChatColor.RED + "" + ChatColor.BOLD + "4" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
||||||
@ -877,10 +877,10 @@ public class BlocksPrompt extends FixedSetPrompt {
|
|||||||
}
|
}
|
||||||
if (context.getSessionData(pref + CK.S_USE_AMOUNTS) == null) {
|
if (context.getSessionData(pref + CK.S_USE_AMOUNTS) == null) {
|
||||||
text += ChatColor.BLUE + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
text += ChatColor.BLUE + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
||||||
+ Lang.get("stageEditorSetUseAmounts") + " (" + Lang.get("noneSet") + ")\n";
|
+ Lang.get("stageEditorSetBlockAmounts") + " (" + Lang.get("noneSet") + ")\n";
|
||||||
} else {
|
} else {
|
||||||
text += ChatColor.BLUE + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
text += ChatColor.BLUE + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
||||||
+ Lang.get("stageEditorSetUseAmounts") + "\n";
|
+ Lang.get("stageEditorSetBlockAmounts") + "\n";
|
||||||
for (Integer i : getBlockAmounts(context)) {
|
for (Integer i : getBlockAmounts(context)) {
|
||||||
text += ChatColor.GRAY + " - " + ChatColor.AQUA + i + "\n";
|
text += ChatColor.GRAY + " - " + ChatColor.AQUA + i + "\n";
|
||||||
}
|
}
|
||||||
@ -1024,7 +1024,7 @@ public class BlocksPrompt extends FixedSetPrompt {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getPromptText(ConversationContext context) {
|
public String getPromptText(ConversationContext context) {
|
||||||
return ChatColor.YELLOW + Lang.get("stageEditorUseBlocksPrompt");
|
return ChatColor.YELLOW + Lang.get("stageEditorEnterBlockAmounts");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -1099,7 +1099,7 @@ public class BlocksPrompt extends FixedSetPrompt {
|
|||||||
text += ChatColor.BLUE + "" + ChatColor.BOLD + "1" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
text += ChatColor.BLUE + "" + ChatColor.BOLD + "1" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
||||||
+ Lang.get("stageEditorSetBlockNames") + " (" + Lang.get("noNamesSet") + ")\n";
|
+ Lang.get("stageEditorSetBlockNames") + " (" + Lang.get("noNamesSet") + ")\n";
|
||||||
text += ChatColor.GRAY + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.GRAY + " - "
|
text += ChatColor.GRAY + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.GRAY + " - "
|
||||||
+ Lang.get("stageEditorSetCutAmounts") + " (" + Lang.get("noneSet") + ")\n";
|
+ Lang.get("stageEditorSetBlockAmounts") + " (" + Lang.get("noneSet") + ")\n";
|
||||||
text += ChatColor.GRAY + "" + ChatColor.BOLD + "3" + ChatColor.RESET + ChatColor.GRAY + " - "
|
text += ChatColor.GRAY + "" + ChatColor.BOLD + "3" + ChatColor.RESET + ChatColor.GRAY + " - "
|
||||||
+ Lang.get("stageEditorSetBlockDurability") + " (" + Lang.get("noneSet") + ")\n";
|
+ Lang.get("stageEditorSetBlockDurability") + " (" + Lang.get("noneSet") + ")\n";
|
||||||
text += ChatColor.RED + "" + ChatColor.BOLD + "4" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
text += ChatColor.RED + "" + ChatColor.BOLD + "4" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
||||||
@ -1114,10 +1114,10 @@ public class BlocksPrompt extends FixedSetPrompt {
|
|||||||
}
|
}
|
||||||
if (context.getSessionData(pref + CK.S_CUT_AMOUNTS) == null) {
|
if (context.getSessionData(pref + CK.S_CUT_AMOUNTS) == null) {
|
||||||
text += ChatColor.BLUE + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
text += ChatColor.BLUE + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
||||||
+ Lang.get("stageEditorSetCutAmounts") + " (" + Lang.get("noneSet") + ")\n";
|
+ Lang.get("stageEditorSetBlockAmounts") + " (" + Lang.get("noneSet") + ")\n";
|
||||||
} else {
|
} else {
|
||||||
text += ChatColor.BLUE + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
text += ChatColor.BLUE + "" + ChatColor.BOLD + "2" + ChatColor.RESET + ChatColor.YELLOW + " - "
|
||||||
+ Lang.get("stageEditorSetCutAmounts") + "\n";
|
+ Lang.get("stageEditorSetBlockAmounts") + "\n";
|
||||||
for (Integer i : getBlockAmounts(context)) {
|
for (Integer i : getBlockAmounts(context)) {
|
||||||
text += ChatColor.GRAY + " - " + ChatColor.AQUA + i + "\n";
|
text += ChatColor.GRAY + " - " + ChatColor.AQUA + i + "\n";
|
||||||
}
|
}
|
||||||
@ -1261,7 +1261,7 @@ public class BlocksPrompt extends FixedSetPrompt {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getPromptText(ConversationContext context) {
|
public String getPromptText(ConversationContext context) {
|
||||||
return ChatColor.YELLOW + Lang.get("stageEditorCutBlocksPrompt");
|
return ChatColor.YELLOW + Lang.get("stageEditorEnterBlockAmounts");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -163,11 +163,7 @@ stageEditorCompleteMessage: "Complete message"
|
|||||||
stageEditorDelete: "Delete Stage"
|
stageEditorDelete: "Delete Stage"
|
||||||
stageEditorSetBlockNames: "Set block names"
|
stageEditorSetBlockNames: "Set block names"
|
||||||
stageEditorSetBlockAmounts: "Set block amounts"
|
stageEditorSetBlockAmounts: "Set block amounts"
|
||||||
stageEditorSetBlockDurability: "Set block durability"
|
stageEditorSetBlockDurability: "Set block durabilities"
|
||||||
stageEditorSetDamageAmounts: "Set damage amounts"
|
|
||||||
stageEditorSetPlaceAmounts: "Set place amounts"
|
|
||||||
stageEditorSetUseAmounts: "Set use amounts"
|
|
||||||
stageEditorSetCutAmounts: "Set cut amounts"
|
|
||||||
stageEditorSetKillAmounts: "Set kill amounts"
|
stageEditorSetKillAmounts: "Set kill amounts"
|
||||||
stageEditorSetEnchantAmounts: "Set enchant amounts"
|
stageEditorSetEnchantAmounts: "Set enchant amounts"
|
||||||
stageEditorSetMobAmounts: "Set mob amounts"
|
stageEditorSetMobAmounts: "Set mob amounts"
|
||||||
@ -196,12 +192,8 @@ stageEditorCustomAlreadyAdded: "That custom objective has already been added!"
|
|||||||
stageEditorCustomCleared: "Custom objectives cleared."
|
stageEditorCustomCleared: "Custom objectives cleared."
|
||||||
stageEditorCustomDataPrompt: "Enter value for <data>:"
|
stageEditorCustomDataPrompt: "Enter value for <data>:"
|
||||||
stageEditorEnterBlockNames: "Enter block names, <space>, <cancel>"
|
stageEditorEnterBlockNames: "Enter block names, <space>, <cancel>"
|
||||||
stageEditorBreakBlocksPrompt: "Enter break amounts (numbers), <space>, <cancel>"
|
stageEditorEnterBlockAmounts: "Enter block amounts, <space>, <cancel>"
|
||||||
stageEditorDamageBlocksPrompt: "Enter damage amounts (numbers), <space>, <cancel>"
|
stageEditorEnterBlockDurability: "Enter block durabilities (numbers), <space>, <cancel>"
|
||||||
stageEditorPlaceBlocksPrompt: "Enter place amounts (numbers), <space>, <cancel>"
|
|
||||||
stageEditorUseBlocksPrompt: "Enter use amounts (numbers), <space>, <cancel>"
|
|
||||||
stageEditorCutBlocksPrompt: "Enter cut amounts (numbers), <space>, <cancel>"
|
|
||||||
stageEditorEnterBlockDurability: "Enter block durability (numbers), <space>, <cancel>"
|
|
||||||
stageEditorCatchFishPrompt: "Enter number of fish to catch, <clear>, <cancel>"
|
stageEditorCatchFishPrompt: "Enter number of fish to catch, <clear>, <cancel>"
|
||||||
stageEditorKillPlayerPrompt: "Enter number of players to kill, <clear>, <cancel>"
|
stageEditorKillPlayerPrompt: "Enter number of players to kill, <clear>, <cancel>"
|
||||||
stageEditorEnchantTypePrompt: "Enter enchantment names, <semicolon>, <cancel>"
|
stageEditorEnchantTypePrompt: "Enter enchantment names, <semicolon>, <cancel>"
|
||||||
|
Loading…
Reference in New Issue
Block a user