Voting booth initiatives

From Kolmafia
Revision as of 16:17, 17 January 2025 by Khlamedaea (talk | contribs) (Updated the syntax of my_path().id and for the error "Function 'voting_booth_initiative( class, int, int )' undefined.")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Function Syntax

boolean [string] voting_booth_initiatives(class class ,int path ,int daycount )

  • class is the class for the seed
  • path is the path id for the seed
  • daycount is the daycount for the seed

boolean [string] voting_booth_initiatives(int class ,int path ,int daycount )

  • class is the class id for the seed

Returns a list of voting initiatives that are available for a given class on a given day of an ascension in a given path

Code Sample

The following will tell you the initiatives available to you today without you ever having to visit the booth.

boolean [string] initiatives = voting_booth_initiatives( my_class(), my_path().id, my_daycount() );
dump( initiatives );