Fixed Doric's Quest's log appearing blank
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ import core.tools.END_DIALOGUE
|
|||||||
import org.rs09.consts.Items
|
import org.rs09.consts.Items
|
||||||
import org.rs09.consts.NPCs
|
import org.rs09.consts.NPCs
|
||||||
|
|
||||||
class DoricDoricsQuestDialogue(val dStage: Int) : DialogueFile() {
|
class DoricDoricsQuestDialogue(private val dStage: Int) : DialogueFile() {
|
||||||
override fun handle(componentID: Int, buttonID: Int) {
|
override fun handle(componentID: Int, buttonID: Int) {
|
||||||
when(dStage) {
|
when(dStage) {
|
||||||
10 -> handleQuestStartDialogue(player, false)
|
10 -> handleQuestStartDialogue(player, false)
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ class DoricsQuest : Quest("Doric's Quest", 17, 16, 1, 31, 0, 1, 100) {
|
|||||||
line(player, "!!Falador??.", line++)
|
line(player, "!!Falador??.", line++)
|
||||||
line(player, "There aren't any requirements but !!Level 15 Mining?? will help.", line++)
|
line(player, "There aren't any requirements but !!Level 15 Mining?? will help.", line++)
|
||||||
} else {
|
} else {
|
||||||
if(stage == 50) {
|
if(stage in 1..99) {
|
||||||
line(player, "I have spoken to !!Doric??.", line++)
|
line(player, "I have spoken to !!Doric??.", line++)
|
||||||
line(player, "I need to collect some items and bring them to !!Doric??:", line++)
|
line(player, "I need to collect some items and bring them to !!Doric??:", line++)
|
||||||
line(player, "6 Clay", line++, inInventory(player, Items.CLAY_434, 6))
|
line(player, "6 Clay", line++, inInventory(player, Items.CLAY_434, 6))
|
||||||
|
|||||||
Reference in New Issue
Block a user