Poh plugin: Add nexus/pendant/xerics teleport icons (#6395)
Adds new teleport icons that came with todays update (Portal Nexus, Digsite Pendant, Xeric's Talisman)  Fixes #6391
This commit is contained in:
committed by
Tomas Slusny
parent
56ad7f5991
commit
d5c738f21c
@@ -130,4 +130,34 @@ public interface PohConfig extends Config
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "showPortalNexus",
|
||||
name = "Show Portal Nexus",
|
||||
description = "Configures whether or not the Portal Nexus is displayed"
|
||||
)
|
||||
default boolean showPortalNexus()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "showDigsitePendant",
|
||||
name = "Show Digsite Pendant",
|
||||
description = "Configures whether or not the Digsite Pendant is displayed"
|
||||
)
|
||||
default boolean showDigsitePendant()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
keyName = "showXericsTalisman",
|
||||
name = "Show Xeric's Talisman",
|
||||
description = "Configures whether or not the Xeric's Talisman is displayed"
|
||||
)
|
||||
default boolean showXericsTalisman()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -60,8 +60,24 @@ public enum PohIcons
|
||||
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);
|
||||
|
||||
MAGICTRAVEL("transportation", SPIRIT_TREE_29227, NULL_29228, NULL_29229, OBELISK_31554),
|
||||
PORTALNEXUS("portalnexus",
|
||||
PORTAL_NEXUS, PORTAL_NEXUS_33355, PORTAL_NEXUS_33356, PORTAL_NEXUS_33357, PORTAL_NEXUS_33358 , PORTAL_NEXUS_33359, PORTAL_NEXUS_33360,
|
||||
PORTAL_NEXUS_33361, PORTAL_NEXUS_33362, PORTAL_NEXUS_33363, PORTAL_NEXUS_33364, PORTAL_NEXUS_33365, PORTAL_NEXUS_33366, PORTAL_NEXUS_33367,
|
||||
PORTAL_NEXUS_33368, PORTAL_NEXUS_33369, PORTAL_NEXUS_33370, PORTAL_NEXUS_33371, PORTAL_NEXUS_33372, PORTAL_NEXUS_33373, PORTAL_NEXUS_33374,
|
||||
PORTAL_NEXUS_33375, PORTAL_NEXUS_33376, PORTAL_NEXUS_33377, PORTAL_NEXUS_33378, PORTAL_NEXUS_33379, PORTAL_NEXUS_33380, PORTAL_NEXUS_33381,
|
||||
PORTAL_NEXUS_33382, PORTAL_NEXUS_33383, PORTAL_NEXUS_33384, PORTAL_NEXUS_33385, PORTAL_NEXUS_33386, PORTAL_NEXUS_33387, PORTAL_NEXUS_33388,
|
||||
PORTAL_NEXUS_33389, PORTAL_NEXUS_33390, PORTAL_NEXUS_33391, PORTAL_NEXUS_33392, PORTAL_NEXUS_33393, PORTAL_NEXUS_33394, PORTAL_NEXUS_33395,
|
||||
PORTAL_NEXUS_33396, PORTAL_NEXUS_33397, PORTAL_NEXUS_33398, PORTAL_NEXUS_33399, PORTAL_NEXUS_33400, PORTAL_NEXUS_33401, PORTAL_NEXUS_33402,
|
||||
PORTAL_NEXUS_33403, PORTAL_NEXUS_33404, PORTAL_NEXUS_33405, PORTAL_NEXUS_33406, PORTAL_NEXUS_33407, PORTAL_NEXUS_33408, PORTAL_NEXUS_33409,
|
||||
PORTAL_NEXUS_33410
|
||||
),
|
||||
XERICSTALISMAN("xericstalisman",
|
||||
XERICS_TALISMAN, XERICS_TALISMAN_33412, XERICS_TALISMAN_33413, XERICS_TALISMAN_33414, XERICS_TALISMAN_33415, XERICS_TALISMAN_33419
|
||||
),
|
||||
DIGSITEPENDANT("digsitependant",
|
||||
DIGSITE_PENDANT, DIGSITE_PENDANT_33417, DIGSITE_PENDANT_33418, DIGSITE_PENDANT_33420
|
||||
);
|
||||
|
||||
private static final Map<Integer, PohIcons> minimapIcons = new HashMap<>();
|
||||
|
||||
|
||||
@@ -131,5 +131,17 @@ public class PohOverlay extends Overlay
|
||||
{
|
||||
iconList.add(PohIcons.MAGICTRAVEL);
|
||||
}
|
||||
if (config.showPortalNexus())
|
||||
{
|
||||
iconList.add(PohIcons.PORTALNEXUS);
|
||||
}
|
||||
if (config.showDigsitePendant())
|
||||
{
|
||||
iconList.add(PohIcons.DIGSITEPENDANT);
|
||||
}
|
||||
if (config.showXericsTalisman())
|
||||
{
|
||||
iconList.add(PohIcons.XERICSTALISMAN);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 322 B |
Binary file not shown.
|
After Width: | Height: | Size: 202 B |
Binary file not shown.
|
After Width: | Height: | Size: 456 B |
Reference in New Issue
Block a user