mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-23 11:25:11 -06:00
ContentAPI finishTask
This commit is contained in:
parent
a52bea7db5
commit
4fc33cf3fd
1 changed files with 2 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ import core.api.*
|
|||
import core.game.dialogue.ChatAnim
|
||||
import core.game.dialogue.DialogueLabeller
|
||||
import core.game.dialogue.DialogueOption
|
||||
import core.game.diary.DiaryLevel
|
||||
import core.game.interaction.IntType
|
||||
import core.game.interaction.InteractionListener
|
||||
import core.game.node.entity.npc.NPC
|
||||
|
|
@ -115,7 +116,7 @@ class SirReniteeDialogueFile : DialogueLabeller() {
|
|||
loadLabel(player, "show_new_crest")
|
||||
}
|
||||
if (!player.achievementDiaryManager.getDiary(DiaryType.FALADOR).isComplete(0, 4)) {
|
||||
player.achievementDiaryManager.getDiary(DiaryType.FALADOR).updateTask(player, 0, 4, true)
|
||||
finishTask(player, DiaryType.FALADOR, DiaryLevel.EASY, 4)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue