Improved authenticity of Father Urhney dialog
This commit is contained in:
+25
-24
@@ -1,6 +1,7 @@
|
|||||||
package content.region.misthalin.lumbridge.quest.therestlessghost;
|
package content.region.misthalin.lumbridge.quest.therestlessghost;
|
||||||
|
|
||||||
import content.data.Quests;
|
import content.data.Quests;
|
||||||
|
import core.game.dialogue.FacialExpression;
|
||||||
import core.game.node.entity.npc.NPC;
|
import core.game.node.entity.npc.NPC;
|
||||||
import core.game.node.entity.player.Player;
|
import core.game.node.entity.player.Player;
|
||||||
import core.game.node.entity.player.link.diary.DiaryType;
|
import core.game.node.entity.player.link.diary.DiaryType;
|
||||||
@@ -41,7 +42,7 @@ public final class FatherUhrneyDialogue extends DialoguePlugin {
|
|||||||
@Override
|
@Override
|
||||||
public boolean open(Object... args) {
|
public boolean open(Object... args) {
|
||||||
npc = (NPC) args[0];
|
npc = (NPC) args[0];
|
||||||
npc("Go away! I'm meditating!");
|
npc(FacialExpression.ANGRY, "Go away! I'm meditating!");
|
||||||
stage = 0;
|
stage = 0;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@@ -51,13 +52,13 @@ public final class FatherUhrneyDialogue extends DialoguePlugin {
|
|||||||
switch (stage) {
|
switch (stage) {
|
||||||
case 0:
|
case 0:
|
||||||
if (player.getQuestRepository().getQuest(Quests.THE_RESTLESS_GHOST).getStage(player) == 0) {
|
if (player.getQuestRepository().getQuest(Quests.THE_RESTLESS_GHOST).getStage(player) == 0) {
|
||||||
options("Well, that's friendly.", "I've come to respossess your house.");
|
options("Well, that's friendly.", "I've come to repossess your house.");
|
||||||
stage = 1;
|
stage = 1;
|
||||||
} else if (player.getQuestRepository().getQuest(Quests.THE_RESTLESS_GHOST).getStage(player) == 10) {
|
} else if (player.getQuestRepository().getQuest(Quests.THE_RESTLESS_GHOST).getStage(player) == 10) {
|
||||||
options("Well, that's friendly.", "I've come to respossess your house.", "Father Aereck sent me to talk to you.");
|
options("Well, that's friendly.", "Father Aereck sent me to talk to you.", "I've come to repossess your house.");
|
||||||
stage = 500;
|
stage = 500;
|
||||||
} else if (player.getGameAttributes().getAttributes().containsKey("restless-ghost:urhney") || player.getQuestRepository().isComplete(Quests.THE_RESTLESS_GHOST)) {
|
} else if (player.getGameAttributes().getAttributes().containsKey("restless-ghost:urhney") || player.getQuestRepository().isComplete(Quests.THE_RESTLESS_GHOST)) {
|
||||||
options("Well, that's friendly.", "I've come to respossess your house.", "I've lost the Amulet of Ghostspeak.");
|
options("Well, that's friendly.", "I've lost the Amulet of Ghostspeak.", "I've come to repossess your house.");
|
||||||
stage = 514;
|
stage = 514;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@@ -68,17 +69,17 @@ public final class FatherUhrneyDialogue extends DialoguePlugin {
|
|||||||
stage = 10;
|
stage = 10;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
player("I've come to repossess your house.");
|
|
||||||
stage = 20;
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
player("Father Aereck sent me to talk to you.");
|
player("Father Aereck sent me to talk to you.");
|
||||||
stage = 501;
|
stage = 501;
|
||||||
break;
|
break;
|
||||||
|
case 3:
|
||||||
|
player("I've come to repossess your house.");
|
||||||
|
stage = 20;
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 501:
|
case 501:
|
||||||
npc("I suppose I'd better talk to you then. What problems", "has he got himself into this time?");
|
npc(FacialExpression.ANGRY, "I suppose I'd better talk to you then. What problems", "has he got himself into this time?");
|
||||||
stage = 502;
|
stage = 502;
|
||||||
break;
|
break;
|
||||||
case 502:
|
case 502:
|
||||||
@@ -86,23 +87,23 @@ public final class FatherUhrneyDialogue extends DialoguePlugin {
|
|||||||
stage = 503;
|
stage = 503;
|
||||||
break;
|
break;
|
||||||
case 503:
|
case 503:
|
||||||
npc("Oh, the silly fool.");
|
npc(FacialExpression.ANGRY, "Oh, the silly fool.");
|
||||||
stage = 504;
|
stage = 504;
|
||||||
break;
|
break;
|
||||||
case 504:
|
case 504:
|
||||||
npc("I leave town for just five months, and ALREADY he", "can't manage.");
|
npc(FacialExpression.ANGRY, "I leave town for just five months, and ALREADY he", "can't manage.");
|
||||||
stage = 505;
|
stage = 505;
|
||||||
break;
|
break;
|
||||||
case 505:
|
case 505:
|
||||||
npc("(sigh)");
|
npc(FacialExpression.SAD, "(sigh)");
|
||||||
stage = 506;
|
stage = 506;
|
||||||
break;
|
break;
|
||||||
case 506:
|
case 506:
|
||||||
npc("Well, I can't go back and exorcise it. I vowed not to", "leave this place. Until I had done a full two years of", "prayer and meditation.");
|
npc(FacialExpression.ANGRY, "Well, I can't go back and exorcise it. I vowed not to", "leave this place. Until I had done a full two years of", "prayer and meditation.");
|
||||||
stage = 507;
|
stage = 507;
|
||||||
break;
|
break;
|
||||||
case 507:
|
case 507:
|
||||||
npc("Tell you what I can do though; take this amulet.");
|
npc(FacialExpression.NEUTRAL, "Tell you what I can do though; take this amulet.");
|
||||||
stage = 508;
|
stage = 508;
|
||||||
break;
|
break;
|
||||||
case 508:
|
case 508:
|
||||||
@@ -118,15 +119,15 @@ public final class FatherUhrneyDialogue extends DialoguePlugin {
|
|||||||
stage = 509;
|
stage = 509;
|
||||||
break;
|
break;
|
||||||
case 509:
|
case 509:
|
||||||
npc("It is an Amulet of Ghostspeak.");
|
npc(FacialExpression.NEUTRAL, "It is an Amulet of Ghostspeak.");
|
||||||
stage = 510;
|
stage = 510;
|
||||||
break;
|
break;
|
||||||
case 510:
|
case 510:
|
||||||
npc("So called, because when you wear it you can speak to", "ghosts. A lot of ghosts are doomed to be ghosts because", "they have left some important task uncompleted.");
|
npc(FacialExpression.NEUTRAL, "So called, because when you wear it you can speak to", "ghosts. A lot of ghosts are doomed to be ghosts because", "they have left some important task uncompleted.");
|
||||||
stage = 511;
|
stage = 511;
|
||||||
break;
|
break;
|
||||||
case 511:
|
case 511:
|
||||||
npc("Maybe if you know what this task is, you can get rid of", "the ghost. I'm not making any gurantees mind you,", "but it is the best I can do right now.");
|
npc(FacialExpression.NEUTRAL, "Maybe if you know what this task is, you can get rid of", "the ghost. I'm not making any guarantees mind you,", "but it is the best I can do right now.");
|
||||||
stage = 512;
|
stage = 512;
|
||||||
break;
|
break;
|
||||||
case 512:
|
case 512:
|
||||||
@@ -143,12 +144,12 @@ public final class FatherUhrneyDialogue extends DialoguePlugin {
|
|||||||
stage = 10;
|
stage = 10;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
player("I've come to repossess your house.");
|
player(FacialExpression.NEUTRAL, "I've lost the Amulet of Ghostspeak.");
|
||||||
stage = 20;
|
stage = 515;
|
||||||
break;
|
break;
|
||||||
case 3:
|
case 3:
|
||||||
player("I've lost the Amulet of Ghostpeak.");
|
player("I've come to repossess your house.");
|
||||||
stage = 515;
|
stage = 20;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
@@ -171,14 +172,14 @@ public final class FatherUhrneyDialogue extends DialoguePlugin {
|
|||||||
stage = 518;
|
stage = 518;
|
||||||
break;
|
break;
|
||||||
case 517:
|
case 517:
|
||||||
npc("What are you talking about? I can see you've got it", "in your bank!");
|
npc(FacialExpression.ANGRY, "You come here wasting my time... Has it even", "occurred to you to look in your bank? Now GO", "AWAY!");
|
||||||
stage = 518;
|
stage = 518;
|
||||||
break;
|
break;
|
||||||
case 518:
|
case 518:
|
||||||
end();
|
end();
|
||||||
break;
|
break;
|
||||||
case 519:
|
case 519:
|
||||||
npc("How careless can you get? Those things aren't easy to", "come by you know! It's a good job I've got a spare.");
|
npc(FacialExpression.ANGRY, "How careless can you get? Those things aren't easy to", "come by you know! It's a good job I've got a spare.");
|
||||||
stage = 520;
|
stage = 520;
|
||||||
break;
|
break;
|
||||||
case 520:
|
case 520:
|
||||||
@@ -188,7 +189,7 @@ public final class FatherUhrneyDialogue extends DialoguePlugin {
|
|||||||
stage = 521;
|
stage = 521;
|
||||||
break;
|
break;
|
||||||
case 521:
|
case 521:
|
||||||
npc("Be more careful this time.");
|
npc(FacialExpression.ANGRY, "Be more careful this time.");
|
||||||
stage = 522;
|
stage = 522;
|
||||||
break;
|
break;
|
||||||
case 522:
|
case 522:
|
||||||
|
|||||||
Reference in New Issue
Block a user