Class ChargeRequirements
java.lang.Object
net.storm.api.movement.pathfinder.ChargeRequirements
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
ARDOUGNE_CLOAK_2/ARDOUGNE_CLOAK_3- Achievement diary rewardsCHRONICLE- Chronicle teleport bookRING_OF_SHADOWS- Desert Treasure II ringFREMENNIK_SEA_BOOTS_1/FREMENNIK_SEA_BOOTS_2/FREMENNIK_SEA_BOOTS_3- Diary bootsPENDANT_OF_ATES- Hunter guild pendantQUETZAL_WHISTLE_BASIC/QUETZAL_WHISTLE_ENHANCED/QUETZAL_WHISTLE_PERFECTED- Varlamore whistlesWESTERN_BANNER_3- Western Provinces diary banner
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final ChargeRequirement[]Array containing all predefined charge requirements.static final ChargeRequirementCharge requirement for Ardougne Cloak 2 (medium diary reward).static final ChargeRequirementCharge requirement for Ardougne Cloak 3 (hard diary reward).static final ChargeRequirementCharge requirement for the Chronicle teleport book.static final ChargeRequirementCharge requirement for Fremennik Sea Boots 1 (easy diary reward).static final ChargeRequirementCharge requirement for Fremennik Sea Boots 2 (medium diary reward).static final ChargeRequirementCharge requirement for Fremennik Sea Boots 3 (hard diary reward).static final ChargeRequirementCharge requirement for the Pendant of Ates (Hunter Guild reward).static final ChargeRequirementCharge requirement for the basic Quetzal Whistle (Varlamore).static final ChargeRequirementCharge requirement for the enhanced Quetzal Whistle (Varlamore).static final ChargeRequirementCharge requirement for the perfected Quetzal Whistle (Varlamore).static final ChargeRequirementCharge requirement for the Ring of Shadows (Desert Treasure II reward).static final ChargeRequirementCharge requirement for Western Banner 3 (hard diary reward). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ARDOUGNE_CLOAK_2
Charge requirement for Ardougne Cloak 2 (medium diary reward). Provides 3 daily teleports to the Ardougne farming patch. -
ARDOUGNE_CLOAK_3
Charge requirement for Ardougne Cloak 3 (hard diary reward). Provides 5 daily teleports to the Ardougne farming patch. -
CHRONICLE
Charge requirement for the Chronicle teleport book. Can hold up to 1000 charges, recharged with teleport cards. -
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
Charge requirement for Fremennik Sea Boots 1 (easy diary reward). Provides 1 daily teleport to Rellekka. -
FREMENNIK_SEA_BOOTS_2
Charge requirement for Fremennik Sea Boots 2 (medium diary reward). Provides 3 daily teleports to Rellekka. -
FREMENNIK_SEA_BOOTS_3
Charge requirement for Fremennik Sea Boots 3 (hard diary reward). Provides 5 daily teleports to Rellekka. -
PENDANT_OF_ATES
Charge requirement for the Pendant of Ates (Hunter Guild reward). Recharged with frozen tears, up to 1000 charges. -
QUETZAL_WHISTLE_BASIC
Charge requirement for the basic Quetzal Whistle (Varlamore). Used for bird flight transportation, holds 5 charges. -
QUETZAL_WHISTLE_ENHANCED
Charge requirement for the enhanced Quetzal Whistle (Varlamore). Upgraded whistle with 20 charge capacity. -
QUETZAL_WHISTLE_PERFECTED
Charge requirement for the perfected Quetzal Whistle (Varlamore). Maximum tier whistle with 50 charge capacity. -
WESTERN_BANNER_3
Charge requirement for Western Banner 3 (hard diary reward). Provides 1 daily teleport to the Piscatoris Fishing Colony. -
ALL
Array containing all predefined charge requirements. Useful for bulk registration with the charge manager.
-
-
Constructor Details
-
ChargeRequirements
public ChargeRequirements()
-