Falador medium achievement diary task for lighting bullseye lantern can now be obtained

This commit is contained in:
Swizey
2023-02-03 13:54:52 +00:00
committed by Ryan
parent c54f03d8cc
commit 406552fae4
5 changed files with 20 additions and 0 deletions
@@ -1,6 +1,7 @@
package content.global.skill.crafting.lightsources
import core.game.container.Container
import core.game.event.LitLightSourceEvent
import core.game.interaction.NodeUsageEvent
import core.game.interaction.UseWithHandler
import core.game.node.entity.player.Player
@@ -85,6 +86,7 @@ class LightSourceLighter : UseWithHandler(590,36,38){
if(playerLevel < requiredLevel) return false
player.inventory.replace(item,Item(lightSource.litID))
player.dispatch(LitLightSourceEvent(lightSource.litID))
return true
}
}