Files
magic-set-editor-fork/data/magic.mse-game/set_fields
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

535 lines
17 KiB
Plaintext

############################################################## Set fields
set field:
type: info
name: Set Information
set field:
type: text
name: title
identifying: true
set field:
type: text
name: description
multi line: true
set field:
type: text
name: artist
set field:
type: text
name: copyright
set field:
type: text
name: set code
description: Typically, a three letter code for the set.
set field:
type: text
name: set language
description: Typically, a two letter code for the language the set is in.
set field:
type: text
name: masterpiece set code
description: The letter code for masterpieces, typically MSP
set field:
type: symbol
name: symbol
description: The symbol for this set, double click to edit
set field:
type: symbol
name: masterpiece symbol
description: The symbol for this sets masterpieces, click to edit
set field:
type: boolean
name: shorten types for rarity
description: Makes the typeline not run into the rarity symbol. Disable if you don't use rarity symbols.
set field:
type: info
name: Watermark links
set field:
type: text
name: custom watermark 1
description: Set this image in magic-watermarks.mse-include as Custom Watermark 1
set field:
type: text
name: custom watermark 2
description: Set this image in magic-watermarks.mse-include as Custom Watermark 2
set field:
type: text
name: custom watermark 3
description: Set this image in magic-watermarks.mse-include as Custom Watermark 3
set field:
type: text
name: custom watermark 4
description: Set this image in magic-watermarks.mse-include as Custom Watermark 4
set field:
type: text
name: custom watermark 5
description: Set this image in magic-watermarks.mse-include as Custom Watermark 5
set field:
type: text
name: custom watermark 6
description: Set this image in magic-watermarks.mse-include as Custom Watermark 6
set field:
type: text
name: custom watermark 7
description: Set this image in magic-watermarks.mse-include as Custom Watermark 7
set field:
type: text
name: custom watermark 8
description: Set this image in magic-watermarks.mse-include as Custom Watermark 8
set field:
type: text
name: custom watermark 9
description: Set this image in magic-watermarks.mse-include as Custom Watermark 9
set field:
type: text
name: custom watermark 10
description: Set this image in magic-watermarks.mse-include as Custom Watermark 10
set field:
type: boolean
name: blend with colors
initial: no
description: Only works for 500x500 px watermarks. For best results, use a solid black watermark. Blend watermarks with card colors instead of a solid color.
set field:
type: info
name: Defaults and Automation
set field:
type: text
name: inserts
description: List of strings, separated by ;, that replaces INS1, INS2, ... INS9. May need to reload MSE for changes to take effect.
set field:
type: color
name: border color
description: The default border color for cards
choice:
name: black
color: rgb(0,0,0)
choice:
name: white
color: rgb(255,255,255)
choice:
name: silver
color: rgb(200,200,200)
choice:
name: gold
color: rgb(200,180,0)
set field:
type: multiple choice
name: automatic reminder text
choice: old
choice: core
choice: expert
choice: pseudo
choice: action
choice: custom
choice: lower case
initial: old, expert, pseudo, action, custom, lower case
# Convert from older mse versions
script:
if value == "yes" then "old, core, expert, custom, lower case"
else if value == "no" then ""
else value
description: For which kinds of keywords should reminder text be added by default? Note: you can enable/disable reminder text by right clicking the keyword.
set field:
type: boolean
name: automatic card numbers
description: Should card numbers be shown on the cards?
set field:
type: choice
name: card number style
description: What style of automatic card numbers should be used?
choice: 0001
choice: 001/099
choice: 001
choice: 1/99
choice: 1
choice: 0001/0099
set field:
type: text
name: last main partition
description: Card Number Partitions after this one aren't counted as the main part of the set, ex "301" or "301/300" rather than "301/900". Default is M.
set field:
type: choice
name: over partition display
description: How to display card numbers larger than the main set?
choice: 100
choice: 100/099
set field:
type: text
name: card number offsets
description: Add this number to the card numbers. Formatted as "start,total"
set field:
type: boolean
name: automatic copyright
description: Should the copyright line above be shown on the cards?
set field:
type: boolean
name: rarity codes
description: Show rarity codes on M15 frames?
set field:
type: boolean
name: curly quotes
description: converts quotes to curly quotes.
set field:
type: choice
name: sort special rarity
description: Determines how cards with special rarity are sorted.
choice: with the rest
choice: after other cards
choice: separate numbering
initial: after other cards
set field:
type: boolean
name: sort multicolor in pairs
description: Should multicolor cards be sorted according to pairs like in Shards block?
initial: no
set field:
type: boolean
name: sort hybrid in pairs
description: Should hybrid cards be sorted according to pairs like in Shadowmoor block?
initial: no
set field:
type: choice
name: mana cost sorting
description: Should mana costs be sorted by Tarkir standard (WBG), Apocalypse standard (BGW), or left unsorted?
choice: tarkir wedge sorting
choice: apocalypse wedge sorting
choice: unsorted
#typo that stood for way too long
script:
if value == "apocalype wedge sorting" then "apocalypse wedge sorting" else value
set field:
type: choice
name: card language
description: Language for the cards
choice: English
choice: English (British)
choice: English (Canadian)
choice: Español
choice: Français
choice: Deutsch
choice: Italiano
choice: Português do Brasil
choice: Русский
choice: 日本語
choice: 한국어
choice: 汉语
choice: 漢語
initial: English
set field:
type: boolean
name: mark errors
description: Marks errors on cards, for example wording and spelling errors, non unique card names, etc.
set field:
type: boolean
name: auto correct
description: Applies auto correct for a few common syntax errors.
set field:
type: boolean
name: auto errata
description: Applies auto errata for a changed rules text.
initial: no
set field:
type: boolean
name: remove card codes
description: Remove card codes from all card names.
initial: no
set field:
type: boolean
name: alias as cardname
description: Replaces CARDNAME with a card's alias instead of card name.
set field:
type: choice
name: use gradient multicolor
choice: yes
choice: only for two color cards
choice: no
description: Use gradients on multicolor cards by default, you can always change it be clicking on the card border.
initial: only for two color cards
set field:
type: boolean
name: wedge mana costs
description: Depreciated. Should three color mana costs sort in wedge order like in Khans block?
initial: no
set field:
type: info
name: Statistics
set field:
type: boolean
name: trim statistics
description: Removes special and masterpiece rarity cards from the statistics, as well as tokens, emblems, dungeons, heroes, conspiracies, vanguards, schemes, planes and phenomenons. Type statistics_info() in the console for detailed help.
initial: no
set field:
type: text
name: filter statistics
description: Filter cards from the statistics. Syntax is: field_name_1=="value_1", field_name_2=="value_2", etc. Use == for strict equality, != for not equal, =: for contains, !: for not contains, <= and >= for numeric comparisons. Example: color=="RG", mana_value<="4", rule_text=:"deathtouch", sub_type!:"goblin"
set field:
type: multiple choice
name: count secondary faces
description: Count the back side or secondary faces of the cards in the statistics? Type statistics_info() in the console for detailed help.
choice: MDFC
choice: TDFC
choice: Adventure
choice: Split
choice: Aftermath
choice: Flip
initial: MDFC, Adventure, Split
set field:
type: text
name: custom super types
description: Custom supertypes for the stats page, separated by commas. Do not write custom types or subtypes. Type statistics_info() in the console for detailed help.
set field:
type: text
name: custom creature races
description: Custom races for the stats page, separated by commas, or type "detect" for MSE to grab them. Type statistics_info() in the console for detailed help.
default: "detect"
script:
if value == "detect" then detect_custom_creature_subtypes_statistic() else value
set field:
type: text
name: custom creature classes
description: Custom classes for the stats page, separated by commas. Type statistics_info() in the console for detailed help.
set field:
type: text
name: card notes clauses split
description: Regex used to split the card notes in the Card Notes Clauses statistics category. Default is " *(\.|\n|;|,|(?=!)) *" which splits at each semicolon, each dot, each exclamation mark and each comma.
default: " *(\\.|\\n|;|,|(?=!)) *"
set field:
type: text
name: global_variable_average_opening_hand
script: global_variable_average_opening_hand_statistic()
set field:
type: info
name: Mainframe Template Options
set field:
type: text
name: mainframe rarity name
description: Use rarity symbols from magic-mainframe-extras.mse-include. Input NAME.png here, save the images as NAMEc.png, NAMEu.png, NAMEr.png, NAMEm.png, NAMEs.png, and NAMEmp.png
set field:
type: boolean
name: use flavor bar
description: Enables the flavor bar on Mainframe templates.
set field:
type: choice
name: default stamp
choice: standard
choice: none
choice: acorn
choice: universes beyond
choice: alchemy
choice: alchemy old
choice: custom
description: The default stamp setup to use. Only works on new cards, not supported on all frames.
set field:
type: text
name: custom stamp name
description: The filename of the custom stamp image in magic-mainframe-extras
set field:
type: boolean
name: auto legends
description: Automatically apply the Legendary frame on Mainframe templates.
set field:
type: text
name: custom index
description: Order of card fields for the custom index sorting
script: replace(value, match:"\n", replace:"")
set field:
type: text
name: custom mana symbol name
description: Use mana symbols from magic-mainframe-extras.mse-include. Input NAME.png here, check help below for file instructions.
set field:
type: multiple choice
name: mana symbol options
choice: enable in casting costs
choice: enable in text boxes
choice: colored mana symbols
choice: hybrid with colors
set field:
type: text
name: number hybrid variants
description: Change each number hybrid (0/X, 1/X, 2/X ... 11/X) up to this number to a specific variant instead of a hybrid symbol.
set field:
type: choice
name: mana symbol help
choice: Click here for mana symbol help!
choice: In your mainframe-extras folder, create folders named "large" and/or "small" depending on your usage
choice: Large is for only mana costs, small for only text, create both if you use both
choice: Additionally, you can create a "future" folder for M15 Future mana costs
choice: Save NAME.png to the relevant folders. Remember that large symbols have dropshadows
choice: For the name option above, set the address of the image, minus mainframe-extras and large/small/future
choice: Ex: magic-mainframe-extras/cajun/large/hazard.png would use cajun/hazard.png
choice: Standard size is 160x160 for small, 200x200 for small hybrid and future, 165x178 for large, 205x218 for large hybrid
choice: If your symbol mixes with colors (such as Phyrexian mana): Save NAME_w.png, NAME_u.png, etc to those folders too.
choice: If your symbol hybrids with colors (like 2/W): [Note, doesn't work on M15 Future mana costs.]
choice: Save NAME_h.png to those folders too. See mana_bb.png and similar for how this image should look.
choice: Your mana symbol will now be keyed to V (and V/W, V/U, etc. for colored/hybrid symbols).
choice: You can change number hybrids (2/V etc) to different mana symbols for even more custom symbols.
choice: Put the highest number to change (from 0 to 11) in "number hybrid variants" and save as NAME_0.png etc.
set field:
type: text
name: print fix
description: An override fix for printing typeline issues. Enter card_style.rarity.content_width in the console tab, then put the number it puts here.
############################# Default style
default set style:
global_variable_average_opening_hand:
visible: false
title:
padding left: 2
font:
size: 16
symbol:
max aspect ratio: 2.5
variation:
name: common
border radius: 0.10
fill type: solid
fill color: rgb(0,0,0)
border color: rgb(255,255,255)
variation:
name: uncommon
border radius: 0.07
fill type: linear gradient
fill color 1: rgb(224,224,224)
fill color 2: rgb(84, 84, 84)
border color 1: rgb(0, 0, 0)
border color 2: rgb(0, 0, 0)
variation:
name: rare
border radius: 0.07
fill type: linear gradient
fill color 1: rgb(214,196,94)
fill color 2: rgb(95, 84, 40)
border color 1: rgb(0, 0, 0)
border color 2: rgb(0, 0, 0)
variation:
name: mythic rare
border radius: 0.07
fill type: linear gradient
fill color 1: rgb(245,148,31)
fill color 2: rgb(186,45,38)
border color 1: rgb(0, 0, 0)
border color 2: rgb(0, 0, 0)
variation:
name: special
border radius: 0.10
fill type: linear gradient
fill color 1: rgb(224,170,247)
fill color 2: rgb(58,7,80)
border color 1: rgb(255, 255, 255)
border color 2: rgb(255, 255, 255)
variation:
name: invertedcommon
border radius: 0.10
fill type: solid
fill color: rgb(255,255,255)
border color: rgb(0,0,0)
##purple
##fill color 1: rgb(224,170,247)
##fill color 2: rgb(58,7,80)
##green
##fill color 1: rgb(3,146,50)
##fill color 2: rgb(114,252,158)
##brown
##fill color 1: rgb(177,150,131)
##fill color 2: rgb(83,67,53)
##border color 1: rgb(0, 0, 0)
##border color 2: rgb(0, 0, 0)
variation:
name: watermark
border radius: 0.10
fill type: solid
fill color: rgb(255,255,255)
border color: rgba(0,0,0,0)
masterpiece symbol:
max aspect ratio: 2.5
variation:
name: common
border radius: 0.10
fill type: solid
fill color: rgb(0,0,0)
border color: rgb(255,255,255)
variation:
name: uncommon
border radius: 0.07
fill type: linear gradient
fill color 1: rgb(224,224,224)
fill color 2: rgb(84, 84, 84)
border color 1: rgb(0, 0, 0)
border color 2: rgb(0, 0, 0)
variation:
name: rare
border radius: 0.07
fill type: linear gradient
fill color 1: rgb(214,196,94)
fill color 2: rgb(95, 84, 40)
border color 1: rgb(0, 0, 0)
border color 2: rgb(0, 0, 0)
variation:
name: mythic rare
border radius: 0.07
fill type: linear gradient
fill color 1: rgb(245,148,31)
fill color 2: rgb(186,45,38)
border color 1: rgb(0, 0, 0)
border color 2: rgb(0, 0, 0)
variation:
name: special
border radius: 0.10
fill type: linear gradient
fill color 1: rgb(224,170,247)
fill color 2: rgb(58,7,80)
border color 1: rgb(255,255,255)
border color 2: rgb(255,255,255)
variation:
name: watermark
border radius: 0.10
fill type: solid
fill color: rgb(255,255,255)
border color: rgba(0,0,0,0)
automatic reminder text:
render style: checklist
direction: vertical
count secondary faces:
render style: checklist
direction: vertical
sort special rarity:
render style: both
choice images:
with the rest: /magic.mse-game/icons/number_cards_mixed.png
after other cards: /magic.mse-game/icons/number_cards_after.png
separate numbering: /magic.mse-game/icons/number_cards_separate.png
use gradient multicolor:
render style: both
choice images:
yes: script: built_in_image("bool_yes")
no: script: built_in_image("bool_no")
card language:
render style: both
choice images:
English: /magic.mse-game/icons/language-en.png
English_(British): /magic.mse-game/icons/language-en-gb.png
English_(Canadian): /magic.mse-game/icons/language-en-ca.png
Español: /magic.mse-game/icons/language-es.png
Français: /magic.mse-game/icons/language-fr.png
Deutsch: /magic.mse-game/icons/language-de.png
Italiano: /magic.mse-game/icons/language-it.png
Português_do_Brasil: /magic.mse-game/icons/language-br.png
Русский: /magic.mse-game/icons/language-ru.png
日本語: /magic.mse-game/icons/language-ja.png
한국어: /magic.mse-game/icons/language-ko.png
汉语: /magic.mse-game/icons/language-zh.png
漢語: /magic.mse-game/icons/language-zh.png
mana symbol options:
render style: checklist
direction: vertical
default stamp:
render style: both
choice images:
standard: /magic.mse-game/stamps/foil.png
acorn: /magic.mse-game/stamps/acorn.png
universes beyond: /magic.mse-game/stamps/ub.png
alchemy: /magic.mse-game/stamps/alchemy.png
alchemy old: /magic.mse-game/stamps/alchemy_old.png
custom: {if contains(set.custom_stamp_name, match:".png") then "/magic-mainframe-extras.mse-include/"+set.custom_stamp_name else ""}