Skip to content

Configuration

Ruby edited this page Jul 12, 2025 · 1 revision

Configuration

SpectrumAPI provides many features which can be customised or toggled on and off by indexing SpectrumAPI.configuration


SpectrumAPI.configuration.hand_values

This defines the Mult, Chips, Level Mult, and Level chips of all Spectrum related hands with starting values as follows

-- m = Mult, c = Chips, l_m = Level Mult, l_c = Level Chips
spa_Spectrum = {c=45, m=5, l_c=20,l_m=3},
spa_Straight_Spectrum = {c=115, m=9, l_c=50,l_m=5},
spa_Spectrum_House = {c=150, m=15, l_c=50,l_m=5},
spa_Spectrum_Five = {c=170, m=18, l_c=65,l_m=4},
-- Optional Hand Types only accessible by using Wild Cards when enabled
spa_Flush_Spectrum = {c=115, m=9, l_c=50,l_m=5},
spa_Straight_Flush_Spectrum = {c=150, m=15, l_c=50,l_m=5},
spa_Flush_Spectrum_House = {c=170, m=18, l_c=50,l_m=5},
spa_Flush_Spectrum_Five = {c=200, m=20, l_c=70,l_m=6},

SpectrumAPI.configuration.hand_types

Defines a list of optional hand types that can be enabled all of which require wild cards to form

spa_Flush_Spectrum = false,
spa_Straight_Flush_Spectrum = false,
spa_Flush_Spectrum_House = false,
spa_Flush_Spectrum_Five = false,

SpectrumAPI.configuration.misc

This contains a set of optional miscelaneous features that may or may not be enabl;ed


Defines whether four fingers and related effects can reduce the requirements for spectrums or not

four_fingers_spectrums = false,

Defines whether spectrums are visible by default or not

spectrums_visible = false,

Defines the example suit use for spectrum hands, when set to m_wild it will instead be used to mark the cards as Wild Spade cards

spectrum_example_suit = "m_wild",

Lets Straight Spectrums and related hand types display as royal similar to Royal Flushes if cards match the ranks of a Royal Flush

royal_spectrums = true,

Displays Flush Spectrum hands instead as Specflush hands

specflush_over_spectrum_flush = false

Clone this wiki locally