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

@@ -73,6 +73,34 @@ init script:
]
card_stamp_offset_width_1 := { 1 }
module_alias := {
template := alias_custom_template
land_template := alias_custom_land_template
color_background(
type: "alias",
base_hybrid: card_hybrid,
artifact_blend: "white",
hybrid_blend: "white",
multicolor_blend: "black"
)
}
alias_colors := {
[
w: rgb(250, 248, 237),
u: rgb(68, 159, 206),
b: rgb(104, 86, 116),
r: rgb(211, 74, 62),
g: rgb(155, 167, 77),
a: rgb(90, 117, 148),
m: rgb(171, 140, 29),
c: rgb(104, 86, 115)
][input]
}
alias_offset_top_1 := {2}
alias_offset_width_1 := {2}
alias_offset_height_1 := {6}
alias_offset_left_1 := {23}
template_prefix :=
[
@@ -261,6 +289,8 @@ include file: /magic-modules.mse-include/typelines/card_fields
include file: /magic-modules.mse-include/foils/card_fields
include file: /magic-modules.mse-include/alias/card_fields_under
card style:
############################# Background stuff
border color:
@@ -279,7 +309,7 @@ card style:
popup style: in place
render style: image
image: { card_background() }
mask: card_mask.png
mask: { if alias_enabled() then "alias_mask.png" else "card_mask.png" }
############################# Image
image:
left: 0
@@ -463,3 +493,4 @@ extra card style:
render style: image
image: { card_border() }
mask: border_mask.png