diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/poh/PohConfig.java b/runelite-client/src/main/java/net/runelite/client/plugins/poh/PohConfig.java index 3ba3078135..81f8590e93 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/poh/PohConfig.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/poh/PohConfig.java @@ -104,4 +104,34 @@ public interface PohConfig extends Config { return true; } + + @ConfigItem( + keyName = "showSpellbook", + name = "Show Spellbook altar", + description = "Configures whether or not the Spellbook altar is displayed" + ) + default boolean showSpellbook() + { + return true; + } + + @ConfigItem( + keyName = "showJewelleryBox", + name = "Show Jewellery Box", + description = "Configures whether or not the Jewllery box is displayed" + ) + default boolean showJewelleryBox() + { + return true; + } + + @ConfigItem( + keyName = "showMagicTravel", + name = "Show Fairy/ Spirit Tree/ Obelisk", + description = "Configures whether or not the Fairy ring, Spirit tree or Obelisk is displayed" + ) + default boolean showMagicTravel() + { + return true; + } } diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/poh/PohIcons.java b/runelite-client/src/main/java/net/runelite/client/plugins/poh/PohIcons.java index 4c44188828..b9c434e363 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/poh/PohIcons.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/poh/PohIcons.java @@ -58,7 +58,11 @@ public enum PohIcons ), POOLS("pool", POOL_OF_RESTORATION, POOL_OF_REVITALISATION, POOL_OF_REJUVENATION, FANCY_REJUVENATION_POOL, ORNATE_REJUVENATION_POOL), GLORY("glory", AMULET_OF_GLORY), - REPAIR("repair", ARMOUR_REPAIR_STAND); + REPAIR("repair", ARMOUR_REPAIR_STAND), + SPELLBOOKALTAR("spellbook", ANCIENT_ALTAR, LUNAR_ALTAR, DARK_ALTAR, ALTAR_OF_THE_OCCULT), + JEWELLERYBOX("jewellery", BASIC_JEWELLERY_BOX, FANCY_JEWELLERY_BOX, ORNATE_JEWELLERY_BOX), + MAGICTRAVEL("transportation", SPIRIT_TREE_29227, NULL_29228, NULL_29229, OBELISK_31554); + private static final Map minimapIcons = new HashMap<>(); diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/poh/PohOverlay.java b/runelite-client/src/main/java/net/runelite/client/plugins/poh/PohOverlay.java index 5db0ed5c78..1210de5dd9 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/poh/PohOverlay.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/poh/PohOverlay.java @@ -119,5 +119,17 @@ public class PohOverlay extends Overlay { iconList.add(PohIcons.EXITPORTAL); } + if (config.showSpellbook()) + { + iconList.add(PohIcons.SPELLBOOKALTAR); + } + if (config.showJewelleryBox()) + { + iconList.add(PohIcons.JEWELLERYBOX); + } + if (config.showMagicTravel()) + { + iconList.add(PohIcons.MAGICTRAVEL); + } } } diff --git a/runelite-client/src/main/resources/net/runelite/client/plugins/poh/jewellery.png b/runelite-client/src/main/resources/net/runelite/client/plugins/poh/jewellery.png new file mode 100644 index 0000000000..0853f6c5c3 Binary files /dev/null and b/runelite-client/src/main/resources/net/runelite/client/plugins/poh/jewellery.png differ diff --git a/runelite-client/src/main/resources/net/runelite/client/plugins/poh/pool.png b/runelite-client/src/main/resources/net/runelite/client/plugins/poh/pool.png index 6b389f5732..a52d907b0e 100644 Binary files a/runelite-client/src/main/resources/net/runelite/client/plugins/poh/pool.png and b/runelite-client/src/main/resources/net/runelite/client/plugins/poh/pool.png differ diff --git a/runelite-client/src/main/resources/net/runelite/client/plugins/poh/spellbook.png b/runelite-client/src/main/resources/net/runelite/client/plugins/poh/spellbook.png new file mode 100644 index 0000000000..992597e15a Binary files /dev/null and b/runelite-client/src/main/resources/net/runelite/client/plugins/poh/spellbook.png differ diff --git a/runelite-client/src/main/resources/net/runelite/client/plugins/poh/transportation.png b/runelite-client/src/main/resources/net/runelite/client/plugins/poh/transportation.png new file mode 100644 index 0000000000..1dc507b3f0 Binary files /dev/null and b/runelite-client/src/main/resources/net/runelite/client/plugins/poh/transportation.png differ