Hunter sound improvements
Implemented setup, dismantle, and catching sound for bird snares Implemented setup, dismantle, and catching sound for box traps Implemented setup, dismantle, and catching sound for net traps Implemented setup, dismantle, and catching sound for dead falls Implemented setup and dismantle sound for rabbit snares Implemented butterfly net swing sound Implemented falconry fly and catch sound Implemented noose sound when catching kebbits Implemented setup, dismantle, catching, teasing, jumping over, and npc jumping over pitfall sound to pitfalls Implemented appropriate player lock time to setting up net traps and deadfalls to avoid players from interrupting the action Implemented appropriate player lock time to dismantling bird snares, box traps, net traps, rabbit snares and deadfalls to avoid players from interrupting the action Implemented a new function to play sound at a location
This commit is contained in:
@@ -16,6 +16,7 @@ import org.rs09.consts.Items
|
||||
import core.tools.SystemLogger
|
||||
import core.game.world.GameWorld
|
||||
import core.tools.Log
|
||||
import org.rs09.consts.Sounds
|
||||
import java.util.*
|
||||
|
||||
/**
|
||||
@@ -164,6 +165,7 @@ abstract class HunterTracking : OptionHandler(){
|
||||
fun reward(player: Player, success: Boolean) {
|
||||
player.lock()
|
||||
player.animator.animate(if(success) KEBBIT_ANIM else MISS_ANIM)
|
||||
playAudio(player, getAudio(Sounds.HUNTING_NOOSE_2637))
|
||||
GameWorld.Pulser.submit(object : Pulse(KEBBIT_ANIM.duration){
|
||||
override fun pulse(): Boolean {
|
||||
if(hasTrail(player) && success){
|
||||
|
||||
Reference in New Issue
Block a user