Remove "cast bloom" swapping and make teleport off

- Remove "cast bloom" menu entry swapping from menu
entry swapper plugin as it can be done with shift-click
customization
- Make teleport swapping off by default as usually the teleport and wear
option is not wanted to be swapped

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2018-04-09 01:38:12 +02:00
parent b860a188ff
commit a143216464
2 changed files with 3 additions and 19 deletions

View File

@@ -169,28 +169,17 @@ public interface MenuEntrySwapperConfig extends Config
@ConfigItem( @ConfigItem(
position = 12, position = 12,
keyName = "swapSilverSickle",
name = "Silver sickle(b)",
description = "Swap Wield with Cast Bloom on Silver sickle(b)"
)
default boolean swapSilverSickle()
{
return true;
}
@ConfigItem(
position = 13,
keyName = "swapTeleportItem", keyName = "swapTeleportItem",
name = "Teleport item", name = "Teleport item",
description = "Swap Wear, Wield with Rub, Teleport on teleport item<br>Example: Amulet of glory, Ardougne cloak, Chronicle" description = "Swap Wear, Wield with Rub, Teleport on teleport item<br>Example: Amulet of glory, Ardougne cloak, Chronicle"
) )
default boolean swapTeleportItem() default boolean swapTeleportItem()
{ {
return true; return false;
} }
@ConfigItem( @ConfigItem(
position = 14, position = 13,
keyName = "swapTrade", keyName = "swapTrade",
name = "Trade", name = "Trade",
description = "Swap Talk-to with Trade on NPC<br>Example: Shop keeper, Shop assistant" description = "Swap Talk-to with Trade on NPC<br>Example: Shop keeper, Shop assistant"
@@ -201,7 +190,7 @@ public interface MenuEntrySwapperConfig extends Config
} }
@ConfigItem( @ConfigItem(
position = 15, position = 14,
keyName = "swapTravel", keyName = "swapTravel",
name = "Travel", 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" description = "Swap Talk-to with Travel, Take-boat, Pay-fare, Charter on NPC<br>Example: Squire, Monk of Entrana, Customs officer, Trader Crewmember"

View File

@@ -403,11 +403,6 @@ public class MenuEntrySwapperPlugin extends Plugin
{ {
swap("teleport", option, target, true); swap("teleport", option, target, true);
} }
if (config.swapSilverSickle())
{
swap("cast bloom", option, target, true);
}
} }
else if (config.swapBones() && option.equals("bury")) else if (config.swapBones() && option.equals("bury"))
{ {