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

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

View File

@@ -0,0 +1,13 @@
card style:
watermark:
left: { text_style_field(watermark_text_field_1()).left - face_coordinates_map(watermark_face_1()).width/375*10 - watermark_offset_width_1() + watermark_offset_left_1() }
width: { text_style_field(watermark_text_field_1()).width + face_coordinates_map(watermark_face_1()).width/375*20 + watermark_offset_width_1()*2 }
top: { text_style_field(watermark_text_field_1()).top + face_coordinates_map(watermark_face_1()).height/523*3 - watermark_offset_height_1() + watermark_offset_top_1() }
height: { text_style_field(watermark_text_field_1()).height - face_coordinates_map(watermark_face_1()).height/523*6 + watermark_offset_height_1()*2 + (if is_stamped(field: watermark_stamp_field_1()) then watermark_offset_stamp_1() else 0) }
visible: { not watermark_disabled_1() }
alignment: middle center
popup style: in place
render style: image
include file: /magic.mse-game/watermarks/menu_choice_images
image: { watermark_scripts[card.watermark](face:watermark_face_1()) }
z index: 720

View File

@@ -0,0 +1,14 @@
include file: /magic-modules.mse-include/watermarks/card_fields
card style:
watermark 2:
left: { text_style_field(watermark_text_field_2()).left - face_coordinates_map(watermark_face_2()).width/375*10 - watermark_offset_width_2() + watermark_offset_left_2() }
width: { text_style_field(watermark_text_field_2()).width + face_coordinates_map(watermark_face_2()).width/375*20 + watermark_offset_width_2()*2 }
top: { text_style_field(watermark_text_field_2()).top + face_coordinates_map(watermark_face_2()).height/523*3 - watermark_offset_height_2() + watermark_offset_top_2() }
height: { text_style_field(watermark_text_field_2()).height - face_coordinates_map(watermark_face_2()).height/523*6 + watermark_offset_height_2()*2 + (if is_stamped(field: watermark_stamp_field_2()) then watermark_offset_stamp_2() else 0) }
visible: { not watermark_disabled_2() }
alignment: middle center
popup style: in place
render style: image
include file: /magic.mse-game/watermarks/menu_choice_images
image: { watermark_scripts[card.watermark_2](face:watermark_face_2()) }
z index: 720

View File

@@ -0,0 +1,14 @@
include file: /magic-modules.mse-include/watermarks/card_fields_dfc
card style:
watermark 3:
left: { text_style_field(watermark_text_field_3()).left - face_coordinates_map(watermark_face_3()).width/375*10 - watermark_offset_width_3() + watermark_offset_left_3() }
width: { text_style_field(watermark_text_field_3()).width + face_coordinates_map(watermark_face_3()).width/375*20 + watermark_offset_width_3()*2 }
top: { text_style_field(watermark_text_field_3()).top + face_coordinates_map(watermark_face_3()).height/523*3 - watermark_offset_height_3() + watermark_offset_top_3() }
height: { text_style_field(watermark_text_field_3()).height - face_coordinates_map(watermark_face_3()).height/523*6 + watermark_offset_height_3()*2 + (if is_stamped(field: watermark_stamp_field_3()) then watermark_offset_stamp_3() else 0) }
visible: { not watermark_disabled_3() }
alignment: middle center
popup style: in place
render style: image
include file: /magic.mse-game/watermarks/menu_choice_images
image: { watermark_scripts[card.watermark_3](face:watermark_face_3()) }
z index: 720

View File

@@ -0,0 +1,247 @@
# The watermark choices
# Included by a game file
choice:
name: none
line below: true
choice:
name: mana symbol
choice: white
choice: blue
choice: black
choice: red
choice: green
choice: colorless
choice:
name: snow
line below: true
choice:
name: old
choice: white
choice: blue
choice: black
choice: red
choice: green
choice: colorless
choice:
name: hi res
choice: white
choice: blue
choice: black
choice: red
choice: green
choice: colorless
choice:
name: transparent mana symbol
choice: white
choice: blue
choice: black
choice: red
choice: green
choice:
name: colorless
line below: true
choice:
name: old
choice: white
choice: blue
choice: black
choice: red
choice: green
choice: colorless
choice:
name: hi res
choice: white
choice: blue
choice: black
choice: red
choice: green
choice: colorless
choice:
name: guild symbol
choice: The Azorius Senate (W/U)
choice: House Dimir (U/B)
choice: The Cult of Rakdos (B/R)
choice: The Gruul Clans (R/G)
choice: The Selesnya Conclave (G/W)
choice: The Orzhov Syndicate (W/B)
choice: The Izzet (U/R)
choice: The Golgari (B/G)
choice: The Boros Legion (R/W)
choice:
name: The Simic Combine (G/U)
line below: true
choice:
name: originals
choice: The Azorius Senate (W/U)
choice: House Dimir (U/B)
choice: The Cult of Rakdos (B/R)
choice: The Gruul Clans (R/G)
choice: The Selesnya Conclave (G/W)
choice: The Orzhov Syndicate (W/B)
choice: The Izzet (U/R)
choice: The Golgari (B/G)
choice: The Boros Legion (R/W)
choice: The Simic Combine (G/U)
choice:
name: ancients
choice: The Azorius Senate (W/U)
choice: House Dimir (U/B)
choice: The Cult of Rakdos (B/R)
choice: The Gruul Clans (R/G)
choice: The Selesnya Conclave (G/W)
choice: The Orzhov Syndicate (W/B)
choice: The Izzet (U/R)
choice: The Golgari (B/G)
choice: The Boros Legion (R/W)
choice: The Simic Combine (G/U)
choice:
name: faction symbol
choice: mirrodin
choice: phyrexia
choice:
name: clan symbol
choice: The Abzan Houses (WBG)
choice: The Jeskai Way (URW)
choice: The Sultai Brood (BGU)
choice: The Mardu Horde (RWB)
choice: The Temur Frontier (GUR)
choice:
name: brood symbol
choice: Dromoka's Brood (GW)
choice: Ojutai's Brood (WU)
choice: Silumgar's Brood (UB)
choice: Kolaghan's Brood (BR)
choice: Atarka's Brood (RG)
choice:
name: family symbol
choice: Brokers (GWU)
choice: Cabaretti (RGW)
choice: Maestros (UBR)
choice: Obscura (WUB)
choice: Riveteers (BRG)
choice:
name: unstable factions
choice: Order of the Widget
choice: Agents of S.N.E.A.K.
choice: League of Dastardly Doom
choice: Goblin Explosioneers
choice: Crossbreed Labs
choice:
name: colored xander hybrid mana
choice: W/U
choice: U/B
choice: B/R
choice: R/G
choice: G/W
choice: W/B
choice: U/R
choice: B/G
choice: R/W
choice: G/U
choice:
name: xander hybrid mana
choice: W/U
choice: U/B
choice: B/R
choice: R/G
choice: G/W
choice: W/B
choice: U/R
choice: B/G
choice: R/W
choice: G/U
choice:
name: future sight type symbols
choice: creature
choice: artifact
choice: enchantment
choice: instant
choice: land
choice: multiple
choice: planeswalker
choice: sorcery
choice: structure
choice:
name: other magic symbols
choice: aetherprint
choice: desparked
choice: story spotlight
choice: chaos symbol
choice: color pie
choice: conspiracy stamp
choice: jace consortium
choice: shooting star
choice: phyrexia
choice: seekers of carmot
choice: the thran
choice: foretell
choice:
name: judge academy
line below: true
choice:
name: innistrad provinces
choice: stensia
choice: kessig
choice: gavony
choice: nephalia
choice:
name: theros poleis
choice: akros
choice: meletis
choice: setessa
choice:
name: alara symbols
choice: Bant
choice: Esper
choice: Grixis
choice: Jund
choice:
name: Naya
line below: true
choice:
name: colored
choice: Bant
choice: Esper
choice: Grixis
choice: Jund
choice: Naya
choice:
name: college symbols
choice: Silverquill
choice: Prismari
choice: Witherbloom
choice: Lorehold
choice: Quandrix
choice:
name: universes beyond
choice: D&D
choice:
name: transformers
line below: true
choice:
name: ponies
choice: applejack
choice: pinkie pie
choice: fluttershy
choice: rainbow dash
choice: rarity
choice: twilight sparkle
choice: nightmare moon
choice: luna
choice:
name: custom watermark
choice: one
choice: two
choice: three
choice: four
choice: five
choice: six
choice: seven
choice: eight
choice: nine
choice: ten
choice: card
choice:
name: set symbol

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 979 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Some files were not shown because too many files have changed in this diff Show More