menu swapper: add jewellery box
This commit is contained in:
@@ -232,6 +232,16 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "swapJewelleryBox",
|
||||||
|
name = "Jewellery Box",
|
||||||
|
description = "Swap Teleport Menu with previous destination on Jewellery Box"
|
||||||
|
)
|
||||||
|
default boolean swapJewelleryBox()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "swapPrivate",
|
keyName = "swapPrivate",
|
||||||
name = "Private",
|
name = "Private",
|
||||||
|
|||||||
@@ -584,6 +584,35 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
swap("spellbook", option, target, index);
|
swap("spellbook", option, target, index);
|
||||||
swap("perks", option, target, index);
|
swap("perks", option, target, index);
|
||||||
}
|
}
|
||||||
|
else if (config.swapJewelleryBox() && option.equals("teleport menu"))
|
||||||
|
{
|
||||||
|
swap("duel arena", option, target, index);
|
||||||
|
swap("castle wars", option, target, index);
|
||||||
|
swap("clan wars", option, target, index);
|
||||||
|
swap("burthorpe", option, target, index);
|
||||||
|
swap("barbarian outpost", option, target, index);
|
||||||
|
swap("corporeal beast", option, target, index);
|
||||||
|
swap("tears of guthix", option, target, index);
|
||||||
|
swap("wintertodt camp", option, target, index);
|
||||||
|
swap("warriors' guild", option, target, index);
|
||||||
|
swap("champions' guild", option, target, index);
|
||||||
|
swap("monastery", option, target, index);
|
||||||
|
swap("ranging guild", option, target, index);
|
||||||
|
swap("fishing guild", option, target, index);
|
||||||
|
swap("mining guild", option, target, index);
|
||||||
|
swap("crafting guild", option, target, index);
|
||||||
|
swap("cooking guild", option, target, index);
|
||||||
|
swap("woodcutting guild", option, target, index);
|
||||||
|
swap("farming guild", option, target, index);
|
||||||
|
swap("miscellania", option, target, index);
|
||||||
|
swap("grand exchange", option, target, index);
|
||||||
|
swap("falador park", option, target, index);
|
||||||
|
swap("dondakan's rock", option, target, index);
|
||||||
|
swap("edgeville", option, target, index);
|
||||||
|
swap("karamja", option, target, index);
|
||||||
|
swap("draynor village", option, target, index);
|
||||||
|
swap("al kharid", option, target, index);
|
||||||
|
}
|
||||||
else if (config.swapPrivate() && option.equals("shared"))
|
else if (config.swapPrivate() && option.equals("shared"))
|
||||||
{
|
{
|
||||||
swap("private", option, target, index);
|
swap("private", option, target, index);
|
||||||
|
|||||||
Reference in New Issue
Block a user