Implemented "Enter the A Soul's Bane Rift" achievement from the Varrock medium diary when entering the rift

This commit is contained in:
Sam Marder
2026-05-30 14:25:40 +00:00
committed by Ryan
parent 39ac26f5d9
commit 7583f6bff2
@@ -5,6 +5,7 @@ import core.game.interaction.InteractionListener
import core.game.world.map.Location
import org.rs09.consts.Scenery
import content.data.Quests
import core.game.node.entity.player.link.diary.DiaryType
// Temporary access since the monsters in there drop nothing.
class ASoulsBaneListener : InteractionListener {
@@ -16,6 +17,7 @@ class ASoulsBaneListener : InteractionListener {
on(RIFT_IDS, SCENERY, "enter") { player, _ ->
if (hasRequirement(player, Quests.A_SOULS_BANE)) {
teleport(player, Location(3297, 9824, 0))
player.achievementDiaryManager.finishTask(player, DiaryType.VARROCK, 1, 9)
}
return@on true
}