Leela in Prince Ali Rescue no longer provides duplicate keys
Misc. dialogue fixes for Prince Ali Rescue
This commit is contained in:
+2
-2
@@ -87,8 +87,8 @@ public class PrinceAliRescue extends Quest {
|
||||
line(player, "<str>Palace. he told me I should speak to Osman the spymaster.", 5+ 7);
|
||||
line(player, "<Str>I should go and speak to Osman for details on the quest.", 6+ 7);
|
||||
line(player, RED + "Prince Ali " + BLUE + "has been " + RED + "kidnapped " + BLUE + "but luckily the spy " + RED + "Leela " + BLUE + "has", 7+ 7);
|
||||
line(player, BLUE + "found he is being held near " + RED + "draynor village. " + BLUE + "I will need to", 8+ 7);
|
||||
line(player, RED + "disguise " + BLUE + "the " + RED + "Price " + BLUE + "and " + RED + "tie " + BLUE + "up his " + RED + "captop " + BLUE + "to " + RED + "free " + BLUE + "him from", 9+ 7);
|
||||
line(player, BLUE + "found he is being held near " + RED + "Draynor village. " + BLUE + "I will need to", 8+ 7);
|
||||
line(player, RED + "disguise " + BLUE + "the " + RED + "Prince " + BLUE + "and " + RED + "tie " + BLUE + "up his " + RED + "captor " + BLUE + "to " + RED + "free " + BLUE + "him from", 9+ 7);
|
||||
line(player, BLUE + "their " + RED + "clutches.", 10+ 7);
|
||||
line(player, BLUE + "To do this I should:-", 11+ 7);
|
||||
line(player, BLUE + "Talk to " + RED + "Leela " + BLUE + "near " + RED + "Draynor Village " + BLUE + "for advice.", 12+ 7);
|
||||
|
||||
@@ -138,13 +138,13 @@ public final class LeelaDialogue extends DialoguePlugin {
|
||||
end();
|
||||
return true;
|
||||
}
|
||||
if (player.getInventory().remove(remove)) {
|
||||
if (!player.getInventory().containsItem(BRONZE_KEY) && player.getInventory().remove(remove)) {
|
||||
if (!player.getInventory().add(BRONZE_KEY)) {
|
||||
GroundItemManager.create(BRONZE_KEY, player);
|
||||
}
|
||||
end();
|
||||
player.getPacketDispatch().sendMessage("Leela gives you another key.");
|
||||
}
|
||||
end();
|
||||
stage = 99;
|
||||
break;
|
||||
case 99:
|
||||
@@ -182,7 +182,7 @@ public final class LeelaDialogue extends DialoguePlugin {
|
||||
end();
|
||||
break;
|
||||
case 120:
|
||||
interpreter.sendDialogues(npc, null, "I don't thik you should. If you do the rest of the", "gang and Keli would attack you. The door guard", "should be removed first, to make it easy.");
|
||||
interpreter.sendDialogues(npc, null, "I don't think you should. If you do the rest of the", "gang and Keli would attack you. The door guard", "should be removed first, to make it easy.");
|
||||
stage = 121;
|
||||
break;
|
||||
case 121:
|
||||
@@ -215,7 +215,7 @@ public final class LeelaDialogue extends DialoguePlugin {
|
||||
GroundItemManager.create(BRONZE_KEY, player);
|
||||
}
|
||||
quest.setStage(player, 40);
|
||||
interpreter.sendDialogues(npc, null, "Good, you have all the basic equipment. Next to deal", "with the guard on the door. he is talkative, try to find", "a weakness in him.");
|
||||
interpreter.sendDialogues(npc, null, "Good, you have all the basic equipment. Next to deal", "with the guard on the door. He is talkative, try to find", "a weakness in him.");
|
||||
stage = 2;
|
||||
break;
|
||||
case 2:
|
||||
|
||||
Reference in New Issue
Block a user