menu swapper: add tan all swap

This commit is contained in:
Adam
2020-06-23 15:17:07 -04:00
parent f20d3e7e1e
commit 6950bf166e
2 changed files with 13 additions and 0 deletions

View File

@@ -549,4 +549,15 @@ public interface MenuEntrySwapperConfig extends Config
{
return false;
}
@ConfigItem(
keyName = "swapTan",
name = "Tan",
description = "Swap Tan 1 with Tan All",
section = uiSection
)
default boolean swapTan()
{
return false;
}
}

View File

@@ -352,6 +352,8 @@ public class MenuEntrySwapperPlugin extends Plugin
swap("collect-item", "bank", () -> config.swapGEItemCollect() == GEItemCollectMode.BANK);
swap("collect-items", "bank", () -> config.swapGEItemCollect() == GEItemCollectMode.BANK);
swap("tan 1", "tan all", config::swapTan);
swapTeleport("varrock teleport", "grand exchange");
swapTeleport("camelot teleport", "seers'");
swapTeleport("watchtower teleport", "yanille");