Added fletching and glassblowing to idle notifier/animationID class (#74)
This commit is contained in:
@@ -73,9 +73,9 @@ public class IdleNotifier extends Plugin
|
||||
return;
|
||||
}
|
||||
int animation = client.getLocalPlayer().getAnimation();
|
||||
|
||||
switch (animation)
|
||||
{
|
||||
/* Woodcutting */
|
||||
case WOODCUTTING_BRONZE:
|
||||
case WOODCUTTING_IRON:
|
||||
case WOODCUTTING_STEEL:
|
||||
@@ -84,8 +84,10 @@ public class IdleNotifier extends Plugin
|
||||
case WOODCUTTING_ADAMANT:
|
||||
case WOODCUTTING_RUNE:
|
||||
case WOODCUTTING_DRAGON:
|
||||
/* Cooking(Fire, Range) */
|
||||
case COOKING_FIRE:
|
||||
case COOKING_RANGE:
|
||||
/* Crafting(Gem Cutting, Glassblowing */
|
||||
case GEM_CUTTING_OPAL:
|
||||
case GEM_CUTTING_JADE:
|
||||
case GEM_CUTTING_REDTOPAZ:
|
||||
@@ -93,12 +95,30 @@ public class IdleNotifier extends Plugin
|
||||
case GEM_CUTTING_EMERALD:
|
||||
case GEM_CUTTING_RUBY:
|
||||
case GEM_CUTTING_DIAMOND:
|
||||
case CRAFTING_GLASSBLOWING:
|
||||
/* Fletching(Cutting, Stringing) */
|
||||
case FLETCHING_BOW_CUTTING:
|
||||
case FLETCHING_STRING_NORMAL_SHORTBOW:
|
||||
case FLETCHING_STRING_OAK_SHORTBOW:
|
||||
case FLETCHING_STRING_WILLOW_SHORTBOW:
|
||||
case FLETCHING_STRING_MAPLE_SHORTBOW:
|
||||
case FLETCHING_STRING_YEW_SHORTBOW:
|
||||
case FLETCHING_STRING_MAGIC_SHORTBOW:
|
||||
case FLETCHING_STRING_NORMAL_LONGBOW:
|
||||
case FLETCHING_STRING_OAK_LONGBOW:
|
||||
case FLETCHING_STRING_WILLOW_LONGBOW:
|
||||
case FLETCHING_STRING_MAPLE_LONGBOW:
|
||||
case FLETCHING_STRING_YEW_LONGBOW:
|
||||
case FLETCHING_STRING_MAGIC_LONGBOW:
|
||||
/* Smithing(Anvil, Furnace, Cannonballs */
|
||||
case SMITHING_ANVIL:
|
||||
case SMITHING_SMELTING:
|
||||
/* Fishing */
|
||||
case FISHING_NET:
|
||||
case FISHING_HARPOON:
|
||||
case FISHING_CAGE:
|
||||
case FISHING_POLE_CAST:
|
||||
/* Mining(Normal) */
|
||||
case MINING_BRONZE_PICKAXE:
|
||||
case MINING_IRON_PICKAXE:
|
||||
case MINING_STEEL_PICKAXE:
|
||||
@@ -107,6 +127,7 @@ public class IdleNotifier extends Plugin
|
||||
case MINING_ADAMANT_PICKAXE:
|
||||
case MINING_RUNE_PICKAXE:
|
||||
case MINING_DRAGON_PICKAXE:
|
||||
/* Mining(Motherlode) */
|
||||
case MINING_MOTHERLODE_BRONZE:
|
||||
case MINING_MOTHERLODE_IRON:
|
||||
case MINING_MOTHERLODE_STEEL:
|
||||
@@ -115,7 +136,9 @@ public class IdleNotifier extends Plugin
|
||||
case MINING_MOTHERLODE_ADAMANT:
|
||||
case MINING_MOTHERLODE_RUNE:
|
||||
case MINING_MOTHERLODE_DRAGON:
|
||||
/* Herblore */
|
||||
case HERBLORE_POTIONMAKING:
|
||||
/* Magic */
|
||||
case MAGIC_CHARGING_ORBS:
|
||||
notifyIdle = true;
|
||||
lastAnimating = Instant.now();
|
||||
|
||||
Reference in New Issue
Block a user