Add expedition 33 frame (#155)

* Add expedition 33 frame
This commit is contained in:
GenevensiS
2025-09-23 21:26:07 +02:00
committed by GitHub
parent 193904386b
commit a1aed28885
58 changed files with 396 additions and 18 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -157,15 +157,11 @@ init script:
popout_width := { split := split_comma(styling.popout_art_coordinates); if length(split) > 3 and split.2 != "" and split.2 != "-" then clamp(split.2, maximum:1500, minimum:0) else 0 }
popout_height := { split := split_comma(styling.popout_art_coordinates); if length(split) > 3 and split.3 != "" and split.3 != "-" then clamp(split.3, maximum:2000, minimum:0) else 0 }
art_left := { if styling.stretch_art_to_whole_card or styling.border != "yes" then 0 else 30 }
art_width := { if styling.stretch_art_to_whole_card or styling.border != "yes" then stylesheet.card_width else 690 }
art_top := { if styling.stretch_art_to_whole_card or styling.border != "yes" then 0 else 30 }
art_bottom := { if styling.stretch_art_to_whole_card or styling.border == "no" then stylesheet.card_height else 967 }
art_mask :=
{
mask := "image_mask.png"
crop(mask, offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_bottom() - art_top())
}
art_left := { if styling.stretch_art_to_whole_card or styling.border != "yes" then 0 else 30 }
art_width := { if styling.stretch_art_to_whole_card or styling.border != "yes" then stylesheet.card_width else 690 }
art_top := { if styling.stretch_art_to_whole_card or styling.border != "yes" then 0 else 30 }
art_bottom := { if styling.stretch_art_to_whole_card or styling.border == "no" or styling.border == "fade" then stylesheet.card_height else 967 }
art_mask := { crop("image_mask.png", offset_x: art_left(), offset_y: art_top(), width: art_width(), height: art_bottom() - art_top()) }
############################################################## Extra style options
styling field:
@@ -203,20 +199,17 @@ include file: /magic-modules.mse-include/rarities/styling_fields
include file: /magic-modules.mse-include/watermarks/styling_fields
styling field:
type: package choice
name: overlay
description: Should there be an overlay applied, such as foil?
match: magic-overlay-*.mse-include
required: false
include file: /magic-modules.mse-include/foils/styling_fields
styling field:
type: choice
name: border
description: Use a border?
choice: yes
choice: only copyright
choice: fade
choice: no
initial: only copyright
initial: fade
include file: /magic-modules.mse-include/information/styling_fields
@@ -249,7 +242,7 @@ card style:
height: { stylesheet.card_height }
z index: 150
visible: { styling.border != "no" }
mask: { "border_" + (if styling.border == "only copyright" then "borderless_" else "") + "mask.png" }
mask: { "border_" + (if styling.border == "only copyright" then "borderless_" else if styling.border == "fade" then "fade_" else "") + "mask.png" }
card color:
left: 0
top: 0
@@ -409,5 +402,5 @@ extra card style:
width: { stylesheet.card_width }
height: { stylesheet.card_height }
z index: 200
visible: { styling.border != "no" and is_stamped() }
visible: { (styling.border == "only copyright" or styling.border == "yes") and is_stamped() }
mask: border_stamp_mask.png