Merge 2009scape updates #19

Open
randy wants to merge 204 commits from 2009Scape:master into upstream
Showing only changes of commit 7583f6bff2 - Show all commits

View file

@ -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
}