Jackpot Tiers
Fixed local jackpots paid by symbol count, such as Mini, Minor and Major tiers awarded as bet multiples or flat amounts. A maths node: it runs in the editor preview and compiles to the RGS.
Wire Reels from Weighted Reels reels (columns of rows, reels[col][row], 1-based symbols, 0 = blank) and set Jackpot Symbol to the symbol id that counts; 0 matches nothing, so the default never awards. Tiers is an array of { name, count, multiplier } objects, each optionally carrying fixed, a flat award in minor units used instead of betAmount × multiplier when it is above 0. Entries that are not objects are dropped; a missing name becomes Tier N.
On Do the node counts every cell holding Jackpot Symbol, then awards the tier with the highest count that is at least 1 and not above that number; the tiers need not be sorted, and a tie on count goes to the earlier entry. award is betAmount × multiplier, or the tier's fixed, rounded to a whole minor unit; a negative bet counts as 0. On the RGS Bet Amount is always the round's stake, whatever is wired.
Outputs: symbolCount, positions as [row, col] pairs (wire them to pixi.CellOverlay cells to frame the symbols), tierIndex (-1 when no tier is reached), tierName, multiplier, award (minor units; add it to the round win) and hasTier, a boolean, not a signal. To claim a progressive pool on the top tier, compare tierIndex with the last tier and wire the result to RGS Jackpot Pools Should Claim; this node itself pays fixed, bet-multiple jackpots only.
On a bad grid (not an array of equal-length columns) the node logs the error, writes it to inspect data, empties every output and still fires Done. After such a failure tierIndex reads 0, not -1, so gate on hasTier rather than on the index alone. The node keeps no state between spins.
Inputs
Parameters
| Data | Description |
|---|---|
| Reels (array) | The grid as columns of rows, reels[col][row], 1-based symbols; wire Weighted Reels reels. Default [], which fails closed. |
| Jackpot Symbol (number) | Symbol id that counts toward the tiers. Default 0, which matches nothing. |
| Tiers (array) | Array of { name, count, multiplier } with optional fixed (minor units). Default: Mini (3 symbols, ×20), Minor (4, ×100), Major (5, ×1000). |
| Bet Amount (number) | Stake in minor units for bet-multiple awards. Default 100; on the RGS always the round's stake. |
Actions
| Signal | Description |
|---|---|
| Do | Runs the node. |
Outputs
Events
| Signal | Description |
|---|---|
| Done | Fires when the node has finished, on success and failure alike. |
Results
| Data | Description |
|---|---|
| Symbol Count (number) | How many cells hold Jackpot Symbol. |
| Positions (array) | [row, col] of every matching cell, column by column. |
| Tier Index (number) | Index of the awarded tier in Tiers; -1 when none (0 after a failed evaluation, so gate on hasTier). |
| Tier Name (string) | Name of the awarded tier; empty when none. |
| Multiplier (number) | The awarded tier's multiplier; 0 when none. |
| Award (number) | The jackpot in whole minor units: betAmount × multiplier, or the tier's fixed. Add it to the round win. |
| Has Tier (boolean) | True when a tier was reached (a boolean, not a signal). |
Usage
- Wire Weighted Reels
reelsinto Reels and fire Do after the spin. - Set Jackpot Symbol to the jackpot symbol's id and edit Tiers to your counts and multipliers.
- Add
awardto the round win with Addition. - Wire
positionsto pixi.CellOverlaycellsto frame the symbols. - For a progressive top tier, wire the tier test into RGS Jackpot Pools Should Claim.