mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-04 16:49:04 +00:00
Small Fixup For World 2
Renamed BOT_WORLD to VARIABLE_XP_RATE Fixed Dialogue/Message grammar Added a check for VARIABLE_XP_RATES to ::xprate command
This commit is contained in:
@@ -6137,7 +6137,7 @@ public class DialogueHandler {
|
||||
break;
|
||||
|
||||
case 3116:
|
||||
if(!GameConstants.BOT_WORLD) {
|
||||
if(GameConstants.VARIABLE_XP_RATE) {
|
||||
player.getDialogueHandler().sendDialogues(10001, -1);
|
||||
} else {
|
||||
player.getPacketSender().showInterface(3559);
|
||||
@@ -7599,7 +7599,7 @@ public class DialogueHandler {
|
||||
player.dialogueAction = 10000;
|
||||
break;
|
||||
case 10001:
|
||||
sendNpcChat(2244, ChatEmotes.HAPPY_JOYFUL, "Please Select The XP Rate You'd Like.", "This Can Be Increased But Not Decreased Later On.");
|
||||
sendNpcChat(2244, ChatEmotes.HAPPY_JOYFUL, "Please select the XP rate you'd like.", "this can be increased but not decreased later on.");
|
||||
player.nextChat = 10002;
|
||||
break;
|
||||
case 10002:
|
||||
@@ -7607,7 +7607,7 @@ public class DialogueHandler {
|
||||
player.dialogueAction = 10002;
|
||||
break;
|
||||
case 10003:
|
||||
sendNpcChat(2244, ChatEmotes.HAPPY_JOYFUL, "Are You Sure x" + player.getXPRate() + " Is The XP Rate You'd Like?");
|
||||
sendNpcChat(2244, ChatEmotes.HAPPY_JOYFUL, "Are you sure x" + player.getXPRate() + "is the XP rate you'd like?");
|
||||
player.nextChat = 10004;
|
||||
break;
|
||||
case 10004:
|
||||
|
||||
@@ -106,7 +106,7 @@ public class DialogueOptions {
|
||||
return;
|
||||
case 10005:
|
||||
player.setXPRate(2);
|
||||
player.getPacketSender().sendMessage("Your XP Rate Is Now Set To x" + player.getXPRate() + " You Can Increase Your Rate In The Future By Using");
|
||||
player.getPacketSender().sendMessage("Your XP rate is now set to x" + player.getXPRate() + " you can increase your rate in the future by using");
|
||||
player.getPacketSender().sendMessage("::xprate");
|
||||
return;
|
||||
}
|
||||
@@ -199,7 +199,7 @@ public class DialogueOptions {
|
||||
return;
|
||||
case 10005:
|
||||
player.setXPRate(5);
|
||||
player.getPacketSender().sendMessage("Your XP Rate Is Now Set To x" + player.getXPRate() + " You Can Increase Your Rate In The Future By Using");
|
||||
player.getPacketSender().sendMessage("Your XP rate is now set to x" + player.getXPRate() + " you can increase your rate in the future by using");
|
||||
player.getPacketSender().sendMessage("::xprate");
|
||||
return;
|
||||
}
|
||||
@@ -295,7 +295,7 @@ public class DialogueOptions {
|
||||
return;
|
||||
case 10005:
|
||||
player.setXPRate(10);
|
||||
player.getPacketSender().sendMessage("Your XP Rate Is Now Set To x" + player.getXPRate() + " You Can Increase Your Rate In The Future By Using");
|
||||
player.getPacketSender().sendMessage("Your XP rate is now set to x" + player.getXPRate() + " you can increase your rate in the future by using");
|
||||
player.getPacketSender().sendMessage("::xprate");
|
||||
return;
|
||||
}
|
||||
@@ -638,25 +638,25 @@ public class DialogueOptions {
|
||||
return;
|
||||
} else if (player.dialogueAction == 10004) {
|
||||
if(!player.closeTutorialInterface) {
|
||||
player.getPacketSender().sendMessage("Your XP Rate Is Now Set To x" + player.getXPRate() + " You Can Increase Your Rate In The Future By Using");
|
||||
player.getPacketSender().sendMessage("Your XP rate is now set to x" + player.getXPRate() + " you can increase your rate in the future by using");
|
||||
player.getPacketSender().sendMessage("::xprate");
|
||||
player.getPacketSender().showInterface(3559);
|
||||
player.canChangeAppearance = true;
|
||||
player.closeTutorialInterface = true;
|
||||
} else if (player.getXPRate() != 10) {
|
||||
player.getPacketSender().sendMessage("Your XP Rate Is Now Set To x" + player.getXPRate() + " You Can Increase Your Rate In The Future By Using");
|
||||
player.getPacketSender().sendMessage("Your XP rate is now set to x" + player.getXPRate() + " you can increase your rate in the future by using");
|
||||
player.getPacketSender().sendMessage("::xprate");
|
||||
} else {
|
||||
player.getPacketSender().sendMessage("Your XP Rate Is Now Set To x" + player.getXPRate());
|
||||
player.getPacketSender().sendMessage("Your XP rate is now set to x" + player.getXPRate() + " you can increase your rate in the future by using");
|
||||
}
|
||||
return;
|
||||
} else if(player.dialogueAction == 10006) {
|
||||
player.setXPRate(5);
|
||||
player.getPacketSender().sendMessage("Your XP Rate Is Now Set To x" + player.getXPRate() + " You Can Increase Your Rate In The Future By Using");
|
||||
player.getPacketSender().sendMessage("Your XP rate is now set to x" + player.getXPRate() + " you can increase your rate in the future by using");
|
||||
player.getPacketSender().sendMessage("::xprate");
|
||||
} else if(player.dialogueAction == 10007) {
|
||||
player.setXPRate(10);
|
||||
player.getPacketSender().sendMessage("Your XP Rate Is Now Set To x" + player.getXPRate() + " You Can Increase Your Rate In The Future By Using");
|
||||
player.getPacketSender().sendMessage("Your XP rate is now set to x" + player.getXPRate() + " you can increase your rate in the future by using");
|
||||
player.getPacketSender().sendMessage("::xprate");
|
||||
}
|
||||
player.dialogueAction = 0;
|
||||
@@ -889,7 +889,7 @@ public class DialogueOptions {
|
||||
return;
|
||||
} else if(player.dialogueAction == 10006) {
|
||||
player.setXPRate(10);
|
||||
player.getPacketSender().sendMessage("Your XP Rate Is Now Set To x" + player.getXPRate() + " You Can Increase Your Rate In The Future By Using");
|
||||
player.getPacketSender().sendMessage("Your XP rate is now set to x" + player.getXPRate() + " you can increase your rate in the future by using");
|
||||
player.getPacketSender().sendMessage("::xprate");
|
||||
}
|
||||
player.dialogueAction = 0;
|
||||
|
||||
Reference in New Issue
Block a user