mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-28 05:45:10 -06:00
coffin fixes
This commit is contained in:
parent
50172d052c
commit
02e3ef26bd
1 changed files with 4 additions and 4 deletions
|
|
@ -72,7 +72,7 @@ class RestlessGhostListeners : InteractionListener {
|
|||
INCOMPLETE_COFFIN_OPEN -> {
|
||||
//close it
|
||||
visualize(player, Animations_HUMAN_CLOSE_CHEST_535, -1)
|
||||
SceneryBuilder.replace(coffin, coffin.transform(CLOSED_COFFIN), 200)
|
||||
SceneryBuilder.replace(coffin, coffin.transform(CLOSED_COFFIN))
|
||||
}
|
||||
CLOSED_COFFIN -> {
|
||||
//open it
|
||||
|
|
@ -80,9 +80,9 @@ class RestlessGhostListeners : InteractionListener {
|
|||
|
||||
if (isQuestComplete(player, Quests.THE_RESTLESS_GHOST)) {
|
||||
//full skele with skull
|
||||
SceneryBuilder.replace(coffin, coffin.transform(COMPLETE_COFFIN_OPEN), 200)
|
||||
SceneryBuilder.replace(coffin, coffin.transform(COMPLETE_COFFIN_OPEN))
|
||||
} else {
|
||||
SceneryBuilder.replace(coffin, coffin.transform(INCOMPLETE_COFFIN_OPEN), 200)
|
||||
SceneryBuilder.replace(coffin, coffin.transform(INCOMPLETE_COFFIN_OPEN))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -111,7 +111,7 @@ class RestlessGhostListeners : InteractionListener {
|
|||
//despawn ghost after awhile and shut the coffin
|
||||
queueScript(player, 100) { _ ->
|
||||
ghost.clear()
|
||||
//toggleCoffinSceneryObj(player, node)
|
||||
toggleCoffinSceneryObj(player, node)
|
||||
return@queueScript stopExecuting(player)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue