Replaced player name with player username in the Digsite examination certificates

Fixed some typos in the Grand Tree quest dialogue
Replaced unicode with ascii in the Grand Tree quest & Plague City quest
This commit is contained in:
Player Name 2024-03-31 14:13:23 +00:00 committed by Ryan
parent 4ae1448800
commit cde2dcc93f
6 changed files with 11 additions and 11 deletions

View file

@ -275,7 +275,7 @@ enum class EnchantedJewellery(
val slayerManager = getInstance(player) val slayerManager = getInstance(player)
if (!slayerManager.hasTask()) { if (!slayerManager.hasTask()) {
sendNPCDialogue(player, slayerManager.master!!.npc, "You need something new to hunt. Come and " + sendNPCDialogue(player, slayerManager.master!!.npc, "You need something new to hunt. Come and " +
"see me When you can and I'll give you a new task.", core.game.dialogue.FacialExpression.HALF_GUILTY) "see me when you can and I'll give you a new task.", core.game.dialogue.FacialExpression.HALF_GUILTY)
return return
} }
sendNPCDialogue(player, slayerManager.master!!.npc, "You're currently " + sendNPCDialogue(player, slayerManager.master!!.npc, "You're currently " +

View file

@ -45,7 +45,7 @@ public final class MonkOfEntranaDialogue extends DialoguePlugin {
public boolean open(Object... args) { public boolean open(Object... args) {
npc = (NPC) args[0]; npc = (NPC) args[0];
if (npc.getId() == 2730 || npc.getId() == 658 || npc.getId() == 2731) { if (npc.getId() == 2730 || npc.getId() == 658 || npc.getId() == 2731) {
interpreter.sendDialogues(npc, null, "Do you wish to leave holy entrana?"); interpreter.sendDialogues(npc, null, "Do you wish to leave holy Entrana?");
stage = 500; stage = 500;
return true; return true;
} }

View file

@ -29,7 +29,7 @@ class AlrenaDialogue(player: Player? = null) : DialoguePlugin(player) {
0 -> when (stage) { 0 -> when (stage) {
1 -> npcl(FacialExpression.NEUTRAL, "Oh, hello there.").also { stage++ } 1 -> npcl(FacialExpression.NEUTRAL, "Oh, hello there.").also { stage++ }
2 -> playerl(FacialExpression.FRIENDLY, "Are you ok?").also { stage++ } 2 -> playerl(FacialExpression.FRIENDLY, "Are you ok?").also { stage++ }
3 -> npcl(FacialExpression.NEUTRAL, "Not too bad... I've just got some troubles on my mind").also { stage = END_DIALOGUE } 3 -> npcl(FacialExpression.NEUTRAL, "Not too bad... I've just got some troubles on my mind...").also { stage = END_DIALOGUE }
} }
1 -> when (stage) { 1 -> when (stage) {

View file

@ -96,7 +96,7 @@ class CharlieDialogue : DialogueFile() {
0 -> playerl("How are you doing, Charlie?").also { stage++ } 0 -> playerl("How are you doing, Charlie?").also { stage++ }
1 -> npcl("I've been better.").also { stage++ } 1 -> npcl("I've been better.").also { stage++ }
2 -> playerl("Glough has some plan to rule ${ServerConstants.SERVER_NAME}!").also { stage++ } 2 -> playerl("Glough has some plan to rule ${ServerConstants.SERVER_NAME}!").also { stage++ }
3 -> npcl("I wouldn't put it past him, the Gnome's crazy!").also { stage++ } 3 -> npcl("I wouldn't put it past him, the gnome's crazy!").also { stage++ }
4 -> playerl("I need some proof to convince the King.").also { stage++ } 4 -> playerl("I need some proof to convince the King.").also { stage++ }
5 -> npcl("Hmm...you could be in luck! Before Glough had me locked up I heard him mention that he'd left his chest keys at his girlfriend's.").also { stage++ } 5 -> npcl("Hmm...you could be in luck! Before Glough had me locked up I heard him mention that he'd left his chest keys at his girlfriend's.").also { stage++ }
6 -> playerl("Where does she live?").also { stage++ } 6 -> playerl("Where does she live?").also { stage++ }

View file

@ -231,7 +231,7 @@ class KingNarnodeDialogue : DialogueFile() {
when(stage) { when(stage) {
0 -> npcl("Hello Traveller, did you speak to Glough?").also { stage++ } 0 -> npcl("Hello Traveller, did you speak to Glough?").also { stage++ }
1 -> playerl("Not yet.").also { stage++ } 1 -> playerl("Not yet.").also { stage++ }
2 -> npcl("OK. He lives just in front of the Grand Tree. Let me know when youve talked to him.").also{ stage = END_DIALOGUE } 2 -> npcl("OK. He lives just in front of the Grand Tree. Let me know when you've talked to him.").also{ stage = END_DIALOGUE }
} }
} }
45 -> { 45 -> {
@ -255,7 +255,7 @@ class KingNarnodeDialogue : DialogueFile() {
} }
55 -> { 55 -> {
when(stage){ when(stage){
0 -> playerl("King Nardone, I need to talk!").also { stage++ } 0 -> playerl("King Narnode, I need to talk!").also { stage++ }
1 -> npcl("Traveller, what are you doing here? The stronghold has been put on full alert! It's not safe for you here!").also { stage++ } 1 -> npcl("Traveller, what are you doing here? The stronghold has been put on full alert! It's not safe for you here!").also { stage++ }
2 -> playerl("Your Highness, I believe Glough is killing the trees in order to make a mass fleet of warships!").also { stage++ } 2 -> playerl("Your Highness, I believe Glough is killing the trees in order to make a mass fleet of warships!").also { stage++ }
3 -> npcl("That's an absurd accusation!").also { stage++ } 3 -> npcl("That's an absurd accusation!").also { stage++ }

View file

@ -173,7 +173,7 @@ class ExaminerDialogueFile : DialogueBuilderFile() {
setQuestStage(player, TheDigSite.questName, 6) setQuestStage(player, TheDigSite.questName, 6)
} }
openInterface(player, 444) openInterface(player, 444)
setInterfaceText(player, player.name, 444, 5) setInterfaceText(player, player.username, 444, 5)
} }
} }
@ -305,7 +305,7 @@ class ExaminerDialogueFile : DialogueBuilderFile() {
setQuestStage(player, TheDigSite.questName, 5) setQuestStage(player, TheDigSite.questName, 5)
} }
openInterface(player, 441) openInterface(player, 441)
setInterfaceText(player, player.name, 441, 5) setInterfaceText(player, player.username, 441, 5)
} }
} }
@ -485,7 +485,7 @@ class ExaminerDialogueFile : DialogueBuilderFile() {
setQuestStage(player, TheDigSite.questName, 4) setQuestStage(player, TheDigSite.questName, 4)
} }
openInterface(player, 440) openInterface(player, 440)
setInterfaceText(player, player.name, 440, 5) setInterfaceText(player, player.username, 440, 5)
} }
} }