menu swapper: add Hardwood Grove menu swap option
This commit is contained in:
@@ -162,6 +162,16 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
return FairyRingMode.LAST_DESTINATION;
|
return FairyRingMode.LAST_DESTINATION;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "swapHardWoodGrove",
|
||||||
|
name = "Hardwood Grove",
|
||||||
|
description = "Swap Quick-Pay(100) and Send-Parcel at Hardwood Grove"
|
||||||
|
)
|
||||||
|
default boolean swapHardWoodGrove()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "swapHarpoon",
|
keyName = "swapHarpoon",
|
||||||
name = "Harpoon",
|
name = "Harpoon",
|
||||||
|
|||||||
@@ -383,6 +383,11 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
swap("teleport", option, target, true);
|
swap("teleport", option, target, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (config.swapHardWoodGrove() && target.contains("rionasta"))
|
||||||
|
{
|
||||||
|
swap("send-parcel", option, target, true);
|
||||||
|
}
|
||||||
|
|
||||||
if (config.swapBank())
|
if (config.swapBank())
|
||||||
{
|
{
|
||||||
swap("bank", option, target, true);
|
swap("bank", option, target, true);
|
||||||
@@ -458,6 +463,10 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
swap("pay-toll(10gp)", option, target, true);
|
swap("pay-toll(10gp)", option, target, true);
|
||||||
}
|
}
|
||||||
|
else if (config.swapHardWoodGrove() && option.equals("open") && target.equals("hardwood grove doors"))
|
||||||
|
{
|
||||||
|
swap("quick-pay(100)", option, target, true);
|
||||||
|
}
|
||||||
else if (config.swapTravel() && option.equals("inspect") && target.equals("trapdoor"))
|
else if (config.swapTravel() && option.equals("inspect") && target.equals("trapdoor"))
|
||||||
{
|
{
|
||||||
swap("travel", option, target, true);
|
swap("travel", option, target, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user