[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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -6,13 +6,13 @@ installer group: magic/old style/abu cards
icon: card-sample.png
position hint: 370
version: 2023-02-13
version: 2024-05-29
depends on:
package: magic.mse-game
version: 2008-06-02
depends on:
package: magic-watermarks.mse-include
version: 2007-12-29
package: magic-modules.mse-include
version: 2024-05-20
depends on:
package: magic-mana-small-abu.mse-symbol-font
version: 2011-01-01
@@ -74,7 +74,9 @@ init script:
)
else base
}
watermark_include := "/magic-modules.mse-include/watermarks"
information_codes_offset_left_1 := {4}
information_offset_top_1 := {-1}
############################################################## Set info fields
set info style:
symbol:
@@ -209,6 +211,8 @@ styling style:
no: { symbol_variation(symbol: set.symbol, variation: "common") }
yes: { symbol_variation(symbol: set.symbol, variation: "rare") }
############################################################## 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:
@@ -233,7 +237,7 @@ card style:
image: { card_background() }
############################# Name line
name:
left: 26
left: { if card.card_symbol == "none" then 26 else 42 }
top : 26
right: { 341 - card_style.casting_cost.content_width }
height: 23
@@ -260,6 +264,14 @@ card style:
always symbol: true
z index: 2
padding top: 0
card symbol:
left: { if card.card_symbol == "none" then 0 else 20 }
top : 24
height: 21
width: 23
z index: 1
render style: image
image: { card_symbol_image(face: 1) }
############################# Image
image:
left: 44
@@ -293,35 +305,7 @@ card style:
visible: { styling.visible_rarity=="yes" }
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:
if styling.colored_rarities
then symbol_variation(symbol: set.symbol, variation: "olduncommon")
else symbol_variation(symbol: set.symbol, variation: "common")
rare:
script:
if styling.colored_rarities
then symbol_variation(symbol: set.symbol, variation: "oldrare")
else symbol_variation(symbol: set.symbol, variation: "common")
mythic rare:
script:
if styling.colored_rarities
then symbol_variation(symbol: set.symbol, variation: "mythic rare")
else symbol_variation(symbol: set.symbol, variation: "common")
special:
script:
if styling.colored_rarities
then symbol_variation(symbol: set.symbol, variation: "special")
else symbol_variation(symbol: set.symbol, variation: "common")
masterpiece:
script:
if styling.colored_rarities
then symbol_variation(symbol: set.masterpiece_symbol, variation: "mythic rare")
else symbol_variation(symbol: set.masterpiece_symbol, variation: "common")
include file: /magic-modules.mse-include/rarities/choice_images_old
############################# Text box
text:
left: 47
@@ -355,14 +339,15 @@ card style:
line height line: 1.5
line height soft: 0.9
watermark:
left: 120
top : 313
width: 138
height: 150
left: 37
top : 312
width: 301
height: 147
z index: 1
render style: image
alignment: middle center
include file: /magic-watermarks.mse-include/watermarks-old
include file: /magic.mse-game/watermarks/menu_choice_images
image: { watermark_image_1() }
############################# PT
pt:
z index: 4
@@ -436,7 +421,7 @@ extra card style:
top: 51
width: 286
height: 233
z index: 2
z index: 1020
render style: image
popup style: in place
image: { if styling.art_overlay then "artoverlay.png" }
@@ -445,15 +430,6 @@ extra card style:
top : 0
width: 375
height: 523
z index: 2
z index: 1050
render style: image
image: {if styling.overlay == "" then nil else set_combine(input: styling.overlay + "/overlay.png", combine: styling.overlay_combine_type)}
list icon:
left: 0
top: 487
width: 29
height: 36
render style: image
choice images:
the list: list.png
z index: 4