Add more POH minimap overlays

Added overlays for the following items in POH:

Occult Altar
Jewllery Box
Fairy Ring
Spirit Tree
Fairy Ring & Spirit Tree
Obelisk
This commit is contained in:
Richard Goodman
2018-04-15 15:52:53 +01:00
committed by Adam
parent df0be66b1f
commit 19e866b0ef
7 changed files with 47 additions and 1 deletions

View File

@@ -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;
}
}

View File

@@ -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<Integer, PohIcons> minimapIcons = new HashMap<>();

View File

@@ -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);
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B