Add Sacred Eels and Barehand Fishing (#1857)
- Add Sacred Eels to fishing plugin - Add barehanded fishing animation to idle notifier plugin Closes #1852 and closes #1354 and closes #1859
This commit is contained in:
@@ -85,6 +85,7 @@ public final class AnimationID
|
|||||||
public static final int FISHING_OILY_ROD = 622;
|
public static final int FISHING_OILY_ROD = 622;
|
||||||
public static final int FISHING_KARAMBWAN = 1193;
|
public static final int FISHING_KARAMBWAN = 1193;
|
||||||
public static final int FISHING_CRUSHING_INFERNAL_EELS = 7553;
|
public static final int FISHING_CRUSHING_INFERNAL_EELS = 7553;
|
||||||
|
public static final int FISHING_BAREHAND = 6709;
|
||||||
public static final int MINING_BRONZE_PICKAXE = 625;
|
public static final int MINING_BRONZE_PICKAXE = 625;
|
||||||
public static final int MINING_IRON_PICKAXE = 626;
|
public static final int MINING_IRON_PICKAXE = 626;
|
||||||
public static final int MINING_STEEL_PICKAXE = 627;
|
public static final int MINING_STEEL_PICKAXE = 627;
|
||||||
|
|||||||
@@ -145,6 +145,16 @@ public interface FishingConfig extends Config
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "showSacredEel",
|
||||||
|
name = "Show Sacred Eel",
|
||||||
|
description = "Configures whether sacred eel is displayed"
|
||||||
|
)
|
||||||
|
default boolean showSacredEel()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "showKarambwanji",
|
keyName = "showKarambwanji",
|
||||||
name = "Show Karambwanji",
|
name = "Show Karambwanji",
|
||||||
|
|||||||
@@ -167,6 +167,10 @@ public class FishingPlugin extends Plugin
|
|||||||
if (config.showInfernalEel())
|
if (config.showInfernalEel())
|
||||||
{
|
{
|
||||||
spotIds.addAll(Ints.asList(FishingSpot.INFERNAL_EEL.getIds()));
|
spotIds.addAll(Ints.asList(FishingSpot.INFERNAL_EEL.getIds()));
|
||||||
|
}
|
||||||
|
if (config.showSacredEel())
|
||||||
|
{
|
||||||
|
spotIds.addAll(Ints.asList(FishingSpot.SACRED_EEL.getIds()));
|
||||||
}
|
}
|
||||||
if (config.showKarambwanji())
|
if (config.showKarambwanji())
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -43,6 +43,7 @@ import static net.runelite.api.NpcID.FISHING_SPOT_4316;
|
|||||||
import static net.runelite.api.NpcID.FISHING_SPOT_4710;
|
import static net.runelite.api.NpcID.FISHING_SPOT_4710;
|
||||||
import static net.runelite.api.NpcID.FISHING_SPOT_4712;
|
import static net.runelite.api.NpcID.FISHING_SPOT_4712;
|
||||||
import static net.runelite.api.NpcID.FISHING_SPOT_4713;
|
import static net.runelite.api.NpcID.FISHING_SPOT_4713;
|
||||||
|
import static net.runelite.api.NpcID.FISHING_SPOT_6488;
|
||||||
import static net.runelite.api.NpcID.FISHING_SPOT_7155;
|
import static net.runelite.api.NpcID.FISHING_SPOT_7155;
|
||||||
import static net.runelite.api.NpcID.FISHING_SPOT_7199;
|
import static net.runelite.api.NpcID.FISHING_SPOT_7199;
|
||||||
import static net.runelite.api.NpcID.FISHING_SPOT_7200;
|
import static net.runelite.api.NpcID.FISHING_SPOT_7200;
|
||||||
@@ -103,6 +104,9 @@ public enum FishingSpot
|
|||||||
),
|
),
|
||||||
KARAMBWANJI("Karambwanji, Shrimp", ItemID.KARAMBWANJI,
|
KARAMBWANJI("Karambwanji, Shrimp", ItemID.KARAMBWANJI,
|
||||||
FISHING_SPOT_4710
|
FISHING_SPOT_4710
|
||||||
|
),
|
||||||
|
SACRED_EEL("Sacred eel", ItemID.SACRED_EEL,
|
||||||
|
FISHING_SPOT_6488
|
||||||
);
|
);
|
||||||
|
|
||||||
private static final Map<Integer, FishingSpot> fishingSpots = new HashMap<>();
|
private static final Map<Integer, FishingSpot> fishingSpots = new HashMap<>();
|
||||||
|
|||||||
@@ -148,6 +148,7 @@ public class IdleNotifierPlugin extends Plugin
|
|||||||
case FISHING_OILY_ROD:
|
case FISHING_OILY_ROD:
|
||||||
case FISHING_KARAMBWAN:
|
case FISHING_KARAMBWAN:
|
||||||
case FISHING_CRUSHING_INFERNAL_EELS:
|
case FISHING_CRUSHING_INFERNAL_EELS:
|
||||||
|
case FISHING_BAREHAND:
|
||||||
/* Mining(Normal) */
|
/* Mining(Normal) */
|
||||||
case MINING_BRONZE_PICKAXE:
|
case MINING_BRONZE_PICKAXE:
|
||||||
case MINING_IRON_PICKAXE:
|
case MINING_IRON_PICKAXE:
|
||||||
|
|||||||
Reference in New Issue
Block a user