menu entry swapper: Add portal nexus teleport menu swap (#13181)
This commit is contained in:
@@ -342,6 +342,17 @@ public interface MenuEntrySwapperConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapPortalNexus",
|
||||
name = "Portal Nexus",
|
||||
description = "Swap Teleport options with Teleport Menu on the Portal Nexus",
|
||||
section = objectSection
|
||||
)
|
||||
default boolean swapPortalNexus()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapPrivate",
|
||||
name = "Private",
|
||||
|
||||
@@ -304,6 +304,14 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
swap("teleport menu", "draynor village", config::swapJewelleryBox);
|
||||
swap("teleport menu", "al kharid", config::swapJewelleryBox);
|
||||
|
||||
Arrays.asList(
|
||||
"annakarl", "ape atoll dungeon", "ardougne", "barrows", "battlefront", "camelot", "carrallangar",
|
||||
"catherby", "cemetery", "draynor manor", "falador", "fenkenstrain's castle", "fishing guild", "ghorrock",
|
||||
"grand exchange", "great kourend", "harmony island", "kharyrll", "lumbridge", "lumbridge graveyard",
|
||||
"lunar isle", "marim", "mind altar", "salve graveyard", "seers' village", "senntisten", "troll stronghold",
|
||||
"varrock", "watchtower", "waterbirth island", "weiss", "west ardougne", "yanille"
|
||||
).forEach(location -> swap(location, "portal nexus", "teleport menu", config::swapPortalNexus));
|
||||
|
||||
swap("shared", "private", config::swapPrivate);
|
||||
|
||||
swap("pick", "pick-lots", config::swapPick);
|
||||
|
||||
Reference in New Issue
Block a user