added a couple of custom cursor and 1 click for construction & crafting teleport
This commit is contained in:
@@ -34,7 +34,12 @@ public enum CustomCursor
|
||||
RS3_SILVER("RS3 Silver", "cursor-rs3-silver.png"),
|
||||
DRAGON_DAGGER("Dragon Dagger", "cursor-dragon-dagger.png"),
|
||||
TROUT("Trout", "cursor-trout.png"),
|
||||
DRAGON_SCIMITAR("Dragon Scimitar", "cursor-dragon-scimitar.png");
|
||||
DRAGON_SCIMITAR("Dragon Scimitar", "cursor-dragon-scimitar.png"),
|
||||
ARMADYL_GODSWORD("Armadyl godsword", "cursor-armadyl-godsword.png"),
|
||||
BANDOS_GODSWORD("BAndos godsword", "cursor-bandos-godsword.png"),
|
||||
MOUSE("Mouse", "cursor-mouse.png"),
|
||||
SARADOMIN_GODSWORD("Saradomin godsword", "cursor-saradomin-godsword.png"),
|
||||
ZAMORAK_GODSWORD("Zamorak godsword", "cursor-zamorak-godsword.png");
|
||||
|
||||
private final String name;
|
||||
@Getter
|
||||
|
||||
@@ -323,6 +323,16 @@ public class EasyscapePlugin extends Plugin {
|
||||
}
|
||||
}
|
||||
|
||||
if (target.toLowerCase().contains("crafting cape") && config.getSwapCraftingCape()) {
|
||||
swap("Teleport", option, target);
|
||||
|
||||
}
|
||||
|
||||
if (target.toLowerCase().contains("construct. cape") && config.getSwapConstructionCape()) {
|
||||
swap("Tele to poh", option, target);
|
||||
|
||||
}
|
||||
|
||||
startSwap();
|
||||
performSwap();
|
||||
}
|
||||
|
||||
@@ -268,8 +268,8 @@ public interface EasyscapePluginConfig extends Config {
|
||||
default GloryMode getGloryMode() {
|
||||
return GloryMode.EDGEVILLE;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapWealthRing",
|
||||
name = "Swap Ring of Wealth",
|
||||
description = "Enables swapping of Ring of Wealth.",
|
||||
@@ -278,7 +278,8 @@ public interface EasyscapePluginConfig extends Config {
|
||||
default boolean getWealthRing() {
|
||||
return true;
|
||||
}
|
||||
@ConfigItem(
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "WealthRingMode",
|
||||
name = "Wealth Ring Mode",
|
||||
description = "Teleport location mode.",
|
||||
@@ -288,5 +289,25 @@ public interface EasyscapePluginConfig extends Config {
|
||||
default WealthRingMode getWealthRingMode() {
|
||||
return WealthRingMode.GRAND_EXCHANGE;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapConstructionCape",
|
||||
name = "Swap Construction Cape",
|
||||
description = "Enables swapping of teleport and wear.",
|
||||
position = 25
|
||||
)
|
||||
default boolean getSwapConstructionCape() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapCraftingCape",
|
||||
name = "Swap Crafting Cape",
|
||||
description = "Enables swapping of teleport and wear.",
|
||||
position = 26
|
||||
)
|
||||
default boolean getSwapCraftingCape() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user