Added missing Master Crafter dialogue

This commit is contained in:
Bonesy 2024-03-26 01:48:50 +00:00 committed by Ryan
parent 3b967791a4
commit 1d4d380e93

View file

@ -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
} }