mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Corrected quest log for Creatures of Fenkenstrain
Corrected quest log for Troll Stronghold Corrected quest log for The Dig Site Corrected quest log for Witch's House Corrected quest log for Scorpion Catcher Corrected quest log for Wolf Whistle Corrected quest log for Nature Spirit Corrected quest log for What Lies Below Populated NPCs in Lucien's Camp (Next to Wildy Chaos Temple hut) (Inaccessible) Populated NPCs in Black knight catacombs (WGS) (Inaccessible) Populated NPCs in 1st level of Pollnivneach Slayer Dungeon (Smoking Kills) (Accessible)
This commit is contained in:
parent
ba1e190cdb
commit
f11149ebe2
14 changed files with 672 additions and 300 deletions
|
|
@ -68209,6 +68209,28 @@
|
|||
"range_level": "38",
|
||||
"attack_level": "28"
|
||||
},
|
||||
{
|
||||
"examine": "Not the best of vocalists.",
|
||||
"combat_style": "1",
|
||||
"melee_animation": "9449",
|
||||
"range_animation": "9382",
|
||||
"combat_audio": "284,286,285",
|
||||
"magic_level": "65",
|
||||
"respawn_delay": "60",
|
||||
"defence_animation": "9451",
|
||||
"weakness": "0",
|
||||
"magic_animation": "9382",
|
||||
"death_animation": "9450",
|
||||
"name": "Mighty banshee",
|
||||
"defence_level": "65",
|
||||
"safespot": null,
|
||||
"lifepoints": "85",
|
||||
"strength_level": "65",
|
||||
"id": "7786",
|
||||
"aggressive": "true",
|
||||
"range_level": "0",
|
||||
"attack_level": "65"
|
||||
},
|
||||
{
|
||||
"examine": "A big, scary hand! ",
|
||||
"melee_animation": "1802",
|
||||
|
|
@ -72229,9 +72251,9 @@
|
|||
"id": "796"
|
||||
},
|
||||
{
|
||||
"examine": "The hat is a dead give away.",
|
||||
"name": "Wizard Cromperty",
|
||||
"id": "2328"
|
||||
"id": "2328",
|
||||
"examine": "The hat is a dead give away."
|
||||
},
|
||||
{
|
||||
"examine": "An intelligent-looking shop owner.",
|
||||
|
|
|
|||
|
|
@ -11739,6 +11739,30 @@
|
|||
"npc_id": "7780",
|
||||
"loc_data": "{3358,2993,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "7786",
|
||||
"loc_data": "{3348,9388,0,1,0}-{3350,9393,0,1,0}-{3350,9400,0,1,0}-{3350,9406,0,1,0}-{3351,9380,0,1,0}-{3352,9374,0,1,0}-{3354,9387,0,1,0}-{3358,9378,0,1,0}-{3358,9396,0,1,0}-{3358,9406,0,1,0}-{3365,9381,0,1,0}-{3365,9387,0,1,0}-{3365,9402,0,1,0}-{3369,9390,0,1,0}-{3350,9412,0,1,0}-{3351,9420,0,1,0}-{3356,9414,0,1,0}-{3358,9421,0,1,0}-{3364,9424,0,1,0}-{3365,9416,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "7787",
|
||||
"loc_data": "{3301,4413,0,1,0}-{3302,4394,0,1,0}-{3304,4397,0,1,0}-{3306,4410,0,1,0}-{3307,4383,0,1,0}-{3307,4397,0,1,0}-{3308,4407,0,1,0}-{3310,4383,0,1,0}-{3310,4386,0,1,0}-{3310,4398,0,1,0}-{3311,4407,0,1,0}-{3312,4380,0,1,0}-{3313,4401,0,1,0}-{3314,4411,0,1,0}-{3316,4376,0,1,0}-{3316,4382,0,1,0}-{3316,4387,0,1,0}-{3316,4397,0,1,0}-{3316,4401,0,1,0}-{3316,4405,0,1,0}-{3317,4391,0,1,0}-{3318,4412,0,1,0}-{3319,4373,0,1,0}-{3319,4407,0,1,0}-{3321,4385,0,1,0}-{3321,4398,0,1,0}-{3322,4412,0,1,0}-{3323,4402,0,1,0}-{3324,4394,0,1,0}-{3324,4397,0,1,0}-{3325,4410,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "7801",
|
||||
"loc_data": "{3283,4346,0,1,0}-{3308,4349,0,1,0}-{3293,4375,0,1,0}-{3303,4363,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "7802",
|
||||
"loc_data": "{3288,4350,0,1,0}-{3296,4340,0,1,0}-{3288,4361,0,1,0}-{3310,4355,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "7803",
|
||||
"loc_data": "{3297,4347,0,1,0}-{3315,4346,0,1,0}-{3282,4357,0,1,0}-{3303,4369,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "7804",
|
||||
"loc_data": "{3279,4350,0,1,0}-{3294,4353,0,1,0}-{3294,4366,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "7823",
|
||||
"loc_data": "{3161,9547,0,0,3}-{3164,9556,0,0,4}-{3162,9574,0,0,3}-{3198,9554,0,0,7}-{3198,9572,0,0,1}-{3215,9560,0,0,1}-{3216,9588,0,0,1}-"
|
||||
|
|
@ -11891,6 +11915,26 @@
|
|||
"npc_id": "8275",
|
||||
"loc_data": "{2869,2982,1,1,5}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8312",
|
||||
"loc_data": "{3016,9974,1,1,0}-{3021,9940,1,1,0}-{3023,9940,1,1,0}-{3024,9959,1,1,0}-{3027,9960,1,1,0}-{3043,9967,1,1,0}-{3023,9992,1,1,0}-{3016,10021,2,1,0}-{3028,10013,2,1,0}-{3029,10028,2,1,0}-{3038,10005,2,1,0}-{3044,10001,2,1,0}-{3045,9993,2,1,0}-{3045,9999,2,1,0}-{3047,10000,2,1,0}-{3052,10009,2,1,0}-{3054,10001,2,1,0}-{3056,10006,2,1,0}-{3032,10090,1,1,0}-{3040,10096,1,1,0}-{3048,10095,1,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8316",
|
||||
"loc_data": "{3017,9972,1,1,0}-{3025,9962,1,1,0}-{3030,9943,1,1,0}-{3033,9941,1,1,0}-{3034,9950,1,1,0}-{3035,9950,1,1,0}-{3036,9940,1,1,0}-{3038,9939,1,1,0}-{3045,9968,1,1,0}-{3058,9952,1,1,0}-{3063,9952,1,1,0}-{3025,9995,1,1,0}-{3027,10029,2,1,0}-{3051,10006,2,1,0}-{3052,10002,2,1,0}-{3054,10005,2,1,0}-{3027,10101,1,1,0}-{3039,10100,1,1,0}-{3054,10097,1,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8320",
|
||||
"loc_data": "{3014,9971,1,1,0}-{3016,9969,1,1,0}-{3028,9942,1,1,0}-{3029,9943,1,1,0}-{3030,9951,1,1,0}-{3033,9950,1,1,0}-{3045,9965,1,1,0}-{3061,9953,1,1,0}-{3062,9953,1,1,0}-{3030,9995,1,1,0}-{3016,10023,2,1,0}-{3029,10014,2,1,0}-{3029,10030,2,1,0}-{3036,10005,2,1,0}-{3042,9994,2,1,0}-{3047,10005,2,1,0}-{3049,10002,2,1,0}-{3053,9998,2,1,0}-{3031,10100,1,1,0}-{3044,10098,1,1,0}-{3049,10102,1,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8324",
|
||||
"loc_data": "{2911,3811,0,1,0}-{2911,3812,0,1,0}-{2911,3813,0,1,0}-{2925,3821,0,1,0}-{2925,3822,0,1,0}-{2925,3823,0,1,0}-{2929,3798,0,1,0}-{2936,3790,0,1,0}-{2936,3810,0,1,0}-{2939,3823,0,1,0}-{2949,3819,1,1,0}-{2949,3822,1,1,0}-{2955,3822,1,1,0}-{2957,3822,1,1,0}-{3016,9977,1,1,0}-{3021,9939,1,1,0}-{3024,9954,1,1,0}-{3025,9943,1,1,0}-{3025,9954,1,1,0}-{3026,9966,1,1,0}-{3032,9952,1,1,0}-{3039,9954,1,1,0}-{3044,9967,1,1,0}-{3044,9971,1,1,0}-{3057,9936,1,1,0}-{3059,9953,1,1,0}-{3041,9975,2,1,0}-{3043,9975,2,1,0}-{3045,9975,2,1,0}-{3016,10022,2,1,0}-{3017,10039,2,1,0}-{3027,10028,2,1,0}-{3029,10013,2,1,0}-{3036,10038,2,1,0}-{3037,10006,2,1,0}-{3041,10024,2,1,0}-{3043,10032,2,1,0}-{3057,10002,2,1,0}-{3058,10021,2,1,0}-{3065,10006,2,1,0}-{3027,10092,1,1,0}-{3035,10097,1,1,0}-{3051,10099,1,1,0}-{3427,5102,0,1,0}-{3428,5099,0,1,0}-{3428,5102,0,1,0}-{3430,5099,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8328",
|
||||
"loc_data": "{3055,10103,1,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8349",
|
||||
"loc_data": "{2589,5735,0,1,0}-{2589,5713,0,1,0}-{2610,5709,0,1,0}-{2613,5732,0,1,0}-"
|
||||
|
|
@ -11899,6 +11943,58 @@
|
|||
"npc_id": "8358",
|
||||
"loc_data": "{2601,5710,0,1,0}-{2603,5737,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8380",
|
||||
"loc_data": "{2907,3806,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8381",
|
||||
"loc_data": "{2910,3805,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8382",
|
||||
"loc_data": "{2912,3812,0,1,0}-{2923,3823,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8383",
|
||||
"loc_data": "{2908,3809,0,1,0}-{2919,3823,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8384",
|
||||
"loc_data": "{2922,3827,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8385",
|
||||
"loc_data": "{2924,3825,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8386",
|
||||
"loc_data": "{2921,3824,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8387",
|
||||
"loc_data": "{2934,3786,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8388",
|
||||
"loc_data": "{2935,3784,0,1,0}-{2940,3827,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8389",
|
||||
"loc_data": "{2937,3785,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8390",
|
||||
"loc_data": "{2935,3781,0,1,0}-{2939,3829,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8391",
|
||||
"loc_data": "{2937,3780,0,1,0}-{2940,3833,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8392",
|
||||
"loc_data": "{2938,3782,0,1,0}-{2938,3831,0,1,0}-"
|
||||
},
|
||||
{
|
||||
"npc_id": "8536",
|
||||
"loc_data": "{2654,5600,0,1,3}-{2650,5600,0,0,3}-{2662,5593,0,0,3}-{2653,5590,0,0,3}-{2644,5592,0,0,3}-{2644,5601,0,0,3}-{2654,5604,0,0,3}-{2663,5606,0,0,3}-{2670,5597,0,0,3}-{2657,5589,0,0,3}-"
|
||||
|
|
|
|||
|
|
@ -63,8 +63,10 @@ class TrollStronghold : Quest("Troll Stronghold",128, 127, 1, 317, 0, 1, 50) {
|
|||
} else if (stage >= 3) {
|
||||
line(player, "I have accepted the !!Troll Champion's?? challenge.", line++)
|
||||
}
|
||||
if (stage in 5..7) {
|
||||
line++
|
||||
if (stage >= 7) {
|
||||
line(player, "I found my way into the Troll Stronghold", line++, true)
|
||||
} else if (stage >= 5) {
|
||||
line(player, "I have to find a way to get into the !!Troll Stronghold??", line++)
|
||||
}
|
||||
line++
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ import core.game.node.entity.skill.Skills;
|
|||
import core.game.node.entity.player.Player;
|
||||
import core.game.node.entity.player.link.quest.Quest;
|
||||
import core.game.node.item.Item;
|
||||
import org.rs09.consts.Items;
|
||||
|
||||
import static core.api.ContentAPIKt.*;
|
||||
|
||||
|
|
@ -31,32 +32,120 @@ public class WolfWhistle extends Quest {
|
|||
@Override
|
||||
public void drawJournal(Player player, int stage) {
|
||||
super.drawJournal(player, stage);
|
||||
switch (stage) {
|
||||
case 0:
|
||||
line(player, BLUE + "I can begin this quest by talking to " + RED + "Pikkupstix" + BLUE + ", who lives in", 4+ 7);
|
||||
line(player, RED + "Taverley.", 5+ 7);
|
||||
break;
|
||||
case 10:
|
||||
line(player, "<blue>Having spoken to <red>Pikkupstix<blue>, it seems that all I have to do<br><br><blue>is get rid of the <red>little rabbit upstairs in his house.", 4+ 7);
|
||||
break;
|
||||
case 20:
|
||||
line(player, "<str>Having spoken to Pikkupstix, it seems that all I have to do<br><br><str>is get rid of the little rabbit upstairs in his house.<br><br><br><br><blue>It appears that I have underestimated the rabbit in this<br><br><blue>case; it is some <red>huge rabbit-wolf-monster-bird-thing<blue>. I<br><br><blue>think I should speak to <red>Pikkupstix<blue> to find out what is going<br><br><blue>on.", 4+ 7);
|
||||
break;
|
||||
case 30:
|
||||
line(player, "<str>Having spoken to Pikkupstix, it seems that all I have to do<br><br><str>is get rid of the little rabbit upstairs in his house.<br><br><str>It appears that I have underestimated the rabbit in this<br><br><str>case; it is some huge rabbit-wolf-monster-bird-thing. I<br><br><str>think I should speak to Pikkupstix to find out what is going<br><br><str>on.<br><br><br><br><blue>I have spoken to <red>Pikkupstix<blue>, who has promised to teach me<br><br><blue>the secrets of <red>Summoning<blue> if I can help dismiss the <red>giant<br><br><red>wolpertinger<blue>. To do this, I need to bring him <red>2 lots of wolf<br><br><red>bones<blue>.<br><br>" + (player.getInventory().containsItem(WOLF_BONES) ? "<str>" : "<blue>") + "I need to get 2 lots of wolf bones.", 4+ 7);
|
||||
break;
|
||||
case 40:
|
||||
line(player, "<str>Having spoken to Pikkupstix, it seems that all I have to do<br><br><str>is get rid of the little rabbit upstairs in his house.<br><br><str>It appears that I have underestimated the rabbit in this<br><br><str>case; it is some huge rabbit-wolf-monster-bird-thing. I<br><br><str>think I should speak to Pikkupstix to find out what is going<br><br><str>on.<br><br><br><br><str>I have spoken to Pikkupstix, who has promised to teach me<br><br><str>the secrets of Summoning if I can help dismiss the giant<br><br><str>wolpertinger. To do this, I need to bring him 2 lots of wolf<br><br><str>bones.<br><br><str>I have given Pikkupstix all of the items he requested.<br><br><br><br><blue>Pikkupstix has given me some<red> gold charms<blue>, <red>spirit shards<br><br><blue>and <red>pouches<blue>, with which to make a <red>spirit wolf pouch <blue>and<br><br><blue>some <red>Howl scrolls<blue>. I will then be able to use them to dismiss<br><br><blue>the <red>giant wolpertinger<blue>.<br><br><blue>I need to open the <red>trapdoor<blue> with the <red>trapdoor key<blue> that I<br><br><blue>have been given. ", 4+ 7);
|
||||
break;
|
||||
case 50:
|
||||
line(player, "<str>Having spoken to Pikkupstix, it seems that all I have to do<br><br><str>is get rid of the little rabbit upstairs in his house.<br><br><str>It appears that I have underestimated the rabbit in this<br><br><str>case; it is some huge rabbit-wolf-monster-bird-thing. I<br><br><str>think I should speak to Pikkupstix to find out what is going<br><br><str>on.<br><br><br><br><str>I have spoken to Pikkupstix, who has promised to teach me<br><br><str>the secrets of Summoning if I can help dismiss the giant<br><br><str>wolpertinger. To do this, I need to bring him 2 lots of wolf<br><br><str>bones.<br><br><br><br><blue>Pikkupstix has given me some<red> gold charms<blue>, <red>spirit shards<br><br><blue>and <red>pouches<blue>, with which to make a <red>spirit wolf pouch <blue>and<br><br><blue>some <red>Howl scrolls<blue>. I will then be able to use them to dismiss<br><br><blue>the <red>giant wolpertinger<blue>.<br><br><blue>I have infused the 2 spirit wolf pouches, but I need to<br><br><blue>transform one of them into scrolls at the obelisk.", 4+ 7);
|
||||
break;
|
||||
case 60:
|
||||
line(player, "<str>Having spoken to Pikkupstix, it seems that all I have to do<br><br><str>is get rid of the little rabbit upstairs in his house.<br><br><str>It appears that I have underestimated the rabbit in this<br><br><str>case; it is some huge rabbit-wolf-monster-bird-thing. I<br><br><str>think I should speak to Pikkupstix to find out what is going<br><br><str>on.<br><br><br><br><str>I have spoken to Pikkupstix, who has promised to teach me<br><br><str>the secrets of Summoning if I can help dismiss the giant<br><br><str>wolpertinger. To do this, I need to bring him 2 lots of wolf<br><br><str>bones.<br><br><br><br><blue>Pikkupstix has given me some<red> gold charms<blue>, <red>spirit shards<br><br><blue>and <red>pouches<blue>, with which to make a <red>spirit wolf pouch <blue>and<br><br><blue>some <red>Howl scrolls<blue>. I will then be able to use them to dismiss<br><br><blue>the <red>giant wolpertinger<blue>.<br><br><str>I have infused the 2 spirit wolf pouches, but I need to<br><br><str>transform one of them into scrolls at the obelisk.<br><br><blue>I have dismissed the <red>giant wolpertinger<blue>.", 4+ 7);
|
||||
break;
|
||||
case 100:
|
||||
line(player, "<str>Having spoken to Pikkupstix, it seems that all I have to do<br><br><str>is get rid of the little rabbit upstairs in his house.<br><br><str>It appears that I have underestimated the rabbit in this<br><br><str>case; it is some huge rabbit-wolf-monster-bird-thing. I<br><br><str>think I should speak to Pikkupstix to find out what is going<br><br><str>on.<br><br><br><br><str>I have spoken to Pikkupstix, who has promised to teach me<br><br><str>the secrets of Summoning if I can help dismiss the giant<br><br><str>wolpertinger. To do this, I need to bring him 2 lots of wolf<br><br><str>bones.<br><br><br><br><blue>Pikkupstix has given me some<red> gold charms<blue>, <red>spirit shards<br><br><blue>and <red>pouches<blue>, with which to make a <red>spirit wolf pouch <blue>and<br><br><blue>some <red>Howl scrolls<blue>. I will then be able to use them to dismiss<br><br><blue>the <red>giant wolpertinger<blue>.<br><br><str>I have infused the 2 spirit wolf pouches, but I need to<br><br><str>transform one of them into scrolls at the obelisk.<br><br><blue>I have dismissed the <red>giant wolpertinger<blue>.<br><br><br><br><col=FF0000>QUEST COMPLETE!", 4+ 7);
|
||||
break;
|
||||
var line = 12;
|
||||
|
||||
if(stage == 0){
|
||||
line(player, "I can begin this quest by talking to !!Pikkupstix??, who lives in", line++, false);
|
||||
line(player, "!!Taverly??.", line++, false);
|
||||
} else {
|
||||
if (stage >= 10) {
|
||||
line(player, "Having spoken to !!Pikkupstix??, it seems that all I have to do", line++, stage >= 20);
|
||||
line(player, "is get rid of the !!little rabbit upstairs in his house??.", line++, stage >= 20);
|
||||
line++;
|
||||
}
|
||||
if (stage >= 20) {
|
||||
line(player, "It appears that I have underestimated the rabbit in this", line++, stage >= 30);
|
||||
line(player, "case; it is some !!huge rabbit-wolf-monster-bird-thing??. I", line++, stage >= 30);
|
||||
line(player, "think I should speak to !!Pikkupstix?? to find out what is going", line++, stage >= 30);
|
||||
line(player, "on.", line++, stage >= 30);
|
||||
line++;
|
||||
}
|
||||
// Clicking on the ladder - sendMessage("There is no reason to go up there and face that thing again.")
|
||||
if (stage >= 30) {
|
||||
line(player, "I have spoken to !!Pikkupstix??, who has promised to teach me ", line++, stage >= 40);
|
||||
line(player, "the secrets of !!Summoning?? if I can help dismiss the !!giant??", line++, stage >= 40);
|
||||
line(player, "!!wolpertinger??. To do this, I need to bring him !!2 lots of wolf??", line++, stage >= 40);
|
||||
line(player, "!!bones??.", line++, stage >= 40);
|
||||
|
||||
if (stage == 30) {
|
||||
line(player, "!!I need to get 2 lots of wolf bones.??", line++, inInventory(player, Items.WOLF_BONES_2859, 2));
|
||||
} else {
|
||||
line(player, "I have given Pikkupstix all of the items he requested.", line++, true);
|
||||
line++;
|
||||
}
|
||||
}
|
||||
if (stage >= 40) {
|
||||
line(player, "Pikkupstix has given me some !!gold charms??, !!spirit shards??", line++, stage >= 50);
|
||||
line(player, "and !!pouches??, with which to make a !!spirit wolf pouch?? and", line++, stage >= 50);
|
||||
line(player, "some !!Howl scrolls??. I will then be able to use them to dismiss", line++, stage >= 50);
|
||||
line(player, "the !!giant wolpertinger??.", line++, stage >= 50);
|
||||
}
|
||||
if (stage == 40 && inInventory(player, Items.TRAPDOOR_KEY_12528, 1)) {
|
||||
line(player, "I need to open the !!trapdoor?? with the !!trapdoor key?? that I", line++, false);
|
||||
line(player, "have been given.", line++, false);
|
||||
} else if (stage >= 50 || player.getAttribute("has-key", false)) {
|
||||
line(player, "I have unlocked the trapdoor.", line++, true);
|
||||
}
|
||||
|
||||
// This part is a shitshow.
|
||||
if (stage >= 50 || (stage >= 40 && (inInventory(player, Items.SPIRIT_WOLF_POUCH_12047, 1) || inInventory(player, Items.HOWL_SCROLL_12425, 1)))) {
|
||||
line(player, "I need to go into Pikkupstix's !!cellar?? and !!infuse a pouch?? at", line++, stage >= 50);
|
||||
line(player, "the obelisk, using the items I have been given.", line++, stage >= 50);
|
||||
line++;
|
||||
line(player, "I have infused the spirit wolf pouch and made some Howl", line++, stage >= 50);
|
||||
line(player, "scrolls. I should speak with !!Pikkupstix?? about how to use", line++, stage >= 50);
|
||||
line(player, "them.", line++, stage >= 50);
|
||||
line++;
|
||||
} else if (stage >= 40 && inInventory(player, Items.SPIRIT_WOLF_POUCH_12047, 2)) {
|
||||
line(player, "I have infused the 2 spirit wolf pouches, but I need to", line++, false);
|
||||
line(player, "transform one of them into scrolls at the obelisk.", line++, false);
|
||||
} else if (stage >= 40 && player.getAttribute("has-key", false)) {
|
||||
line(player, "I need to go into Pikkupstix's !!cellar?? and !!infuse a pouch?? at", line++);
|
||||
line(player, "the obelisk, using the items I have been given.", line++);
|
||||
line(player, "!!I need to bring 2 lots of wolf bones.??", line++, inInventory(player, Items.WOLF_BONES_2859, 2));
|
||||
line(player, "!!I need to bring the pouches.??", line++, inInventory(player, Items.POUCH_12155, 2));
|
||||
line(player, "!!I need to bring the gold charms.??", line++, inInventory(player, Items.GOLD_CHARM_12158, 2));
|
||||
line(player, "!!I need to bring the spirit shards.??", line++, inInventory(player, Items.SPIRIT_SHARDS_12183, 14));
|
||||
}
|
||||
|
||||
if (stage >= 50) {
|
||||
line(player, "I have been told how to use the spirit wolf pouch and Howl", line++, stage >= 60);
|
||||
line(player, "scrolls. I should go back upstairs and confront the !!giant??", line++, stage >= 60);
|
||||
line(player, "!!wolpertinger??.", line++, stage >= 60);
|
||||
line++;
|
||||
}
|
||||
if (stage == 50) { // Does not stay.
|
||||
if (inInventory(player, Items.SPIRIT_WOLF_POUCH_12047, 1)) {
|
||||
line(player, "I have the spirit wolf pouch on me.", line++, false);
|
||||
} else {
|
||||
line(player, "!!I have lost the spirit wolf pouch.??", line++, false);
|
||||
}
|
||||
if (inInventory(player, Items.HOWL_SCROLL_12425, 1)) {
|
||||
line(player, "I have the Howl scroll on me.", line++, false);
|
||||
} else {
|
||||
line(player, "!!I have lost the Howl scroll.??", line++, false);
|
||||
}
|
||||
}
|
||||
|
||||
if (stage >= 60) {
|
||||
// Technically, there should be an extra stage speaking to Pikkupstix here, but it is not available.
|
||||
line(player, "I have banished the giant !!wolpertinger??. I should speak with", line++, true);
|
||||
line(player, "!!Pikkupstix?? to get my reward.", line++, true);
|
||||
line++;
|
||||
if (player.getSkills().getLevel(Skills.SUMMONING) >= player.getSkills().getStaticLevel(Skills.SUMMONING) || stage >= 100) {
|
||||
line(player, "I am feeling drained of Summoning skill points and need to", line++, true);
|
||||
line(player, "recharge at the !!obelisk??.", line++, true);
|
||||
line++;
|
||||
line(player, "I have banished the giant !!wolpertinger?? and refreshed my", line++, stage >= 100);
|
||||
line(player, "Summoning skill points. I should speak with !!Pikkupstix?? to", line++, stage >= 100);
|
||||
line(player, "get my reward.", line++, stage >= 100);
|
||||
line++;
|
||||
} else {
|
||||
line(player, "I am feeling drained of Summoning skill points and need to", line++);
|
||||
line(player, "recharge at the !!obelisk??.", line++);
|
||||
line++;
|
||||
}
|
||||
}
|
||||
|
||||
if (stage >= 100) {
|
||||
line(player, "I have been given access to the secrets of Summoning.", line++, true);
|
||||
line(player,"<col=FF0000>QUEST COMPLETE!</col>", line++);
|
||||
line(player, "!!Reward:??", line++);
|
||||
line(player, "1 Quest Point,", line++);
|
||||
line(player, "access to the Summoning skill", line++);
|
||||
line(player, "275 gold charms", line++);
|
||||
line(player, "and 276 Summoning XP", line++);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -25,25 +25,24 @@ public class WitchsHouse extends Quest {
|
|||
@Override
|
||||
public void drawJournal(Player player, int stage) {
|
||||
super.drawJournal(player, stage);
|
||||
switch (getStage(player)) {
|
||||
case 0:
|
||||
line(player, "<blue>I can start this quest by speaking to the <red>little boy", 4+ 7);
|
||||
line(player, "<blue>standing by the long garden just <red>north of Taverley", 5+ 7);
|
||||
line(player, "<blue>I must be able to defeat a <red>level 53 enemy.", 6+ 7);
|
||||
break;
|
||||
case 10:
|
||||
line(player, "<str>A small boy has kicked his ball over the fence into the", 4+ 7);
|
||||
line(player, "<str>nearby garden, and I have agreed to retrieve it for him.", 5+ 7);
|
||||
line(player, "<blue>I should find a way into the <red>garden<blue> where the <red>ball<blue> is.", 6+ 7);
|
||||
break;
|
||||
case 100:
|
||||
line(player, "<str>A small boy has kicked his ball over the fence into the", 4+ 7);
|
||||
line(player, "<str>nearby garden, and I have agreed to retrieve it for him.", 5+ 7);
|
||||
line(player, "<str>After puzzling through the strangely elaborate security", 6+ 7);
|
||||
line(player, "<str>system, and defeating a very strange monster, I returned", 7+ 7);
|
||||
line(player, "<str>the child's ball to him, and he thanked me for my help.", 8+ 7);
|
||||
line(player, "<col=FF0000>QUEST COMPLETE!", 10+ 7);
|
||||
break;
|
||||
var line = 12;
|
||||
if(stage == 0){
|
||||
line(player, "I can start this quest by speaking to the !!little boy??", line++);
|
||||
line(player, "standing by the long garden just !!north of Taverly??.", line++);
|
||||
line(player, "I must be able to defeat a !!level 53 enemy??.", line++);
|
||||
} else {
|
||||
line(player, "A small boy kicked his ball over the fence into the nearby", line++, true);
|
||||
line(player, "garden, and I have agreed to retrieve it for him.", line++, true);
|
||||
if (stage == 10) {
|
||||
line(player, "I should find a way into the !!garden?? where the !!ball?? is.", line++);
|
||||
}
|
||||
if (stage >= 100) {
|
||||
line(player, "After puzzling through the strangely elaborate security", line++, true);
|
||||
line(player, "system, and defeating a very strange monster, I returned", line++, true);
|
||||
line(player, "the child's ball to him, and he thanked me for my help.", line++, true);
|
||||
line++;
|
||||
line(player,"<col=FF0000>QUEST COMPLETE!</col>", line);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -40,34 +40,66 @@ public class SheepHerder extends Quest {
|
|||
@Override
|
||||
public void drawJournal(Player player, int stage) {
|
||||
boolean hasGear = (player.getInventory().containsItem(PLAGUE_BOTTOM) && player.getInventory().containsItem(PLAGUE_TOP) || (player.getEquipment().containsItem(PLAGUE_BOTTOM) && player.getEquipment().containsItem(PLAGUE_TOP))) || stage >= 20;
|
||||
int line = 11;
|
||||
int line = 12;
|
||||
boolean sheepDead = player.getAttribute("sheep_herder:all_dead",false);
|
||||
super.drawJournal(player, stage);
|
||||
if(stage < 10){
|
||||
line(player,"I can start this quest by speaking to !!Councillor Halgrive??",line++);
|
||||
line(player, "near to the !!Zoo?? in !!East Ardougne.??",line++);
|
||||
if(stage == 0){
|
||||
line(player,"I can start this quest by speaking to !!Councillor Halgrive??", line++);
|
||||
line(player, "near to the !!Zoo?? in !!East Ardougne??.", line++);
|
||||
} else {
|
||||
switch(stage){
|
||||
case 10:
|
||||
line(player, "!!Councillor Halgrive?? said I should speak to !!Doctor Orbon?? about", line++, hasGear);
|
||||
line(player, "Getting some protective gear.", line++, hasGear);
|
||||
line(player, "I need to !!locate the diseased sheep?? and corral them !!into the pin??", line++,sheepDead);
|
||||
line(player, "After which, I need to !!poison them?? and !!incinerate their bones.??", line++,sheepDead);
|
||||
if(sheepDead) {
|
||||
line(player,"I should inform !!Councillor Halgrive?? that I have taken care of the problem.",line++);
|
||||
line(player,"Councillor Halgrive asked me to dispose of four plague", line++, true);
|
||||
line(player,"bearing sheep just north of Ardougne and I accepted.", line++, true);
|
||||
line(player,"He gave me some poisoned sheep feed to do this.", line++, true);
|
||||
if(hasGear) {
|
||||
line(player, "I bought some protective clothing from Dr. Orbon in the", line++, true);
|
||||
line(player, "chapel north of Ardougne Zoo. I could now kill the sheep.", line++, true);
|
||||
} else {
|
||||
line(player, "I still need:", line++);
|
||||
line(player, "A !!Red Sheep??", line++, player.getAttribute("sheep_herder:red_dead", false));
|
||||
line(player, "A !!Blue Sheep??", line++, player.getAttribute("sheep_herder:blue_dead", false));
|
||||
line(player, "A !!Green Sheep??", line++, player.getAttribute("sheep_herder:green_dead", false));
|
||||
line(player, "A !!Yellow Sheep??", line++, player.getAttribute("sheep_herder:yellow_dead", false));
|
||||
line(player, "!!Councillor Halgrive?? said I should speak to !!Doctor Orbon??", line++);
|
||||
line(player, "about getting some protective gear.", line++);
|
||||
}
|
||||
break;
|
||||
case 100:
|
||||
line(player,"I helped Councillor Halgrive by putting down",line++,true);
|
||||
line(player,"plague-bearing sheep.",line++,true);
|
||||
line(player,"%%QUEST COMPLETE!&&",line++);
|
||||
break;
|
||||
if(stage == 10) {
|
||||
// This is not authentic.
|
||||
// line(player, "I need to !!locate the diseased sheep?? and corral them !!into the pen??", line++,sheepDead);
|
||||
// line(player, "After which, I need to !!poison them?? and !!incinerate their bones.??", line++,sheepDead);
|
||||
line++;
|
||||
if (sheepDead) {
|
||||
line(player, "I equipped a prod and then I used it to to herd the diseased", line++, true);
|
||||
line(player, "sheep to a pen where I could safely kill them and", line++, true);
|
||||
line(player, "incinerate their bones.", line++, true);
|
||||
line(player,"I should return to !!Councillor Halgrive?? to collect the reward", line++);
|
||||
line(player,"he has promised me for my hard work.", line++);
|
||||
} else {
|
||||
if (player.getAttribute("sheep_herder:red_dead", false)) {
|
||||
line(player, "I have killed the first sheep and incinerated its bones.", line++, true);
|
||||
} else {
|
||||
line(player, "I must find the first sheep and herd it to the special pen.", line++);
|
||||
}
|
||||
if (player.getAttribute("sheep_herder:green_dead", false)) {
|
||||
line(player, "I have killed the second sheep and incinerated its bones.", line++, true);
|
||||
} else {
|
||||
line(player, "I must find the second sheep and herd it to the special", line++);
|
||||
line(player, "pen.", line++);
|
||||
}
|
||||
if (player.getAttribute("sheep_herder:blue_dead", false)) {
|
||||
line(player, "I have killed the third sheep and incinerated its bones.", line++, true);
|
||||
} else {
|
||||
line(player, "I must find the third sheep and herd it to the special pen.", line++);
|
||||
}
|
||||
if (player.getAttribute("sheep_herder:yellow_dead", false)) {
|
||||
line(player, "I have killed the fourth sheep and incinerated its bones.", line++, true);
|
||||
} else {
|
||||
line(player, "I must find the fourth sheep and herd it to the special pen.", line++);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(stage >= 100) {
|
||||
line(player, "I equipped a prod to herd the diseased sheep and then I", line++, true);
|
||||
line(player, "used it to incinerate all four plagued sheep.", line++, true);
|
||||
line(player, "I returned to let Councillor Halgrive know that the plagued", line++, true);
|
||||
line(player, "sheep were no more and claimed my reward.", line++, true);
|
||||
line++;
|
||||
line(player, "%%QUEST COMPLETE!&&", line++, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -29,20 +29,7 @@ class ScorpionCatcher : Quest("Scorpion Catcher", 108, 107, 1, 76, 0, 1, 6) {
|
|||
override fun drawJournal(player: Player?, stage: Int) {
|
||||
super.drawJournal(player, stage)
|
||||
|
||||
var ln = 11
|
||||
|
||||
/**
|
||||
* Just draw this if the quest is done
|
||||
*/
|
||||
if (stage == QUEST_STATE_DONE) {
|
||||
ln++
|
||||
line(player, "I helped !!Thormac?? get his scorpions back.", ln++)
|
||||
line(player, "Now he can upgrade my battlestaffs into mystic staffs.", ln)
|
||||
ln++
|
||||
ln++
|
||||
line(player, "<col=FF0000>QUEST COMPLETE!</col>", ln)
|
||||
return
|
||||
}
|
||||
var ln = 12
|
||||
|
||||
val caughtTaverly = player!!.getAttribute(ATTRIBUTE_TAVERLY, false)
|
||||
val caughtBarb = player.getAttribute(ATTRIBUTE_BARB, false)
|
||||
|
|
@ -54,51 +41,92 @@ class ScorpionCatcher : Quest("Scorpion Catcher", 108, 107, 1, 76, 0, 1, 6) {
|
|||
ln++ //blank line
|
||||
line(player, "Requirements:", ln++)
|
||||
line(player, "Level 31 Prayer", ln, player.skills.staticLevels[Skills.PRAYER] >= 31)
|
||||
}
|
||||
else {
|
||||
line(player, "Speak to Thormac.", ln++, true)
|
||||
ln++
|
||||
} else {
|
||||
line(player, "I've spoken to Thormac in the Sorcerer's Tower south-west", ln++, true)
|
||||
line(player, "of Catherby. He's lost his pet Kharid Scorpions and needs", ln++, true)
|
||||
line(player, "my help to find them.", ln++, true)
|
||||
|
||||
if (stage == QUEST_STATE_TALK_SEERS) {
|
||||
line(player, "I've spoken to !!Thormac?? in the !!Sorcerer's Tower?? south-west of !!Catherby.??", ln++)
|
||||
line(player, "He's lost his pet !!Kharid Scorpions?? and needs my help to find them.", ln++)
|
||||
// Todo check this line
|
||||
line(player, "He's told me to ask a !!Seer?? for help.", ln)
|
||||
}
|
||||
else {
|
||||
// todo check this line
|
||||
line(player, "I talked to a Seer. He told me where I should look.", ln++, caughtTaverly)
|
||||
// 10 -> 20
|
||||
if (stage >= QUEST_STATE_DARK_PLACE) {
|
||||
ln++
|
||||
line(player, "The first !!Kharid Scorpion?? is in a secret room near some", ln++, caughtTaverly)
|
||||
line(player, "nasty spiders with two coffins nearby.", ln++, caughtTaverly)
|
||||
line(player, "I've spoken to a Seer and been given the location of one", ln++, true)
|
||||
line(player, "of the Kharid Scorpions.", ln++, true)
|
||||
} else if (stage >= QUEST_STATE_TALK_SEERS) {
|
||||
ln++
|
||||
if (stage == QUEST_STATE_DARK_PLACE && caughtTaverly){
|
||||
// Todo check this line
|
||||
line(player, "I should go back to the Seer and ask about the other scorpions.", ln++)
|
||||
line(player, "I need to go to the !!Seers' Village?? and talk to the !!Seer??", ln++)
|
||||
line(player, "about the lost !!Kharid Scorpions??.", ln++)
|
||||
}
|
||||
|
||||
// 20 -> 20 + 1st Scorpion
|
||||
if (stage >= QUEST_STATE_DARK_PLACE && caughtTaverly || stage >= QUEST_STATE_OTHER_SCORPIONS) {
|
||||
ln++
|
||||
line(player, "The first Kharid Scorpion is in a secret room near some", ln++, true)
|
||||
line(player, "nasty spiders with two coffins nearby.", ln++, true)
|
||||
} else if (stage >= QUEST_STATE_DARK_PLACE) {
|
||||
ln++
|
||||
line(player, "The first !!Kharid Scorpion?? is in a secret room near some", ln++)
|
||||
line(player, "!!nasty spiders?? with two !!coffins?? nearby.", ln++)
|
||||
// Jan 21, 2010 version has a slightly updated but similar location.
|
||||
// line(player, "The first !!Kharid Scorpion?? is in a !!dark place between a lake??", ln++)
|
||||
// line(player, "and a !!holy island??. It will be close when you enter.", ln++)
|
||||
ln++
|
||||
line(player, "I'll need to talk to a !!Seer?? again one I've caught the first", ln++)
|
||||
line(player, "!!Kharid Scorpion??.", ln++)
|
||||
}
|
||||
|
||||
// 20 + 1st Scorpion -> 30
|
||||
if (stage >= QUEST_STATE_OTHER_SCORPIONS) {
|
||||
// This line disappears when the you talk to the Seer again.
|
||||
} else if (stage >= QUEST_STATE_DARK_PLACE && caughtTaverly){
|
||||
// Todo check this line
|
||||
ln++
|
||||
line(player, "I should go back to the Seer and ask about the other", ln++)
|
||||
line(player, "scorpions.", ln++)
|
||||
}
|
||||
|
||||
// 30 -> 40
|
||||
if (stage >= QUEST_STATE_OTHER_SCORPIONS){
|
||||
val barb_strike = caughtBarb || (stage == QUEST_STATE_PEKSA_HELP)
|
||||
line(player, "The second !!Kharid Scorpion?? has been in a !!village of??", ln++, barb_strike)
|
||||
line(player, "!!uncivilised-looking warriors in the east.?? It's been picked up", ln++, barb_strike)
|
||||
line(player, "by some sort of !!merchant??", ln++, barb_strike)
|
||||
ln++
|
||||
val barb_strike = caughtBarb || (stage == QUEST_STATE_PEKSA_HELP)
|
||||
line(player, "The second !!Kharid Scorpion?? has been in a !!village of??", ln++, barb_strike || stage == QUEST_STATE_DONE)
|
||||
line(player, "!!uncivilised-looking warriors in the east??. It's been picked up", ln++, barb_strike || stage == QUEST_STATE_DONE)
|
||||
line(player, "by some sort of !!merchant??.", ln++, barb_strike || stage == QUEST_STATE_DONE)
|
||||
// Jan 21, 2010 version has a slightly updated but similar location.
|
||||
// line(player, "The second !!Kharid Scorpion?? was once in a !!village two??", ln++, barb_strike || stage == QUEST_STATE_DONE)
|
||||
// line(player, "!!canoe trips from lumbridge??. A !!shopkeeper?? there picked it up.", ln++, barb_strike || stage == QUEST_STATE_DONE)
|
||||
if (stage == QUEST_STATE_PEKSA_HELP){
|
||||
// todo check this block
|
||||
ln++
|
||||
line(player, "I spoke with !!Peksa?? who said he sent it to his brother", ln++, caughtBarb)
|
||||
line(player, "at the !!Barbarian outpost.??", ln++, caughtBarb)
|
||||
}
|
||||
ln++
|
||||
line(player, "The third !!Kharid Scorpion?? is in some sort of !!upstairs room??", ln++, caughtMonk || stage == QUEST_STATE_DONE)
|
||||
line(player, "with !!brown clothing on a table??.", ln++, caughtMonk || stage == QUEST_STATE_DONE)
|
||||
// Jan 21, 2010 version has a slightly updated but similar location.
|
||||
// line(player, "The third !!Kharid Scorpion?? is in an !!upstairs room?? with !!brown??", ln++, caughtMonk || stage == QUEST_STATE_DONE)
|
||||
// line(player, "!!clothing on a table?? The clothing is adorned with a golden", ln++, caughtMonk || stage == QUEST_STATE_DONE)
|
||||
// line(player, "four-pointed star. You should start looking where monks", ln++, caughtMonk || stage == QUEST_STATE_DONE)
|
||||
// line(player, "reside.", ln++, caughtMonk || stage == QUEST_STATE_DONE)
|
||||
}
|
||||
|
||||
line(player, "The third !!Kharid Scorpion?? is in some sort of !!upstairs room??", ln++, caughtMonk)
|
||||
line(player, "with !!brown clothing on a table??", ln++, caughtMonk)
|
||||
}
|
||||
|
||||
if (caughtBarb && caughtTaverly && caughtMonk && stage >= QUEST_STATE_OTHER_SCORPIONS){
|
||||
// 40 -> 100
|
||||
if (stage == QUEST_STATE_DONE) {
|
||||
// This line disappears when you complete the quest.
|
||||
} else if (caughtBarb && caughtTaverly && caughtMonk && stage >= QUEST_STATE_OTHER_SCORPIONS){
|
||||
ln++
|
||||
line(player, "I should tell !!Thormac?? I have all of his scorpions.", ln)
|
||||
line(player, "I need to take the !!Kharid Scorpions?? to !!Thormac??.", ln)
|
||||
}
|
||||
|
||||
// 100
|
||||
if (stage == QUEST_STATE_DONE) {
|
||||
ln++
|
||||
line(player, "I've spoken to Thormac and he thanked me for finding his", ln++, true)
|
||||
line(player, "pet Kharid Scorpions.", ln++, true)
|
||||
ln++
|
||||
ln++
|
||||
line(player, "<col=FF0000>QUEST COMPLETE!</col>", ln)
|
||||
return
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -136,23 +136,23 @@ class TheDigSite : Quest("The Dig Site", 47, 46, 2, 131, 0, 1, 9) {
|
|||
line(player, "the exams.", line++)
|
||||
}
|
||||
if (stage >= 4 || getAttribute(player, attributeStudentBrownExam1Talked, false)) {
|
||||
line(player, "I need to speak to the student in the brown top about the", line++, true)
|
||||
line(player, "I need to speak to the student in the orange top about the", line++, true)
|
||||
line(player, "exams.", line++, true)
|
||||
} else if (stage >= 3) {
|
||||
line(player, "I need to speak to the student in the brown top about the", line++)
|
||||
line(player, "I need to speak to the student in the orange top about the", line++)
|
||||
line(player, "exams.", line++)
|
||||
}
|
||||
|
||||
if (stage >= 4 || getAttribute(player, attributeStudentGreenExam1ObtainAnswer, false)) {
|
||||
line(player, "I have agreed to help the student in the green top.", line++, true)
|
||||
line(player, "He has lost his animal skull and thinks he may have", line++, true)
|
||||
line(player, "dropped it around the site. I need to find it and return", line++, true)
|
||||
line(player, "it to him. Maybe one of the workmen has picked it up?", line++, true)
|
||||
line(player, "He has lost his Animal Skull and thinks he may have", line++, true)
|
||||
line(player, "dropped it around the digsite. I need to find it and return it", line++, true)
|
||||
line(player, "to him. Maybe one of the workmen has picked it up?", line++, true)
|
||||
} else if (stage >= 3 && getAttribute(player, attributeStudentGreenExam1Talked, false)) {
|
||||
line(player, "I have agreed to help the student in the green top.", line++)
|
||||
line(player, "He has lost his animal skull and thinks he may have", line++)
|
||||
line(player, "dropped it around the site. I need to find it and return", line++)
|
||||
line(player, "it to him. Maybe one of the workmen has picked it up?", line++)
|
||||
line(player, "He has lost his !!Animal Skull?? and thinks he may have", line++)
|
||||
line(player, "dropped it around the digsite. I need to find it and return it", line++)
|
||||
line(player, "to him. Maybe one of the workmen has picked it up?", line++)
|
||||
}
|
||||
if (stage >= 4) {
|
||||
line(player, "I should talk to him to see if he can help with my exams.", line++, true)
|
||||
|
|
@ -166,38 +166,36 @@ class TheDigSite : Quest("The Dig Site", 47, 46, 2, 131, 0, 1, 9) {
|
|||
|
||||
if (stage >= 4 || getAttribute(player, attributeStudentPurpleExam1ObtainAnswer, false)) {
|
||||
line(player, "I have agreed to help the student in the purple skirt.", line++, true)
|
||||
line(player, "She has lost her lucky teddy bear mascot and thinks she", line++, true)
|
||||
line(player, "may have dropped it by the strange relic at the centre of", line++, true)
|
||||
line(player, "the campus, maybe in a bush. I need to find it and return", line++, true)
|
||||
line(player, "it to her.", line++, true)
|
||||
line(player, "She has lost her Lucky Mascot and thinks she may have", line++, true)
|
||||
line(player, "dropped it around the large urns on the digsite. I need to", line++, true)
|
||||
line(player, "find it and return it to her.", line++, true)
|
||||
} else if (stage >= 3 && getAttribute(player, attributeStudentPurpleExam1Talked, false)) {
|
||||
line(player, "I have agreed to help the student in the purple skirt.", line++)
|
||||
line(player, "She has lost her lucky teddy bear mascot and thinks she", line++)
|
||||
line(player, "may have dropped it by the strange relic at the centre of", line++)
|
||||
line(player, "the campus, maybe in a bush. I need to find it and return", line++)
|
||||
line(player, "it to her.", line++)
|
||||
line(player, "She has lost her !!Lucky Mascot?? and thinks she may have", line++)
|
||||
line(player, "dropped it around the large urns on the digsite. I need to", line++)
|
||||
line(player, "find it and return it to her.", line++)
|
||||
}
|
||||
if (stage >= 4) {
|
||||
line(player, "I should talk to her to see if she can help with my exams.", line++, true)
|
||||
line(player, "She gave me an answer to one of the questions on the first", line++, true)
|
||||
line(player, "exam.", line++, true)
|
||||
line(player, "She gave me an answer to one of the questions on the", line++, true)
|
||||
line(player, "first exam.", line++, true)
|
||||
} else if (stage >= 3 && getAttribute(player, attributeStudentPurpleExam1ObtainAnswer, false)) {
|
||||
line(player, "I should talk to her to see if she can help with my exams.", line++)
|
||||
line(player, "She gave me an answer to one of the questions on the first", line++)
|
||||
line(player, "exam.", line++)
|
||||
line(player, "She gave me an answer to one of the questions on the", line++)
|
||||
line(player, "first exam.", line++)
|
||||
}
|
||||
|
||||
|
||||
if (stage >= 4 || getAttribute(player, attributeStudentBrownExam1ObtainAnswer, false)) {
|
||||
line(player, "I have agreed to help the student in the brown top.", line++, true)
|
||||
line(player, "He has lost his special cup and thinks he may have dropped", line++, true)
|
||||
line(player, "it while he was near the panning site, possibly in the", line++, true)
|
||||
line(player, "water. I need to find it and return it.", line++, true)
|
||||
line(player, "I have agreed to help the student in the orange top.", line++, true)
|
||||
line(player, "He has lost his Special Cup and thinks he may have", line++, true)
|
||||
line(player, "dropped it around the tents near the panning site. I need", line++, true)
|
||||
line(player, "to find it and return it.", line++, true)
|
||||
} else if (stage >= 3 && getAttribute(player, attributeStudentBrownExam1Talked, false)) {
|
||||
line(player, "I have agreed to help the student in the brown top.", line++)
|
||||
line(player, "He has lost his special cup and thinks he may have dropped", line++)
|
||||
line(player, "it while he was near the panning site, possibly in the", line++)
|
||||
line(player, "water. I need to find it and return it.", line++)
|
||||
line(player, "I have agreed to help the student in the orange top.", line++)
|
||||
line(player, "He has lost his !!Special Cup?? and thinks he may have", line++)
|
||||
line(player, "dropped it around the tents near the panning site. I need", line++)
|
||||
line(player, "to find it and return it.", line++)
|
||||
}
|
||||
if (stage >= 4) {
|
||||
line(player, "I should talk to him to see if he can help with my exams.", line++, true)
|
||||
|
|
@ -226,11 +224,11 @@ class TheDigSite : Quest("The Dig Site", 47, 46, 2, 131, 0, 1, 9) {
|
|||
}
|
||||
|
||||
if (stage >= 5) {
|
||||
line(player, "I need to study for my second exam. Perhaps the students", line++, true)
|
||||
line(player, "on the site can help?", line++, true)
|
||||
line(player, "I need to study for my second exam. Perhaps the three", line++, true)
|
||||
line(player, "students on the digsite can help me again?", line++, true)
|
||||
} else if (stage >= 4) {
|
||||
line(player, "I need to study for my second exam. Perhaps the students", line++)
|
||||
line(player, "on the site can help?", line++)
|
||||
line(player, "I need to study for my second exam. Perhaps the three", line++)
|
||||
line(player, "students on the digsite can help me again?", line++)
|
||||
}
|
||||
if (stage >= 5 || getAttribute(player, attributeStudentGreenExam2ObtainAnswer, false)) {
|
||||
line(player, "I need to speak to the student in the green top about the", line++, true)
|
||||
|
|
@ -241,16 +239,16 @@ class TheDigSite : Quest("The Dig Site", 47, 46, 2, 131, 0, 1, 9) {
|
|||
}
|
||||
if (stage >= 5 || getAttribute(player, attributeStudentPurpleExam2ObtainAnswer, false)) {
|
||||
line(player, "I need to speak to the student in the purple skirt about", line++, true)
|
||||
line(player, "the exams. 2 ", line++, true)
|
||||
line(player, "the exams.", line++, true)
|
||||
} else if (stage >= 4) {
|
||||
line(player, "I need to speak to the student in the purple skirt about", line++)
|
||||
line(player, "the exams.", line++)
|
||||
}
|
||||
if (stage >= 5 || getAttribute(player, attributeStudentBrownExam2ObtainAnswer, false)) {
|
||||
line(player, "I need to speak to the student in the brown top about the", line++, true)
|
||||
line(player, "I need to speak to the student in the orange top about the", line++, true)
|
||||
line(player, "exams.", line++, true)
|
||||
} else if (stage >= 4) {
|
||||
line(player, "I need to speak to the student in the brown top about the", line++)
|
||||
line(player, "I need to speak to the student in the orange top about the", line++)
|
||||
line(player, "exams.", line++)
|
||||
}
|
||||
if (stage >= 5) {
|
||||
|
|
@ -269,11 +267,11 @@ class TheDigSite : Quest("The Dig Site", 47, 46, 2, 131, 0, 1, 9) {
|
|||
}
|
||||
|
||||
if (stage >= 6) {
|
||||
line(player, "I need to study for my third exam. Perhaps the students", line++, true)
|
||||
line(player, "on the site can help?", line++, true)
|
||||
line(player, "I should research for my third exam. Perhaps the students", line++, true)
|
||||
line(player, "can help me again?", line++, true)
|
||||
} else if (stage >= 5) {
|
||||
line(player, "I need to study for my third exam. Perhaps the students", line++)
|
||||
line(player, "on the site can help?", line++)
|
||||
line(player, "I should research for my third exam. Perhaps the students", line++)
|
||||
line(player, "can help me again?", line++)
|
||||
}
|
||||
if (stage >= 6 || getAttribute(player, attributeStudentGreenExam3ObtainAnswer, false)) {
|
||||
line(player, "I need to speak to the student in the green top about the", line++, true)
|
||||
|
|
@ -284,7 +282,7 @@ class TheDigSite : Quest("The Dig Site", 47, 46, 2, 131, 0, 1, 9) {
|
|||
}
|
||||
if (stage >= 6 || getAttribute(player, attributeStudentPurpleExam3Talked, false)) {
|
||||
line(player, "I need to speak to the student in the purple skirt about", line++, true)
|
||||
line(player, "the exams. 3", line++, true)
|
||||
line(player, "the exams.", line++, true)
|
||||
} else if (stage >= 5) {
|
||||
line(player, "I need to speak to the student in the purple skirt about", line++)
|
||||
line(player, "the exams.", line++)
|
||||
|
|
@ -295,10 +293,10 @@ class TheDigSite : Quest("The Dig Site", 47, 46, 2, 131, 0, 1, 9) {
|
|||
line(player, "I need to bring her an Opal.", line++)
|
||||
}
|
||||
if (stage >= 6 || getAttribute(player, attributeStudentBrownExam3ObtainAnswer, false)) {
|
||||
line(player, "I need to speak to the student in the brown top about the", line++, true)
|
||||
line(player, "I need to speak to the student in the orange top about the", line++, true)
|
||||
line(player, "exams.", line++, true)
|
||||
} else if (stage >= 5) {
|
||||
line(player, "I need to speak to the student in the brown top about the", line++)
|
||||
line(player, "I need to speak to the student in the orange top about the", line++)
|
||||
line(player, "exams.", line++)
|
||||
}
|
||||
if (stage >= 6) {
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ import core.game.interaction.InteractionListener
|
|||
import core.game.node.entity.player.Player
|
||||
import org.rs09.consts.Items
|
||||
|
||||
class SinkethsDiary
|
||||
: InteractionListener {
|
||||
// This is not formatted well. See _-88E9n9jWA
|
||||
class SinkethsDiary : InteractionListener {
|
||||
// Obtainable during the What Lies Below quest.
|
||||
companion object {
|
||||
private val TITLE = "Sin'keth's diary"
|
||||
|
|
|
|||
|
|
@ -111,12 +111,10 @@ class AllFiredUp : Quest("All Fired Up", 157, 156, 1){
|
|||
line(player, "restore a beacon to its blazing state. I've tended the", line++, true)
|
||||
line(player, "beacon near Blaze and have reported back to him.", line++, true)
|
||||
} else if (stage == 80) {
|
||||
line(player, "!!Blaze?? has now asked me to maintain the nearby !!beacon??.", line++, false)
|
||||
line(player, "To maintain the !!beacon??, I need to add !!five logs?? of the same", line++, false)
|
||||
line(player, "type.", line++, false)
|
||||
line(player, "I've placed five logs on the !!beacon?? to restore it to its", line++, false)
|
||||
line(player, "blazing state. Now that it's blazing brightly, perhaps I should", line++, false)
|
||||
line(player, "speak with Blaze.", line++, false)
|
||||
line(player, "!!Blaze?? has explained how to maintain a beacon. When the", line++, false)
|
||||
line(player, "fire begins to die out, !!five more logs?? can be added to", line++, false)
|
||||
line(player, "restore a beacon to its blazing state.", line++, false)
|
||||
line(player, "!!Blaze?? has asked me to maintain the !!beacon?? nearest him.", line++, false)
|
||||
}
|
||||
|
||||
if (stage > 90) {
|
||||
|
|
|
|||
|
|
@ -78,16 +78,6 @@ public class WhatLiesBelow extends Quest {
|
|||
*/
|
||||
public static final Item BEACON_RING = new Item(Items.BEACON_RING_11014);
|
||||
|
||||
/**
|
||||
* The requirement messages.
|
||||
*/
|
||||
private static final String[] REQS = new String[] {
|
||||
"<blue>Have level 35 <red>Runecrafting.",
|
||||
"<blue>Be able to defeat a <red>level 47 enemy.",
|
||||
"<blue>I need to have completed the <red>Rune Mysteries <blue>quest.",
|
||||
"<blue>Have a <red>Mining <blue>level of 42 to use the <red>Chaos Tunnel."
|
||||
};
|
||||
|
||||
/**
|
||||
* The requirements.
|
||||
*/
|
||||
|
|
@ -109,36 +99,81 @@ public class WhatLiesBelow extends Quest {
|
|||
@Override
|
||||
public void drawJournal(Player player, int stage) {
|
||||
super.drawJournal(player, stage);
|
||||
switch (stage) {
|
||||
case 0:
|
||||
line(player, "<blue>I can start this quest by speaking to <red>Rat Burgiss <blue>on the<n><blue>road south of <red>Varrock.<n><blue>Before I begin I will need to:<n>" + getReqMessage(player), 11);
|
||||
break;
|
||||
case 10:
|
||||
line(player, "<red>Rat<blue>, a trader in Varrock, has asked me to help him with a task.<n><blue>I need to kill<red> outlaws <blue>west of Varrock so that I can collect 5 of <n><blue>Rat's <red>papers<blue>.", 11);
|
||||
break;
|
||||
case 20:
|
||||
line(player, "<red>Rat<blue>, a trader in Varrock, has asked me to help him with a task.<n><str>I need to kill outlaws west of Varrock so that I can collect<n><str>5 of Rat's papers.I have delivered Rat's folder to him. Perhaps I<n><str>should speak to him again.<n><blue>I need to deliver <red>Rat's<blue> letter to <red>Surok Magis<n><blue>in <red>Varrock.", 11);
|
||||
break;
|
||||
case 30:
|
||||
case 40:
|
||||
line(player, "<str>Rat, a trader in Varrock, has asked me to help him with a task.<n><str>Surok, a Wizard in Varrock, has asked me to complete a task for him.<n><str>I need to kill the outlaws west of Varrock so that I can collect<n><str>5 of Rat's papers.<str>I have delivered Rat's folder to him. Perhaps I<n><str>should speak to him again.<str>I need to deliver Rat's letter to <n><str>Surok Magis in Varrock. <str>I need to talk to Surok about the<n><str>secret he has for me.<n><blue>I need to infuse the <red>metal wand <blue>with <red>chaos runes <blue>at the <red>Chaos Altar<blue>.<n><blue>I also need<blue>to find or buy an empty <red>bowl.", 11);
|
||||
break;
|
||||
case 50:
|
||||
line(player, "<str>Rat, a trader in Varrock, has asked me to help him with a task.<n><str>Surok, a Wizard in Varrock, has asked me to complete a task for him.<n><str>I need to kill the outlaws west of Varrock so that I can collect<n><str>5 of Rat's papers.<str>I have delivered Rat's folder to him. Perhaps I<n><str>should speak to him again.<str>I need to deliver Rat's letter to <n><str>Surok Magis in Varrock. <str>I need to talk to Surok about the<n><str>secret he has for me.<n><str>I need to infuse the <str>metal wand <str>with chaos runes <str>at the <str>Chaos Altar<str>.<n><str>I also need<str> to find or buy an empty <str>bowl.<n><str>I need to infuse the metal wand with chaos runes at the Chaos Altar.<n><str>I also need to find or buy an empty bowl.<n><str>I need to take the glowing wand I have created back to Surok in Varrock<n><str>with an empty bowl.<n><str>I need to deliver Surok's letter to Rat who is waiting for me south<n><blue>of Varrock. <blue>I should speak to <red>Rat<blue> again; he is waiting for me <n><blue>south of Varrock", 11);
|
||||
break;
|
||||
case 60:
|
||||
line(player, "<str>Rat, a trader in Varrock, has asked me to help him with a task.<n><str>Surok, a Wizard in Varrock, has asked me to complete a task for him.<n><str>I need to kill the outlaws west of Varrock so that I can collect<n><str>5 of Rat's papers.<str>I have delivered Rat's folder to him. Perhaps I<n><str>should speak to him again.<str>I need to deliver Rat's letter to <n><str>Surok Magis in Varrock. <str>I need to talk to Surok about the<n><str>secret he has for me.<n><str>I need to infuse the <str>metal wand <str>with chaos runes <str>at the <str>Chaos Altar<str>.<n><str>I also need<str> to find or buy an empty <str>bowl.<n><str>I need to infuse the metal wand with chaos runes at the Chaos Altar.<n><str>I also need to find or buy an empty bowl.<n><str>I need to take the glowing wand I have created back to Surok in Varrock<n><str>with an empty bowl.<n><str>I need to deliver Surok's letter to Rat who is waiting for me south<n><str>of Varrock.<str>I should speak to Rat again; he is waiting for me <n><str>south of Varrock<n><blue>I need to speak to <red>Zaff <blue>of <red>Zaff's Staffs <blue>in Varrock.", 11);
|
||||
break;
|
||||
case 70:
|
||||
line(player, "<str>Rat, a trader in Varrock, has asked me to help him with a task.<n><str>Surok, a Wizard in Varrock, has asked me to complete a task for him.<n><str>I need to kill the outlaws west of Varrock so that I can collect<n><str>5 of Rat's papers.<str>I have delivered Rat's folder to him. Perhaps I<n><str>should speak to him again.<str>I need to deliver Rat's letter to <n><str>Surok Magis in Varrock. <str>I need to talk to Surok about the<n><str>secret he has for me.<n><str>I need to infuse the <str>metal wand <str>with chaos runes <str>at the <str>Chaos Altar<str>.<n><str>I also need<str> to find or buy an empty <str>bowl.<n><str>I need to infuse the metal wand with chaos runes at the Chaos Altar.<n><str>I also need to find or buy an empty bowl.<n><str>I need to take the glowing wand I have created back to Surok in Varrock<n><str>with an empty bowl.<n><str>I need to deliver Surok's letter to Rat who is waiting for me south<n><str>of Varrock.<str>I should speak to Rat again; he is waiting for me <n><str>south of Varrock<n><str>I need to speak to Zaff of Zaff's Staffs in Varrock.<n><blue>I need to tell <red>Surok <blue>in Varrock that he is under arrest.", 11);
|
||||
break;
|
||||
case 80:
|
||||
case 90:
|
||||
line(player, "<str>Rat, a trader in Varrock, has asked me to help him with a task.<n><str>Surok, a Wizard in Varrock, has asked me to complete a task for him.<n><str>I need to kill the outlaws west of Varrock so that I can collect<n><str>5 of Rat's papers.<str>I have delivered Rat's folder to him. Perhaps I<n><str>should speak to him again.<str>I need to deliver Rat's letter to <n><str>Surok Magis in Varrock. <str>I need to talk to Surok about the<n><str>secret he has for me.<n><str>I need to infuse the <str>metal wand <str>with chaos runes <str>at the <str>Chaos Altar<str>.<n><str>I also need<str> to find or buy an empty <str>bowl.<n><str>I need to infuse the metal wand with chaos runes at the Chaos Altar.<n><str>I also need to find or buy an empty bowl.<n><str>I need to take the glowing wand I have created back to Surok in Varrock<n><str>with an empty bowl.<n><str>I need to deliver Surok's letter to Rat who is waiting for me south<n><str>of Varrock.<str>I should speak to Rat again; he is waiting for me <n><str>south of Varrock<n><str>I need to speak to Zaff of Zaff's Staffs in Varrock.<n><str>I need to tell Surok in Varrock that he is under arrest.<n><str>I need to defeat King Roald in Varrock so that Zaff can remove the<n><str>mind-control spell.<n><blue>I need to tell <red>Rat <blue>what has happened; he is waiting for me<n><blue>south of Varrock.", 11);
|
||||
break;
|
||||
case 100:
|
||||
line(player, "<str>Rat, a trader in Varrock, has asked me to help him with a task.<n><str>Surok, a Wizard in Varrock, has asked me to complete a task for him.<n><str>I need to kill the outlaws west of Varrock so that I can collect<n><str>5 of Rat's papers.<str>I have delivered Rat's folder to him. Perhaps I<n><str>should speak to him again.<str>I need to deliver Rat's letter to <n><str>Surok Magis in Varrock. <str>I need to talk to Surok about the<n><str>secret he has for me.<n><str>I need to infuse the <str>metal wand <str>with chaos runes <str>at the <str>Chaos Altar<str>.<n><str>I also need<str> to find or buy an empty <str>bowl.<n><str>I need to infuse the metal wand with chaos runes at the Chaos Altar.<n><str>I also need to find or buy an empty bowl.<n><str>I need to take the glowing wand I have created back to Surok in Varrock<n><str>with an empty bowl.<n><str>I need to deliver Surok's letter to Rat who is waiting for me south<n><str>of Varrock.<str>I should speak to Rat again; he is waiting for me <n><str>south of Varrock<n><str>I need to speak to Zaff of Zaff's Staffs in Varrock.<n><str>I need to tell Surok in Varrock that he is under arrest.<n><str>I need to defeat King Roald in Varrock so that Zaff can remove the<n><str>mind-control spell.<n><str>I need to tell Rat what has happened; he is waiting for me<n><str>south of Varrock.<n><n><col=FF0000>QUEST COMPLETE!<n><blue>I have been given information about the <red>Chaos Tunnel<blue>.<n><blue>Zaff has given me the <red>Beacon Ring<blue>.", 11);
|
||||
break;
|
||||
var line = 12;
|
||||
|
||||
if(stage == 0){
|
||||
line(player, "I can start this quest by speaking to !!Rat Burgiss?? on the", line++);
|
||||
line(player, "road south of !!Varrock??.", line++);
|
||||
line(player, "Before I begin I will need to:", line++);
|
||||
line(player, "Have level 35 !!Runecrafting??.", line++, getStatLevel(player, Skills.RUNECRAFTING) >= 35);
|
||||
line(player, "Be able to defeat a !!level 47 enemy??.", line++);
|
||||
line(player, "I need to have completed the !!Rune Mysteries?? quest.", line++, isQuestComplete(player, "Rune Mysteries"));
|
||||
line(player, "Have a !!Mining?? level of 42 to use the !!Chaos Tunnel??.", line++, getStatLevel(player, Skills.MINING) >= 42);
|
||||
} else {
|
||||
// These are somehow at the top with different stage when crossed out.
|
||||
if (stage >= 10) {
|
||||
line(player, "!!Rat??, a trader in Varrock, has asked me to help him with a", line++, stage >= 30);
|
||||
line(player, "task.", line++, stage >= 30);
|
||||
}
|
||||
if (stage >= 30) {
|
||||
line(player, "!!Surok??, a Wizard in Varrock, has asked me to complete a", line++, stage >= 50);
|
||||
line(player, "task for him.", line++, stage >= 50);
|
||||
}
|
||||
// End
|
||||
|
||||
if (stage >= 10) {
|
||||
line(player, "I need to kill !!outlaws?? west of Varrock so that I can collect 5", line++, stage >= 20);
|
||||
line(player, "of Rat's !!papers??.", line++, stage >= 20);
|
||||
if (inInventory(player, Items.FULL_FOLDER_11007, 1)) {
|
||||
line(player, "I should take the !!full folder?? back to Rat.", line++);
|
||||
}
|
||||
}
|
||||
if (stage >= 20) {
|
||||
line(player, "I have delivered Rat's folder to him. Perhaps I should", line++, stage >= 30);
|
||||
line(player, "should speak to him again.", line++, stage >= 30);
|
||||
// Should be separated stages
|
||||
line(player, "I need to deliver !!Rat's?? letter to !!Surok Magis?? in !!Varrock??.", line++, stage >= 30);
|
||||
// Should be separated stages
|
||||
line(player, "I need to talk to !!Surok?? about the secret he has for me.", line++, stage >= 30);
|
||||
}
|
||||
if (stage >= 30) {
|
||||
line(player, "I need to infuse the !!metal wand?? with !!chaos runes?? at the", line++, stage >= 50);
|
||||
line(player, "!!Chaos Altar??. I also need to find or buy an empty !!bowl??.", line++, stage >= 50);
|
||||
}
|
||||
if (stage >= 50) {
|
||||
line(player, "I need to take the !!glowing wand?? I have created back to", line++, true);
|
||||
line(player, "!!Surok?? in Varrock along with an empty !!bowl??.", line++, true);
|
||||
// Should be separated stages
|
||||
line(player, "I need to deliver !!Surok's letter?? to !!Rat?? who is waiting for me", line++, true);
|
||||
line(player, "south of Varrock.", line++, true);
|
||||
// Should be separated stages
|
||||
line(player, "I should speak to !!Rat?? again; he is waiting for me south of", line++, stage >= 60);
|
||||
line(player, "Varrock.", line++, stage >= 60);
|
||||
}
|
||||
if (stage >= 60) {
|
||||
line(player, "I need to speak to !!Zaff?? of !!Zaff's Staffs?? in Varrock.", line++, stage >= 70);
|
||||
}
|
||||
if (stage >= 70) {
|
||||
line(player, "I need to tell !!Surok?? in Varrock that he is under arrest.", line++, stage >= 80);
|
||||
}
|
||||
if (stage >= 80) {
|
||||
line(player, "I need to defeat !!King Roald?? in Varrock so that !!Zaff?? can", line++, true);
|
||||
line(player, "remove the mind-control spell.", line++, true);
|
||||
// Should be separated stages
|
||||
line(player, "I need to tell !!Rat?? what has happened; he is waiting for me", line++, stage >= 100);
|
||||
line(player, "south of Varrock.", line++, stage >= 100);
|
||||
}
|
||||
if (stage >= 100) {
|
||||
line++;
|
||||
line++;
|
||||
line(player,"<col=FF0000>QUEST COMPLETE!</col>", line++);
|
||||
line++;
|
||||
line(player, "I have been given information about the !!Chaos Tunnel??.", line++);
|
||||
line(player, "Zaff has given me the !!Beacon Ring??.", line++);
|
||||
line++;
|
||||
line(player, "I have also been given !!8,000 Runecrafting XP, 2000??.", line++);
|
||||
line(player, "!!Defence XP?? and !!1 Quest Point??.", line++);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -161,22 +196,6 @@ public class WhatLiesBelow extends Quest {
|
|||
player.getQuestRepository().syncronizeTab(player);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the req message.
|
||||
* @return the message.
|
||||
*/
|
||||
public String getReqMessage(Player player) {
|
||||
hasRequirements(player);
|
||||
String s = "";
|
||||
for (int i = 0; i < requirements.length; i++) {
|
||||
String l = REQS[i];
|
||||
if (requirements[i]) {
|
||||
l = l.replace("<blue>", "").replace("<red>", "").trim();
|
||||
}
|
||||
s += (requirements[i] ? "<str>" : "") + l + "<n>";
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasRequirements(Player player) {
|
||||
|
|
|
|||
|
|
@ -67,12 +67,13 @@ class CreatureOfFenkenstrain : Quest("Creature of Fenkenstrain", 41, 40, 2, 399,
|
|||
} else if (stage >= 1) {
|
||||
line(player, "I should go up to the castle and speak to !!Dr Fenkenstrain??", line++, false)
|
||||
}
|
||||
line++
|
||||
if (stage >= 3) {
|
||||
line(player, "I gave a torso, some arms and legs, and a head to Fenkenstrain,", line++, true)
|
||||
line(player, "who then wanted a needle and 5 lots of thread, so that he could", line++, true)
|
||||
line(player, "sew the bodyparts together and create his creature.", line++, true)
|
||||
line(player, "I gave a torso, some arms and legs, and a head to", line++, true)
|
||||
line(player, "Fenkenstrain, who then wanted a needle and 5 lots of", line++, true)
|
||||
line(player, "thread, so that he could sew the bodyparts together and", line++, true)
|
||||
line(player, "create his creature.", line++, true)
|
||||
} else if (stage >= 2) {
|
||||
line++
|
||||
line(player, "I need to find these body parts for !!Fenkenstrain??:", line++, false)
|
||||
line(player, "a pair of !!arms??", line++, false)
|
||||
line(player, "a pair legs !!legs??", line++, false)
|
||||
|
|
@ -84,7 +85,6 @@ class CreatureOfFenkenstrain : Quest("Creature of Fenkenstrain", 41, 40, 2, 399,
|
|||
line(player, "elsewhere, so perhaps I should look at the graves in the", line++, false)
|
||||
line(player, "local area", line++, false)
|
||||
}
|
||||
line++
|
||||
if (stage >= 4) {
|
||||
line(player, "I brought Fenkenstrain a needle and 5 quantities of", line++, true)
|
||||
line(player, "thread.", line++, true)
|
||||
|
|
@ -92,15 +92,13 @@ class CreatureOfFenkenstrain : Quest("Creature of Fenkenstrain", 41, 40, 2, 399,
|
|||
line(player, "I need to bring !!Fenkenstrain?? a !!needle?? and !!5 quantities??", line++, false)
|
||||
line(player, "!!of thread??.", line++, false)
|
||||
}
|
||||
line++
|
||||
if (stage >= 5) {
|
||||
line(player, "I repaired the lightning conductor, and Fenkenstrain", line++, true)
|
||||
line(player, "brought the Creature to life.", line++, true)
|
||||
} else if (stage >= 4) {
|
||||
line(player, "I need to repair the !!lightning conductor?? on the", line++, false)
|
||||
line(player, "!!balcony?? above.", line++, false)
|
||||
line(player, "!!Fenkenstrain?? has ordered me to repair the lightning", line++, false)
|
||||
line(player, "conductor.", line++, false)
|
||||
}
|
||||
line++
|
||||
if (stage == 5) {
|
||||
line(player, "!!Fenkenstrain?? wants to talk to me.", line++, false)
|
||||
line++
|
||||
|
|
@ -115,10 +113,9 @@ class CreatureOfFenkenstrain : Quest("Creature of Fenkenstrain", 41, 40, 2, 399,
|
|||
line(player, "The !!Creature?? went on a rampage, and !!Fenkenstrain?? wants", line++, false)
|
||||
line(player, "me to go up the !!Tower?? to destroy it.", line++, false)
|
||||
}
|
||||
line++
|
||||
if (stage >= 8) {
|
||||
line(player, "I stole Fenkenstrain's Ring of Charos, and he released me from", line++, true)
|
||||
line(player, "his service.", line++, true)
|
||||
line(player, "I stole Fenkenstrain's Ring of Charos, and he released", line++, true)
|
||||
line(player, "me from his service.", line++, true)
|
||||
} else if (stage >= 7) {
|
||||
line(player, "I must find a way to stop Fenkenstrain's experiments.", line++, false)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,92 +16,179 @@ class NatureSpiritQuest : Quest("Nature Spirit", 95, 94, 2, 307, 0, 1, 110 ) {
|
|||
override fun drawJournal(player: Player?, stage: Int) {
|
||||
super.drawJournal(player, stage)
|
||||
player ?: return
|
||||
var line = 11
|
||||
var line = 12
|
||||
if(stage == 0){
|
||||
line(player, "I can start this quest by speaking to !!Drezel?? in the !!temple of Saradomin??.", line++)
|
||||
} else {
|
||||
if(stage >= 10){
|
||||
line(player, "After talking to Drezel in the temple of Saradomin I've",line++, true)
|
||||
line(player,"agreed to look for a Druid called Filliman Tarlock.", line++, true)
|
||||
line(player, "I can start this quest by speaking to !!Drezel?? in the temple.", line++)
|
||||
line(player, /* The "to" is [sic] */"to !!Saradomin?? at the mouth of the river !!Salve??.", line++)
|
||||
line(player, "I first need to complete :", line++)
|
||||
line(player, "!!The Restless Ghost.??", line++, isQuestComplete(player, "The Restless Ghost"))
|
||||
line(player, "!!Priest in Peril.??", line++, isQuestComplete(player, "Priest in Peril"))
|
||||
if (isQuestComplete(player, "The Restless Ghost") && isQuestComplete(player, "Priest in Peril")) {
|
||||
line(player, "I've completed all the quest requirements.", line++)
|
||||
}
|
||||
line(player, "In order to complete this quest !!level 18 crafting?? would be", line++, getStatLevel(player, Skills.CRAFTING) >= 18)
|
||||
line(player, "an advantage.", line++, getStatLevel(player, Skills.CRAFTING) >= 18)
|
||||
if (getStatLevel(player, Skills.CRAFTING) >= 18) {
|
||||
line(player, "I have a suitable crafting level for this quest.", line++)
|
||||
}
|
||||
if (isQuestComplete(player, "The Restless Ghost") && isQuestComplete(player, "Priest in Peril") && getStatLevel(player, Skills.CRAFTING) >= 18) {
|
||||
line(player, "I have all the requirements for this quest.", line++)
|
||||
}
|
||||
} else if (stage < 100) {
|
||||
line(player, "After talking to Drezel in the temple of Saradomin I've", line++, true)
|
||||
line(player, "agreed to look for a Druid called Filliman Tarlock.", line++, true)
|
||||
|
||||
if(stage == 10){
|
||||
line(player, "I need to look for !!Filliman Tarlock?? in the !!Swamps?? of Mort",line++)
|
||||
if (stage >= 15) {
|
||||
line(player, "I've found a spirit in the swamp which I think might be", line++, true)
|
||||
line(player, "Filliman Tarlock.", line++, true)
|
||||
} else if (stage >= 10) {
|
||||
line(player, "I need to look for !!Filliman Tarlock?? in the !!Swamps?? of Mort", line++)
|
||||
line(player, "Myre. I should be wary of !!Ghasts??.", line++)
|
||||
}
|
||||
|
||||
if(stage == 15){
|
||||
line(player, "I located a !!spirit?? in the swamp. I believe he's", line++, false)
|
||||
line(player, "!!Filliman Tarlock?? but I can't understand him.",line++, false)
|
||||
if (stage >= 20) {
|
||||
line(player, "I've communicated with Fillman using the amulet of", line++, true)
|
||||
line(player, "ghostspeak.", line++, true)
|
||||
} else if (stage >= 15) {
|
||||
// Questionable
|
||||
line(player, "I located a !!spirit?? in the swamp. I believe he's", line++)
|
||||
line(player, "!!Filliman Tarlock?? but I can't understand him.", line++)
|
||||
}
|
||||
|
||||
if(stage == 20){
|
||||
line(player, "I located !!Filliman Tarlock?? in the swamp. I believe he's",line++)
|
||||
line(player, "dead but he doesn't believe me. I need to convince him.", line++)
|
||||
if (stage >= 25) {
|
||||
line(player, "I managed to convince Fillman that he's a ghost.", line++, true)
|
||||
} else if (stage >= 20) {
|
||||
line(player, "I think I need to convince this poor fellow !!Tarlock?? that he's", line++)
|
||||
line(player, "actually !!dead??!", line++)
|
||||
}
|
||||
|
||||
if(stage >= 25){
|
||||
line(player, "I located Filliman Tarlock in the swamp and managed to",line++,true)
|
||||
line(player, "convince him that he is in fact a ghost. ", line++, true)
|
||||
if (stage >= 30) {
|
||||
line(player, "Fillman is looking for his journal to help him plan what his", line++, true)
|
||||
line(player, "next step is.", line++, true)
|
||||
line(player, "I've given Filliman his journal. I wonder what he plans to do", line++, true)
|
||||
line(player, "now?", line++, true)
|
||||
} else if (stage >= 25){
|
||||
line(player, "Fillman is looking for his !!journal?? to help him plan what his", line++, true)
|
||||
line(player, "next step is.", line++, true)
|
||||
// Questionable
|
||||
// line(player, "Filliman needs his !!journal?? to figure out what to do",line++)
|
||||
// line(player, "next. He mentioned something about a !!knot??.", line++)
|
||||
}
|
||||
|
||||
if(stage == 25){
|
||||
line(player, "Filliman needs his !!journal?? to figure out what to do",line++)
|
||||
line(player, "next. He mentioned something about a !!knot??.", line++)
|
||||
if (stage >= 35) {
|
||||
line(player, "I've agreed to help Fillman become a nature spirit.", line++, true)
|
||||
line(player, "I need to find 'something from nature', 'something of", line++, true)
|
||||
line(player, "faith' and 'something of the spirit-to-become freely", line++, true)
|
||||
line(player, "given'.", line++, true)
|
||||
} else if (stage >= 30) {
|
||||
// Derived by squinting hard
|
||||
line(player, "!!Filliman?? might need !!my help?? with his !!plan??.", line++)
|
||||
// Questionable
|
||||
// line(player, "I should speak to !!Filliman Tarlock?? to see what I can", line++)
|
||||
// line(player, "do to help.", line++)
|
||||
}
|
||||
|
||||
if(stage >= 30){
|
||||
line(player, "I recovered Filliman's journal for him.", line++, true)
|
||||
if (stage >= 40) {
|
||||
line(player, "Filliman gave me a 'bloom' spell to cast in the swamp.", line++, true)
|
||||
line(player, "With the bloom spell I can collect 'Something of nature.'", line++, true)
|
||||
line(player, "I've been blessed at the temple by Drezel.", line++, true)
|
||||
} else if (stage >= 35) {
|
||||
line(player, "!!Filliman?? gave me a '!!bloom??' spell but I need to be !!blessed?? at", line++)
|
||||
line(player, "the !!temple?? before I can cast it. I am supposed to collect", line++)
|
||||
line(player, "'!!something from nature??'.", line++)
|
||||
}
|
||||
|
||||
if(stage == 30) {
|
||||
line(player, "I should speak to !!Filliman Tarlock?? to see what I can",line++)
|
||||
line(player, "do to help.", line++)
|
||||
if (stage >= 45) {
|
||||
// Disappears.
|
||||
} else if (stage >= 40) {
|
||||
line(player, "I should return to !!Filliman?? to see what I need to do.", line++)
|
||||
}
|
||||
|
||||
if(stage >= 40){
|
||||
line(player, "I've gone and gotten blessed by Drezel.", line++, true)
|
||||
if (stage in 45 until 55){
|
||||
if (NSUtils.hasPlacedFungus(player)) {
|
||||
line(player, "I've cast the bloom spell in the swamp.", line++, true)
|
||||
line(player, "I collected a Mort Myre Fungi.", line++, true)
|
||||
line(player, "I think I have collected 'something of nature'.", line++, true)
|
||||
} else if (inInventory(player, Items.MORT_MYRE_FUNGUS_2970)) {
|
||||
line(player, "I've cast the bloom spell in the swamp.", line++, true)
|
||||
line(player, "I collected a Mort Myre Fungi.", line++, true)
|
||||
line(player, "I have a !!Mort Myre Fungi??, I hope this is what !!Fillman??",line++)
|
||||
line(player, "wanted.",line++)
|
||||
} else {
|
||||
// Questionable
|
||||
// if(stage == 50){
|
||||
// line(player, "I know for a fact the fungus is !!something of Nature??.", line++, false)
|
||||
// }
|
||||
line(player, "I need to collect '!!something of nature??'.", line++)
|
||||
}
|
||||
|
||||
if(stage >= 35) {
|
||||
line(player, "I've agreed to help Filliman become a Nature Spirit.",line++, true)
|
||||
// Just stand on the damn thing.
|
||||
line(player, "I need to find '!!something with faith??'.",line++, false)
|
||||
|
||||
if (NSUtils.hasPlacedCard(player)) {
|
||||
line(player, "The spell scroll was absorbed into the spirit stone I think I", line++, true)
|
||||
line(player, "have collected 'something of spirit-to-become freely", line++, true)
|
||||
line(player, "given.'", line++, true)
|
||||
} else {
|
||||
line(player, "I need to find :",line++)
|
||||
line(player, "'!!something of the spirit-to-be freely given??.'", line++)
|
||||
}
|
||||
}
|
||||
|
||||
if(stage == 35){
|
||||
line(player, "The first thing Filliman needs me to do is go and get",line++)
|
||||
line(player, "blessed by !!Drezel?? in the temple of Saradomin.",line++)
|
||||
if (stage >= 55) {
|
||||
line(player, "I managed to get all the required items that Fillman asked.", line++, true)
|
||||
line(player, "for. He says that he can cast the spell now which will", line++, true)
|
||||
line(player, "transform him into a Nature Spirit.", line++, true)
|
||||
}
|
||||
|
||||
if (stage == 40){
|
||||
line(player, "I should return to !!Filliman?? to see what I need to do.", line++, false)
|
||||
if (stage >= 60) {
|
||||
line(player, "I entered Fillimans grotto as he asked me to.", line++, true) // no apostrophe is sic
|
||||
line(player, "Filliman has turned into a nature spirit, it was an", line++, true)
|
||||
line(player, "impressive transformation!", line++, true)
|
||||
line(player, "Filliman says he can help me to defeat the ghasts.", line++, true)
|
||||
} else if (stage >= 55) {
|
||||
// Questionable
|
||||
line(player, "!!Filliman?? has asked me to enter his !!grotto??.", line++)
|
||||
}
|
||||
|
||||
if(stage in 45 until 55){
|
||||
line(player, "In order to help Filliman I need to find 3 things:", line++, false)
|
||||
line(player, "Something of !!Faith??.",line++, false)
|
||||
line(player, "Something of !!Nature??.", line++, stage >= 50)
|
||||
line(player, "Something of the !!spirit-to-be freely given??.", line++, false)
|
||||
if (stage >= 70) {
|
||||
line(player, "Filliman has blessed the silver sickle for me.", line++, true)
|
||||
// --- Should be separate stage, but we don't have it.
|
||||
// line(player, "I need to use the !!sickle?? to make the swamp bloom.", line++)
|
||||
line(player, "I cast the bloom spell in the swamp.", line++, true)
|
||||
// --- Should be separate stage, but we don't have it.
|
||||
// line(player, "I need to collect some !!bloomed items?? from the swamp", line++)
|
||||
// line(player, "and put them into a druid pouch.", line++)
|
||||
line(player, "I collected some bloomed items from the swamp an put", line++, true)
|
||||
line(player, "them into a druid pouch.", line++, true)
|
||||
} else if (stage >= 60) {
|
||||
// Questionable
|
||||
line(player, "I need to bring a silver sickle for !!Filliman?? to bless.", line++)
|
||||
}
|
||||
|
||||
if(stage == 50){
|
||||
line(player, "I know for a fact the fungus is !!something of Nature??.", line++, false)
|
||||
}
|
||||
|
||||
if(stage >= 55){
|
||||
line(player, "I've helped Filliman complete the spell.", line++, true)
|
||||
}
|
||||
|
||||
if(stage == 55){
|
||||
line(player, "Filliman has asked me to meet him back inside the !!grotto??.", line++, false)
|
||||
}
|
||||
|
||||
if(stage == 75){
|
||||
line(player, "I need to go and kill !!3 Ghasts?? for Filliman.", line++, false)
|
||||
}
|
||||
|
||||
if(stage >= 100){
|
||||
line(player,"%%QUEST COMPLETE!&&",line++)
|
||||
// We don't have this stage.
|
||||
// if (stage >= 80) {
|
||||
// line(player, "The druid pouch made a ghast appear which I attacked and", line++, true)
|
||||
// line(player, "killed.", line++, true)
|
||||
// line(player, "I've killed two ghasts now.", line++, true)
|
||||
// line(player, "I've killed three ghasts now.", line++, true)
|
||||
// line(player, "I should tell !!Filliman?? that I've killed the !!three ghasts??.", line++, true)
|
||||
// } else
|
||||
if (stage >= 75){
|
||||
line(player, "!!Filliman?? asked me to kill !!three Ghasts??.", line++, false)
|
||||
}
|
||||
} else {
|
||||
// The final text is a summary of the quest.
|
||||
line(player, "Drezel, a priest of Saradomin, asked me to look for the", line++, true)
|
||||
line(player, "druid Filliman Tarlock in the swamps of Mort Myre. However", line++, true)
|
||||
line(player, "Filliman had been slain and appeared as a ghost. After", line++, true)
|
||||
line(player, "persuading Filliman that he was in fact dead I helped him to", line++, true)
|
||||
line(player, "make a transformation into a Nature Spirit.", line++, true)
|
||||
line++
|
||||
line(player, "In return for this help Filliman blessed a silver sickle and", line++, true)
|
||||
line(player, "showed me how to defeat the ghasts of Mort Myre.", line++, true)
|
||||
line(player, "He also gave me some kill experience in crafting,", line++, true)
|
||||
line(player, "hitpoints and defence.", line++, true)
|
||||
line(player, "%%QUEST COMPLETE!&&",line++)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -25,6 +25,11 @@ public enum SpecialLadders implements LadderAchievementCheck {
|
|||
JATIZSO_SHOUT_TOWER_UP(Location.create(2373, 3800, 2),Location.create(2374, 3800, 0)),
|
||||
JATIZSO_SHOUT_TOWER_DOWN(Location.create(2373, 3800, 0),Location.create(2374, 3800, 2)),
|
||||
|
||||
// sendMessage(player, "You descend into the somewhat smoky depths of the well, to the accompaniment of")
|
||||
// sendMessage(player, "eery wails.") https://youtu.be/x8abdpkJ6ZA
|
||||
POLLNIVNEACH_SLAYER_DUNGEON_UP(Location.create(3358,2971,0), Location.create(3359,9354,0)),
|
||||
// sendMessage(player, "You nimbly climb up the bucket rope, emerging into Pollnivneach's bustling square.") https://youtu.be/LVwbmCNjlzQ
|
||||
POLLNIVNEACH_SLAYER_DUNGEON_DOWN(Location.create(3358,9352,0), Location.create(3358,2970,0)),
|
||||
ALKHARID_ZEKE_UP(Location.create(3284,3186,0), Location.create(3284,3190,1)),
|
||||
ALKHARID_ZEKE_DOWN(Location.create(3284,3190,1), Location.create(3284,3186,0)),
|
||||
ALKHARID_CRAFTING_UP(Location.create(3311,3187,0),Location.create(3314,3187,1)),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue