menu swapper: add con cape tele to poh

This commit is contained in:
Adam
2021-06-09 21:53:47 -04:00
parent 4abd69977b
commit e3f2b28fac
2 changed files with 13 additions and 0 deletions

View File

@@ -419,6 +419,17 @@ public interface MenuEntrySwapperConfig extends Config
return false;
}
@ConfigItem(
keyName = "swapTeleToPoh",
name = "Tele to POH",
description = "Swap Wear with Tele to POH on the construction cape",
section = itemSection
)
default boolean swapTeleToPoh()
{
return false;
}
@ConfigItem(
keyName = "swapAbyssTeleport",
name = "Teleport to Abyss",

View File

@@ -347,6 +347,8 @@ public class MenuEntrySwapperPlugin extends Plugin
swap("value", "sell 10", () -> shiftModifier() && config.shopSell() == SellMode.SELL_10);
swap("value", "sell 50", () -> shiftModifier() && config.shopSell() == SellMode.SELL_50);
swap("wear", "tele to poh", config::swapTeleToPoh);
swap("wear", "rub", config::swapTeleportItem);
swap("wear", "teleport", config::swapTeleportItem);
swap("wield", "teleport", config::swapTeleportItem);