added new face_code to improve this_or_that for action keywords.
face_if_ruletext_flipthis_<keyword>_then_that <type>_else_{this_or_that("<type>")}_end
if this_or_that returns "that <type>", it still resolves as that
if it returns "this <type>" and the face's rule_text matches (it|he|she|they|He|She|They|CARDNAME|THIS) <keyword>, it still resolves as that.
otherwise it switches to "that <type>"
fix bug where Class reminder text was used on creatures with class types
move Room priority above hybrid
energy fallback now overrules auto_reminder()'s input
added similar hybrid fallback
New hierarchy is as follows:
1. The first hybrid symbol in a paragraph where it's at the end of the line
2. A string of energy symbols immediately preceding it
3. Saga, Class, or Room reminder text for relevant types, in that order
4. The first hybrid symbol in the relevant casting cost field.
* Updates English types and keywords to ATL
* Updates German, Spanish, French, and Italian types and keywords to SPM
* Updates Japanese types to SPM, adds Tiered, Job select, Warp and Void, waiting on scryfall for Station, Landers, and SPM
* Adds lang_settings for is_spacecraft and is_planet
* Adds is_mana_cost(param), so keywords can use "for " and "for its X cost" depending on if its a nice cost. Added to Mayhem and Web-slinging/Enweb.
* Updates predef token reminder text
* Bump to 2.5.8
- Hard code exception for word "plains" in english_singular and english_plural functions
- Add font preloading by TomTkacz
- Add import_image function by TomTkacz
- Fix freeze when loading a set with missing templates
* add locale entries
* include localized keywords and statistics
* Add slider fields and get_mse_path
* Allow "Default" in slider fields
* better fix for print bug
* don't draw checkerboard when image field has default
this allows an image field to be transparent before an image has been selected by the user
* allow additional individual choices in slider fields
* Add CSV / TSV importer
* Update README.md
* move game scripts to separate file
* add json import
* format english locale
* format foreign locales
* localize
* finish locales
* cleanup
* minor tweaks
* fix bug in import csv
* optimize card counts display
* tighten conditions on drop down menu closing
* widen welcome window buttons
* Update changelog.txt
* tweaks
* update cli
* add locale entries, add changelog entries
* make some values scriptable, rewrite print layout logic
* fix "referencing nonexistant file" internal error
the error would happen when an image or set symbol file was changed or deleted, then the set was saved, then the change or deletion was undone
* add add_card_to_set script function
am I crazy or was there no way to do this from the CLI?
* fix symbol font bug
* add global_script statistics dimension property
this script is ran once at the start, and its result is stored in the 'global_value' variable, which is accessible to the regular script.
with this we can get rid of the set.global_variable_average_opening_hand field, and make sure its script is ran only once, when the user clicks on the relevant statistics dimension
* Add to_json and from_json script functions
* Update changelog.txt
* bump wxWidgets to 3.3.1
* Update changelog.txt
typos and today's prs
---------
Co-authored-by: cajun <kajunkittyavenger@gmail.com>
Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
Bug fix for Card Symbol on DFCs
Bug fix for Amass rt
Bug fixes for "this type" capitalization
Bug fixes for CARDNAME on planes
Adds THIS atom that gets the opposite value as CARDNAME
Adds Custom Border automization
Custom Symbol links will now detect if they are smaller than 512px wide, and add padding if they are not. This will do the padding for any old custom symbols without needing to update them. If you need to disable the autopadding, replace the "+" MSE inserts into the link to a "-".
Fixed a bug where generic mana symbols were misaligned on HD frames.
Fixed spree +s indenting like modals when they should not.
Fix layering conflicts with the Lesson symbol and the Alchemy symbol.
Fix layering conflict with Kaldheim Showcase watermark.
Fix Mainframe Planeswalker watermark dependency warning.
Fix Clear Tops looking in the wrong folder.
Fix blending error on clear cards with colored mana costs.
Fixed the alignment of the red Star nyx replacement.
Improved the text on VOW Showcase.
M15 Mainframe and Mainframe DFC will use their Style tab "Custom symbol" option if it is not blank; if it is blank it will use the link from the Set tab. Previously they tried to use their Style tab link even if it was blank
Unhandled watermarks (usually due to hard-coded custom watermarks that weren't added to the new system) will now use a blank image instead of throwing an error.
The Crimson Vow showcase now uses its proper indicators.
Fixed the watermark alignment on the Monster Manual Showcase.
Fixed the UB Vehicle frame using the wrong link.
Fixed a number of Mainframe DFC bugs:
Fixed a bug where back face chapter symbols were all snapping to the Chapter 1 position.
Fixed a bug where back face watermarks were blending with the front face colors
Fixed a bug where the front face evobar had a too-low z index.
Fixed an error with backface miracle blending.
---------
Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
* 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>