menu entry swapper: Add Fossil Island Rowboat Dive swap (#13237)
This commit is contained in:
@@ -650,4 +650,15 @@ public interface MenuEntrySwapperConfig extends Config
|
|||||||
{
|
{
|
||||||
return false;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -373,6 +373,8 @@ public class MenuEntrySwapperPlugin extends Plugin
|
|||||||
swapTeleport("teleport to house", "outside");
|
swapTeleport("teleport to house", "outside");
|
||||||
|
|
||||||
swap("eat", "guzzle", config::swapRockCake);
|
swap("eat", "guzzle", config::swapRockCake);
|
||||||
|
|
||||||
|
swap("travel", "dive", config::swapRowboatDive);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void swap(String option, String swappedOption, Supplier<Boolean> enabled)
|
private void swap(String option, String swappedOption, Supplier<Boolean> enabled)
|
||||||
|
|||||||
Reference in New Issue
Block a user