RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
CatherbyZone.java
1package com.osroyale.content.skill.impl.farming.zones;
2
3import com.osroyale.content.skill.impl.farming.patches.impl.AllotmentPatch;
4import com.osroyale.content.skill.impl.farming.patches.impl.FlowerPatch;
5import com.osroyale.content.skill.impl.farming.patches.impl.HerbPatch;
6import com.osroyale.game.world.Interactable;
7import com.osroyale.game.world.entity.mob.player.Player;
8import com.osroyale.game.world.position.Position;
9
46
47public class CatherbyZone extends FarmingZone {
48
50 private static final Interactable CATHERBY_BOUNDARY = Interactable.create(new Position(2804, 3458), 11, 11);
51
53 private static final Interactable[] NORTH_ALLOTMENT_PATCH = {
54 Interactable.create(new Position(2805, 3466), 2, 3),
55 Interactable.create(new Position(2807, 3467), 7, 2)
56 };
57
59 private static final Interactable[] SOUTH_ALLOTMENT_PATCH = {
60 Interactable.create(new Position(2805, 3459), 2, 3),
61 Interactable.create(new Position(2807, 3459), 7, 2)
62 };
63
65 private static final Interactable[] FLOWER_PATCH = {
66 Interactable.create(new Position(2809, 3463), 2, 2)
67 };
68
70 private static final Interactable[] HERB_PATCH = {
71 Interactable.create(new Position(2813, 3463), 2, 2)
72 };
73
74 public CatherbyZone(Player player) {
75 super(CATHERBY_BOUNDARY, 4);
76
77 FlowerPatch flowerPatch = new FlowerPatch(player, this, FLOWER_PATCH);
78 setPatch(0, new AllotmentPatch(player, this, flowerPatch, NORTH_ALLOTMENT_PATCH));
79 setPatch(1, new AllotmentPatch(player, this, flowerPatch, SOUTH_ALLOTMENT_PATCH));
80 setPatch(2, flowerPatch);
81 setPatch(3, new HerbPatch(player, this, HERB_PATCH));
82 }
83
84}
static Interactable create(Position position)