PlayersCouncil / LotR-TCG_card_generator

nanDECK script for generating Lord of the Rings TCG cards from CSV.
6 stars 0 forks source link

Thin space for lore #41

Open morvael opened 3 years ago

morvael commented 3 years ago

Please add new tag "thin_space_lore" working just like "thin_space" tags works for gametext.

morvael commented 3 years ago

Did this by myself. Added to settings.txt

;; lore_font is used for lore
[lore_thin_font] = "LOTR_TCG-Lore-Space"

Changed

SETFONT= lore,[lore_font],[custom_lore_font_size],[default_lore_font_size],D,{game_text_color?§},[default_game_text_color],,LEFT

to

IF= "thinlore" @ {tags?§}
    SETFONT= lore,[lore_thin_font],[custom_lore_font_size],[default_lore_font_size],D,{game_text_color?§},[default_game_text_color],,LEFT
ELSE
    SETFONT= lore,[lore_font],[custom_lore_font_size],[default_lore_font_size],D,{game_text_color?§},[default_game_text_color],,LEFT
ENDIF