mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Added missing Master Crafter dialogue
This commit is contained in:
parent
3b967791a4
commit
1d4d380e93
1 changed files with 29 additions and 29 deletions
|
|
@ -49,7 +49,8 @@ class MasterCrafterDialogue(player: Player? = null) : DialoguePlugin(player) {
|
||||||
).also { stage++ }
|
).also { stage++ }
|
||||||
|
|
||||||
101 -> options(
|
101 -> options(
|
||||||
"99000 gold! Are you mad?", "That's fine."
|
"99000 gold! Are you mad?",
|
||||||
|
"That's fine."
|
||||||
).also { stage++ }
|
).also { stage++ }
|
||||||
|
|
||||||
102 -> {
|
102 -> {
|
||||||
|
|
@ -59,7 +60,20 @@ class MasterCrafterDialogue(player: Player? = null) : DialoguePlugin(player) {
|
||||||
"99000 gold! Are you mad?"
|
"99000 gold! Are you mad?"
|
||||||
).also { stage++ }
|
).also { stage++ }
|
||||||
|
|
||||||
2 -> {
|
2 -> playerl(
|
||||||
|
FacialExpression.FRIENDLY,
|
||||||
|
"That's fine."
|
||||||
|
).also { stage = 110 }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
103 -> npcl(
|
||||||
|
FacialExpression.FRIENDLY,
|
||||||
|
"Not at all; there are many other adventurers who would love the opportunity to purchase " +
|
||||||
|
"such a prestigious item! You can find me here if you change your mind."
|
||||||
|
).also { stage = END_DIALOGUE }
|
||||||
|
|
||||||
|
110 -> {
|
||||||
when {
|
when {
|
||||||
!inInventory(player, Items.COINS_995, 99000) -> playerl(
|
!inInventory(player, Items.COINS_995, 99000) -> playerl(
|
||||||
FacialExpression.NEUTRAL,
|
FacialExpression.NEUTRAL,
|
||||||
|
|
@ -73,28 +87,7 @@ class MasterCrafterDialogue(player: Player? = null) : DialoguePlugin(player) {
|
||||||
"to free up some inventory space before I can sell you one."
|
"to free up some inventory space before I can sell you one."
|
||||||
).also { stage = END_DIALOGUE }
|
).also { stage = END_DIALOGUE }
|
||||||
|
|
||||||
else -> playerl(
|
else -> {
|
||||||
FacialExpression.FRIENDLY,
|
|
||||||
"That's fine."
|
|
||||||
).also { stage = 112 }
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
103 -> npcl(
|
|
||||||
FacialExpression.FRIENDLY,
|
|
||||||
"Not at all; there are many other adventurers who would love the opportunity to purchase " +
|
|
||||||
"such a prestigious item! You can find me here if you change your mind."
|
|
||||||
).also { stage = END_DIALOGUE }
|
|
||||||
|
|
||||||
|
|
||||||
111 -> npcl(
|
|
||||||
FacialExpression.FRIENDLY,
|
|
||||||
"Well, come back and see me when you do."
|
|
||||||
).also { stage = END_DIALOGUE }
|
|
||||||
|
|
||||||
112 -> {
|
|
||||||
Skillcape.purchase(player, Skills.CRAFTING)
|
Skillcape.purchase(player, Skills.CRAFTING)
|
||||||
npcl(
|
npcl(
|
||||||
FacialExpression.FRIENDLY,
|
FacialExpression.FRIENDLY,
|
||||||
|
|
@ -102,6 +95,13 @@ class MasterCrafterDialogue(player: Player? = null) : DialoguePlugin(player) {
|
||||||
).also { stage = END_DIALOGUE }
|
).also { stage = END_DIALOGUE }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
111 -> npcl(
|
||||||
|
FacialExpression.FRIENDLY,
|
||||||
|
"Well, come back and see me when you do."
|
||||||
|
).also { stage = END_DIALOGUE }
|
||||||
|
}
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue