mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-28 05:45:10 -06:00
double hatch define
This commit is contained in:
parent
dd001312f1
commit
84faca2608
2 changed files with 1 additions and 7 deletions
|
|
@ -241,12 +241,6 @@ class EWListeners : InteractionListener {
|
|||
/* * * * * * * * * * * * * * * *
|
||||
* Workshop Area listeners *
|
||||
* * * * * * * * * * * * * * */
|
||||
// Center hatch, inaccessible until unlocked during EW2
|
||||
on(Scenery.HATCH_18595, IntType.SCENERY, "open") { player, _ ->
|
||||
sendDialogue(player, "You're unable to open the locked hatch.")
|
||||
return@on true
|
||||
}
|
||||
|
||||
// Stone bowl box, player can get more at any time
|
||||
on(Scenery.BOXES_3397, IntType.SCENERY, "search") { player, _ ->
|
||||
// If the player doesn't have a stone bowl in their inventory
|
||||
|
|
|
|||
|
|
@ -382,7 +382,7 @@ class EW2Listeners : InteractionListener {
|
|||
if (inInventory(player, Items.KEY_9722)) {
|
||||
sendItemDialogue(player, Items.KEY_9722, "The key fits the lock in the hatch perfectly.")
|
||||
setVarbit(player, EW2HatchVarbit, 1, true)
|
||||
} else sendMessage(player, "The hatch is locked.")
|
||||
} else sendMessage(player, "You're unable to open the locked hatch.")
|
||||
|
||||
return@on true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue