Implemented Lletya Fruit Tree Patch
Implemented Harmony Island Allotment Patch. Patch is still unreachable without The Great Brain Robbery
This commit is contained in:
@@ -94,6 +94,10 @@ enum class FarmingPatch(val varbit: Int, val type: PatchType) {
|
|||||||
patchNodes.addAll(8382..8383)//spirit trees
|
patchNodes.addAll(8382..8383)//spirit trees
|
||||||
patchNodes.add(8338) //spirit tree
|
patchNodes.add(8338) //spirit tree
|
||||||
patchNodes.add(18816) //death plateau wrapper
|
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) {
|
for (patch in patchNodes) {
|
||||||
val def = SceneryDefinition.forId(patch)
|
val def = SceneryDefinition.forId(patch)
|
||||||
|
|||||||
@@ -255,6 +255,10 @@ class UseWithPatchHandler : InteractionListener {
|
|||||||
return@onUseWith true
|
return@onUseWith true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*if (patch == FarmingPatch.WILDERNESS_FLOWER && plantable != Plantable.LIMPWURT_SEED){
|
||||||
|
return@onUseWith true
|
||||||
|
}*/
|
||||||
|
|
||||||
val requiredItem = when (patch.type) {
|
val requiredItem = when (patch.type) {
|
||||||
PatchType.TREE_PATCH, PatchType.FRUIT_TREE_PATCH -> Items.SPADE_952
|
PatchType.TREE_PATCH, PatchType.FRUIT_TREE_PATCH -> Items.SPADE_952
|
||||||
PatchType.FLOWER_PATCH -> if (plantable == Plantable.SCARECROW) null else Items.SEED_DIBBER_5343
|
PatchType.FLOWER_PATCH -> if (plantable == Plantable.SCARECROW) null else Items.SEED_DIBBER_5343
|
||||||
|
|||||||
Reference in New Issue
Block a user