Heralds

From Cookie Clicker Wiki
Jump to navigation Jump to search
Heraldic banner.png

Heralds are 1% CpS boosts activated upon purchase of the Heralds heavenly upgrade, with a maximum of 100. The current amount of heralds can be seen on the purple banner at the top of the screen. Their accruence differs based on which version is being played.

In the browser version, heralds are intended to be the amount of members subscribed to the "Herald cookie" tier on the DashNet Patreon; however, the code hard-sets the amount of heralds to 41 without taking account the amount of members in the tier, leading to an incongruence.

In the Steam version, heralds are the amount of Steam players currently in-game divided by 100.

Mechanics

Browser version

The heralds tab in the browser version after purchasing the associated heavenly upgrade.

The number of heralds is accessed by the game from the external .php file located at /patreon/grab.php. The game determines if the variable Game.heralds is between the integers 0 and 100. If it is above 100, it is set to 100; if it is below zero, it is set to 0, though this would not be possible without modifying the game.

If the number of heralds is equal to zero, the heralds tab will display the following: "There are no heralds at the moment. Please consider donating to our Patreon!". If the game cannot access external game data, it will display the text "Heralds couldn't be loaded. There may be an issue with our servers, or you are playing the game locally." This defaults herald count to 0.

Steam version

Heralds are calculated by finding the amount of players online and dividing by 100. Heralds will be set to 0 if playing offline and cannot exceed 100.

Calculations

If the player owns the heavenly upgrade Heralds, the game will multiply CpS by the following formula:
CpS*(1+0.01*Game.heralds)

Thus, for the browser version, the CpS is multiplied by 1.41, or +41%.

Trivia

  • Orteil's reasoning for keeping the browser and Steam herald mechanics separate is because "it would be a tangled up API mess".