Commit Graph

132 Commits

Author SHA1 Message Date
cajun
54a88f4931 update locales 2024-09-27 15:42:03 -05:00
cajun
3edcd6dbf9 Update script
fix a bug where regex weirdness would kick text after a keyword onto a previous line
2024-09-27 14:38:58 -05:00
GenevensiS
f16c3015ac Bump to 2.5.4 (#79)
* bump to 2.5.4

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-09-27 13:51:14 -05:00
cajun
290a21c59a popunder art, cleanup 2024-09-26 18:15:16 -05:00
cajun
8abb9df8ea improve script caching (#77)
* cache card number
* optimize pull_comma_array
* decouple type from card number

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-09-26 15:44:41 -05:00
GenevensiS
fb3e5092a6 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>
2024-09-26 15:37:23 -05:00
cajun
2b8aa26f9f fix another saga zindex 2024-09-26 08:21:52 -05:00
cajun
8f8d9c637a Indicator update (#76)
* update indicator script and remove color indicator dot styling options

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-09-24 13:44:27 -05:00
cajun
28dc1c3383 Update set_fields 2024-09-24 11:31:30 -05:00
Brendan Hagan
bbcdacf589 MSE 2.1.2+ Package Localization (#4)
* add translations to magic.mse-game
---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-09-24 11:22:11 -05:00
GenevensiS
5d3aff3388 Kasu customs (#65)
* add kasu Eldrazi
* add kasu Elder Scrolls

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-09-24 10:49:19 -05:00
cajun
9a7b7949e8 [wip] updating exporters for 2.5 (#75)
* Add Card Regions to DFCs
* Add Hashes
* Add crop_multi_image to help crop with card regions
* bugfix exporters and organize the list
* add dfc splitter support for Cockatrice and Lackey exporters
* fix sizing bugs on Planesculptors exporter
* update icons on exporters missing them
* update namecheck exporter and improve near checking

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-09-24 09:52:17 -05:00
cajun
9668a1de6f improve adventure & saga split auto nyx 2024-09-24 06:08:53 -05:00
cajun
c1b8069dfe clean up templates still using identity-new 2024-09-24 04:57:13 -05:00
cajun
a8deaefbc2 fix class/case z indexes 2024-09-24 04:47:39 -05:00
GenevensiS
206de32133 MSE 2.5.2 and Showcase Catchup (#18)
* Updated to MSE 2.5.2
* Added Assassin's Creed Memory Corridor
* Added Bloomburrow Borderless Anime
* Added Bloomburrow Woodland
* Added Compleated Planeswalkers
* Added Duskmourn Paranormal
* Added Kamigawa Neon
* Added Kamigawa Ninja
* Added Kamigawa Samurai
* Added Innistrad Fang
* Added Theros Constellation
* Added Capenna Art Deco
* Added Capenna Golden Age
* Added Capenna Skyscraper
* Added Doctor Who TARDIS
* Added Dominaria Stained Glass
* Added Eldraine Enchanting Tales
* Added Fallout PipBoy
* Added Ikoria Crystal
* Added Innistrad Double Feature
* Added Innistrad Equinox
* Added Ixalan Treasures
* Added Ixalan Legends
* Added Ixalan Caverns
* Added Lord of the Rings Ring
* Added Lord of the Rings Scroll
* Added Ravnica City Mural
* Added Ravnica Dossier
* Added Tarkir Dragon Wing
* Added Thunder Junction Breaking News
* Added Thunder Junction Vault
* Added Thunder Junction Wanted Poster
* Added Unfinity Of Tomorrow
* Added Unfinity Attractions
* Added Secret Lair Baseball
* Added revamped option to Amonkhet Invocations
* Added UB stamp compatibility to old showcase frames
* Added foils and popouts modules
* Add foil_mask blending system
* Fixes #57
2024-09-23 14:11:14 -05:00
cajun
8fd810b1d3 fix type_name for localization
type_name() returns a localized string, so type_name comparisions should compare against type_name() of a known quantity instead
2024-09-23 10:12:58 -05:00
cajun
1a5432a0ec update to MOM plane frame (#74)
Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-09-23 09:55:31 -05:00
cajun
ce77357b06 UB Adventure, Saga, Mainframe (#73)
* add UB frames to M15 Mainframes, M15 Sagas, and M15 Adventures
* Putting off Mainframe DFC and Mainframe Walkers until the Frame Disassembly

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-09-23 09:55:09 -05:00
cajun
0e8925a64e add system for (To keyword, ...) reminder text (#69)
-added handle_action_rt(to:"name", "Action") to be used in keyword code. It will return either "To name, action" or "Action" depending on if the reminder text is removed from the keyword.
Example: {handle_action_rt(to:"populate", "Create")} a token that's a copy of a creature token you control.
-added handle_merged_rt("Normal", moved:"Alternate") to be used in keyword code. It will typically return "Normal", but will return "Alternate" if its keyword gets moved.
Example: {handle_merged_rt(if param1.value == "ns" then "They’re artifacts" else "It’s an artifact", moved:"A Food token is an artifact")} with "2, T, Sacrifice this artifact: You gain 3 life."
2024-09-22 08:32:25 -05:00
cajun
b1afc302de fix clear frames missing a frame mask (#71)
Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-09-22 04:26:20 -05:00
Eugene Kim
367730d0a6 Updated reminder text, added living metal (#66)
* Updated reminder text, added living metal
2024-09-19 00:21:29 -05:00
cajun
5527523f53 fix some missed indicators 2024-09-18 23:18:07 -05:00
cajun
95849ce8b0 fix hybrid planeswalker 2024-09-17 16:00:30 -05:00
GenevensiS
c4200b4862 Add colorable symbol font (#53)
* changed white_text to generic recolorable symbols
* add pawprint symbol
2024-09-17 13:16:43 -05:00
GenevensiS
7833d5ad8f Add extra stamps options (#60)
* add classicshifted stamps
* improve custom stamp handling and add realm acorn examples
* add split_custom_directory function so we don't have to keep copy pasting filename injection scripts
* improve to_number_lax

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-09-17 11:53:00 -05:00
GenevensiS
e77bb8ec38 Gen modules integration (#54)
genevensis frames magic-modules integration
2024-09-17 11:05:00 -05:00
GenevensiS
8350a8663e Correct DPI of certain frames (#64)
* correct dpi

* correct mainframe mini dpi
2024-09-15 10:19:19 -05:00
cajun
b7d87f0848 fix mainframe dfc walker mask bug 2024-09-11 18:34:07 -05:00
cajun
6d617985ce [274/274] magic-modules rollout (#51)
Add Magic-Modules support to all frames
2024-09-10 22:21:23 -05:00
cajun
65bfc8fcd6 Update keywords 2024-08-31 17:51:18 -05:00
cajun
98a196f401 add card watermark to sagas 2024-08-14 22:05:35 -05:00
cajun
ab7895cdbc fix masterpiece counting
& pt-br instant
2024-08-10 15:03:56 -05:00
GenevensiS
447589ace4 Add missing card samples (#58)
* improve some card previews
2024-07-28 05:36:00 -05:00
cajun
40f6e43fa2 Update keywords 2024-07-12 05:57:49 -05:00
cajun
acc00087e2 bloomburrow keywords update 2024-07-09 11:54:03 -05:00
cajun
a21cb6e4a0 MH3 Updates (#50)
* add Emerge from

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-05-27 19:45:32 -05:00
cajun
c7b9382929 update sister games (#52)
Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-05-26 14:51:49 -05:00
cajun
c415260f5e fix indicators 2024-05-26 04:31:57 -05:00
cajun
c96226fa40 [in progress] make all mana fonts alch_compatible (#49)
---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-05-26 04:14:58 -05:00
GenevensiS
056abce80f Add corners options to some showcases (#44)
* Add corners option for Strixhaven showcases, Amonkhet Invocation, Dungeon Module, Secret Lair Full Art, and Unstable Basics
* Added option to remove name background from Unstable Basics
---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-05-26 03:24:24 -05:00
GenevensiS
fd4b8e4c89 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.
2024-05-24 17:57:47 -05:00
cajun
44b059e2f7 add modal compression to sagas 2024-05-24 03:53:15 -05:00
cajun
9146746671 Update style
fix the *other* token bug
2024-05-12 20:53:37 -05:00
cajun
ec37b4709f Update style
fix bug in tokens custom font
2024-05-12 16:39:42 -05:00
GenevensiS
95205332c5 fix bug preventing stats page from counting custom types (#45) 2024-05-11 21:00:41 -05:00
cajun
e43fb95077 Adventure Overhaul +custom border +paritions (#47)
ADVENTURE OVERHAUL
* Adventures can now customize both halves of the card, allowing for two pages.
* Each side can be an Adventure page, an Adventure page with only a name, a full text page, a flattened Adventure page, a flattened page with only the name, or blank.
* A decorations field has been set up, which allows adding additional flair around the pages to help set variants apart.
* Also we have better page images now.

PARTITIONS
* Partitions are finally live!
* Frames can add the card field "partition select" to access partition code, no additional scripting is needed.
* MSE handles partitions 0-9 and A-Z. Assign cards partitions 0-9 to sort before the default count at A, B-M to sort after it, and N-Z to sort after it and not be counted in the main set count, for card numbers like 301/300.
* The Set field "last main partition" allows the user to change the behavior by putting a replacement for M in the option.
* Card numbers default to the March of the Machine numbering of "0001" now
* But 001/099, 001, 1/99, 1, and 1000/0099 are now supported, with a second option to set overcounted cards to display with or without the main set count.
* Currently this is supported on M15 Mainframe and M15 Adventures. The rest are coming soon.

EXTRA THING
* Added Custom Border support to M15 Mainframe and M15 Adventures, which let you use magic-mainframe-extras to set up an additional border frame akin to Nyx and Vehicle. This is the finalized version used for Revolution's Ruin and Colorless frames.

BACKEND STUFF
* Adventures is trying out some new backend stuff that will get expanded upon in the coming patches:
* retooled the Landless array to be less jank
* retooled the template script a little to make it easier to hook out images with complicated links, most notably user-submitted ones like custom crowns and custom borders
* blend masks are now in their own folder
* discovered that 'styling.name or else ""' is legal code in script, which means we can make adding style options to frames *way* easier. the entire custom font code is now offloaded to scripts, and templates can access it without needing to copy paste anything beyond the styling field.

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-05-11 03:08:50 -05:00
GenevensiS
3b97d6c2f0 Add connives and artifact tokens (#43)
* Update keywords_fr

* remove incorrect sym tags

* add scry

* Add scry matches

* Added treasure tokens

* Added gold tokens

* Added blood tokens

* Added powerstone tokens

* Added connives

* Added clue and food tokens

* Added corrupted

* added stun counter

* added shield counter

* added shard tokens

* add becomes plotted mode
2024-04-15 03:06:27 -05:00
GenevensiS
437d413ce9 More keywords updates (#42)
* Update keywords_fr

* remove incorrect sym tags

* add scry

* Add scry matches
2024-04-14 18:38:18 -05:00
cajun
ba6e44614c OTJ game updates [Status: awaiting JP/ZHS reminder text] (#39)
Add new types and keywords for OTJ

---------

Co-authored-by: cajun <12363371+CajunAvenger@users.noreply.github.com>
2024-04-13 04:01:35 -05:00