Files
magic-set-editor-fork/data/magic-modules.mse-include/stamps/card_fields_dfc
cajun 5016c6efa2 3.0.0 (#6)
---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-10-01 08:34:46 -05:00

45 lines
1.7 KiB
Plaintext

include file: /magic-modules.mse-include/stamps/card_fields
card style:
card stamp 2:
left:
script:
width := face_coordinates_map(2).width
height := face_coordinates_map(2).height
if width > height and card.card_stamp == "custom" then face_coordinates_map(2).left + 50 * width/523 + card_stamp_offset_left_2()
else if width > height then face_coordinates_map(2).left + 7 * width/523 + card_stamp_offset_left_2()
else face_coordinates_map(2).left + 166 * width/375 + card_stamp_offset_left_2()
top:
script:
width := face_coordinates_map(2).width
height := face_coordinates_map(2).height
if width > height then face_coordinates_map(2).top + 166 * height/375 + card_stamp_offset_top_2()
else face_coordinates_map(2).top + 473 * height/523 + card_stamp_offset_top_2()
width:
script:
width := face_coordinates_map(2).width
height := face_coordinates_map(2).height
if width > height then 43 * width/523 + card_stamp_offset_width_2()
else 43 * width/375 + card_stamp_offset_width_2()
height:
script:
width := face_coordinates_map(2).width
height := face_coordinates_map(2).height
if width > height then 43 * height/375 + card_stamp_offset_height_2()
else 43 * height/523 + card_stamp_offset_height_2()
angle:
script:
width := face_coordinates_map(2).width
height := face_coordinates_map(2).height
if width > height and card.card_stamp_2 == "custom" then -90
else 0
visible: { not card_stamp_disabled_2() }
popup style: in place
include file: /magic.mse-game/stamps/menu_choice_images
render style: image
image:
script:
set.stamp_behavior
card.rarity_2
card_stamp_image(field: 2, face: 2)
z index: 860