Update to 2.5.3 (#78)

* Update to 2.5.3

- add `exists_in_package` script function, which take a string argument of the form
"/package-name.package-extension/file-name.file-extension" and return true if the file can be loaded by MSE.
- add 175% export zoom option

* update watermark handling
* collapse card_watermark_1 etc into custom_watermark_link(#)
* added verify_watermark_image, a script that runs in custom watermark fields
* if the field is a potentially valid link, it will run exists_in_package, width_of, and length_of and caches their info in the field
* if the image is too big, it displays it normally instead of erroring

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
This commit is contained in:
GenevensiS
2024-09-26 22:37:23 +02:00
committed by GitHub
parent 2b8aa26f9f
commit fb3e5092a6
14 changed files with 143 additions and 87 deletions

View File

@@ -1933,10 +1933,12 @@ styling field:
type: text
name: card watermark
description: Filename in magic-mainframe-extras to use for standalone card watermark
script: verify_watermark_image(value)
styling field:
type: text
name: card watermark 2
description: Filename in magic-mainframe-extras to use for standalone card watermark
script: verify_watermark_image(value)
include file: /magic-modules.mse-include/crowns/styling_fields
include file: /magic-modules.mse-include/rarities/styling_fields
styling field: