forked from 2009Scape/Server
Merge 2009scape updates #19
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue