menu swapper: Add NPC Deposit-Items swap

This commit is contained in:
Plondrein
2020-10-18 21:42:31 +02:00
committed by Adam
parent fa79a51bca
commit 2778dc69b4
2 changed files with 12 additions and 0 deletions

View File

@@ -595,4 +595,15 @@ public interface MenuEntrySwapperConfig extends Config
{
return false;
}
@ConfigItem(
keyName = "swapDepositItems",
name = "Deposit Items",
description = "Swap Talk-to with Deposit-items",
section = npcSection
)
default boolean swapDepositItems()
{
return false;
}
}

View File

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