Alias Module (#162)

This commit is contained in:
cajun
2025-09-28 07:25:02 -05:00
committed by GitHub
parent bd7a5e331f
commit 4818a59014
106 changed files with 1005 additions and 827 deletions

View File

@@ -97,6 +97,9 @@ init script:
un_png := replace@(match:".png", replace: "")
is_vehicle := {lang_setting("is_vehicle")(card.sub_type)}
watermark_include := "/magic-modules.mse-include/watermarks"
alias_mask := { alias_src + "masks/remove_color.png" }
alias_offset_top_1 := {-3}
############################################################## Set info fields
set info style:
symbol:
@@ -217,6 +220,7 @@ include file: /magic-modules.mse-include/information/card_fields
include file: /magic-modules.mse-include/stamps/card_fields
include file: /magic-modules.mse-include/stamps/stamp_back
include file: /magic-modules.mse-include/separators/card_fields
include file: /magic-modules.mse-include/alias/card_fields
card style:
############################# Background stuff
border color:
@@ -249,7 +253,7 @@ card style:
height: {23 - 0.5*shrink_name()}
alignment: bottom shrink-overflow
padding bottom: 0
z index: 1
z index: 900
font:
name: Beleren Bold
size: {16 - shrink_name()}
@@ -268,7 +272,7 @@ card style:
size: 15
alignment: middle right
always symbol: true
z index: 2
z index: 920
padding top: 0
############################# Image
image:
@@ -294,7 +298,7 @@ card style:
width: { (if has_identity() then "290" else "310") - max(22,card_style.rarity.content_width) }
height: { 20 - shrink_type() }
alignment: top shrink-overflow
z index: 2
z index: 900
padding top: 2
font:
name: Beleren Bold
@@ -306,7 +310,7 @@ card style:
top: 297
width: 44
height: 22
z index: 2
z index: 950
render style: image
alignment: middle right
include file: /magic-modules.mse-include/rarities/choice_images
@@ -348,7 +352,7 @@ card style:
top: 327
width: 334
bottom: 481
z index: 1
z index: 720
render style: image
popup style: in place
alignment: middle center
@@ -356,7 +360,7 @@ card style:
image: { watermark_image_1() }
############################# PT
pt:
z index: 2
z index: 900
left: 286
top: 469
width: 60