Merge pull request #3958 from deathbeam/remove-age-move-shift
Remove age menu entry swap, move shift-click to the top
This commit is contained in:
@@ -37,6 +37,17 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
{
|
{
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 0,
|
position = 0,
|
||||||
|
keyName = "shiftClickCustomization",
|
||||||
|
name = "Customizable shift-click",
|
||||||
|
description = "Allows customization of shift-clicks on items"
|
||||||
|
)
|
||||||
|
default boolean shiftClickCustomization()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
position = 1,
|
||||||
keyName = "swapBanker",
|
keyName = "swapBanker",
|
||||||
name = "Bank",
|
name = "Bank",
|
||||||
description = "Swap Talk-to with Bank on Bank NPC<br>Example: Banker"
|
description = "Swap Talk-to with Bank on Bank NPC<br>Example: Banker"
|
||||||
@@ -47,7 +58,7 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 1,
|
position = 2,
|
||||||
keyName = "swapBirdhouseEmpty",
|
keyName = "swapBirdhouseEmpty",
|
||||||
name = "Birdhouse",
|
name = "Birdhouse",
|
||||||
description = "Swap Interact with Empty for birdhouses on Fossil Island"
|
description = "Swap Interact with Empty for birdhouses on Fossil Island"
|
||||||
@@ -58,7 +69,7 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 2,
|
position = 3,
|
||||||
keyName = "swapBones",
|
keyName = "swapBones",
|
||||||
name = "Bury",
|
name = "Bury",
|
||||||
description = "Swap Bury with Use on Bones"
|
description = "Swap Bury with Use on Bones"
|
||||||
@@ -69,7 +80,7 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 3,
|
position = 4,
|
||||||
keyName = "swapCatacombEntrance",
|
keyName = "swapCatacombEntrance",
|
||||||
name = "Catacomb entrance",
|
name = "Catacomb entrance",
|
||||||
description = "Swap Read with Investigate on Catacombs of Kourend entrance"
|
description = "Swap Read with Investigate on Catacombs of Kourend entrance"
|
||||||
@@ -80,7 +91,7 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 4,
|
position = 5,
|
||||||
keyName = "swapChase",
|
keyName = "swapChase",
|
||||||
name = "Chase",
|
name = "Chase",
|
||||||
description = "Allows to left click your cat to chase"
|
description = "Allows to left click your cat to chase"
|
||||||
@@ -91,7 +102,7 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 5,
|
position = 6,
|
||||||
keyName = "claimSlime",
|
keyName = "claimSlime",
|
||||||
name = "Claim Slime",
|
name = "Claim Slime",
|
||||||
description = "Swap Talk-to with Claim Slime from Morytania diaries"
|
description = "Swap Talk-to with Claim Slime from Morytania diaries"
|
||||||
@@ -101,17 +112,6 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
|
||||||
position = 6,
|
|
||||||
keyName = "shiftClickCustomization",
|
|
||||||
name = "Customizable shift-click",
|
|
||||||
description = "Allows customization of shift-clicks on items"
|
|
||||||
)
|
|
||||||
default boolean shiftClickCustomization()
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 7,
|
position = 7,
|
||||||
keyName = "swapExchange",
|
keyName = "swapExchange",
|
||||||
@@ -235,17 +235,6 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
position = 18,
|
position = 18,
|
||||||
keyName = "swapAge",
|
|
||||||
name = "Age",
|
|
||||||
description = "Swap Talk-to with Age for Hans"
|
|
||||||
)
|
|
||||||
default boolean swapAge()
|
|
||||||
{
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
@ConfigItem(
|
|
||||||
position = 19,
|
|
||||||
keyName = "swapAssignment",
|
keyName = "swapAssignment",
|
||||||
name = "Assignment",
|
name = "Assignment",
|
||||||
description = "Swap Talk-to with Assignment for Slayer Masters. This will take priority over swapping Trade."
|
description = "Swap Talk-to with Assignment for Slayer Masters. This will take priority over swapping Trade."
|
||||||
|
|||||||
@@ -385,11 +385,6 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
{
|
{
|
||||||
swap("pay", option, target, true);
|
swap("pay", option, target, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (config.swapAge())
|
|
||||||
{
|
|
||||||
swap("age", option, target, true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else if (config.swapTravel() && option.equals("pass") && target.equals("energy barrier"))
|
else if (config.swapTravel() && option.equals("pass") && target.equals("energy barrier"))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user