Add "Teleport to Abyss" to Menu Entry Swapper
Add an option for "Teleport to Abyss" for the Menu Entry Swapper plugin. This affects the mage of zamorak NPC.
This commit is contained in:
@@ -180,6 +180,17 @@ public interface MenuEntrySwapperConfig extends Config
|
||||
|
||||
@ConfigItem(
|
||||
position = 13,
|
||||
keyName = "swapAbyssTeleport",
|
||||
name = "Teleport to Abyss",
|
||||
description = "Swap Talk-to with Teleport for the Mage of Zamorak"
|
||||
)
|
||||
default boolean swapAbyssTeleport()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 14,
|
||||
keyName = "swapTrade",
|
||||
name = "Trade",
|
||||
description = "Swap Talk-to with Trade on NPC<br>Example: Shop keeper, Shop assistant"
|
||||
@@ -190,7 +201,7 @@ public interface MenuEntrySwapperConfig extends Config
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 14,
|
||||
position = 15,
|
||||
keyName = "swapTravel",
|
||||
name = "Travel",
|
||||
description = "Swap Talk-to with Travel, Take-boat, Pay-fare, Charter on NPC<br>Example: Squire, Monk of Entrana, Customs officer, Trader Crewmember"
|
||||
|
||||
@@ -336,6 +336,11 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
swap("pickpocket", option, target, true);
|
||||
}
|
||||
|
||||
if (config.swapAbyssTeleport() && target.contains("mage of zamorak"))
|
||||
{
|
||||
swap("teleport", option, target, true);
|
||||
}
|
||||
|
||||
if (config.swapBank())
|
||||
{
|
||||
swap("bank", option, target, true);
|
||||
|
||||
Reference in New Issue
Block a user