[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/new style/planeswalkers
icon: card-sample.png
position hint: 203
version: 2023-02-13
version: 2024-05-29
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-large.mse-symbol-font
version: 2007-09-23
@@ -61,6 +61,7 @@ init script:
}
card_shape := {"planeswalker"}
watermark_include := "/magic-modules.mse-include/watermarks"
############################################################## Set info fields
set info style:
@@ -135,6 +136,8 @@ styling style:
no: { symbol_variation(symbol: set.symbol, variation: "common") }
yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") }
############################################################## 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:
@@ -142,7 +145,6 @@ card style:
top : 0
width: 375
height: 523
radius: 18
left width: 17
right width: 17
top width: 17
@@ -186,14 +188,13 @@ card style:
z index: 2
padding top: 0
card symbol:
left: {if card.card_symbol=="none" then 20 else 32}
top : 25
height: 20
width: 14
z index: 1
left: {if card.card_symbol=="none" then 20 else 28}
top : 24
height: 21
width: 23
z index: 5
render style: image
choice images:
tombstone: tombstone.png
image: { card_symbol_image(face: 1) }
############################# Image
image:
left: 28
@@ -224,20 +225,7 @@ card style:
z index: 2
render style: image
alignment: middle right
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: 66
@@ -281,7 +269,8 @@ card style:
z index: 2
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: 7
@@ -411,13 +400,6 @@ extra card field:
editable: false
script: ":"
save value: false
extra card field:
type: choice
name: list icon
choice: no icon
choice: the list
save value: true
editable: true
extra card style:
paintbrush:
right: { 206 + card_style.illustrator.content_width * -0.5 }
@@ -444,7 +426,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"}
loyalty cost box 1:
@@ -522,12 +504,3 @@ extra card style:
color: rgb(0,0,0)
alignment: middle center
visible: { card.loyalty_cost_3 !="" }
list icon:
left: 0
top: 487
width: 29
height: 36
render style: image
choice images:
the list: list.png
z index: 7