Class ChargeRequirements

java.lang.Object
net.storm.api.movement.pathfinder.ChargeRequirements

public class ChargeRequirements extends Object
Predefined charge requirements for teleport items with limited uses.

This class contains static ChargeRequirement instances for various teleport items that have charge-based limitations. These requirements define:

  • Item IDs associated with the charge requirement
  • Chat message patterns that indicate charge usage/remaining
  • Maximum charge capacity
  • Whether charges reset daily
  • Animation/graphic triggers for charge deduction

Available Requirements

Usage


 IChargeManager chargeManager = Static.getChargeManager();

 // Check if chronicle has charges
 if (chargeManager.hasCharges(ChargeRequirements.CHRONICLE)) {
     // Can use chronicle teleport
 }

 // Get current charges
 int charges = chargeManager.getCharges(ChargeRequirements.RING_OF_SHADOWS);
 
See Also:
  • Field Details

    • ARDOUGNE_CLOAK_2

      public static final ChargeRequirement ARDOUGNE_CLOAK_2
      Charge requirement for Ardougne Cloak 2 (medium diary reward). Provides 3 daily teleports to the Ardougne farming patch.
    • ARDOUGNE_CLOAK_3

      public static final ChargeRequirement ARDOUGNE_CLOAK_3
      Charge requirement for Ardougne Cloak 3 (hard diary reward). Provides 5 daily teleports to the Ardougne farming patch.
    • CHRONICLE

      public static final ChargeRequirement CHRONICLE
      Charge requirement for the Chronicle teleport book. Can hold up to 1000 charges, recharged with teleport cards.
    • RING_OF_SHADOWS

      public static final ChargeRequirement RING_OF_SHADOWS
      Charge requirement for the Ring of Shadows (Desert Treasure II reward). Recharged with soul and blood runes, up to 1000 charges.
    • FREMENNIK_SEA_BOOTS_1

      public static final ChargeRequirement FREMENNIK_SEA_BOOTS_1
      Charge requirement for Fremennik Sea Boots 1 (easy diary reward). Provides 1 daily teleport to Rellekka.
    • FREMENNIK_SEA_BOOTS_2

      public static final ChargeRequirement FREMENNIK_SEA_BOOTS_2
      Charge requirement for Fremennik Sea Boots 2 (medium diary reward). Provides 3 daily teleports to Rellekka.
    • FREMENNIK_SEA_BOOTS_3

      public static final ChargeRequirement FREMENNIK_SEA_BOOTS_3
      Charge requirement for Fremennik Sea Boots 3 (hard diary reward). Provides 5 daily teleports to Rellekka.
    • PENDANT_OF_ATES

      public static final ChargeRequirement PENDANT_OF_ATES
      Charge requirement for the Pendant of Ates (Hunter Guild reward). Recharged with frozen tears, up to 1000 charges.
    • QUETZAL_WHISTLE_BASIC

      public static final ChargeRequirement QUETZAL_WHISTLE_BASIC
      Charge requirement for the basic Quetzal Whistle (Varlamore). Used for bird flight transportation, holds 5 charges.
    • QUETZAL_WHISTLE_ENHANCED

      public static final ChargeRequirement QUETZAL_WHISTLE_ENHANCED
      Charge requirement for the enhanced Quetzal Whistle (Varlamore). Upgraded whistle with 20 charge capacity.
    • QUETZAL_WHISTLE_PERFECTED

      public static final ChargeRequirement QUETZAL_WHISTLE_PERFECTED
      Charge requirement for the perfected Quetzal Whistle (Varlamore). Maximum tier whistle with 50 charge capacity.
    • WESTERN_BANNER_3

      public static final ChargeRequirement WESTERN_BANNER_3
      Charge requirement for Western Banner 3 (hard diary reward). Provides 1 daily teleport to the Piscatoris Fishing Colony.
    • ALL

      public static final ChargeRequirement[] ALL
      Array containing all predefined charge requirements. Useful for bulk registration with the charge manager.
  • Constructor Details

    • ChargeRequirements

      public ChargeRequirements()