Added missing Master Crafter dialogue
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user