mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-01 14:39:13 -06:00
misc stuff
This commit is contained in:
parent
6eb1174db8
commit
531699b124
1 changed files with 9 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue