easyscape additions

easyscape additions
This commit is contained in:
Kyleeld
2019-05-19 19:31:14 +01:00
parent 8daf70c2b1
commit d435fc5188
9 changed files with 656 additions and 31 deletions

View File

@@ -32,7 +32,13 @@ import net.runelite.client.plugins.easyscape.util.DuelingRingMode;
import net.runelite.client.plugins.easyscape.util.EssenceMode;
import net.runelite.client.plugins.easyscape.util.GamesNecklaceMode;
import net.runelite.client.plugins.easyscape.util.GloryMode;
import net.runelite.client.plugins.easyscape.util.SkillsNecklaceMode;
import net.runelite.client.plugins.easyscape.util.NecklaceOfPassageMode;
import net.runelite.client.plugins.easyscape.util.DigsitePendantMode;
import net.runelite.client.plugins.easyscape.util.CombatBraceletMode;
import net.runelite.client.plugins.easyscape.util.SlayerRingMode;
import net.runelite.client.plugins.easyscape.util.BurningAmuletMode;
import net.runelite.client.plugins.easyscape.util.XericsTalismanMode;
@ConfigGroup("easyscape")
public interface EasyscapeConfig extends Config
@@ -440,23 +446,11 @@ public interface EasyscapeConfig extends Config
return false;
}
@ConfigItem(
keyName = "swapArdougneCape",
name = "Swap Ardougne Cape",
description = "Enables swapping of teleport and wear.",
position = 34,
group = "Miscellaneous swapper"
)
default boolean getSwapArdougneCape()
{
return false;
}
@ConfigItem(
keyName = "swapSawmill",
name = "Swap Sawmill Operator",
description = "Makes Buy-plank the default option on the sawmill operator.",
position = 35,
position = 34,
group = "Miscellaneous swapper"
)
default boolean getSwapSawmill()
@@ -468,7 +462,7 @@ public interface EasyscapeConfig extends Config
keyName = "swapSawmillPlanks",
name = "Swap Buy Planks",
description = "Makes Buy All the default option in buy planks.",
position = 36,
position = 35,
group = "Miscellaneous swapper"
)
default boolean getSwapSawmillPlanks()
@@ -480,7 +474,7 @@ public interface EasyscapeConfig extends Config
keyName = "swapPuroPuro",
name = "Swap Puro Puro Wheat",
description = "",
position = 37,
position = 36,
group = "Miscellaneous swapper"
)
default boolean getSwapPuro()
@@ -492,7 +486,7 @@ public interface EasyscapeConfig extends Config
keyName = "swapEssencePounch",
name = "Swap Essence Pouch",
description = "",
position = 38,
position = 37,
group = "Miscellaneous swapper"
)
default boolean getSwapEssencePouch()
@@ -504,20 +498,22 @@ public interface EasyscapeConfig extends Config
keyName = "essenceMode",
name = "Mode",
description = "",
position = 39,
group = "Miscellaneous swapper"
position = 38,
group = "Jewellery swapper"
)
default EssenceMode getEssenceMode()
{
return EssenceMode.RUNECRAFTING;
}
// ----------------------------------------------------------- //
@ConfigItem(
keyName = "swapGamesNecklace",
name = "Swap Games Necklace",
description = "",
position = 40,
group = "Miscellaneous swapper"
position = 39,
group = "Jewellery swapper"
)
default boolean getGamesNecklace()
{
@@ -528,8 +524,8 @@ public interface EasyscapeConfig extends Config
keyName = "gamesNecklaceMode",
name = "Mode",
description = "",
position = 41,
group = "Miscellaneous swapper"
position = 40,
group = "Jewellery swapper"
)
default GamesNecklaceMode getGamesNecklaceMode()
{
@@ -540,8 +536,8 @@ public interface EasyscapeConfig extends Config
keyName = "swapDuelingRing",
name = "Swap Dueling Ring",
description = "",
position = 42,
group = "Miscellaneous swapper"
position = 41,
group = "Jewellery swapper"
)
default boolean getDuelingRing()
{
@@ -552,8 +548,8 @@ public interface EasyscapeConfig extends Config
keyName = "duelingRingMode",
name = "Mode",
description = "",
position = 43,
group = "Miscellaneous swapper"
position = 42,
group = "Jewellery swapper"
)
default DuelingRingMode getDuelingRingMode()
{
@@ -564,8 +560,8 @@ public interface EasyscapeConfig extends Config
keyName = "swapGlory",
name = "Swap Glory",
description = "",
position = 44,
group = "Miscellaneous swapper"
position = 43,
group = "Jewellery swapper"
)
default boolean getGlory()
{
@@ -576,11 +572,241 @@ public interface EasyscapeConfig extends Config
keyName = "gloryMode",
name = "Mode",
description = "",
position = 45,
group = "Miscellaneous swapper"
position = 44,
group = "Jewellery swapper"
)
default GloryMode getGloryMode()
{
return GloryMode.EDGEVILLE;
}
@ConfigItem(
keyName = "swapSkill",
name = "Swap Skill",
description = "",
position = 45,
group = "Jewellery swapper"
)
default boolean getSkillsNecklace()
{
return false;
}
@ConfigItem(
keyName = "skillsnecklacemode",
name = "Mode",
description = "",
position = 46,
group = "Jewellery swapper"
)
default SkillsNecklaceMode getSkillsNecklaceMode()
{
return SkillsNecklaceMode.FARMING_GUILD;
}
@ConfigItem(
keyName = "swapPassage",
name = "Swap Passage",
description = "",
position = 47,
group = "Jewellery swapper"
)
default boolean getNecklaceofPassage()
{
return false;
}
@ConfigItem(
keyName = "necklaceofpassagemode",
name = "Mode",
description = "",
position = 48,
group = "Jewellery swapper"
)
default NecklaceOfPassageMode getNecklaceofPassageMode()
{
return NecklaceOfPassageMode.WIZARDS_TOWER;
}
@ConfigItem(
keyName = "swapDigsite",
name = "Swap Digsite",
description = "",
position = 49,
group = "Jewellery swapper"
)
default boolean getDigsitePendant()
{
return false;
}
@ConfigItem(
keyName = "digsitependantmode",
name = "Mode",
description = "",
position = 50,
group = "Jewellery swapper"
)
default DigsitePendantMode getDigsitePendantMode()
{
return DigsitePendantMode.FOSSIL_ISLAND;
}
@ConfigItem(
keyName = "swapCombat",
name = "Swap Combat",
description = "",
position = 51,
group = "Jewellery swapper"
)
default boolean getCombatBracelet()
{
return false;
}
@ConfigItem(
keyName = "combatbraceletmode",
name = "Mode",
description = "",
position = 52,
group = "Jewellery swapper"
)
default CombatBraceletMode getCombatBraceletMode()
{
return CombatBraceletMode.WARRIORS_GUILD;
}
@ConfigItem(
keyName = "swapslayer",
name = "Swap slayer",
description = "",
position = 53,
group = "Jewellery swapper"
)
default boolean getSlayerRing()
{
return false;
}
@ConfigItem(
keyName = "slayerringmode",
name = "Mode",
description = "",
position = 54,
group = "Jewellery swapper"
)
default SlayerRingMode getSlayerRingMode()
{
return SlayerRingMode.SLAYER_TOWER;
}
@ConfigItem(
keyName = "swapburning",
name = "Swap burning",
description = "",
position = 55,
group = "Jewellery swapper"
)
default boolean getBurningAmulet()
{
return false;
}
@ConfigItem(
keyName = "burningamuletmode",
name = "Mode",
description = "",
position = 56,
group = "Jewellery swapper"
)
default BurningAmuletMode getBurningAmuletMode()
{
return BurningAmuletMode.BANDIT_CAMP;
}
@ConfigItem(
keyName = "swapxeric",
name = "Swap xeric",
description = "",
position = 57,
group = "Jewellery swapper"
)
default boolean getXericsTalisman()
{
return false;
}
@ConfigItem(
keyName = "xericstalismanmode",
name = "Mode",
description = "",
position = 58,
group = "Jewellery swapper"
)
default XericsTalismanMode getXericsTalismanMode()
{
return XericsTalismanMode.XERICS_LOOKOUT;
}
// ----------------------------------------------------------- //
@ConfigItem(
keyName = "swapArdougneCape",
name = "Swap Ardougne Cape",
description = "Enables swapping of teleport and wear.",
position = 59,
group = "Equipment swapper"
)
default boolean getSwapArdougneCape()
{
return false;
}
@ConfigItem(
keyName = "swapConstructionCape",
name = "Swap Construction Cape",
description = "Enables swapping of teleport and wear.",
position = 60,
group = "Equipment swapper"
)
default boolean getSwapConstructionCape()
{
return true;
}
@ConfigItem(
keyName = "swapCraftingCape",
name = "Swap Crafting Cape",
description = "Enables swapping of teleport and wear.",
position = 61,
group = "Equipment swapper"
)
default boolean getSwapCraftingCape()
{
return true;
}
@ConfigItem(
keyName = "swapMagicCape",
name = "Swap Magic Cape",
description = "Enables swapping of spellbook and wear.",
position = 62,
group = "Equipment swapper"
)
default boolean getSwapMagicCape()
{
return true;
}
@ConfigItem(
keyName = "swapExplorersRing",
name = "Swap Explorers Ring",
description = "Enables swapping of spellbook and wear.",
position = 63,
group = "Equipment swapper"
)
default boolean getExplorersRing()
{
return true;
}
}

View File

@@ -359,6 +359,26 @@ public class EasyscapePlugin extends Plugin
swap(client, "Kandarin Monastery", option, target);
swap(client, "Monastery Teleport", option, target);
}
if (target.toLowerCase().contains("crafting cape") && config.getSwapCraftingCape())
{
swap(client, "Teleport", option, target);
}
if (target.toLowerCase().contains("construct. cape") && config.getSwapConstructionCape())
{
swap(client, "Tele to poh", option, target);
}
if (target.toLowerCase().contains("magic cape") && config.getSwapMagicCape())
{
swap(client, "Spellbook", option, target);
}
if (target.toLowerCase().contains("explorer's ring") && config.getSwapMagicCape())
{
swap(client, "Teleport", option, target);
}
if (config.getSwapEssencePouch())
{
@@ -415,6 +435,62 @@ public class EasyscapePlugin extends Plugin
swap(client, config.getGloryMode().toString(), option, target);
}
}
if (config.getSkillsNecklace())
{
if (target.toLowerCase().contains("skills necklace"))
{
swap(client, config.getSkillsNecklaceMode().toString(), option, target);
}
}
if (config.getNecklaceofPassage())
{
if (target.toLowerCase().contains("necklace of passage"))
{
swap(client, config.getNecklaceofPassageMode().toString(), option, target);
}
}
if (config.getDigsitePendant())
{
if (target.toLowerCase().contains("digsite pendant"))
{
swap(client, config.getDigsitePendantMode().toString(), option, target);
}
}
if (config.getCombatBracelet())
{
if (target.toLowerCase().contains("combat bracelet"))
{
swap(client, config.getCombatBraceletMode().toString(), option, target);
}
}
if (config.getSlayerRing())
{
if (target.toLowerCase().contains("slayer ring"))
{
swap(client, config.getSlayerRingMode().toString(), option, target);
}
}
if (config.getBurningAmulet())
{
if (target.toLowerCase().contains("burning amulet"))
{
swap(client, config.getBurningAmuletMode().toString(), option, target);
}
}
if (config.getXericsTalisman())
{
if (target.toLowerCase().contains("xeric's talisman"))
{
swap(client, config.getXericsTalismanMode().toString(), option, target);
}
}
}
private void delete(int target)

View File

@@ -0,0 +1,45 @@
/*
* Copyright (c) 2019, Alan Baumgartner <https://github.com/alanbaumgartner>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package net.runelite.client.plugins.easyscape.util;
public enum BurningAmuletMode
{
CHAOS_TEMPLE("Chaos Temple"),
BANDIT_CAMP("Bandit Camp"),
LAVA_MAZE("Lava Maze");
private final String name;
BurningAmuletMode(String name)
{
this.name = name;
}
@Override
public String toString()
{
return name;
}
}

View File

@@ -0,0 +1,46 @@
/*
* Copyright (c) 2019, Alan Baumgartner <https://github.com/alanbaumgartner>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package net.runelite.client.plugins.easyscape.util;
public enum CombatBraceletMode
{
WARRIORS_GUILD("Warriors' Guild"),
CHAMPIONS_GUILD("Champions' Guild"),
EDGEVILLE_MONASTERY("Edgeville Monstery"),
RANGING_GUILD("Ranging Guild");
private final String name;
CombatBraceletMode(String name)
{
this.name = name;
}
@Override
public String toString()
{
return name;
}
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright (c) 2019, Alan Baumgartner <https://github.com/alanbaumgartner>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package net.runelite.client.plugins.easyscape.util;
public enum DigsitePendantMode
{
DIGSITE("Digsite"),
FOSSIL_ISLAND("Fossil Island"),
LITHKREN("Lithkren");
private final String name;
DigsitePendantMode(String name)
{
this.name = name;
}
@Override
public String toString()
{
return name;
}
}

View File

@@ -0,0 +1,45 @@
/*
* Copyright (c) 2019, Alan Baumgartner <https://github.com/alanbaumgartner>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package net.runelite.client.plugins.easyscape.util;
public enum NecklaceOfPassageMode
{
WIZARDS_TOWER("Wizard's Tower"),
THE_OUTPOST("The Outpost"),
EAGLES_EYRIE("Eagle's Eyrie");
private final String name;
NecklaceOfPassageMode(String name)
{
this.name = name;
}
@Override
public String toString()
{
return name;
}
}

View File

@@ -0,0 +1,48 @@
/*
* Copyright (c) 2019, Alan Baumgartner <https://github.com/alanbaumgartner>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package net.runelite.client.plugins.easyscape.util;
public enum SkillsNecklaceMode
{
FISHING_GUILD("Fishing Guild"),
MINING_GUILD("Mining Guild"),
CRAFTING_GUILD("Crafting Guild"),
COOKING_GUILD("Cooking Guild"),
WOODCUTTING_GUILD("Woodcutting Guild"),
FARMING_GUILD("Farming Guild");
private final String name;
SkillsNecklaceMode(String name)
{
this.name = name;
}
@Override
public String toString()
{
return name;
}
}

View File

@@ -0,0 +1,47 @@
/*
* Copyright (c) 2019, Alan Baumgartner <https://github.com/alanbaumgartner>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package net.runelite.client.plugins.easyscape.util;
public enum SlayerRingMode
{
SLAYER_TOWER("Slayer Tower"),
FREMENNIK_SLAYER_DUNGEON("Fremennik Slayer Dungeon"),
TARNS_LAIR("Tarn's Lair"),
STRONGHOLD_SLAYER_CAVE("Stronghold Slayer Cave"),
DARK_BEASTS("Dark Beasts");
private final String name;
SlayerRingMode(String name)
{
this.name = name;
}
@Override
public String toString()
{
return name;
}
}

View File

@@ -0,0 +1,47 @@
/*
* Copyright (c) 2019, Alan Baumgartner <https://github.com/alanbaumgartner>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
* ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package net.runelite.client.plugins.easyscape.util;
public enum XericsTalismanMode
{
XERICS_LOOKOUT("Xeric's Lookout"),
XERICS_GLADE("Xeric's Glade"),
XERICS_INFERNO("Xeric's Inferno"),
XERICS_HEART("Xeric's Heart"),
XERICS_HONOUR("Xeric's Honour");
private final String name;
XericsTalismanMode(String name)
{
this.name = name;
}
@Override
public String toString()
{
return name;
}
}