diff --git a/CHANGES.md b/CHANGES.md index a31f4fcb..2c123c2b 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -9,7 +9,7 @@ Features: * Center align the loaded image by default in the Image Slice Window. * Add Buttons to Align the loaded image in the Image Slice Window. (haganbmj/#18) * Add filter box to Game and Stylesheet selection. (haganbmj/#1) - * Add `extra_data("field name")` script function for accessing Extra Card Fields. (haganbmj/#2) + * Expose `extra_card` and `extra_card_style` script for accessing Extra Card Fields/Styles. (haganbmj/#20) * Add Clear button to console panel. (haganbmj/#4) * Store images internally with PNG extension for ease of manual tinkering. (haganbmj/#5) * Add ability to change scale (relative to template) of internally stored images. (haganbmj/#6, haganbmj/#15) diff --git a/doc/script/predefined_variables.txt b/doc/script/predefined_variables.txt index 3134a656..18aff28c 100644 --- a/doc/script/predefined_variables.txt +++ b/doc/script/predefined_variables.txt @@ -9,7 +9,9 @@ Aside from the [[fun:index|built in functions]] the following variables are prov The current stylesheet | @card@ [[type:card]] not in @init script@s or when exporting The current card. -| @card_style@ [[type:indexmap]] of [[type:style]]s where @card@ is available Style properties for the current card, the same as @stylesheet.card_style@. +| @card_style@ [[type:indexmap]] of [[type:style]]s where @card@ is available Style properties for the current card, the same as @stylesheet.card_style@. +| @extra_card@ [[type:indexmap]] of [[type:value]]s field values for the current card as defined by the stylesheet. +| @extra_card_style@ [[type:indexmap]] of [[type:style]] where @card@ is available Style properties for the current card as added by the stylesheet. | @styling@ [[type:indexmap]] of [[type:value]]s where @card@ is available Styling options for the stylesheet/card. | @value@ [[type:value]] when evaluating a [[type:field]]'s @script@ or @default@ script Current value in the field. | @options@ [[type:indexmap]] of [[type:value]]s when exporting Options of the [[type:export template]].