Bot dialogue now always starts with uppercase character

Fixed hard-coded server name references
Replaced incorrect use of "Keldagrim" with "Gielinor"
This commit is contained in:
Player Name
2023-12-29 00:50:26 +00:00
committed by Ryan
parent 9d19ce2355
commit ece16af7ab
40 changed files with 161 additions and 150 deletions
@@ -121,7 +121,7 @@ public final class BountyHunterActivity extends ActivityPlugin {
};
/**
* The game pulse (doesn't update every tick on 2009scape as well).
* The game pulse (doesn't update every tick on 2009Scape as well).
*/
private final Pulse gamePulse = new Pulse(10) {
@Override
@@ -73,7 +73,7 @@ public class AlchemyGuardianDialogue extends DialoguePlugin {
stage++;
break;
case 12:
npc("around Keldagrim. Keep an eye on the cost of each", "items as these will change from time-to-time, as will the", "location of the items. Occasionally one of the items will", "be indicated as costing no runestones to convert to");
npc("around Gielinor. Keep an eye on the cost of each", "item as these will change from time-to-time, as will the", "location of the items. Occasionally one of the items will", "be indicated as costing no runestones to convert to");
stage++;
break;
case 13:
@@ -67,7 +67,7 @@ public class GraveyardGuardianDialogue extends DialoguePlugin {
}
break;
case 10:
npc("Have you noticed all the bones around the room? These", "are teleported here from all over Keldagrim to help", "clean up the landscape of countless bones left behind", "from combat. What better use for these bones than to");
npc("Have you noticed all the bones around the room? These", "are teleported here from all over Gielinor to help", "clean up the landscape of countless bones left behind", "from combat. What better use for these bones than to");
stage++;
break;
case 11:
@@ -74,11 +74,11 @@ public final class OutpostSquireDialogue extends DialoguePlugin {
stage = 6;
break;
case 6:
npc("The Void Knights, they are great warriors of balance", "who do Guthix's work here in 2009scape.");
npc("The Void Knights, they are great warriors of balance", "who do Guthix's work here in Gielinor.");
stage = 11;
break;
case 11:
options("Wow, can I join?", "What kind of work?", "What's '2009scape'?", "Uh huh, sure.");
options("Wow, can I join?", "What kind of work?", "What's 'Gielinor'?", "Uh huh, sure.");
stage = 12;
break;
case 12:
@@ -92,7 +92,7 @@ public final class OutpostSquireDialogue extends DialoguePlugin {
stage = 17;
break;
case 3:
player("What's '2009scape'?");
player("What's 'Gielinor'?");
stage = 15;
break;
case 4:
@@ -112,11 +112,11 @@ public final class OutpostSquireDialogue extends DialoguePlugin {
end();
break;
case 17:
npc("Ah well you see we try to keep 2009scape as Guthix", "intended, it's very challenging. Actually we've been", "having some problems recently, maybe you could help", "us?");
npc("Ah well you see we try to keep Gielinor as Guthix", "intended, it's very challenging. Actually we've been", "having some problems recently, maybe you could help", "us?");
stage = 18;
break;
case 18:
options("Yeah ok, what's the problem?", "What's '2009scape'?", "I'd rather not, sorry.");
options("Yeah OK, what's the problem?", "What's 'Gielinor'?", "I'd rather not, sorry.");
stage = 19;
break;
case 19:
@@ -126,7 +126,7 @@ public final class OutpostSquireDialogue extends DialoguePlugin {
stage = 191;
break;
case 2:
player("What's '2009scape'?");
player("What's 'Gielinor'?");
stage = 15;
break;
case 3:
@@ -127,7 +127,7 @@ public class SquireDialogue extends DialoguePlugin {
stage = 12;
break;
case 12:
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "The Void Knights, they are great warriors of balance", "who do Guthix's work here in 2009scape.");
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "The Void Knights, they are great warriors of balance", "who do Guthix's work here in Gielinor.");
stage = 13;
break;
case 13:
@@ -75,7 +75,7 @@ public final class SquireTypeDialogue extends DialoguePlugin {
stage = 12;
break;
case 12:
npc("The Void Knights, they are great warriors of balance", "who do Guthix's work here in 2009scape.");
npc("The Void Knights, they are great warriors of balance", "who do Guthix's work here in Gielinor.");
stage = 13;
break;
case 13:
@@ -83,12 +83,12 @@ public final class VoidKnightDialogue extends DialoguePlugin {
case 10:
npc("I'm a Void Knight, one of the order of Guthix. We are",
"warriors of balance who do Guthix's work here in",
"2009scape.");
"Gielinor.");
stage = 11;
break;
case 11:
options("Wow, can I join?", "What kind of work?",
"What's '2009scape'?", "Uh huh, sure.");
"What's 'Gielinor'?", "Uh huh, sure.");
stage = 12;
break;
case 12:
@@ -102,7 +102,7 @@ public final class VoidKnightDialogue extends DialoguePlugin {
stage = 17;
break;
case 3:
player("What's '2009scape'?");
player("What's 'Gielinor'?");
stage = 15;
break;
case 4:
@@ -123,14 +123,14 @@ public final class VoidKnightDialogue extends DialoguePlugin {
end();
break;
case 17:
npc("Ah well you see we try to keep 2009scape as Guthix",
npc("Ah well, you see, we try to keep Gielinor as Guthix",
"intended, it's very challenging. Actually we've been",
"having some problems recently, maybe you could help",
"us?");
stage = 18;
break;
case 18:
options("Yeah ok, what's the problem?", "What's '2009scape'?",
options("Yeah OK, what's the problem?", "What's 'Gielinor'?",
"I'd rather not, sorry.");
stage = 19;
break;
@@ -141,7 +141,7 @@ public final class VoidKnightDialogue extends DialoguePlugin {
stage = 191;
break;
case 2:
player("What's '2009scape'?");
player("What's 'Gielinor'?");
stage = 15;
break;
case 3: