-
Notifications
You must be signed in to change notification settings - Fork 5
Creating alternate entries
Jogla edited this page Nov 2, 2025
·
3 revisions
Note
Currently Fool's Gambit only supports alternating jokers, consumables, enhancements and seals. Alternating of other objects will be added in future updates.
To make your object work with Fool's Gambit, one has to create a fg_data table inside the object's definition table:
SMODS.Joker{
fg_data = {}
-- whatever else
}Inside that table, Fool's Gambit will recognize the following entries:
-
is_alternate- (boolean) Marks this card as an alternate. Adds a question mark on the top right corner of the card. -
alternate_card- (string) The key to the card to create when this card is alternated. If absent, cards such as Tonal won't be usable when targeting this card. -
crossover_label- (string) Adds an additional entry to the card's info queue displaying which mod is this card a crossover of. Usually this value should beFool's Gambit, unless one is doing cross-mod content with a different mod and one wants to involve FG's systems in it.