[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,22 +6,22 @@ installer group: magic/FirePenguinMaster/Flip cards
icon: card-sample.png
position hint: 805
version: 2014-02-23
version: 2024-05-29
depends on:
package: magic.mse-game
version: 2010-04-07
depends on:
package: magic-future-common.mse-include
version: 2007-09-23
depends on:
package: magic-watermarks.mse-include
version: 2007-09-23
depends on:
package: magic-mana-beveled.mse-symbol-font
version: 2007-09-23
depends on:
package: magic-mana-small.mse-symbol-font
version: 2007-09-23
depends on:
package: magic-modules.mse-include
version: 2024-05-20
card width: 375
card height: 523
@@ -29,6 +29,7 @@ card dpi: 150
# Template by Art_Freak
############################################################## Extra scripts
init script:
include file: /magic-modules.mse-include/corners/card_fields
# We have no land templates
land_template := { "c{type}.jpg" }
@@ -49,7 +50,21 @@ init script:
paintbrush_color := { if font_white() then "white" else "black" }
card_shape := { "flip" }
faces_coordinates := {[
[
left: 0,
top: 0,
width: 375,
height: 523
],
[
left: 0,
top: 0,
width: 375,
height: 523
]
]}
############################################################## Extra style
styling field:
type: choice
@@ -108,6 +123,7 @@ 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
card style:
############################# Background stuff
border color:
@@ -169,14 +185,13 @@ card style:
padding top: 0
z index: 1
card symbol:
left: 30
left: 22
top : 27
height: 20
width: 14
height: 21
width: 23
z index: 1
render style: image
choice images:
tombstone: tombstone.png
image: { card_symbol_image(face: 1) }
name 2:
right: 32
bottom: 454
@@ -209,15 +224,14 @@ card style:
padding top: 0
z index: 1
card symbol 2:
right: 331
right: 330
bottom: 457
height: 20
width: 14
height: 21
width: 23
z index: 1
render style: image
angle: 180
choice images:
tombstone: tombstone.png
image: { card_symbol_image(face: 2) }
############################# Image
image:
left: 49
@@ -262,14 +276,7 @@ card style:
z index: 1
alignment: middle center
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
#should the bottom textbox be the flipped or unflipped text? if flipped, reverse orientations of fields.
text:
@@ -304,14 +311,15 @@ card style:
line height line: 1.5
line height soft: 0.9
watermark:
left: 42
top : 380
width: 300
left: 52
top : 400
width: 280
height: 65
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() }
text 2:
right: 33
bottom: 65
@@ -344,7 +352,7 @@ card style:
line height hard: 1.2
line height line: 1.5
watermark 2:
right: 33
right: 23
bottom: 65
width: 300
height: 60
@@ -352,7 +360,8 @@ card style:
render style: image
alignment: middle center
angle: 180
include file: /magic-watermarks.mse-include/watermarks
include file: /magic.mse-game/watermarks/menu_choice_images
image: { watermark_image_2() }
############################# PT
power:
z index: 2
@@ -515,6 +524,6 @@ extra card style:
top : 0
width: 375
height: 523
z index: 3
z index: 1050
render style: image
image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"}