Improved handling of buying Dragon Scimitars from Daga in dialogue and declining the Fremennik Trials quest from Brundt
This commit is contained in:
+1
-3
@@ -42,9 +42,7 @@ class DagaDialogue(player: Player? = null) : DialoguePlugin(player){
|
||||
|
||||
32 -> when (buttonId) {
|
||||
1 -> if (inInventory(player, Items.COINS_995, 100000)) {
|
||||
end()
|
||||
removeItem(player, Item(Items.COINS_995, 100000), Container.INVENTORY)
|
||||
addItem(player, Items.DRAGON_SCIMITAR_4587, 1)
|
||||
end().also { return removeItem(player, Item(Items.COINS_995, 100000)) && addItem(player, Items.DRAGON_SCIMITAR_4587, 1) }
|
||||
} else {
|
||||
npcl(FacialExpression.OLD_NORMAL, "Sorry but you don't have enough to buy one, at the moment it costs 100,000 gold coins.").also { stage = END_DIALOGUE }
|
||||
}
|
||||
|
||||
+4
-4
@@ -98,11 +98,11 @@ class ChieftanBrundt(player: Player? = null) : DialoguePlugin(player){
|
||||
|
||||
//Do you have any quests?
|
||||
300 -> {npc("Quests, you say outlander? Well, I would not call it a","quest as such, but if you are brave of heart and strong","of body, perhaps..."); stage++}
|
||||
301 -> {npc("No, you would not be interested. Forget I said","anything, outerlander.");stage++}
|
||||
302 -> {options("Yes, I am interested.","No, I'm not interested.");stage++}
|
||||
301 -> {npc("No, you would not be interested. Forget I said","anything, outerlander."); stage++ }
|
||||
302 -> {options("Yes, I am interested.","No, I'm not interested."); stage++ }
|
||||
303 -> when(buttonId){
|
||||
1 -> {player("Actually, I would be very interested to hear what you","have to offer.");stage = 310}
|
||||
2 -> player("No, I'm not interested.").also { stage = END_DIALOGUE }
|
||||
1 -> {player("Actually, I would be very interested to hear what you","have to offer."); stage = 310 }
|
||||
2 -> {player("No, I'm not interested."); stage = END_DIALOGUE }
|
||||
}
|
||||
|
||||
//Yes, I am interested in what you have to say.
|
||||
|
||||
Reference in New Issue
Block a user