[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/cbg style/planeswalkers
icon: card-sample.png
position hint: 814
version: 2014-02-22
version: 2024-05-30
depends on:
package: magic.mse-game
version: 2008-06-02
@@ -14,8 +14,8 @@ depends on:
package: magic-future-common.mse-include
version: 2007-09-23
depends on:
package: magic-watermarks.mse-include
version: 2007-09-23
package: magic-modules.mse-include
version: 2024-05-20
depends on:
package: magic-mana-small.mse-symbol-font
version: 2007-09-23
@@ -51,7 +51,7 @@ init script:
}
is_land := match@(match: "(?i)Land|Plane[^swalker]")
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## Set info fields
set info style:
symbol:
@@ -105,6 +105,7 @@ styling style:
old: /magic-mana-small.mse-symbol-font/mana_t_old.png
diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png
############################################################## Card fields
include file: /magic-modules.mse-include/corners/card_fields
card style:
############################# Background stuff
border color:
@@ -112,7 +113,6 @@ card style:
top : 0
width: 523
height: 375
radius: 18
left width: 17
right width: 17
top width: 17
@@ -155,13 +155,13 @@ card style:
z index: 2
padding top: 0
card symbol:
left: {if card.card_symbol=="none" then 20 else 77}
left: {if card.card_symbol=="none" then 54 else 77}
top : 25
height: 20
width: 14
height: 21
width: 23
z index: 5
render style: image
choice images:
tombstone: tombstone.png
image: { card_symbol_image(face: 1) }
############################# Image
image:
left: { if contains(card.card_color, match:"land") then "44" else "34" }
@@ -202,20 +202,7 @@ card style:
z index: 1
render style: image
alignment: middle center
choice images:
# Images based on the set symbol
basic land:
script:
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else symbol_variation(symbol: set.symbol, variation: "common")
common:
script:
if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else 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: { if contains(card.card_color, match:"land") then "45" else "253" }
@@ -250,7 +237,8 @@ card style:
z index: 1
render style: image
alignment: middle center
include file: /magic-watermarks.mse-include/watermarks
include file: /magic.mse-game/watermarks/menu_choice_images
image: { watermark_image_1() }
############################# Loyalty
loyalty:
z index: 4
@@ -328,6 +316,16 @@ card style:
name: MPlantin
size: 6
color: rgb(255,255,255)
the list icon:
left: 0
bottom: 374
width: 22
height: 33
popup style: in place
include file: /magic.mse-game/information/menu_choice_images_the_list
render style: image
image: { the_list_icon_image(face: 1, field: 1) }
z index: 900
############################################################## Extra card fields
extra card field:
type: choice
@@ -363,6 +361,12 @@ extra card field:
name: image box
editable: false
choice: box
extra card field:
type: choice
name: the list dot
choice: dot
editable: false
save value: false
extra card style:
paintbrush:
left: { if contains(card.card_color, match:"land") then "41" else "253" }
@@ -419,3 +423,14 @@ extra card style:
loyalty up: loyaltyup.png
loyalty down: loyaltydown.png
loyalty naught: loyaltynaught.png
the list dot:
left: 0
bottom: 374
width: 30
height: 40
render style: image
popup style: in place
include file: /magic.mse-game/information/menu_choice_images_the_list
render style: image
image: { the_list_dot_image(field: 1) }
z index: 510

Binary file not shown.

Before

Width:  |  Height:  |  Size: 672 B