mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-09 16:45:44 -07:00
Implemented Lletya Fruit Tree Patch
Implemented Harmony Island Allotment Patch. Patch is still unreachable without The Great Brain Robbery
This commit is contained in:
parent
fc00509b9d
commit
eafa5f42ab
2 changed files with 8 additions and 0 deletions
|
|
@ -94,6 +94,10 @@ enum class FarmingPatch(val varbit: Int, val type: PatchType) {
|
|||
patchNodes.addAll(8382..8383)//spirit trees
|
||||
patchNodes.add(8338) //spirit tree
|
||||
patchNodes.add(18816) //death plateau wrapper
|
||||
patchNodes.add(21950) //harmony island allotment
|
||||
patchNodes.add(28919) //lletya fruit patch. Was usable in 2009: https://www.youtube.com/watch?v=7sXOW4CRZ3k
|
||||
//patchNodes.add(37988) Wilderness flower patch. Can only plant Limpwurt Seeds. Intentionally left out, as it is a reward from Spirit of Summer.
|
||||
|
||||
|
||||
for (patch in patchNodes) {
|
||||
val def = SceneryDefinition.forId(patch)
|
||||
|
|
|
|||
|
|
@ -255,6 +255,10 @@ class UseWithPatchHandler : InteractionListener {
|
|||
return@onUseWith true
|
||||
}
|
||||
|
||||
/*if (patch == FarmingPatch.WILDERNESS_FLOWER && plantable != Plantable.LIMPWURT_SEED){
|
||||
return@onUseWith true
|
||||
}*/
|
||||
|
||||
val requiredItem = when (patch.type) {
|
||||
PatchType.TREE_PATCH, PatchType.FRUIT_TREE_PATCH -> Items.SPADE_952
|
||||
PatchType.FLOWER_PATCH -> if (plantable == Plantable.SCARECROW) null else Items.SEED_DIBBER_5343
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue