44 lines
1.7 KiB
Plaintext
44 lines
1.7 KiB
Plaintext
include file: /magic-modules.mse-include/stamps/card_fields_dfc
|
|
card style:
|
|
card stamp 3:
|
|
left:
|
|
script:
|
|
width := face_coordinates_map(3).width
|
|
height := face_coordinates_map(3).height
|
|
if width > height and card.card_stamp == "custom" then face_coordinates_map(3).left + 50 * width/523 + card_stamp_offset_left_3()
|
|
else if width > height then face_coordinates_map(3).left + 7 * width/523 + card_stamp_offset_left_3()
|
|
else face_coordinates_map(3).left + 166 * width/375 + card_stamp_offset_left_3()
|
|
top:
|
|
script:
|
|
width := face_coordinates_map(3).width
|
|
height := face_coordinates_map(3).height
|
|
if width > height then face_coordinates_map(3).top + 166 * height/375 + card_stamp_offset_top_3()
|
|
else face_coordinates_map(3).top + 473 * height/523 + card_stamp_offset_top_3()
|
|
width:
|
|
script:
|
|
width := face_coordinates_map(3).width
|
|
height := face_coordinates_map(3).height
|
|
if width > height then 43 * width/523 + card_stamp_offset_width_3()
|
|
else 43 * width/375 + card_stamp_offset_width_3()
|
|
height:
|
|
script:
|
|
width := face_coordinates_map(3).width
|
|
height := face_coordinates_map(3).height
|
|
if width > height then 43 * height/375 + card_stamp_offset_height_3()
|
|
else 43 * height/523 + card_stamp_offset_height_3()
|
|
angle:
|
|
script:
|
|
width := face_coordinates_map(3).width
|
|
height := face_coordinates_map(3).height
|
|
if width > height and card.card_stamp_3 == "custom" then -90
|
|
else 0
|
|
visible: { not card_stamp_disabled_3() }
|
|
popup style: in place
|
|
include file: /magic.mse-game/stamps/menu_choice_images
|
|
render style: image
|
|
image:
|
|
script:
|
|
set.stamp_behavior
|
|
card.rarity_3
|
|
card_stamp_image(field: 3, face: 3)
|
|
z index: 860 |