RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
FaladorZone.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 FaladorZone extends FarmingZone {
48
50 private static final Interactable FALADOR_BOUNDARY = Interactable.create(new Position(3049, 3302), 11, 11);
51
53 private static final Interactable[] NORTH_ALLOTMENT_PATCH = {
54 Interactable.create(new Position(3050, 3307), 2, 6),
55 Interactable.create(new Position(3052, 3311), 3, 2)
56 };
57
59 private static final Interactable[] SOUTH_ALLOTMENT_PATCH = {
60 Interactable.create(new Position(3055, 3303), 3, 2),
61 Interactable.create(new Position(3058, 3303), 2, 6)
62 };
63
65 private static final Interactable[] FLOWER_PATCH = {
66 Interactable.create(new Position(3054, 3307), 2, 2)
67 };
68
70 private static final Interactable[] HERB_PATCH = {
71 Interactable.create(new Position(3058, 3311), 2, 2)
72 };
73
74 public FaladorZone(Player player) {
75 super(FALADOR_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)