Skip to content

Lua Scripting Reference

Nicolas Suarez edited this page Dec 2, 2022 · 2 revisions

API Reference for what content Doorways makes available to Lua Scripts

Functions

ID

id(str) -> str

Canonicalize the given string as an ID according to Doorways' ID canonicalization rules.

Instantiate

instantiate(str) -> Card

Create a card from the given ID.

Data Structures

Card

Properties

  • id: Gets the pre-canonicalized ID of this card.
  • label, description,

Methods

Clone this wiki locally