card_fields rewrite and magic-modules.mse-include (#21)

Overhauls the card_fields file to allow for template designers more freedom in manipulating data.

Adds magic-modules.mse-include, a large scale include file for building templates in a standardized way. Applying this to existing frames will be coming in future updates.
This commit is contained in:
GenevensiS
2024-05-25 00:57:47 +02:00
committed by GitHub
parent 44b059e2f7
commit fd4b8e4c89
1195 changed files with 13325 additions and 3633 deletions

View File

@@ -0,0 +1,12 @@
include file: /magic-modules.mse-include/rarities/card_fields
card style:
rarity 2:
right: { rarity_right_2() + typeline_offset_left_2() + typeline_offset_width_2() }
top: { rarity_top_2() + typeline_offset_top_2() }
width: { rarity_width_2() + typeline_offset_height_2() }
height: { rarity_height_2() + typeline_offset_height_2() }
z index: 950
alignment: middle center
visible: { (not typeline_disabled_2()) and not rarity_disabled_2() }
render style: image
include file: /magic-modules.mse-include/rarities/choice_images