Merge pull request #252 from runelite-extended/superman-updates001
added a couple of custom cursor and 1 click for construction & crafti…
This commit is contained in:
@@ -34,7 +34,12 @@ public enum CustomCursor
|
|||||||
RS3_SILVER("RS3 Silver", "cursor-rs3-silver.png"),
|
RS3_SILVER("RS3 Silver", "cursor-rs3-silver.png"),
|
||||||
DRAGON_DAGGER("Dragon Dagger", "cursor-dragon-dagger.png"),
|
DRAGON_DAGGER("Dragon Dagger", "cursor-dragon-dagger.png"),
|
||||||
TROUT("Trout", "cursor-trout.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;
|
private final String name;
|
||||||
@Getter
|
@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();
|
startSwap();
|
||||||
performSwap();
|
performSwap();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -268,8 +268,8 @@ public interface EasyscapePluginConfig extends Config {
|
|||||||
default GloryMode getGloryMode() {
|
default GloryMode getGloryMode() {
|
||||||
return GloryMode.EDGEVILLE;
|
return GloryMode.EDGEVILLE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "swapWealthRing",
|
keyName = "swapWealthRing",
|
||||||
name = "Swap Ring of Wealth",
|
name = "Swap Ring of Wealth",
|
||||||
description = "Enables swapping of Ring of Wealth.",
|
description = "Enables swapping of Ring of Wealth.",
|
||||||
@@ -278,7 +278,8 @@ public interface EasyscapePluginConfig extends Config {
|
|||||||
default boolean getWealthRing() {
|
default boolean getWealthRing() {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ConfigItem(
|
|
||||||
|
@ConfigItem(
|
||||||
keyName = "WealthRingMode",
|
keyName = "WealthRingMode",
|
||||||
name = "Wealth Ring Mode",
|
name = "Wealth Ring Mode",
|
||||||
description = "Teleport location mode.",
|
description = "Teleport location mode.",
|
||||||
@@ -288,5 +289,25 @@ public interface EasyscapePluginConfig extends Config {
|
|||||||
default WealthRingMode getWealthRingMode() {
|
default WealthRingMode getWealthRingMode() {
|
||||||
return WealthRingMode.GRAND_EXCHANGE;
|
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