card_fields rewrite and magic-modules.mse-include (#21)
Overhauls the card_fields file to allow for template designers more freedom in manipulating data. Adds magic-modules.mse-include, a large scale include file for building templates in a standardized way. Applying this to existing frames will be coming in future updates.
This commit is contained in:
14
data/magic-modules.mse-include/watermarks/card_fields_tfc
Normal file
14
data/magic-modules.mse-include/watermarks/card_fields_tfc
Normal file
@@ -0,0 +1,14 @@
|
||||
include file: /magic-modules.mse-include/watermarks/card_fields_dfc
|
||||
card style:
|
||||
watermark 3:
|
||||
left: { text_style_field(watermark_text_field_3()).left - face_coordinates_map(watermark_face_3()).width/375*10 - watermark_offset_width_3() + watermark_offset_left_3() }
|
||||
width: { text_style_field(watermark_text_field_3()).width + face_coordinates_map(watermark_face_3()).width/375*20 + watermark_offset_width_3()*2 }
|
||||
top: { text_style_field(watermark_text_field_3()).top + face_coordinates_map(watermark_face_3()).height/523*3 - watermark_offset_height_3() + watermark_offset_top_3() }
|
||||
height: { text_style_field(watermark_text_field_3()).height - face_coordinates_map(watermark_face_3()).height/523*6 + watermark_offset_height_3()*2 + (if is_stamped(field: watermark_stamp_field_3()) then watermark_offset_stamp_3() else 0) }
|
||||
visible: { not watermark_disabled_3() }
|
||||
alignment: middle center
|
||||
popup style: in place
|
||||
render style: image
|
||||
include file: /magic.mse-game/watermarks/menu_choice_images
|
||||
image: { watermark_scripts[card.watermark_3](face:watermark_face_3()) }
|
||||
z index: 720
|
||||
Reference in New Issue
Block a user