Merge remote-tracking branch 'origin/master'

This commit is contained in:
ceikry
2021-08-22 16:53:09 -05:00
9 changed files with 480 additions and 1190 deletions
+263 -141
View File
@@ -27400,154 +27400,276 @@
] ]
}, },
{ {
"default": [], "default": [
"charm": [], {
"minAmount": "1",
"weight": "1.0",
"id": "526",
"maxAmount": "1"
}
],
"charm": [
{
"minAmount": "1",
"weight": "20.0",
"id": "12158",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "70.0",
"id": "12159",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "5.0",
"id": "12160",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "5.0",
"id": "12163",
"maxAmount": "1"
}
],
"ids": "1622,1623,1626,1627,1628,1629,1630", "ids": "1622,1623,1626,1627,1628,1629,1630",
"description": "", "description": "",
"main": [ "main": [
{
"minAmount": "5",
"weight": "50.0",
"id": "557",
"maxAmount": "42"
},
{ {
"minAmount": "1", "minAmount": "1",
"weight": "50.0", "weight": "1.0",
"id": "1436",
"maxAmount": "1"
},
{
"minAmount": "2",
"weight": "25.0",
"id": "562",
"maxAmount": "25"
},
{
"minAmount": "1",
"weight": "50.0",
"id": "438",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "50.0",
"id": "436",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "50.0",
"id": "2349",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "50.0",
"id": "440",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "50.0",
"id": "2351",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "50.0",
"id": "453",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "25.0",
"id": "447",
"maxAmount": "1"
},
{
"minAmount": "4",
"weight": "50.0",
"id": "5318",
"maxAmount": "4"
},
{
"minAmount": "4",
"weight": "50.0",
"id": "5319",
"maxAmount": "4"
},
{
"minAmount": "4",
"weight": "50.0",
"id": "5324",
"maxAmount": "4"
},
{
"minAmount": "3",
"weight": "25.0",
"id": "5322",
"maxAmount": "3"
},
{
"minAmount": "4",
"weight": "25.0",
"id": "5305",
"maxAmount": "4"
},
{
"minAmount": "3",
"weight": "25.0",
"id": "5320",
"maxAmount": "3"
},
{
"minAmount": "3",
"weight": "25.0",
"id": "5308",
"maxAmount": "3"
},
{
"minAmount": "2",
"weight": "5.0",
"id": "5323",
"maxAmount": "2"
},
{
"minAmount": "2",
"weight": "5.0",
"id": "5321",
"maxAmount": "2"
},
{
"minAmount": "1",
"weight": "50.0",
"id": "2347",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "50.0",
"id": "1913",
"maxAmount": "1"
},
{
"minAmount": "23",
"weight": "25.0",
"id": "995",
"maxAmount": "23"
},
{
"minAmount": "1",
"weight": "5.0",
"id": "4115",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "5.0",
"id": "31", "id": "31",
"maxAmount": "1" "maxAmount": "1"
},
{
"minAmount": "1",
"weight": "19.0",
"id": "1069",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "8.0",
"id": "1355",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "3.0",
"id": "1197",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "3.0",
"id": "1161",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "3.0",
"id": "1213",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "1.0",
"id": "13290",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "1.0",
"id": "4113",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "17.0",
"id": "563",
"maxAmount": "3"
},
{
"minAmount": "15",
"weight": "14.0",
"id": "561",
"maxAmount": "15"
},
{
"minAmount": "37",
"weight": "3.0",
"id": "561",
"maxAmount": "37"
},
{
"minAmount": "1",
"weight": "22.0",
"id": "199",
"maxAmount": "3"
},
{
"minAmount": "1",
"weight": "16.0",
"id": "201",
"maxAmount": "3"
},
{
"minAmount": "1",
"weight": "12.0",
"id": "203",
"maxAmount": "3"
},
{
"minAmount": "1",
"weight": "9.0",
"id": "205",
"maxAmount": "3"
},
{
"minAmount": "1",
"weight": "7.0",
"id": "207",
"maxAmount": "3"
},
{
"minAmount": "1",
"weight": "5.0",
"id": "209",
"maxAmount": "3"
},
{
"minAmount": "1",
"weight": "4.0",
"id": "211",
"maxAmount": "3"
},
{
"minAmount": "1",
"weight": "4.0",
"id": "213",
"maxAmount": "3"
},
{
"minAmount": "1",
"weight": "3.0",
"id": "215",
"maxAmount": "3"
},
{
"minAmount": "1",
"weight": "2.0",
"id": "2485",
"maxAmount": "3"
},
{
"minAmount": "1",
"weight": "2.0",
"id": "217",
"maxAmount": "3"
},
{
"minAmount": "44",
"weight": "77.0",
"id": "995",
"maxAmount": "44"
},
{
"minAmount": "132",
"weight": "32.0",
"id": "995",
"maxAmount": "132"
},
{
"minAmount": "440",
"weight": "3.0",
"id": "995",
"maxAmount": "440"
},
{
"minAmount": "1",
"weight": "10.0",
"id": "5296",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "7.0",
"id": "5297",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "7.0",
"id": "5281",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "5.0",
"id": "5106",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "5.0",
"id": "5298",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "3.0",
"id": "5299",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "2.0",
"id": "5300",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "2.0",
"id": "5301",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "1.0",
"id": "5302",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "1.0",
"id": "5303",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "1.0",
"id": "5304",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "19.0",
"id": "225",
"maxAmount": "1"
},
{
"minAmount": "1",
"weight": "5.0",
"id": "5280",
"maxAmount": "1"
},
{
"minAmount": "45",
"weight": "1.0",
"id": "561",
"maxAmount": "45"
} }
] ]
}, },
+1 -1
View File
@@ -31513,7 +31513,7 @@
"id": "2956" "id": "2956"
}, },
{ {
"examine": "A druid pouch.", "examine": "An empty druid pouch.",
"durability": null, "durability": null,
"name": "Druid pouch", "name": "Druid pouch",
"low_alchemy": "2", "low_alchemy": "2",
File diff suppressed because it is too large Load Diff
+7 -3
View File
@@ -2961,7 +2961,7 @@
}, },
{ {
"npc_id": "1228", "npc_id": "1228",
"loc_data": "{3420,3302,0,1,1}-{3424,3296,0,1,4}-{3509,3440,0,1,4}-{3518,3454,0,1,1}-{3504,3406,0,1,4}-{3497,3404,0,1,1}" "loc_data": "{3469,3346,0,1,0}-{3494,3447,0,1,0}-{3530,3440,0,1,0}-{3556,3453,0,1,0}"
}, },
{ {
"npc_id": "1229", "npc_id": "1229",
@@ -2973,7 +2973,7 @@
}, },
{ {
"npc_id": "1231", "npc_id": "1231",
"loc_data": "{3426,3271,0,1,4}-{3435,3268,0,1,7}-{3443,3266,0,1,7}-{3442,3319,0,1,1}-{3445,3318,0,1,6}-{3518,3397,0,1,4}-{3519,3408,0,1,2}-{3516,3410,0,1,2}-{3489,3391,0,1,2}-{3487,3409,0,1,3}" "loc_data": "{3504,3437,0,1,0}-{3509,3437,0,1,0}-{3498,3419,0,1,0}-{3493,3413,0,1,0}-{3524,3397,0,1,0}-{3438,3354,0,1,0}-{3429,3313,0,1,0}-{3429,3314,0,1,0}-{3437,3312,0,1,0}-{3437,3311,0,1,0}-{3451,3308,0,1,0}-{3447,3268,0,1,0}"
}, },
{ {
"npc_id": "1232", "npc_id": "1232",
@@ -2981,7 +2981,7 @@
}, },
{ {
"npc_id": "1233", "npc_id": "1233",
"loc_data": "{3432,3285,0,1,4}-{3434,3288,0,1,5}-{3428,3290,0,1,3}-{3440,3295,0,1,4}-{3436,3288,0,1,1}-{3446,3289,0,1,3}-{3514,3415,0,1,6}-{3509,3415,0,1,1}-{3516,3402,0,1,2}-{3492,3393,0,1,7}-{3493,3401,0,1,6}-{3487,3406,0,1,3}" "loc_data": "{3485,3443,0,1,0}-{3516,3441,0,1,0}-{3537,3428,0,1,0}"
}, },
{ {
"npc_id": "1234", "npc_id": "1234",
@@ -4359,6 +4359,10 @@
"npc_id": "2310", "npc_id": "2310",
"loc_data": "{3025,3312,0,1,4}-{3043,3308,0,1,6}-{3023,3297,0,1,5}-{2928,3282,0,1,1}-{2927,3269,0,1,1}" "loc_data": "{3025,3312,0,1,4}-{3043,3308,0,1,6}-{3023,3297,0,1,5}-{2928,3282,0,1,1}-{2927,3269,0,1,1}"
}, },
{
"npc_id": "2311",
"loc_data": "{3035,3296,0,0,0}"
},
{ {
"npc_id": "2312", "npc_id": "2312",
"loc_data": "{3014,3292,0,0,0}" "loc_data": "{3014,3292,0,0,0}"
+31 -3
View File
@@ -5584,7 +5584,7 @@
"ids": "3514,3515" "ids": "3514,3515"
}, },
{ {
"examine": "A dark dank entrance to below..", "examine": "A dark dank entrance to below.",
"ids": "3516" "ids": "3516"
}, },
{ {
@@ -17025,7 +17025,7 @@
}, },
{ {
"examine": "Better not eat them!", "examine": "Better not eat them!",
"ids": "12094,12095,12096,12097,12098,12099" "ids": "12094,12095,12096,12097,12098,12099,14121"
}, },
{ {
"examine": "A hot furnace.", "examine": "A hot furnace.",
@@ -20413,7 +20413,7 @@
}, },
{ {
"examine": "Storage for all needs.", "examine": "Storage for all needs.",
"ids": "40047" "ids": "40047,30648,30649,30650"
}, },
{ {
"examine": "A wooden barrel for storage.", "examine": "A wooden barrel for storage.",
@@ -20530,5 +20530,33 @@
{ {
"examine": "Looking good!", "examine": "Looking good!",
"ids": "40065" "ids": "40065"
},
{
"examine": "It looks slightly different from the rest.",
"ids": "30532"
},
{
"examine": "'Here lies...' is all I can read.",
"ids": "30671,30672"
},
{
"examine": "The inscription is worn away and unreadable.",
"ids": "30667,30669"
},
{
"examine": "Whoever bought this must have really cared for the inhabitant.",
"ids": "30668"
},
{
"examine": "Make a wish.",
"ids": "28715"
},
{
"examine": "Contains no summoning energy.",
"ids": "28720,28721"
},
{
"examine": "Glowing with barely-suppressed energies.",
"ids": "28719"
} }
] ]
@@ -69,11 +69,11 @@ public final class DrezelDialogue extends DialoguePlugin {
final Quest quest = player.getQuestRepository().getQuest("Priest in Peril"); final Quest quest = player.getQuestRepository().getQuest("Priest in Peril");
switch (stage) { switch (stage) {
case 0: case 0:
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "Oh! You do not appear to be on of those Zamorkians", "who imprisoned me here! Who are you and why are", "you here?"); interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "Oh! You do not appear to be on of those Zamorakians", "who imprisoned me here! Who are you and why are", "you here?");
stage = 1; stage = 1;
break; break;
case 1: case 1:
interpreter.sendDialogues(player, FacialExpression.HALF_GUILTY, "My name's " + player.getUsername() + ". King Roald sent me to find out", "what was going on at the temple. I take it you are", "Drezel?"); interpreter.sendDialogues(player, FacialExpression.HALF_GUILTY, "My name's " + player.getUsername() + ". King Roald sent me to find", "out what was going on at the temple. I take it you are", "Drezel?");
stage = 2; stage = 2;
break; break;
case 2: case 2:
@@ -99,7 +99,7 @@ public final class DrezelDialogue extends DialoguePlugin {
case 7: case 7:
switch (buttonId) { switch (buttonId) {
case 1: case 1:
interpreter.sendDialogues(player, FacialExpression.HALF_GUILTY, "Tell me anyway."); interpreter.sendDialogues(player, FacialExpression.HALF_GUILTY, "Tell me anyway. I'd like to know the full facts before","acting any further.");
stage = 8; stage = 8;
break; break;
case 2: case 2:
@@ -109,7 +109,7 @@ public final class DrezelDialogue extends DialoguePlugin {
} }
break; break;
case 8: case 8:
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "d, Saradomin has granted you wisdom I see. Well, the", "story of the river Salve and of how it protects Mithsalin", "is the story of this temple,"); interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "Ah, Saradomin has granted you wisdom I see. Well, the", "story of the river Salve and of how it protects Mithsalin", "is the story of this temple,");
stage = 9; stage = 9;
break; break;
case 9: case 9:
@@ -137,7 +137,7 @@ public final class DrezelDialogue extends DialoguePlugin {
stage = 15; stage = 15;
break; break;
case 15: case 15:
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "that he could find, and the seven of them rode here to", "make a final stand. The enemies swarmed across the", "Salve but they did not yield"); interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "that he could find, and the seven of them rode here to", "make a final stand. The enemies swarmed across the", "Salve but they did not yield.");
stage = 16; stage = 16;
break; break;
case 16: case 16:
@@ -145,7 +145,7 @@ public final class DrezelDialogue extends DialoguePlugin {
stage = 17; stage = 17;
break; break;
case 17: case 17:
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "On the eleventh day they were to be joined by", "reinforcements from a neighbouring encampment, but", "then those reinforecements arrived all they found"); interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "On the eleventh day they were to be joined by", "reinforcements from a neighbouring encampment, but", "then those reinforcements arrived all they found");
stage = 18; stage = 18;
break; break;
case 18: case 18:
@@ -153,7 +153,7 @@ public final class DrezelDialogue extends DialoguePlugin {
stage = 19; stage = 19;
break; break;
case 19: case 19:
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "The men were saddend at the loss of such pure and", "mighty warriors, yet their sacrifice had not been in", "vain; for the water of the Salve"); interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "The men were saddened at the loss of such pure and", "mighty warriors, yet their sacrifice had not been in", "vain; for the water of the Salve");
stage = 20; stage = 20;
break; break;
case 20: case 20:
@@ -189,37 +189,33 @@ public final class DrezelDialogue extends DialoguePlugin {
stage = 28; stage = 28;
break; break;
case 28: case 28:
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "I fear that should those Zamorakians somehow pollute", "the Salve and desecrate his blessing, his power might not", "be able to stop."); interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "I fear that should those Zamorakians somehow pollute", "the Salve and desecrate his blessing, his power might not", "be able to stop");
stage = 29; stage = 29;
break; break;
case 29: case 29:
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "the army of evil that lurks to the east, longing for the", "opportunity to invade and destroy us all!"); interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "the army of evil that lurks to the east, longing for the", "opportunity to invade and destroy us all!");
stage = 30; stage = 30;
break; break;
case 31:
interpreter.sendOptions("Select an Option", "Yes.", "No.");
stage = 503;
break;
case 30: case 30:
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "So what do you say adventurer? Will you aid me and", "all of Misthalin in foiling this Zamorakian plot?"); interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "So what do you say adventurer? Will you aid me and", "all of Misthalin in foiling this Zamorakian plot?");
stage = 31; stage = 31;
break; break;
case 31:
interpreter.sendOptions("Select an Option", "Yes.", "No.");
stage = 503;
break;
case 500: case 500:
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "Well, let's just say if we cannot undo whatever damage", "has been done here the entire land is in grave peril!"); interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "Well, let's just say if we cannot undo whatever damage", "has been done here the entire land is in grave peril!");
stage = 501; stage = 501;
break; break;
case 501: case 501:
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "So what do you say adventurer? Will you aid me and", "all of Misthalin in foiling this Zamorakian plot?"); interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "So what do you say adventurer? Will you aid me and", "all of Misthalin in foiling this Zamorakian plot?");
stage = 502; stage = 31;
break;
case 502:
interpreter.sendOptions("Select an Option", "Yes.", "No.");
stage = 503;
break; break;
case 503: case 503:
switch (buttonId) { switch (buttonId) {
case 1: case 1:
interpreter.sendDialogues(player, FacialExpression.HALF_GUILTY, "Yes, ofcourse. Any threat to Misthalin must be", "neutralised immediately. So what can I do to help?"); interpreter.sendDialogues(player, FacialExpression.HALF_GUILTY, "Yes, of course. Any threat to Misthalin must be", "neutralised immediately. So what can I do to help?");
stage = 506; stage = 506;
break; break;
case 2: case 2:
@@ -236,11 +232,11 @@ public final class DrezelDialogue extends DialoguePlugin {
end(); end();
break; break;
case 506: case 506:
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "Well, the immediate problem is that I am trapped in this", "cell. I know that they key to free me is nearby, for none", "of the Zamorakians"); interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "Well, the immediate problem is that I am trapped in this", "cell. I know that the key to free me is nearby, for none", "of the Zamorakians");
stage = 507; stage = 507;
break; break;
case 507: case 507:
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "who imprisoned me here were ever gone for long", "periods of time, Should you find the key however, as", "you may have noticed,"); interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "who imprisoned me here were ever gone for long", "periods of time. Should you find the key however, as", "you may have noticed,");
stage = 508; stage = 508;
break; break;
case 508: case 508:
@@ -276,7 +272,7 @@ public final class DrezelDialogue extends DialoguePlugin {
stage = 516; stage = 516;
break; break;
case 516: case 516:
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "When you have done both of those I will be able to", "inspect the damage which those Zamorakians have done", "to the purity of the Salve"); interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "When you have done both of those I will be able to", "inspect the damage which those Zamorakians have done", "to the purity of the Salve.");
stage = 517; stage = 517;
break; break;
case 517: case 517:
@@ -352,7 +348,7 @@ public final class DrezelDialogue extends DialoguePlugin {
player.getPacketDispatch().sendMessage("The priest blesses the water for you."); player.getPacketDispatch().sendMessage("The priest blesses the water for you.");
break; break;
case 730: case 730:
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "well, the water of the salve should still have enough", "power to work against the vampie despite what those", "Zamorakians might have done to it..."); interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "well, the water of the salve should still have enough", "power to work against the vampire despite what those", "Zamorakians might have done to it...");
stage = 731; stage = 731;
break; break;
case 731: case 731:
@@ -211,7 +211,7 @@ public final class DrezelMonumentDialogue extends DialoguePlugin {
stage = 901; stage = 901;
break; break;
case 901: case 901:
interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "From what I can tell, after you killed the guard dog", "who protected the entrance to the mouments, those", "Zamorakians forced the door into the main chamber"); interpreter.sendDialogues(npc, FacialExpression.HALF_GUILTY, "From what I can tell, after you killed the guard dog", "who protected the entrance to the monuments, those", "Zamorakians forced the door into the main chamber");
stage = 902; stage = 902;
break; break;
case 902: case 902:
@@ -136,8 +136,8 @@ public class PriestInPerilUsePlugin extends UseWithHandler {
Quest quest = player.getQuestRepository().getQuest("Priest in Peril"); Quest quest = player.getQuestRepository().getQuest("Priest in Peril");
quest.setStage(player, 15); quest.setStage(player, 15);
player.getPacketDispatch().sendMessage("You have unlocked the cell door."); player.getPacketDispatch().sendMessage("You have unlocked the cell door.");
NPC npc = NPC.create(1047, player.getLocation()); NPC npc = NPC.create(7690, player.getLocation());
npc.setName("Dezel"); npc.setName("Drezel");
player.getDialogueInterpreter().sendDialogues(npc, FacialExpression.HALF_GUILTY, "Oh! Thank you! You have found the key!"); player.getDialogueInterpreter().sendDialogues(npc, FacialExpression.HALF_GUILTY, "Oh! Thank you! You have found the key!");
} }
} }
@@ -17,10 +17,10 @@ class KingRoaldPIPDialogue(val questStage: Int) : DialogueFile() {
when(stage){ when(stage){
1 -> player("I am looking for a quest!").also { stage++ } 1 -> player("I am looking for a quest!").also { stage++ }
2 -> npc("A quest you say? Hmm, what an odd request to make", "of the king. It's funny you should mention it though, as", "there is something you can do for me.").also { stage++ } 2 -> npc("A quest you say? Hmm, what an odd request to make", "of the king. It's funny you should mention it though, as", "there is something you can do for me.").also { stage++ }
3 -> npc("Are you aware of the temple easy of here? It stands on", "the river Salve and guards the entrance to the lands of", "Morytania?").also { stage++ } 3 -> npc("Are you aware of the temple east of here? It stands on", "the river Salve and guards the entrance to the lands of", "Morytania?").also { stage++ }
4 -> player("No, I don't think I know it...").also { stage++ } 4 -> player("No, I don't think I know it...").also { stage++ }
5 -> npc("Hmm, how strange that you don't. Well anyway, it has", "been some days since last I heard from Drezel, the", "priest who lives there.").also { stage++ } 5 -> npc("Hmm, how strange that you don't. Well anyway, it has", "been some days since last I heard from Drezel, the", "priest who lives there.").also { stage++ }
6 -> npc("Be a sport and go make sure that nothing untoward", "has happend to the silly old codger for me, would you?").also { stage++ } 6 -> npc("Be a sport and go make sure that nothing untoward", "has happened to the silly old codger for me, would you?").also { stage++ }
7 -> options("Sure.", "No, that sounds boring.").also { stage++ } 7 -> options("Sure.", "No, that sounds boring.").also { stage++ }
8 -> when(buttonID){ 8 -> when(buttonID){
1 -> { 1 -> {
@@ -49,11 +49,11 @@ class KingRoaldPIPDialogue(val questStage: Int) : DialogueFile() {
when(stage){ when(stage){
1 -> npc("You have news of Drezel for me?").also { stage++ } 1 -> npc("You have news of Drezel for me?").also { stage++ }
2 -> player("Yeah, I spoke to the guys at the temple and they said", "they were being bothered by that dog in the crypt, so I", "went and killed it for them. No problem.").also { stage++ } 2 -> player("Yeah, I spoke to the guys at the temple and they said", "they were being bothered by that dog in the crypt, so I", "went and killed it for them. No problem.").also { stage++ }
3 -> npc("YOU DID WHAT??").also { stage++ } 3 -> npc("YOU DID WHAT???").also { stage++ }
4 -> npc("Are you mentally deficient??? That guard dog was", "protecting the route to Morytania! Without it we could", "be in severe peril of attack!").also { stage++ } 4 -> npc("Are you mentally deficient??? That guard dog was", "protecting the route to Morytania! Without it we could", "be in severe peril of attack!").also { stage++ }
5 -> player("Did I make a mistake?").also { stage++ } 5 -> player("Did I make a mistake?").also { stage++ }
6 -> npc("YES YOU DID!!!!! You need to get there", "and find out what is happening! Before it is too late for", "us all!").also { stage++ } 6 -> npc("YES YOU DID!!!!! You need to get there right now", "and find out what is happening! Before it is too late for", "us all!").also { stage++ }
7 -> player("B-but Drezel TOLD me to..!").also { stage++ } 7 -> player("B-but Drezel TOLD me to...!").also { stage++ }
8 -> npc("No, you absolute cretin! Obviously some fiend has done", "something to Drezel and tricked your feeble intellect", "into helping them kill that guard dog!").also { stage++ } 8 -> npc("No, you absolute cretin! Obviously some fiend has done", "something to Drezel and tricked your feeble intellect", "into helping them kill that guard dog!").also { stage++ }
9 -> npc("You get back there and do whatever is necessary to", "safeguard my kingdom from attack, or I will see you", "beheaded for high treason!").also { stage++ } 9 -> npc("You get back there and do whatever is necessary to", "safeguard my kingdom from attack, or I will see you", "beheaded for high treason!").also { stage++ }
10 -> { 10 -> {