Implemented Varrock hard achievement for recovering Family Crest gauntlets
This commit is contained in:
+2
@@ -7,6 +7,7 @@ import core.game.node.entity.player.Player
|
|||||||
import core.plugin.Initializable
|
import core.plugin.Initializable
|
||||||
import org.rs09.consts.Items
|
import org.rs09.consts.Items
|
||||||
import content.data.Quests
|
import content.data.Quests
|
||||||
|
import core.game.node.entity.player.link.diary.DiaryType
|
||||||
|
|
||||||
|
|
||||||
@Initializable
|
@Initializable
|
||||||
@@ -173,6 +174,7 @@ class DimintheisDialogue(player: Player? = null): core.game.dialogue.DialoguePlu
|
|||||||
6000 -> npc("Not to worry, here they are").also {
|
6000 -> npc("Not to worry, here they are").also {
|
||||||
stage = 1000
|
stage = 1000
|
||||||
addItem(player, getAttribute(player, "family-crest:gauntlets", Items.FAMILY_GAUNTLETS_778))
|
addItem(player, getAttribute(player, "family-crest:gauntlets", Items.FAMILY_GAUNTLETS_778))
|
||||||
|
player.achievementDiaryManager.finishTask(player, DiaryType.VARROCK, 2, 9)
|
||||||
}
|
}
|
||||||
|
|
||||||
1000 -> end()
|
1000 -> end()
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ public enum DiaryType {
|
|||||||
"Craft an air battlestaff",
|
"Craft an air battlestaff",
|
||||||
"Give your player-owned house a tropical wood or fancy stone<br><br>finish at the Varrock estate agent's",
|
"Give your player-owned house a tropical wood or fancy stone<br><br>finish at the Varrock estate agent's",
|
||||||
"Make a Varrock teleport tablet on a mahogany lectern",
|
"Make a Varrock teleport tablet on a mahogany lectern",
|
||||||
"Obtain a new set of Family Crest gauntlets from Dimintheis", // TODO need family crest
|
"Obtain a new set of Family Crest gauntlets from Dimintheis",
|
||||||
"Make a Waka Canoe near Edgeville",
|
"Make a Waka Canoe near Edgeville",
|
||||||
"Use the Home Teleport spell in the Ancient Magicks spellbook<br><br>to teleport to Edgeville",
|
"Use the Home Teleport spell in the Ancient Magicks spellbook<br><br>to teleport to Edgeville",
|
||||||
"Use the skull sceptre to teleport to Barbarian Village"
|
"Use the skull sceptre to teleport to Barbarian Village"
|
||||||
|
|||||||
Reference in New Issue
Block a user