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

@@ -77,6 +77,7 @@ init script:
card_stamp_offset_top_1 := { if stamp_shape() == "triangle" then 6 else 0 }
old_card_hybrid := card_hybrid
card_hybrid_2 :=
{
masked_blend(
@@ -193,7 +194,30 @@ init script:
art_height := { if styling.stretch_art_to_whole_card then stylesheet.card_height else 404 }
art_mask := { crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_height()) }
module_alias := {
template := alias_custom_template
land_template := alias_custom_land_template
color_background(
type: "alias",
base_hybrid: old_card_hybrid,
artifact_blend: "white",
hybrid_blend: "white",
multicolor_blend: "black"
)
}
alias_offset_top_1 := {6}
alias_colors := {
[
w: rgb(163, 143, 111),
u: rgb(9, 109, 137),
b: rgb(77, 60, 91),
r: rgb(181, 66, 75),
g: rgb(83, 130, 66),
a: rgb(83, 98, 104),
m: rgb(202, 147, 63),
c: rgb(132, 90, 59)
][input]
}
############################################################## Extra style options
styling field:
@@ -257,6 +281,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: