forked from 2009Scape/Server
Fixing minecarts that lead to keldagrim.
This commit is contained in:
parent
40196333ad
commit
6cc6a4c69c
1 changed files with 8 additions and 0 deletions
|
|
@ -46,6 +46,12 @@ class KeldagrimOptionHandlers : OptionHandler() {
|
|||
28094 -> player.dialogueInterpreter.open(GETrapdoorDialogueID)
|
||||
}
|
||||
}
|
||||
"ride" -> {
|
||||
when(node.id){
|
||||
7029 -> player.dialogueInterpreter.open(GETrapdoorDialogueID)
|
||||
7030 -> player.dialogueInterpreter.open(GETrapdoorDialogueID)
|
||||
}
|
||||
}
|
||||
"enter" -> {
|
||||
when(node.id){
|
||||
5014 -> player.properties.teleportLocation = Location.create(2730, 3713, 0)
|
||||
|
|
@ -62,6 +68,8 @@ class KeldagrimOptionHandlers : OptionHandler() {
|
|||
SceneryDefinition.forId(9138).handlers["option:climb-up"] = this
|
||||
SceneryDefinition.forId(28094).handlers["option:open"] = this
|
||||
SceneryDefinition.forId(5014).handlers["option:enter"] = this
|
||||
SceneryDefinition.forId(7029).handlers["option:ride"] = this
|
||||
SceneryDefinition.forId(7030).handlers["option:ride"] = this
|
||||
return this
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue