menu entry swapper: Add Fossil Island Rowboat Dive swap (#13237)

This commit is contained in:
joelewis43
2021-02-20 14:54:10 -08:00
committed by GitHub
parent 14db8a8f76
commit 71ccf89580
2 changed files with 13 additions and 0 deletions

View File

@@ -650,4 +650,15 @@ public interface MenuEntrySwapperConfig extends Config
{
return false;
}
@ConfigItem(
keyName = "swapRowboatDive",
name = "Fossil Island Rowboat Dive",
description = "Swap Travel with Dive on the rowboat found on the small island north-east of Fossil Island",
section = objectSection
)
default boolean swapRowboatDive()
{
return false;
}
}

View File

@@ -373,6 +373,8 @@ public class MenuEntrySwapperPlugin extends Plugin
swapTeleport("teleport to house", "outside");
swap("eat", "guzzle", config::swapRockCake);
swap("travel", "dive", config::swapRowboatDive);
}
private void swap(String option, String swappedOption, Supplier<Boolean> enabled)