Skip to main content

Get Paytable

This node generates a paytable based on a formula.

The Get Paytable node calculates the payout multipliers for every symbol and combination length.

The Get Paytable node creates the payout rules for the game. Instead of manually typing a massive JSON object, you can define a formula (e.g., linear growth) to automatically calculate how much 3, 4, or 5 matches of a symbol are worth.

Inputs​

Parameters​

DataDescription
Number of SymbolsTotal symbols.
Column SizeMax combination length (usually 5).
Payout FormulaFormula using x (symbol index). Default: 2.25 + 0.75 * x.

Custom Payouts​

DataDescription
Symbol N Custom PayoutOverride the base payout for specific symbols.

Actions​

SignalDescription
DoTriggers generation.

Outputs​

Results​

DataDescription
PaytableThe generated JSON paytable object.

Events​

SignalDescription
DoneTriggered when complete.

Usage​

Setup​

  1. Trigger Do at game start.
  2. Store Paytable in a variable.
  3. Pass this variable to Calculate Winnings.

Detailed Behavior​

  • Structure: Output format is { "SymbolID": { "3": value, "4": value, "5": value } }.
  • Logic: Payout = BasePayout(from formula) * ComboLength.

Troubleshooting​

  • Low Payouts: Adjust the formula. Remember x is the symbol index, so higher index symbols usually get higher base payouts.