diff --git a/Magic - Fonts/template specific fonts/Magic - Sokrates/Caesar Dressing.ttf b/Magic - Fonts/template specific fonts/Magic - Sokrates/Caesar Dressing.ttf new file mode 100644 index 000000000..cbdfad92c Binary files /dev/null and b/Magic - Fonts/template specific fonts/Magic - Sokrates/Caesar Dressing.ttf differ diff --git a/data/magic-dox-sokrates_750.mse-style/border_borderless_mask.png b/data/magic-dox-sokrates_750.mse-style/border_borderless_mask.png new file mode 100644 index 000000000..ca20efc17 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/border_borderless_mask.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/border_mask.png b/data/magic-dox-sokrates_750.mse-style/border_mask.png new file mode 100644 index 000000000..b41daa382 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/border_mask.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/border_stamp_mask.png b/data/magic-dox-sokrates_750.mse-style/border_stamp_mask.png new file mode 100644 index 000000000..f1a9f5220 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/border_stamp_mask.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/card-sample.png b/data/magic-dox-sokrates_750.mse-style/card-sample.png new file mode 100644 index 000000000..2b6c87713 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/card-sample.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/card_mask.png b/data/magic-dox-sokrates_750.mse-style/card_mask.png new file mode 100644 index 000000000..780b8a341 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/card_mask.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/crown/a.png b/data/magic-dox-sokrates_750.mse-style/crown/a.png new file mode 100644 index 000000000..21e5841c0 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/crown/a.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/crown/b.png b/data/magic-dox-sokrates_750.mse-style/crown/b.png new file mode 100644 index 000000000..c547227a4 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/crown/b.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/crown/c.png b/data/magic-dox-sokrates_750.mse-style/crown/c.png new file mode 100644 index 000000000..0994549a0 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/crown/c.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/crown/g.png b/data/magic-dox-sokrates_750.mse-style/crown/g.png new file mode 100644 index 000000000..18a27a2cb Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/crown/g.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/crown/m.png b/data/magic-dox-sokrates_750.mse-style/crown/m.png new file mode 100644 index 000000000..9081f1992 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/crown/m.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/crown/r.png b/data/magic-dox-sokrates_750.mse-style/crown/r.png new file mode 100644 index 000000000..2c8e2e6c8 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/crown/r.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/crown/u.png b/data/magic-dox-sokrates_750.mse-style/crown/u.png new file mode 100644 index 000000000..ba5313816 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/crown/u.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/crown/w.png b/data/magic-dox-sokrates_750.mse-style/crown/w.png new file mode 100644 index 000000000..1fcca3c28 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/crown/w.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/fonts/Caesar Dressing.ttf b/data/magic-dox-sokrates_750.mse-style/fonts/Caesar Dressing.ttf new file mode 100644 index 000000000..cbdfad92c Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/fonts/Caesar Dressing.ttf differ diff --git a/data/magic-dox-sokrates_750.mse-style/image_mask.png b/data/magic-dox-sokrates_750.mse-style/image_mask.png new file mode 100644 index 000000000..b5f68a8e9 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/image_mask.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/namebox/a.png b/data/magic-dox-sokrates_750.mse-style/namebox/a.png new file mode 100644 index 000000000..55c37a042 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/namebox/a.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/namebox/b.png b/data/magic-dox-sokrates_750.mse-style/namebox/b.png new file mode 100644 index 000000000..57e7d3222 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/namebox/b.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/namebox/c.png b/data/magic-dox-sokrates_750.mse-style/namebox/c.png new file mode 100644 index 000000000..9cffbed67 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/namebox/c.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/namebox/g.png b/data/magic-dox-sokrates_750.mse-style/namebox/g.png new file mode 100644 index 000000000..d7250ad0e Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/namebox/g.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/namebox/m.png b/data/magic-dox-sokrates_750.mse-style/namebox/m.png new file mode 100644 index 000000000..162fde831 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/namebox/m.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/namebox/r.png b/data/magic-dox-sokrates_750.mse-style/namebox/r.png new file mode 100644 index 000000000..ae6323f24 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/namebox/r.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/namebox/u.png b/data/magic-dox-sokrates_750.mse-style/namebox/u.png new file mode 100644 index 000000000..5de7dafb4 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/namebox/u.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/namebox/w.png b/data/magic-dox-sokrates_750.mse-style/namebox/w.png new file mode 100644 index 000000000..9e7d9d599 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/namebox/w.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/nonstamp/a.png b/data/magic-dox-sokrates_750.mse-style/nonstamp/a.png new file mode 100644 index 000000000..7396ff9cf Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/nonstamp/a.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/nonstamp/b.png b/data/magic-dox-sokrates_750.mse-style/nonstamp/b.png new file mode 100644 index 000000000..23ce59b05 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/nonstamp/b.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/nonstamp/c.png b/data/magic-dox-sokrates_750.mse-style/nonstamp/c.png new file mode 100644 index 000000000..7eeff1aa5 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/nonstamp/c.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/nonstamp/g.png b/data/magic-dox-sokrates_750.mse-style/nonstamp/g.png new file mode 100644 index 000000000..c3e0ba415 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/nonstamp/g.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/nonstamp/m.png b/data/magic-dox-sokrates_750.mse-style/nonstamp/m.png new file mode 100644 index 000000000..72150d1ca Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/nonstamp/m.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/nonstamp/r.png b/data/magic-dox-sokrates_750.mse-style/nonstamp/r.png new file mode 100644 index 000000000..c970ee893 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/nonstamp/r.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/nonstamp/u.png b/data/magic-dox-sokrates_750.mse-style/nonstamp/u.png new file mode 100644 index 000000000..457089ebf Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/nonstamp/u.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/nonstamp/w.png b/data/magic-dox-sokrates_750.mse-style/nonstamp/w.png new file mode 100644 index 000000000..3335152d0 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/nonstamp/w.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/pt/a.png b/data/magic-dox-sokrates_750.mse-style/pt/a.png new file mode 100644 index 000000000..ada3e45e5 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/pt/a.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/pt/b.png b/data/magic-dox-sokrates_750.mse-style/pt/b.png new file mode 100644 index 000000000..67e15d158 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/pt/b.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/pt/c.png b/data/magic-dox-sokrates_750.mse-style/pt/c.png new file mode 100644 index 000000000..23ac77b93 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/pt/c.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/pt/g.png b/data/magic-dox-sokrates_750.mse-style/pt/g.png new file mode 100644 index 000000000..42d5ed1ba Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/pt/g.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/pt/m.png b/data/magic-dox-sokrates_750.mse-style/pt/m.png new file mode 100644 index 000000000..fec739645 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/pt/m.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/pt/r.png b/data/magic-dox-sokrates_750.mse-style/pt/r.png new file mode 100644 index 000000000..673fa1541 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/pt/r.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/pt/u.png b/data/magic-dox-sokrates_750.mse-style/pt/u.png new file mode 100644 index 000000000..a1ff6f84a Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/pt/u.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/pt/w.png b/data/magic-dox-sokrates_750.mse-style/pt/w.png new file mode 100644 index 000000000..17d1a8999 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/pt/w.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/stamp/a.png b/data/magic-dox-sokrates_750.mse-style/stamp/a.png new file mode 100644 index 000000000..127b9dc93 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/stamp/a.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/stamp/b.png b/data/magic-dox-sokrates_750.mse-style/stamp/b.png new file mode 100644 index 000000000..524653eb3 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/stamp/b.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/stamp/c.png b/data/magic-dox-sokrates_750.mse-style/stamp/c.png new file mode 100644 index 000000000..6f00751df Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/stamp/c.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/stamp/g.png b/data/magic-dox-sokrates_750.mse-style/stamp/g.png new file mode 100644 index 000000000..74ecf254c Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/stamp/g.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/stamp/m.png b/data/magic-dox-sokrates_750.mse-style/stamp/m.png new file mode 100644 index 000000000..0e8d7fd81 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/stamp/m.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/stamp/r.png b/data/magic-dox-sokrates_750.mse-style/stamp/r.png new file mode 100644 index 000000000..0a0e1cb0c Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/stamp/r.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/stamp/u.png b/data/magic-dox-sokrates_750.mse-style/stamp/u.png new file mode 100644 index 000000000..2f9687a0f Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/stamp/u.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/stamp/w.png b/data/magic-dox-sokrates_750.mse-style/stamp/w.png new file mode 100644 index 000000000..9b2610f0d Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/stamp/w.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/style b/data/magic-dox-sokrates_750.mse-style/style new file mode 100644 index 000000000..de963c368 --- /dev/null +++ b/data/magic-dox-sokrates_750.mse-style/style @@ -0,0 +1,413 @@ +mse version: 2.1.2 +game: magic +short name: Sokrates +full name: by DoX +icon: card-sample.png +position hint: 083 + +version: 2024-08-01 +depends on: + package: magic.mse-game + version: 2014-06-25 +depends on: + package: magic-modules.mse-include + version: 2024-10-01 +depends on: + package: magic-mana-large.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 750 +card height: 1046 +card dpi: 300 + +### blanks by DoX +### code by GenevensiS + +############################################################## Extra scripts +init script: + nameline_offset_left_1 := { -8 } + nameline_offset_top_1 := { 62 } + casting_cost_offset_left_1 := { 16 } + casting_cost_offset_top_1 := { 3 } + transform_symbol_offset_left_1 := { 20 } + transform_symbol_offset_top_1 := { 14 } + transform_symbol_offset_width_1 := { -28 } + transform_symbol_offset_height_1 := { -28 } + name_transform_symbol_offset_left_1 := { -18 } + card_symbol_offset_left_1 := { -6 } + card_symbol_offset_top_1 := { 5 } + card_symbol_offset_width_1 := { -6 } + card_symbol_offset_height_1 := { -6 } + name_card_symbol_offset_left_1 := { 12 } + name_shadow_color := { rgb(0,0,0) } + name_shadow_displacement_x := { -2 } + name_shadow_displacement_y := { 2 } + + typeline_offset_top_1 := { 13 } + typeline_offset_left_1 := { 4 } + type_offset_top_1 := { 2 } + rarity_offset_left_1 := { 8 } + indicator_offset_left_1 := { -5 } + indicator_offset_top_1 := { -3 } + type_shadow_color := { rgb(0,0,0) } + type_shadow_displacement_x := { -2 } + type_shadow_displacement_y := { 2 } + + invert_watermark_1 := { true } + + information_offset_top_1 := { 3 } + information_secondary_offset_pt_left_1 := { 16 } + + swap_fonts_pt_default := + [ + name: {"Caesar Dressing"}, + size: {31.0}, + color: {"white"}, + vertical: {0}, + italic: {""} + ] + swap_fonts_body_default := + [ + name: {"MPlantin"}, + size: {28.0}, + color: {"white"}, + vertical: {0}, + italic: {"MPlantin-Italic"} + ] + swap_fonts_type_default := + [ + name: {"Caesar Dressing"}, + size: {30.0}, + color: {"white"}, + vertical: {0}, + italic: {""} + ] + swap_fonts_name_default := + [ + name: {"Caesar Dressing"}, + size: {33.0}, + color: {"white"}, + vertical: {0}, + italic: {""} + ] + swap_fonts_casting_cost_default := + [ + name: {"MPlantin"}, + size: {31.0}, + color: {"black"}, + vertical: {0}, + italic: {"MPlantin-Italic"} + ] + + template_prefix := + [ + card: { "namebox/" } + textbox: { "textbox/" } + stamp: { "stamp/" } + nonstamp: { "nonstamp/" } + pt: { "pt/" } + identity: { "/magic-modules.mse-include/indicators/" } + crown: { "crown/" } + ] + template_suffix := + [ + card: ".png" + textbox: ".png" + stamp: ".png" + nonstamp: ".png" + pt: ".png" + identity: "identity.png" + crown: ".png" + ] + template := { template_prefix[type]() + input + template_suffix[type] } + land_template := { template_prefix[type]() + (if input == "a" then "c" else input) + template_suffix[type] } + + card_background := { color_background(type:"card", base_hybrid:card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") } + card_textbox := { color_background(type:"textbox", base_hybrid:card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") } + card_stamp := { color_background(type:"stamp", base_hybrid:card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") } + card_nonstamp := { color_background(type:"nonstamp", base_hybrid:card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") } + card_crown := { color_background(type:"crown", base_hybrid:card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") } + card_ptbox := { color_background(type:"pt", base_hybrid:card_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white") } + module_identity := { color_background(type:"identity", base_hybrid:identity_hybrid, hybrid_blend: "white", artifact_blend: "white", multicolor_blend: "white", folder:template_prefix["identity"]()) } + + is_crowned := { styling.legend_crown == "yes" or (styling.legend_crown == "if legendary" and lang_setting("is_legendary")(card.super_type)) } + + pure_colors := + { + sort_text( + order: if card_is_wedge(input) then "(wbgur)" else "(wubrg)", + (if chosen(card.card_color, choice:"white") then "w") + + (if chosen(card.card_color, choice:"blue") then "u") + + (if chosen(card.card_color, choice:"black") then "b") + + (if chosen(card.card_color, choice:"red") then "r") + + (if chosen(card.card_color, choice:"green") then "g") + ) + } + pt_colors := { if styling.PT_color_scheme == "canon" then pt_colors_canon() else styling.PT_color_scheme } + pt_colors_canon := { if is_hybrid_cost() then "land" else "gold" } + + chop_top := { split := split_comma(styling.chop_text_box); if length(split) > 0 and split.0 != "" then clamp(split.0, maximum: 500, minimum: -500) else 0 } + chop_bot := { split := split_comma(styling.chop_text_box); if length(split) > 1 and split.1 != "" then clamp(split.1, maximum: 500, minimum: -500) else 0 } + + popout_left := { split := split_comma(styling.popout_art_coordinates); if length(split) > 3 and split.0 != "" and split.0 != "-" then clamp(split.0, maximum:1500, minimum:-500) else 0 } + popout_top := { split := split_comma(styling.popout_art_coordinates); if length(split) > 3 and split.1 != "" and split.1 != "-" then clamp(split.1, maximum:2000, minimum:-500) else 0 } + 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()) + } + +############################################################## Extra style options +styling field: + type: text + name: popout art coordinates + description: The coordinates for the popout image field, formatted as "left,top,width,height". Used to make the illustration jump in front of the frame. +styling field: + type: boolean + name: stretch art to whole card + description: Make the image span the whole card instead of just the visible part. Use this to help make popout effects. + initial: no + +include file: /magic-modules.mse-include/texts/styling_fields + +styling field: + type: choice + name: PT color scheme + description: Use the selected color scheme for the PT box on two color cards. Canon is "land" on hybrid cards, "gold" otherwise. + choice: canon + choice: gold + choice: hybrid + choice: colored + choice: land + initial: canon +styling field: + type: choice + name: legend crown + description: Use the legend crown? + choice: yes + choice: if legendary + choice: no + initial: if legendary + +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 +styling field: + type: choice + name: border + description: Use a border? + choice: yes + choice: only copyright + choice: no + initial: only copyright + +include file: /magic-modules.mse-include/information/styling_fields + +include file: /magic-modules.mse-include/symbol-fonts/styling_fields + +include file: /magic-modules.mse-include/fonts/styling_fields + +############################################################## Card fields + +include file: /magic-modules.mse-include/information/card_fields + +include file: /magic-modules.mse-include/stamps/card_fields + +include file: /magic-modules.mse-include/corners/card_fields + +include file: /magic-modules.mse-include/watermarks/card_fields + +include file: /magic-modules.mse-include/separators/card_fields + +include file: /magic-modules.mse-include/namelines/card_fields + +include file: /magic-modules.mse-include/typelines/card_fields + +card style: + ############################# Background stuff + border color: + left: 0 + top: 0 + width: { stylesheet.card_width } + height: { stylesheet.card_height } + z index: 150 + visible: { styling.border != "no" } + mask: { "border_" + (if styling.border == "only copyright" then "borderless_" else "") + "mask.png" } + card color: + left: 0 + top: 0 + width: { stylesheet.card_width } + height: { stylesheet.card_height } + z index: 200 + popup style: in place + render style: image + image: { card_background() } + mask: card_mask.png + + ############################# Image + image: + left: { art_left() } + top: { art_top() } + width: { art_width() } + bottom: { art_bottom() } + z index: 100 + mask: { art_mask() } + mainframe image: + left: { popout_left() } + top: { popout_top() } + width: { popout_width() } + height: { popout_height() } + z index: 1000 + + ############################# Text box + text: + left: 72 + top: { 670 + chop_top() + body_font_vertical() } + right: 678 + bottom: { 950 - chop_bot() + (if is_stamped() then - 9 else 0) } + z index: 900 + line height hard: { if is_modal(card.rule_text) then 0.9 else 1.2 } + line height line: 1.5 + line height soft: 0.9 + line height hard max: { if is_modal(card.rule_text) then 1.0 else 1.3 } + line height line max: 1.6 + alignment: + script: + if + ( + styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + to_text(card.flavor_text) == "" and + card_style.text.content_lines <= 2 + ) + or styling.center_text == "always" + then "middle center" + else "middle left" + font: + name: { body_font() } + italic name: { body_font_italic() } + size: { body_font_size() } + scale down to: 7 + color: { body_font_color() } + symbol font: + name: { styling.text_box_mana_symbols } + size: { body_font_size() } + scale down to: 7 + + ############################# PT + pt: + left: 600 + top: { 940 + pt_font_vertical() } + width: 87 + height: 46 + z index: 900 + alignment: center middle shrink-overflow + font: + name: { pt_font() } + size: { pt_font_size() } + color: { pt_font_color() } + separator color: red + shadow color: { rgb(0,0,0) } + shadow displacement x: -2 + shadow displacement y: 2 + +############################################################## Extra card fields +extra card field: + type: choice + name: textbox + editable: false + save value: false + script: card.card_color +extra card field: + type: choice + name: pt box + editable: false + save value: false + script: card.card_color +extra card field: + type: choice + name: crown + editable: false + save value: false + script: card.card_color +extra card field: + type: choice + name: stamp + editable: false + save value: false + script: card.card_color +extra card field: + type: color + name: stamp border + editable: false + save value: false + script: card.border_color +extra card style: + textbox: + left: 0 + top: 0 + width: { stylesheet.card_width } + height: { stylesheet.card_height } + z index: 200 + render style: image + image: { card_textbox() } + pt box: + left: 0 + top: 0 + width: { stylesheet.card_width } + height: { stylesheet.card_height } + z index: 800 + visible: { card.pt != "" } + render style: image + image: + script: + pure := pure_colors() + count := length(pure) + color := pt_colors() + if color == "gold" and count > 1 then template("m", type: "pt") + else if color == "land" and count > 1 then template("c", type: "pt") + else if color == "hybrid" and count == 2 then masked_blend(mask: "special_blend_pt.png", dark: template(pure.0, type: "pt"), light: template(pure.1, type: "pt")) + else card_ptbox() + crown: + left: 0 + top: 0 + width: { stylesheet.card_width } + height: { stylesheet.card_height } + z index: 300 + visible: { is_crowned() } + render style: image + image: { card_crown() } + stamp: + left: 0 + top: 0 + width: { stylesheet.card_width } + height: { stylesheet.card_height } + z index: 200 + popup style: in place + render style: image + image: { if is_stamped() then card_stamp() else card_nonstamp() } + stamp border: + left: 0 + top: 0 + width: { stylesheet.card_width } + height: { stylesheet.card_height } + z index: 200 + visible: { styling.border != "no" and is_stamped() } + mask: border_stamp_mask.png diff --git a/data/magic-dox-sokrates_750.mse-style/textbox/a.png b/data/magic-dox-sokrates_750.mse-style/textbox/a.png new file mode 100644 index 000000000..3ce400081 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/textbox/a.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/textbox/b.png b/data/magic-dox-sokrates_750.mse-style/textbox/b.png new file mode 100644 index 000000000..ce39b1a37 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/textbox/b.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/textbox/c.png b/data/magic-dox-sokrates_750.mse-style/textbox/c.png new file mode 100644 index 000000000..af477e3bf Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/textbox/c.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/textbox/g.png b/data/magic-dox-sokrates_750.mse-style/textbox/g.png new file mode 100644 index 000000000..cdd66e755 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/textbox/g.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/textbox/m.png b/data/magic-dox-sokrates_750.mse-style/textbox/m.png new file mode 100644 index 000000000..6f755659d Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/textbox/m.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/textbox/r.png b/data/magic-dox-sokrates_750.mse-style/textbox/r.png new file mode 100644 index 000000000..c029bb96c Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/textbox/r.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/textbox/u.png b/data/magic-dox-sokrates_750.mse-style/textbox/u.png new file mode 100644 index 000000000..6fe7a47f2 Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/textbox/u.png differ diff --git a/data/magic-dox-sokrates_750.mse-style/textbox/w.png b/data/magic-dox-sokrates_750.mse-style/textbox/w.png new file mode 100644 index 000000000..69ade608b Binary files /dev/null and b/data/magic-dox-sokrates_750.mse-style/textbox/w.png differ diff --git a/data/magic-m15-showcase-capenna-golden-age.mse-style/style b/data/magic-m15-showcase-capenna-golden-age.mse-style/style index 5ca0f49ab..554c24263 100644 --- a/data/magic-m15-showcase-capenna-golden-age.mse-style/style +++ b/data/magic-m15-showcase-capenna-golden-age.mse-style/style @@ -79,6 +79,8 @@ init script: else 0 } + invert_watermark_1 := { true } + foil_mask_base_image := { if is_crowned() then "foil_mask_crown.png" else "foil_mask.png" diff --git a/data/magic-modules.mse-include/casting-costs/card_fields b/data/magic-modules.mse-include/casting-costs/card_fields index 196ed1e7b..7845cbc9c 100644 --- a/data/magic-modules.mse-include/casting-costs/card_fields +++ b/data/magic-modules.mse-include/casting-costs/card_fields @@ -8,11 +8,11 @@ card style: visible: { (not nameline_disabled_1()) and not casting_cost_disabled_1() } always symbol: true font: - name: MPlantin - italic name: MPlantin-Italic - size: { name_font_size() } - color: black + name: { casting_cost_font() } + italic name: { casting_cost_font_italic() } + size: { casting_cost_font_size() } + color: { casting_cost_font_color() } symbol font: name: { styling.casting_cost_mana_symbols or else "magic-mana-large" } - size: { name_font_size() } + size: { casting_cost_font_size() } z index: 920 \ No newline at end of file diff --git a/data/magic-modules.mse-include/casting-costs/card_fields_dfc b/data/magic-modules.mse-include/casting-costs/card_fields_dfc index 52c86757a..b1a3d5f81 100644 --- a/data/magic-modules.mse-include/casting-costs/card_fields_dfc +++ b/data/magic-modules.mse-include/casting-costs/card_fields_dfc @@ -9,11 +9,11 @@ card style: visible: { (not nameline_disabled_2()) and not casting_cost_disabled_2() } always symbol: true font: - name: MPlantin - italic name: MPlantin-Italic - size: { name2_font_size() } - color: black + name: { casting_cost2_font() } + italic name: { casting_cost2_font_italic() } + size: { casting_cost2_font_size() } + color: { casting_cost2_font_color() } symbol font: name: { styling.casting_cost_mana_symbols or else "magic-mana-large" } - size: { name2_font_size() } + size: { casting_cost2_font_size() } z index: 920 \ No newline at end of file diff --git a/data/magic-modules.mse-include/casting-costs/card_fields_tfc b/data/magic-modules.mse-include/casting-costs/card_fields_tfc index 7595cabb1..47be4c2e7 100644 --- a/data/magic-modules.mse-include/casting-costs/card_fields_tfc +++ b/data/magic-modules.mse-include/casting-costs/card_fields_tfc @@ -9,11 +9,11 @@ card style: visible: { (not nameline_disabled_3()) and not casting_cost_disabled_3() } always symbol: true font: - name: MPlantin - italic name: MPlantin-Italic - size: { name3_font_size() } - color: black + name: { casting_cost3_font() } + italic name: { casting_cost3_font_italic() } + size: { casting_cost3_font_size() } + color: { casting_cost3_font_color() } symbol font: name: { styling.casting_cost_mana_symbols or else "magic-mana-large" } - size: { name3_font_size() } + size: { casting_cost3_font_size() } z index: 920 \ No newline at end of file diff --git a/data/magic-modules.mse-include/names/card_fields b/data/magic-modules.mse-include/names/card_fields index 8179d07db..59f3d2ef9 100644 --- a/data/magic-modules.mse-include/names/card_fields +++ b/data/magic-modules.mse-include/names/card_fields @@ -11,4 +11,9 @@ card style: italic name: { name_font_italic() } size: { name_font_size() } color: { name_font_color() } + shadow color: { name_shadow_color() } + shadow displacement x: -2 + shadow displacement y: 2 + #shadow displacement x: { name_shadow_displacement_x() } + #shadow displacement y: { name_shadow_displacement_y() } z index: 900 \ No newline at end of file diff --git a/data/magic-modules.mse-include/names/card_fields_dfc b/data/magic-modules.mse-include/names/card_fields_dfc index 48443b8c5..7b6359f38 100644 --- a/data/magic-modules.mse-include/names/card_fields_dfc +++ b/data/magic-modules.mse-include/names/card_fields_dfc @@ -12,4 +12,9 @@ card style: italic name: { name2_font_italic() } size: { name2_font_size() } color: { name2_font_color() } + shadow color: { name2_shadow_color() } + shadow displacement x: -2 + shadow displacement y: 2 + #shadow displacement x: { name2_shadow_displacement_x() } + #shadow displacement y: { name2_shadow_displacement_y() } z index: 900 \ No newline at end of file diff --git a/data/magic-modules.mse-include/names/card_fields_tfc b/data/magic-modules.mse-include/names/card_fields_tfc index bd824a9ba..4321340ac 100644 --- a/data/magic-modules.mse-include/names/card_fields_tfc +++ b/data/magic-modules.mse-include/names/card_fields_tfc @@ -12,4 +12,9 @@ card style: italic name: { name3_font_italic() } size: { name3_font_size() } color: { name3_font_color() } + shadow color: { name3_shadow_color() } + shadow displacement x: -2 + shadow displacement y: 2 + #shadow displacement x: { name3_shadow_displacement_x() } + #shadow displacement y: { name3_shadow_displacement_y() } z index: 900 \ No newline at end of file diff --git a/data/magic-modules.mse-include/types/card_fields b/data/magic-modules.mse-include/types/card_fields index 9f6581831..6e8ca4777 100644 --- a/data/magic-modules.mse-include/types/card_fields +++ b/data/magic-modules.mse-include/types/card_fields @@ -12,4 +12,9 @@ card style: italic name: { type_font_italic() } size: { type_font_size() } color: { type_font_color() } + shadow color: { type_shadow_color() } + shadow displacement x: -2 + shadow displacement y: 2 + #shadow displacement x: { type_shadow_displacement_x() } TODO: Make this scriptable + #shadow displacement y: { type_shadow_displacement_y() } TODO: Make this scriptable separator color: red \ No newline at end of file diff --git a/data/magic-modules.mse-include/types/card_fields_dfc b/data/magic-modules.mse-include/types/card_fields_dfc index f34c0cf3e..313814831 100644 --- a/data/magic-modules.mse-include/types/card_fields_dfc +++ b/data/magic-modules.mse-include/types/card_fields_dfc @@ -13,4 +13,9 @@ card style: italic name: { type2_font_italic() } size: { type2_font_size() } color: { type2_font_color() } + shadow color: { type2_shadow_color() } + shadow displacement x: -2 + shadow displacement y: 2 + #shadow displacement x: { type2_shadow_displacement_x() } + #shadow displacement y: { type2_shadow_displacement_y() } separator color: red \ No newline at end of file diff --git a/data/magic-modules.mse-include/types/card_fields_tfc b/data/magic-modules.mse-include/types/card_fields_tfc index 29aaa0fa7..1b740cf13 100644 --- a/data/magic-modules.mse-include/types/card_fields_tfc +++ b/data/magic-modules.mse-include/types/card_fields_tfc @@ -13,4 +13,9 @@ card style: italic name: { type3_font_italic() } size: { type3_font_size() } color: { type3_font_color() } + shadow color: { type3_shadow_color() } + shadow displacement x: -2 + shadow displacement y: 2 + #shadow displacement x: { type3_shadow_displacement_x() } + #shadow displacement y: { type3_shadow_displacement_y() } separator color: red \ No newline at end of file diff --git a/data/magic.mse-game/script b/data/magic.mse-game/script index 1eb1bf82d..b691eb305 100644 --- a/data/magic.mse-game/script +++ b/data/magic.mse-game/script @@ -4662,6 +4662,27 @@ swap_fonts_name3_default := [ vertical: {0}, italic: {""} ] +swap_fonts_casting_cost_default := [ + name: {"MPlantin"}, + size: {name_font_size()}, + color: {"black"}, + vertical: {0}, + italic: {"MPlantin-Italic"} +] +swap_fonts_casting_cost2_default := [ + name: {"MPlantin"}, + size: {name2_font_size()}, + color: {"black"}, + vertical: {0}, + italic: {"MPlantin-Italic"} +] +swap_fonts_casting_cost3_default := [ + name: {"MPlantin"}, + size: {name3_font_size()}, + color: {"black"}, + vertical: {0}, + italic: {"MPlantin-Italic"} +] swap_fonts_type_default := [ name: {"Beleren Bold"}, size: {13}, @@ -4725,18 +4746,21 @@ swap_fonts_pt3_default := [ vertical: {0}, italic: {""} ] -swap_fonts_name_src := { styling.custom_name_font or else "" } -swap_fonts_name2_src := { styling.custom_name_2_font or else "" } -swap_fonts_name3_src := { styling.custom_name_3_font or else "" } -swap_fonts_type_src := { styling.custom_type_font or else "" } -swap_fonts_type2_src := { styling.custom_type_2_font or else "" } -swap_fonts_type3_src := { styling.custom_type_3_font or else "" } -swap_fonts_body_src := { styling.custom_body_font or else "" } -swap_fonts_body2_src := { styling.custom_body_2_font or else "" } -swap_fonts_body3_src := { styling.custom_body_3_font or else "" } -swap_fonts_pt_src := { styling.custom_pt_font or else "" } -swap_fonts_pt2_src := { styling.custom_pt_2_font or else "" } -swap_fonts_pt3_src := { styling.custom_pt_3_font or else "" } +swap_fonts_name_src := { styling.custom_name_font or else "" } +swap_fonts_name2_src := { styling.custom_name_2_font or else "" } +swap_fonts_name3_src := { styling.custom_name_3_font or else "" } +swap_fonts_casting_cost_src := { styling.custom_casting_cost_font or else "" } +swap_fonts_casting_cost2_src := { styling.custom_casting_cost_2_font or else "" } +swap_fonts_casting_cost3_src := { styling.custom_casting_cost_3_font or else "" } +swap_fonts_type_src := { styling.custom_type_font or else "" } +swap_fonts_type2_src := { styling.custom_type_2_font or else "" } +swap_fonts_type3_src := { styling.custom_type_3_font or else "" } +swap_fonts_body_src := { styling.custom_body_font or else "" } +swap_fonts_body2_src := { styling.custom_body_2_font or else "" } +swap_fonts_body3_src := { styling.custom_body_3_font or else "" } +swap_fonts_pt_src := { styling.custom_pt_font or else "" } +swap_fonts_pt2_src := { styling.custom_pt_2_font or else "" } +swap_fonts_pt3_src := { styling.custom_pt_3_font or else "" } #### specific swap functions name_font := { swap_font_name( @@ -4768,6 +4792,9 @@ name_font_italic := { font_name: swap_fonts_name_default.italic() ) } +name_shadow_color := { rgba(0,0,0,0) } +name_shadow_displacement_x := { 0 } +name_shadow_displacement_y := { 0 } name2_font := { swap_font_name( @@ -4799,6 +4826,9 @@ name2_font_italic := { font_name: swap_fonts_name2_default.italic() ) } +name2_shadow_color := { rgba(0,0,0,0) } +name2_shadow_displacement_x := { 0 } +name2_shadow_displacement_y := { 0 } name3_font := { swap_font_name( @@ -4830,6 +4860,102 @@ name3_font_italic := { font_name: swap_fonts_name3_default.italic() ) } +name3_shadow_color := { rgba(0,0,0,0) } +name3_shadow_displacement_x := { 0 } +name3_shadow_displacement_y := { 0 } + +casting_cost_font := { + swap_font_name( + src: swap_fonts_casting_cost_src(), + font_name: swap_fonts_casting_cost_default.name() + ) +} +casting_cost_font_size := { + swap_font_size( + src: swap_fonts_casting_cost_src(), + font_size: swap_fonts_casting_cost_default.size() + ) - shrink_name() +} +casting_cost_font_color := { + swap_font_color( + src: swap_fonts_casting_cost_src(), + font_color: swap_fonts_casting_cost_default.color() + ) +} +casting_cost_font_vertical := { + swap_font_vertical( + src: swap_fonts_casting_cost_src(), + vertical: swap_fonts_casting_cost_default.vertical() + ) +} +casting_cost_font_italic := { + swap_font_italic( + src: swap_fonts_casting_cost_src(), + font_name: swap_fonts_casting_cost_default.italic() + ) +} + +casting_cost2_font := { + swap_font_name( + src: swap_fonts_casting_cost2_src(), + font_name: swap_fonts_casting_cost2_default.name() + ) +} +casting_cost2_font_size := { + swap_font_size( + src: swap_fonts_casting_cost2_src(), + font_size: swap_fonts_casting_cost2_default.size() + ) - shrink_name2() +} +casting_cost2_font_color := { + swap_font_color( + src: swap_fonts_casting_cost2_src(), + font_color: swap_fonts_casting_cost2_default.color() + ) +} +casting_cost2_font_vertical := { + swap_font_vertical( + src: swap_fonts_casting_cost2_src(), + vertical: swap_fonts_casting_cost2_default.vertical() + ) +} +casting_cost2_font_italic := { + swap_font_italic( + src: swap_fonts_casting_cost2_src(), + font_name: swap_fonts_casting_cost2_default.italic() + ) +} + +casting_cost3_font := { + swap_font_name( + src: swap_fonts_casting_cost3_src(), + font_name: swap_fonts_casting_cost3_default.name() + ) +} +casting_cost3_font_size := { + swap_font_size( + src: swap_fonts_casting_cost3_src(), + font_size: swap_fonts_casting_cost3_default.size() + ) - shrink_name2() +} +casting_cost3_font_color := { + swap_font_color( + src: swap_fonts_casting_cost3_src(), + font_color: swap_fonts_casting_cost3_default.color() + ) +} +casting_cost3_font_vertical := { + swap_font_vertical( + src: swap_fonts_casting_cost3_src(), + vertical: swap_fonts_casting_cost3_default.vertical() + ) +} +casting_cost3_font_italic := { + swap_font_italic( + src: swap_fonts_casting_cost3_src(), + font_name: swap_fonts_casting_cost3_default.italic() + ) +} type_font := { swap_font_name( @@ -4861,6 +4987,9 @@ type_font_italic := { font_name: swap_fonts_type_default.italic() ) } +type_shadow_color := { rgba(0,0,0,0) } +type_shadow_displacement_x := { 0 } +type_shadow_displacement_y := { 0 } type2_font := { swap_font_name( @@ -4892,6 +5021,9 @@ type2_font_italic := { font_name: swap_fonts_type2_default.italic() ) } +type2_shadow_color := { rgba(0,0,0,0) } +type2_shadow_displacement_x := { 0 } +type2_shadow_displacement_y := { 0 } type3_font := { swap_font_name( @@ -4923,6 +5055,9 @@ type3_font_italic := { font_name: swap_fonts_type3_default.italic() ) } +type3_shadow_color := { rgba(0,0,0,0) } +type3_shadow_displacement_x := { 0 } +type3_shadow_displacement_y := { 0 } body_font := { swap_font_name(