menu entry swapper: add captain khaled talk-to/task swap
This commit is contained in:
@@ -132,6 +132,16 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "swapCaptainKhaled",
|
||||||
|
name = "Task",
|
||||||
|
description = "Swap Talk-to with Task for Captain Khaled in Port Piscarilius"
|
||||||
|
)
|
||||||
|
default boolean swapCaptainKhaled()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "swapDecant",
|
keyName = "swapDecant",
|
||||||
name = "Decant",
|
name = "Decant",
|
||||||
|
|||||||
@@ -381,6 +381,11 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
swap("send-parcel", option, target, index);
|
swap("send-parcel", option, target, index);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (config.swapCaptainKhaled() && target.contains("captain khaled"))
|
||||||
|
{
|
||||||
|
swap("task", option, target, index);
|
||||||
|
}
|
||||||
|
|
||||||
if (config.swapBank())
|
if (config.swapBank())
|
||||||
{
|
{
|
||||||
swap("bank", option, target, index);
|
swap("bank", option, target, index);
|
||||||
|
|||||||
Reference in New Issue
Block a user