Skip to content

References

Jogla edited this page Mar 15, 2025 · 1 revision

This page compiles several tables and variables that might come in handy if you plan to work with Fool's Gambit's systems.

Related to playing cards

It is advised to use FG.register_alternate() to add your own jokers, editions, etc to keep compatibility with Fool's Gambit's cards.

  • FG.joker_equivalents - Table. Pairs every joker with its alternate version.
  • FG.enhancement_equivalents - Table. Pairs enhancements with their alternate versions.
  • FG.edition_equivalents - Table. Pairs editions with their alternate versions.

Misc

Other variables one can use to interact with Fool's Gambit.

These are meant to be read-only and should not be changed by your mod.

  • FG.config.debug_mode - Boolean. True when debug mode is enabled. False when it's not. Can be toggled via the in-game mod config menu. Be wary that togging this setting in-game doesn't require the game to restart for the updated value to be applied.
  • FG.config.version - String. The current version of Fool's Gambit. For example: v0.1.0-pre5.
  • FG.test- Houses anything that is unfinished. One should never interact with anything inside it, as it is unstable and unfinished.

Clone this wiki locally