menu entry swapper: Add fishing spot bait swap (#13203)
This commit is contained in:
@@ -287,6 +287,17 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "swapBait",
|
||||||
|
name = "Bait",
|
||||||
|
description = "Swap Lure, Small Net with Bait on Fishing spot",
|
||||||
|
section = objectSection
|
||||||
|
)
|
||||||
|
default boolean swapBait()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
@ConfigItem(
|
@ConfigItem(
|
||||||
keyName = "swapHelp",
|
keyName = "swapHelp",
|
||||||
name = "Help",
|
name = "Help",
|
||||||
|
|||||||
@@ -238,6 +238,10 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
swap("big net", "harpoon", config::swapHarpoon);
|
swap("big net", "harpoon", config::swapHarpoon);
|
||||||
swap("net", "harpoon", config::swapHarpoon);
|
swap("net", "harpoon", config::swapHarpoon);
|
||||||
|
|
||||||
|
swap("lure", "bait", config::swapBait);
|
||||||
|
swap("net", "bait", config::swapBait);
|
||||||
|
swap("small net", "bait", config::swapBait);
|
||||||
|
|
||||||
swap("enter", "portal", "home", () -> config.swapHomePortal() == HouseMode.HOME);
|
swap("enter", "portal", "home", () -> config.swapHomePortal() == HouseMode.HOME);
|
||||||
swap("enter", "portal", "build mode", () -> config.swapHomePortal() == HouseMode.BUILD_MODE);
|
swap("enter", "portal", "build mode", () -> config.swapHomePortal() == HouseMode.BUILD_MODE);
|
||||||
swap("enter", "portal", "friend's house", () -> config.swapHomePortal() == HouseMode.FRIENDS_HOUSE);
|
swap("enter", "portal", "friend's house", () -> config.swapHomePortal() == HouseMode.FRIENDS_HOUSE);
|
||||||
|
|||||||
Reference in New Issue
Block a user