Constlib Anim 535 and comment cleanup

This commit is contained in:
Beck 2026-07-15 16:28:30 -07:00
parent b22525e204
commit afad2cabda

View file

@ -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) {