RuneHive-Tarnish
Neural OSRS Enhancement Framework
Loading...
Searching...
No Matches
PhasmatyZone.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 PhasmatyZone extends FarmingZone {
48
50 private static final Interactable PHASMATY_BOUNDARY = Interactable.create(new Position(3596, 3520), 11, 11);
51
53 private static final Interactable[] NORTH_ALLOTMENT_PATCH = {
54 Interactable.create(new Position(3597, 3525), 2, 6),
55 Interactable.create(new Position(3599, 3529), 3, 2)
56 };
57
59 private static final Interactable[] SOUTH_ALLOTMENT_PATCH = {
60 Interactable.create(new Position(3602, 3521), 3, 2),
61 Interactable.create(new Position(3605, 3521), 2, 6)
62 };
63
65 private static final Interactable[] FLOWER_PATCH = {
66 Interactable.create(new Position(3601, 3525), 2, 2)
67 };
68
70 private static final Interactable[] HERB_PATCH = {
71 Interactable.create(new Position(3605, 3529), 2, 2)
72 };
73
74 public PhasmatyZone(Player player) {
75 super(PHASMATY_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)