menu entry swapper: add recite-prayer swap
This commit is contained in:
@@ -144,6 +144,17 @@ public interface MenuEntrySwapperConfig extends Config
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapPrayerBook",
|
||||
name = "Recite-Prayer",
|
||||
description = "Swap Read with Recite-prayer on the Prayer Book from The Great Brain Robbery quest",
|
||||
section = itemSection
|
||||
)
|
||||
default boolean swapPrayerBook()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "swapContract",
|
||||
name = "Contract",
|
||||
|
||||
@@ -323,6 +323,8 @@ public class MenuEntrySwapperPlugin extends Plugin
|
||||
|
||||
swap("clean", "use", config::swapHerbs);
|
||||
|
||||
swap("read", "recite-prayer", config::swapPrayerBook);
|
||||
|
||||
swap("collect-note", "collect-item", () -> config.swapGEItemCollect() == GEItemCollectMode.ITEMS);
|
||||
swap("collect-notes", "collect-items", () -> config.swapGEItemCollect() == GEItemCollectMode.ITEMS);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user