Add more travel menu swap options and claim slime swap
Al Kharid gate and the gate near Ectofungus. Follow the gnome at gnome maze. Claim slime from Morytania diaries.
This commit is contained in:
@@ -210,4 +210,15 @@ public interface MenuEntrySwapperConfig extends Config
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 16,
|
||||
keyName = "claimSlime",
|
||||
name = "Claim Slime",
|
||||
description = "Swap Talk-to with Claim Slime from Morytania diaries"
|
||||
)
|
||||
default boolean claimSlime()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -356,6 +356,11 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
swap("trade", option, target, true);
|
||||
}
|
||||
|
||||
if (config.claimSlime() && target.equals("robin"))
|
||||
{
|
||||
swap("claim-slime", option, target, true);
|
||||
}
|
||||
|
||||
if (config.swapTravel())
|
||||
{
|
||||
swap("travel", option, target, true);
|
||||
@@ -366,6 +371,7 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
swap("jatizso", option, target, true);
|
||||
swap("neitiznot", option, target, true);
|
||||
swap("rellekka", option, target, true);
|
||||
swap("follow", option, target, true);
|
||||
}
|
||||
|
||||
if (config.swapPay())
|
||||
@@ -373,6 +379,14 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
swap("pay", option, target, true);
|
||||
}
|
||||
}
|
||||
else if (config.swapTravel() && option.equals("pass") && target.equals("energy barrier"))
|
||||
{
|
||||
swap("pay-toll(2-ecto)", option, target, true);
|
||||
}
|
||||
else if (config.swapTravel() && option.equals("open") && target.equals("gate"))
|
||||
{
|
||||
swap("pay-toll(10gp)", option, target, true);
|
||||
}
|
||||
else if (config.swapHarpoon() && option.equals("cage"))
|
||||
{
|
||||
swap("harpoon", option, target, true);
|
||||
|
||||
Reference in New Issue
Block a user