mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Can now recover your digsite trowel from the examiner
This commit is contained in:
parent
f0ee476e42
commit
6362eee753
1 changed files with 12 additions and 1 deletions
|
|
@ -45,7 +45,18 @@ class ExaminerDialogueFile : DialogueBuilderFile() {
|
||||||
}
|
}
|
||||||
|
|
||||||
b.onQuestStages(Quests.THE_DIG_SITE, 6, 7, 8, 9, 10, 11, 12)
|
b.onQuestStages(Quests.THE_DIG_SITE, 6, 7, 8, 9, 10, 11, 12)
|
||||||
.npcl(FacialExpression.FRIENDLY, "Well, what are you doing here? Get digging!")
|
.branch { player -> if(inInventory(player, Items.TROWEL_676)) { 0 } else { 1 } }
|
||||||
|
.let{ branch ->
|
||||||
|
branch.onValue(0)
|
||||||
|
.npcl(FacialExpression.FRIENDLY, "Well, what are you doing here? Get digging!")
|
||||||
|
.end()
|
||||||
|
branch.onValue(1)
|
||||||
|
.playerl("I have lost my trowel.")
|
||||||
|
.npcl("Deary me. That was a good one as well. It's a good job I have another. Here you go...")
|
||||||
|
.endWith { _, player ->
|
||||||
|
addItemOrDrop(player, Items.TROWEL_676)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
b.onQuestStages(Quests.THE_DIG_SITE, 5)
|
b.onQuestStages(Quests.THE_DIG_SITE, 5)
|
||||||
.playerl(FacialExpression.FRIENDLY, "Hello.")
|
.playerl(FacialExpression.FRIENDLY, "Hello.")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue