menu entry swapper: add recite-prayer swap

This commit is contained in:
ThePharros
2020-11-06 17:48:54 -05:00
committed by GitHub
parent 79286202e6
commit 1cc422605d
2 changed files with 13 additions and 0 deletions

View File

@@ -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",

View File

@@ -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);