Implemented Lletya Fruit Tree Patch

Implemented Harmony Island Allotment Patch. Patch is still unreachable without The Great Brain Robbery
This commit is contained in:
Syndromeramo 2025-05-24 03:36:22 +00:00 committed by Ryan
parent fc00509b9d
commit eafa5f42ab
2 changed files with 8 additions and 0 deletions

View file

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

View file

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