menu swapper: add Fly, Rellekka travel options, and Chase
This commit is contained in:
@@ -199,4 +199,15 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
position = 15,
|
||||||
|
keyName = "swapChase",
|
||||||
|
name = "Chase",
|
||||||
|
description = "Allows to left click your cat to chase"
|
||||||
|
)
|
||||||
|
default boolean swapChase()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -357,6 +357,10 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
swap("pay-fare", option, target, true);
|
swap("pay-fare", option, target, true);
|
||||||
swap("charter", option, target, true);
|
swap("charter", option, target, true);
|
||||||
swap("take-boat", option, target, true);
|
swap("take-boat", option, target, true);
|
||||||
|
swap("fly", option, target, true);
|
||||||
|
swap("jatizso", option, target, true);
|
||||||
|
swap("neitiznot", option, target, true);
|
||||||
|
swap("rellekka", option, target, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.swapPay())
|
if (config.swapPay())
|
||||||
@@ -418,6 +422,10 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
swap("use", option, target, true);
|
swap("use", option, target, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (config.swapChase() && option.equals("pick-up"))
|
||||||
|
{
|
||||||
|
swap("chase", option, target, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Subscribe
|
@Subscribe
|
||||||
|
|||||||
Reference in New Issue
Block a user