mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-22 10:55:13 -06:00
remove the regionChunk hack
This commit is contained in:
parent
91f9bcaa19
commit
2d69b4a1fe
1 changed files with 4 additions and 4 deletions
|
|
@ -1049,7 +1049,7 @@ class EW2Listeners : InteractionListener {
|
|||
// I have commented out what would be the correct function below in case the issue ever gets fixed.
|
||||
// As a hack, the player is only allowed to place the medium cog below the small cog.
|
||||
// You can't remove the medium cog because it throws an exception (resetting the varbit will 'remove' the cog). kill me.
|
||||
onUseWith(IntType.SCENERY, intArrayOf(Items.MEDIUM_COG_9725), 18673) { player, item, _ ->
|
||||
/*onUseWith(IntType.SCENERY, intArrayOf(Items.MEDIUM_COG_9725), 18673) { player, item, _ ->
|
||||
when(item.id) {
|
||||
Items.MEDIUM_COG_9725 -> {
|
||||
setVarbit(player, EW2CogVarbit2, 2, true)
|
||||
|
|
@ -1059,9 +1059,9 @@ class EW2Listeners : InteractionListener {
|
|||
}
|
||||
}
|
||||
return@onUseWith true
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
/*
|
||||
// use cog with pin 2
|
||||
// pin 2: 2656: val 0 is scenery 18664 (pin). val 1 is scenery 18667 (small cog). val 2 is scenery 18668 (med cog). val 3 is scenery 18669 (large cog)
|
||||
onUseWith(IntType.SCENERY, intArrayOf(Items.SMALL_COG_9726, Items.MEDIUM_COG_9725, Items.LARGE_COG_9724), Scenery.PIN_18664) { player, item, _ ->
|
||||
|
|
@ -1087,7 +1087,7 @@ class EW2Listeners : InteractionListener {
|
|||
}
|
||||
return@onUseWith true
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
// use cog with pin 3
|
||||
// pin 3: 2657: val 0 is scenery 18666 (pin). val 1 is scenery 18670 (small cog). val 2 is scenery 18671 (med cog). val 3 is scenery 18672 (large cog)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue