menu swapper: add Advisor Ghrim collect swap

This commit is contained in:
Jonathan Charles
2020-08-05 02:55:17 +10:00
committed by GitHub
parent 53cba270b1
commit e129230416
2 changed files with 12 additions and 0 deletions

View File

@@ -562,4 +562,15 @@ public interface MenuEntrySwapperConfig extends Config
{
return false;
}
@ConfigItem(
keyName = "swapCollectMiscellania",
name = "Miscellania",
description = "Swap Talk-to with Collect for Advisor Ghrim",
section = npcSection
)
default boolean swapCollectMiscellania()
{
return false;
}
}

View File

@@ -208,6 +208,7 @@ public class MenuEntrySwapperPlugin extends Plugin
swap("talk-to", "enchant", config::swapEnchant);
swap("talk-to", "start-minigame", config::swapStartMinigame);
swap("talk-to", ESSENCE_MINE_NPCS::contains, "teleport", config::swapEssenceMineTeleport);
swap("talk-to", "collect", config::swapCollectMiscellania);
swap("leave tomb", "quick-leave", config::swapQuickLeave);
swap("tomb door", "quick-leave", config::swapQuickLeave);