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

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

View File

@@ -63,6 +63,18 @@ init script:
italic: {""}
]
alias_colors := {
[
w: rgb(167, 157, 135),
u: rgb(49, 67, 100),
b: rgb(39, 38, 36),
r: rgb(127, 34, 23),
g: rgb(25, 73, 43),
a: rgb(71, 72, 73),
m: rgb(123, 84, 26),
c: rgb(100, 81, 51)
][input]
}
transform_symbol_disabled_1 := { true }
casting_cost_offset_top_1 := { 1 }
nameline_offset_width_1 := { -2 }
@@ -192,6 +204,8 @@ include file: /magic-modules.mse-include/namelines/card_fields
include file: /magic-modules.mse-include/typelines/card_fields
include file: /magic-modules.mse-include/alias/card_fields_under
card style:
############################# Background stuff
border color:
@@ -199,25 +213,25 @@ card style:
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 0
z index: 500
mask: border_mask.png
card color:
left: 0
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 1
z index: 200
render style: image
popup style: in place
image: { card_background() }
mask: foil_mask.png
mask: frame_mask.png
############################# Image
image:
left: 0
top: 0
width: { stylesheet.card_width }
height: 831
z index: 10
z index: 100
mask: { "image_mask" + (if card.pt != "" then "_pt" else "") + (if is_crowned() then "_crown" else "") + ".png" }
mainframe image:
left: { popout_left() }
@@ -337,7 +351,7 @@ extra card style:
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 40
z index: 740
visible: { card.pt != "" }
render style: image
image:
@@ -355,7 +369,7 @@ extra card style:
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 40
z index: 740
visible: { is_crowned() }
render style: image
image: { card_crown() }
@@ -375,7 +389,7 @@ extra card style:
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 30
z index: 730
visible: { is_stamped() }
mask: stamp_border_mask.png
card stamp rim:
@@ -383,7 +397,7 @@ extra card style:
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 31
z index: 731
render style: image
image: { if is_stamped() then card_stamp() else "" }
nameline box:
@@ -391,7 +405,7 @@ extra card style:
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 12
z index: 312
render style: image
image: { set_alpha("nameline.png", alpha: get_alpha_percentage(styling.nameline_opacity_percentage, default: 65)) }
typeline box:
@@ -399,7 +413,7 @@ extra card style:
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 12
z index: 312
render style: image
image: { set_alpha("typeline.png", alpha: get_alpha_percentage(styling.typeline_opacity_percentage, default: 65)) }
rules box:
@@ -407,6 +421,6 @@ extra card style:
top: 0
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 12
z index: 312
render style: image
image: { set_alpha("rulesbox.png", alpha: get_alpha_percentage(styling.textbox_opacity_percentage, default: 65)) }