double hatch define

This commit is contained in:
aidan 2026-05-28 16:03:41 -05:00
parent dd001312f1
commit 84faca2608
2 changed files with 1 additions and 7 deletions

View file

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

View file

@ -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
}