mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-01 14:39:13 -06:00
Constlib Anim 535 and comment cleanup
This commit is contained in:
parent
b22525e204
commit
afad2cabda
1 changed files with 1 additions and 5 deletions
|
|
@ -30,9 +30,6 @@ import org.rs09.consts.Sounds
|
|||
class RestlessGhostListeners : InteractionListener {
|
||||
|
||||
companion object {
|
||||
//This is not in the Animations consts, added in Constlib MR !22
|
||||
private const val Animations_HUMAN_CLOSE_CHEST_535 = 535
|
||||
|
||||
private const val CLOSED_COFFIN = Scenery.COFFIN_2145
|
||||
private const val INCOMPLETE_COFFIN_OPEN = Scenery.COFFIN_15052
|
||||
private const val COMPLETE_COFFIN_OPEN = Scenery.COFFIN_15053
|
||||
|
|
@ -94,7 +91,7 @@ class RestlessGhostListeners : InteractionListener {
|
|||
COMPLETE_COFFIN_OPEN,
|
||||
INCOMPLETE_COFFIN_OPEN -> {
|
||||
//close it
|
||||
visualize(player, Animations_HUMAN_CLOSE_CHEST_535, -1)
|
||||
visualize(player, Animations.HUMAN_CLOSE_CHEST_535, -1)
|
||||
SceneryBuilder.replace(coffin, coffin.transform(CLOSED_COFFIN))
|
||||
}
|
||||
CLOSED_COFFIN -> {
|
||||
|
|
@ -124,7 +121,6 @@ class RestlessGhostListeners : InteractionListener {
|
|||
|
||||
if (!isQuestComplete(player, Quests.THE_RESTLESS_GHOST)) {
|
||||
val ghostExists = RegionManager.getLocalNPCs(node.centerLocation).find { it.id == NPCs.RESTLESS_GHOST_457 }
|
||||
//val ghostExists = RegionManager.getLocalNpcs(node.centerLocation).find { it.id == NPCs.RESTLESS_GHOST_457 }
|
||||
|
||||
//not within rendering distance or doesn't exist at all
|
||||
if (ghostExists == null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue