Skip to content

Commit

Permalink
Revert "timers: add scurrius food pile timer"
Browse files Browse the repository at this point in the history
This reverts commit 93a232d.
  • Loading branch information
abextm committed Nov 27, 2024
1 parent f63edba commit a108456
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 29 deletions.
7 changes: 0 additions & 7 deletions runelite-api/src/main/java/net/runelite/api/Varbits.java
Original file line number Diff line number Diff line change
Expand Up @@ -808,13 +808,6 @@ public final class Varbits
*/
public static final int GOD_WARS_ALTAR_COOLDOWN = 4099;

/**
* Cooldown timer remaining before being able to eat from the piles of food in Scurrius's lair.
* Number of game ticks remaining is in intervals of 100; for a value X there are 100 * X game ticks remaining.
* A player can eat from the food piles once this reaches 0.
*/
public static final int SCURRIUS_FOOD_PILE_COOLDOWN = 4099;

/**
* Farmer's Affinity effect timer
* Number of game ticks remaining on Farmer's Affinity effect in intervals of 20; for a value X there are 20 * X game ticks remaining.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ enum GameTimer
OVERLOAD_RAID(ItemID.OVERLOAD_4_20996, GameTimerImageType.ITEM, "Overload", false),
PRAYER_ENHANCE(ItemID.PRAYER_ENHANCE_4, GameTimerImageType.ITEM, "Prayer enhance", 290, ChronoUnit.SECONDS, true),
GOD_WARS_ALTAR(SpriteID.SKILL_PRAYER, GameTimerImageType.SPRITE, "God wars altar", false),
SCURRIUS_FOOD_PILE(ItemID.CHEESE, GameTimerImageType.ITEM, "Scurrius food pile", false),
CHARGE(SpriteID.SPELL_CHARGE, GameTimerImageType.SPRITE, "Charge", false),
STAFF_OF_THE_DEAD(ItemID.STAFF_OF_THE_DEAD, GameTimerImageType.ITEM, "Staff of the Dead", 1, ChronoUnit.MINUTES),
ABYSSAL_SIRE_STUN(ItemID.ABYSSAL_ORPHAN, GameTimerImageType.ITEM, "Abyssal Sire Stun", 30, ChronoUnit.SECONDS, true),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -477,15 +477,4 @@ default boolean showMoonlightPotion()
{
return true;
}

@ConfigItem(
keyName = "showScurriusFoodPile",
name = "Scurrius food pile",
description = "Configures whether Scurrius food pile timer is displayed",
section = bossesSection
)
default boolean showScurriusFoodPile()
{
return true;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -624,11 +624,6 @@ else if (nextSuperAntifireTick - tickCount <= 0)
{
updateVarTimer(PRAYER_REGENERATION, event.getValue(), i -> i * 12);
}

if (event.getVarbitId() == Varbits.SCURRIUS_FOOD_PILE_COOLDOWN && config.showScurriusFoodPile())
{
updateVarTimer(SCURRIUS_FOOD_PILE, event.getValue(), i -> i * 100);
}
}

@Subscribe
Expand Down Expand Up @@ -851,11 +846,6 @@ public void onConfigChanged(ConfigChanged event)
{
removeVarTimer(PRAYER_REGENERATION);
}

if (!config.showScurriusFoodPile())
{
removeVarTimer(SCURRIUS_FOOD_PILE);
}
}

@Subscribe
Expand Down

0 comments on commit a108456

Please sign in to comment.