[274/274] magic-modules rollout (#51)

Add Magic-Modules support to all frames
This commit is contained in:
cajun
2024-09-10 22:21:23 -05:00
committed by GitHub
parent 65bfc8fcd6
commit 6d617985ce
5491 changed files with 37088 additions and 66467 deletions

View File

@@ -6,7 +6,7 @@ installer group: magic/urban
icon: card-sample.png
position hint: 843
version: 2014-02-22
version: 2024-05-30
depends on:
package: magic.mse-game
version: 2008-06-02
@@ -17,8 +17,8 @@ depends on:
package: magic-mana-small.mse-symbol-font
version: 2007-09-23
depends on:
package: magic-watermarks.mse-include
version: 2007-09-23
package: magic-modules.mse-include
version: 2024-05-20
card width: 375
card height: 523
@@ -45,7 +45,7 @@ init script:
}
card_shape := { if contains(card.super_type, match:"Token") or contains(card.sub_type, match:"Token") or styling.is_token then "token" else "normal" }
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## Set info fields
############################################################## Extra style options
styling field:
@@ -102,6 +102,8 @@ styling style:
short text only: /magic.mse-game/icons/center-short-text.png
never: /magic.mse-game/icons/center-no-text.png
############################################################## Card fields
include file: /magic-modules.mse-include/corners/card_fields
include file: /magic-modules.mse-include/information/the_list_old
card style:
############################# Background stuff
border color:
@@ -109,7 +111,6 @@ card style:
top : 0
width: 375
height: 523
radius: 18
left width: 19
right width: 19
top width: 19
@@ -156,14 +157,13 @@ card style:
z index: 3
padding top: 0
card symbol:
left: 24
left: 20
top : 27
height: 20
width: 14
z index: 3
height: 21
width: 23
z index: 5
render style: image
choice images:
tombstone: tombstone.png
image: { card_symbol_image(face: 1) }
############################# Image
image:
left: 27
@@ -181,14 +181,7 @@ card style:
z index: 3
alignment: middle right
render style: image
choice images:
# Images based on the set symbol
basic land: script: symbol_variation(symbol: set.symbol, variation: "common")
common: script: symbol_variation(symbol: set.symbol, variation: "common")
uncommon: script: symbol_variation(symbol: set.symbol, variation: "uncommon")
rare: script: symbol_variation(symbol: set.symbol, variation: "rare")
mythic rare: script: symbol_variation(symbol: set.symbol, variation: "mythic rare")
special: script: symbol_variation(symbol: set.symbol, variation: "special")
include file: /magic-modules.mse-include/rarities/choice_images
############################# Text box
text:
left: 30
@@ -227,15 +220,16 @@ card style:
line height line: 1.5
line height soft: 0.9
watermark:
left: 107
top : 314
width: 168
height: 188
left: 20
top : 324
width: 341
height: 168
z index: 1
render style: image
popup style: in place
alignment: middle center
include file: watermarks
include file: /magic.mse-game/watermarks/menu_choice_images
image: { watermark_image_1() }
############################# PT
pt:
z index: 3
@@ -334,7 +328,7 @@ extra card style:
top : 0
width: 375
height: 523
z index: 4
z index: 1050
render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}
image overlay: