From 531699b124009c0d49ae5ac7c811a437fa5abbaa Mon Sep 17 00:00:00 2001 From: Beck Date: Thu, 4 Jun 2026 21:18:15 -0700 Subject: [PATCH] misc stuff --- .../quest/therestlessghost/RestlessGhostListeners.kt | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Server/src/main/content/region/misthalin/lumbridge/quest/therestlessghost/RestlessGhostListeners.kt b/Server/src/main/content/region/misthalin/lumbridge/quest/therestlessghost/RestlessGhostListeners.kt index 4b7a74478..80462b39a 100644 --- a/Server/src/main/content/region/misthalin/lumbridge/quest/therestlessghost/RestlessGhostListeners.kt +++ b/Server/src/main/content/region/misthalin/lumbridge/quest/therestlessghost/RestlessGhostListeners.kt @@ -19,9 +19,15 @@ import org.rs09.consts.NPCs import org.rs09.consts.Scenery import org.rs09.consts.Sounds +/** +* Authenticity source Aug 18 2009 +* https://www.youtube.com/watch?v=ikbX12Xywxs +* * Author Beck, Vexia +**/ class RestlessGhostListeners : InteractionListener { companion object { + //This is not in the Animations consts private const val Animations_HUMAN_CLOSE_CHEST_535 = 535 private const val CLOSED_COFFIN = Scenery.COFFIN_2145 @@ -39,10 +45,10 @@ class RestlessGhostListeners : InteractionListener { return restlessGhostNPC } - //client side only visual, removes the skeleton on ground, resets in ~2mins + //removes the skeleton on ground, resets in ~2mins private fun animSkeleAlive(player: Player, skeleScenery: core.game.node.scenery.Scenery) { - //Missing: find animation and maybe sfx + //Missing: find animation and maybe sfx of the skeleton coming alive queueScript(player, 4) {_ -> SceneryBuilder.remove(skeleScenery, 200) @@ -178,7 +184,7 @@ class RestlessGhostListeners : InteractionListener { sendMessage(player, "The skeleton in the corner suddenly comes to life!") //skele comes to live from scenery 15057 with an animation, - //but idk how to query for it to at least remove it from the world briefly + //but idk how to select it to at least remove/hide it from the world briefly //animSkeleAlive(player, node as core.game.node.scenery.Scenery) //spawn in skeleton