menu swapper: Add NPC Deposit-Items swap
This commit is contained in:
@@ -595,4 +595,15 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ConfigItem(
|
||||||
|
keyName = "swapDepositItems",
|
||||||
|
name = "Deposit Items",
|
||||||
|
description = "Swap Talk-to with Deposit-items",
|
||||||
|
section = npcSection
|
||||||
|
)
|
||||||
|
default boolean swapDepositItems()
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -211,6 +211,7 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
swap("talk-to", "start-minigame", config::swapStartMinigame);
|
swap("talk-to", "start-minigame", config::swapStartMinigame);
|
||||||
swap("talk-to", ESSENCE_MINE_NPCS::contains, "teleport", config::swapEssenceMineTeleport);
|
swap("talk-to", ESSENCE_MINE_NPCS::contains, "teleport", config::swapEssenceMineTeleport);
|
||||||
swap("talk-to", "collect", config::swapCollectMiscellania);
|
swap("talk-to", "collect", config::swapCollectMiscellania);
|
||||||
|
swap("talk-to", "deposit-items", config::swapDepositItems);
|
||||||
|
|
||||||
swap("leave tomb", "quick-leave", config::swapQuickLeave);
|
swap("leave tomb", "quick-leave", config::swapQuickLeave);
|
||||||
swap("tomb door", "quick-leave", config::swapQuickLeave);
|
swap("tomb door", "quick-leave", config::swapQuickLeave);
|
||||||
|
|||||||
Reference in New Issue
Block a user