Merge pull request #312 from runelite-extended/easyscape-additions

Add a LOT of jewelry menu swaps to easyscape
This commit is contained in:
Lucwousin
2019-05-20 03:02:26 +02:00
committed by GitHub
10 changed files with 727 additions and 36 deletions

View File

@@ -1,6 +1,8 @@
/*
* Copyright (c) 2019, Owain van Brakel <https://github.com/Owain94>
* Copyright (c) 2019, Alan Baumgartner <https://github.com/alanbaumgartner>
* Copyright (c) 2018, Alan Baumgartner <https://github.com/alanbaumgartner>
* Copyright (c) 2018, https://runelitepl.us
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
* Copyright (c) 2018, Owain van Brakel <https://github.com/Owain94>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -31,7 +33,14 @@ import net.runelite.client.config.ConfigItem;
import net.runelite.client.plugins.easyscape.util.DuelingRingMode;
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;
import net.runelite.client.plugins.easyscape.util.RingOfWealthMode;
@ConfigGroup("easyscape")
public interface EasyscapeConfig extends Config
@@ -439,23 +448,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()
@@ -467,7 +464,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()
@@ -479,7 +476,7 @@ public interface EasyscapeConfig extends Config
keyName = "swapPuroPuro",
name = "Swap Puro Puro Wheat",
description = "",
position = 37,
position = 36,
group = "Miscellaneous swapper"
)
default boolean getSwapPuro()
@@ -487,12 +484,14 @@ public interface EasyscapeConfig extends Config
return false;
}
// ----------------------------------------------------------- //
@ConfigItem(
keyName = "swapGamesNecklace",
name = "Swap Games Necklace",
description = "",
position = 40,
group = "Miscellaneous swapper"
position = 37,
group = "Jewellery swapper"
)
default boolean getGamesNecklace()
{
@@ -503,8 +502,8 @@ public interface EasyscapeConfig extends Config
keyName = "gamesNecklaceMode",
name = "Mode",
description = "",
position = 41,
group = "Miscellaneous swapper"
position = 38,
group = "Jewellery swapper"
)
default GamesNecklaceMode getGamesNecklaceMode()
{
@@ -515,8 +514,8 @@ public interface EasyscapeConfig extends Config
keyName = "swapDuelingRing",
name = "Swap Dueling Ring",
description = "",
position = 42,
group = "Miscellaneous swapper"
position = 39,
group = "Jewellery swapper"
)
default boolean getDuelingRing()
{
@@ -527,8 +526,8 @@ public interface EasyscapeConfig extends Config
keyName = "duelingRingMode",
name = "Mode",
description = "",
position = 43,
group = "Miscellaneous swapper"
position = 40,
group = "Jewellery swapper"
)
default DuelingRingMode getDuelingRingMode()
{
@@ -539,8 +538,8 @@ public interface EasyscapeConfig extends Config
keyName = "swapGlory",
name = "Swap Glory",
description = "",
position = 44,
group = "Miscellaneous swapper"
position = 41,
group = "Jewellery swapper"
)
default boolean getGlory()
{
@@ -551,11 +550,265 @@ public interface EasyscapeConfig extends Config
keyName = "gloryMode",
name = "Mode",
description = "",
position = 45,
group = "Miscellaneous swapper"
position = 42,
group = "Jewellery swapper"
)
default GloryMode getGloryMode()
{
return GloryMode.EDGEVILLE;
}
}
@ConfigItem(
keyName = "swapSkill",
name = "Swap Skill",
description = "",
position = 43,
group = "Jewellery swapper"
)
default boolean getSkillsNecklace()
{
return false;
}
@ConfigItem(
keyName = "skillsnecklacemode",
name = "Mode",
description = "",
position = 44,
group = "Jewellery swapper"
)
default SkillsNecklaceMode getSkillsNecklaceMode()
{
return SkillsNecklaceMode.FARMING_GUILD;
}
@ConfigItem(
keyName = "swapPassage",
name = "Swap Passage",
description = "",
position = 45,
group = "Jewellery swapper"
)
default boolean getNecklaceofPassage()
{
return false;
}
@ConfigItem(
keyName = "necklaceofpassagemode",
name = "Mode",
description = "",
position = 46,
group = "Jewellery swapper"
)
default NecklaceOfPassageMode getNecklaceofPassageMode()
{
return NecklaceOfPassageMode.WIZARDS_TOWER;
}
@ConfigItem(
keyName = "swapDigsite",
name = "Swap Digsite",
description = "",
position = 47,
group = "Jewellery swapper"
)
default boolean getDigsitePendant()
{
return false;
}
@ConfigItem(
keyName = "digsitependantmode",
name = "Mode",
description = "",
position = 48,
group = "Jewellery swapper"
)
default DigsitePendantMode getDigsitePendantMode()
{
return DigsitePendantMode.FOSSIL_ISLAND;
}
@ConfigItem(
keyName = "swapCombat",
name = "Swap Combat",
description = "",
position = 49,
group = "Jewellery swapper"
)
default boolean getCombatBracelet()
{
return false;
}
@ConfigItem(
keyName = "combatbraceletmode",
name = "Mode",
description = "",
position = 50,
group = "Jewellery swapper"
)
default CombatBraceletMode getCombatBraceletMode()
{
return CombatBraceletMode.WARRIORS_GUILD;
}
@ConfigItem(
keyName = "swapslayer",
name = "Swap slayer",
description = "",
position = 51,
group = "Jewellery swapper"
)
default boolean getSlayerRing()
{
return false;
}
@ConfigItem(
keyName = "slayerringmode",
name = "Mode",
description = "",
position = 52,
group = "Jewellery swapper"
)
default SlayerRingMode getSlayerRingMode()
{
return SlayerRingMode.CHECK;
}
@ConfigItem(
keyName = "swapburning",
name = "Swap burning",
description = "",
position = 53,
group = "Jewellery swapper"
)
default boolean getBurningAmulet()
{
return false;
}
@ConfigItem(
keyName = "burningamuletmode",
name = "Mode",
description = "",
position = 54,
group = "Jewellery swapper"
)
default BurningAmuletMode getBurningAmuletMode()
{
return BurningAmuletMode.BANDIT_CAMP;
}
@ConfigItem(
keyName = "swapxeric",
name = "Swap xeric",
description = "",
position = 55,
group = "Jewellery swapper"
)
default boolean getXericsTalisman()
{
return false;
}
@ConfigItem(
keyName = "xericstalismanmode",
name = "Mode",
description = "",
position = 56,
group = "Jewellery swapper"
)
default XericsTalismanMode getXericsTalismanMode()
{
return XericsTalismanMode.XERICS_LOOKOUT;
}
@ConfigItem(
keyName = "swapwealth",
name = "Swap wealth",
description = "",
position = 57,
group = "Jewellery swapper"
)
default boolean getRingofWealth()
{
return false;
}
@ConfigItem(
keyName = "ringofwealthmode",
name = "Mode",
description = "",
position = 58,
group = "Jewellery swapper"
)
default RingOfWealthMode getRingofWealthMode()
{
return RingOfWealthMode.GRAND_EXCHANGE;
}
// ----------------------------------------------------------- //
@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 getSwapExplorersRing()
{
return true;
}
}

View File

@@ -1,6 +1,8 @@
/*
* Copyright (c) 2019, Owain van Brakel <https://github.com/Owain94>
* Copyright (c) 2019, Alan Baumgartner <https://github.com/alanbaumgartner>
* Copyright (c) 2018, Alan Baumgartner <https://github.com/alanbaumgartner>
* Copyright (c) 2018, https://runelitepl.us
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
* Copyright (c) 2018, Owain van Brakel <https://github.com/Owain94>
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -357,8 +359,28 @@ public class EasyscapePlugin extends Plugin
swap(client, "Kandarin Monastery", option, target);
swap(client, "Monastery Teleport", option, target);
}
else if (target.contains("crafting cape") && config.getSwapCraftingCape())
{
swap(client, "Teleport", option, target);
}
else if (config.getGamesNecklace() && target.toLowerCase().contains("games necklace"))
else if (target.contains("construct. cape") && config.getSwapConstructionCape())
{
swap(client, "Tele to poh", option, target);
}
else if (target.contains("magic cape") && config.getSwapMagicCape())
{
swap(client, "Spellbook", option, target);
}
else if (target.contains("explorer's ring") && config.getSwapExplorersRing())
{
swap(client, "Teleport", option, target);
}
else if (config.getGamesNecklace() && target.contains("games necklace"))
{
swap(client, config.getGamesNecklaceMode().toString(), option, target);
}
@@ -368,11 +390,50 @@ public class EasyscapePlugin extends Plugin
swap(client, config.getDuelingRingMode().toString(), option, target);
}
else if (config.getGlory() && (target.contains("amulet of glory") || target.contains("amulet of eternal glory")))
{
swap(client, config.getGloryMode().toString(), option, target);
}
else if (config.getSkillsNecklace() && target.contains("skills necklace"))
{
swap(client, config.getSkillsNecklaceMode().toString(), option, target);
}
else if (config.getNecklaceofPassage() && target.contains("necklace of passage"))
{
swap(client, config.getNecklaceofPassageMode().toString(), option, target);
}
else if (config.getDigsitePendant() && target.contains("digsite pendant"))
{
swap(client, config.getDigsitePendantMode().toString(), option, target);
}
else if (config.getCombatBracelet() && target.contains("combat bracelet"))
{
swap(client, config.getCombatBraceletMode().toString(), option, target);
}
else if (config.getSlayerRing() && target.contains("slayer ring"))
{
swap(client, config.getSlayerRingMode().toString(), option, target);
}
else if (config.getBurningAmulet() && target.contains("burning amulet"))
{
swap(client, config.getBurningAmuletMode().toString(), option, target);
}
else if (config.getXericsTalisman() && target.contains("xeric's talisman"))
{
swap(client, config.getXericsTalismanMode().toString(), option, target);
}
else if (config.getRingofWealth() && target.contains("ring of wealth"))
{
swap(client, config.getRingofWealthMode().toString(), option, target);
}
}
private void delete(int target)
@@ -402,4 +463,4 @@ public class EasyscapePlugin extends Plugin
return location.getRegionID() == PURO_PURO_REGION_ID;
}
}
}
}

View File

@@ -0,0 +1,46 @@
/*
* Copyright (c) 2018, https://runelitepl.us
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
* 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,47 @@
/*
* Copyright (c) 2018, https://runelitepl.us
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
* 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,46 @@
/*
* Copyright (c) 2018, https://runelitepl.us
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
* 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,46 @@
/*
* Copyright (c) 2018, https://runelitepl.us
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
* 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,47 @@
/*
* Copyright (c) 2018, https://runelitepl.us
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
* 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 RingOfWealthMode
{
MISCELLANIA("Miscellania"),
GRAND_EXCHANGE("Grand Exchange"),
FALADOR("Falador"),
DONDAKAN("Dondakan");
private final String name;
RingOfWealthMode(String name)
{
this.name = name;
}
@Override
public String toString()
{
return name;
}
}

View File

@@ -0,0 +1,49 @@
/*
* Copyright (c) 2018, https://runelitepl.us
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
* 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,48 @@
/*
* Copyright (c) 2018, https://runelitepl.us
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
* 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
{
CHECK("Check"),
TELEPORT("Teleport"),
MASTER("Master"),
PARTNER("Partner"),
LOG("Log");
private final String name;
SlayerRingMode(String name)
{
this.name = name;
}
@Override
public String toString()
{
return name;
}
}

View File

@@ -0,0 +1,48 @@
/*
* Copyright (c) 2018, https://runelitepl.us
* Copyright (c) 2018, Kyle <https://github.com/kyleeld>
* 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;
}
}