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>
This commit is contained in:
@@ -477,7 +477,7 @@ card field:
|
||||
name: card number
|
||||
save value: false
|
||||
script: card_number() + "/" + card_count()
|
||||
sort script: rarity_sort() + card.card_number
|
||||
sort script: rarity_partition_sort() + card_number_mom()
|
||||
card list visible: true
|
||||
card list column: 10
|
||||
card list width: 50
|
||||
@@ -607,6 +607,48 @@ card field:
|
||||
default: card_color(casting_cost: card.casting_cost_2, type: card.super_type_2, rules_text: card.rule_text_2, watermark: card.watermark_2, card_name: card.name_2, default: "colorless")
|
||||
show statistics: false
|
||||
description: The frame of a card
|
||||
card field:
|
||||
type: multiple choice
|
||||
name: card color 3
|
||||
icon: stats/color.png
|
||||
empty choice: colorless
|
||||
choice: white
|
||||
choice: blue
|
||||
choice: black
|
||||
choice: red
|
||||
choice:
|
||||
name: green
|
||||
line below: true
|
||||
choice: artifact
|
||||
choice: land
|
||||
choice: multicolor
|
||||
choice:
|
||||
name: hybrid
|
||||
enabled: { card_color_color_count(card.card_color_3) >= 2 }
|
||||
line below: true
|
||||
choice:
|
||||
name: horizontal
|
||||
enabled: { card_color_color_count(card.card_color_3) >= 2 }
|
||||
type: radio
|
||||
choice:
|
||||
name: vertical
|
||||
enabled: { card_color_color_count(card.card_color_3) >= 2 }
|
||||
type: radio
|
||||
choice:
|
||||
name: radial
|
||||
enabled: { card_color_color_count(card.card_color_3) >= 2 }
|
||||
type: radio
|
||||
choice:
|
||||
name: overlay
|
||||
enabled: { card_color_color_count(card.card_color_3) == 2 and chosen(choice:"hybrid",card.card_color_3) }
|
||||
type: radio
|
||||
choice:
|
||||
name: reversed
|
||||
enabled: { card_color_color_count(card.card_color_3) >= 2 and not chosen(choice:"overlay",card.card_color_3) }
|
||||
script: card_color_filter(value)
|
||||
default: card_color(casting_cost: card.casting_cost_3, type: card.super_type_3, rules_text: card.rule_text_3, watermark: card.watermark_3, card_name: card.name_3, default: "colorless")
|
||||
show statistics: false
|
||||
description: The frame of a card
|
||||
card field:
|
||||
type: text
|
||||
name: name 2
|
||||
@@ -1359,6 +1401,69 @@ card field:
|
||||
script: special_text2()
|
||||
save value: true
|
||||
description: Full text for exporting.
|
||||
card field:
|
||||
type: choice
|
||||
name: partition select
|
||||
show statistics: false
|
||||
choice:
|
||||
name: before normal
|
||||
choice: 0
|
||||
choice: 1
|
||||
choice: 2
|
||||
choice: 3
|
||||
choice: 4
|
||||
choice: 5
|
||||
choice: 6
|
||||
choice: 7
|
||||
choice: 8
|
||||
choice: 9
|
||||
choice: A
|
||||
choice:
|
||||
name: after normal, main set
|
||||
choice: B
|
||||
choice: C
|
||||
choice: D
|
||||
choice: E
|
||||
choice: F
|
||||
choice: G
|
||||
choice: H
|
||||
choice: I
|
||||
choice: J
|
||||
choice: K
|
||||
choice: L
|
||||
choice: M
|
||||
choice:
|
||||
name: after main set
|
||||
choice: N
|
||||
choice: O
|
||||
choice: P
|
||||
choice: Q
|
||||
choice: R
|
||||
choice: S
|
||||
choice: T
|
||||
choice: U
|
||||
choice: V
|
||||
choice: W
|
||||
choice: X
|
||||
choice: Y
|
||||
choice: Z
|
||||
choice:
|
||||
name: help
|
||||
choice: This is the partition selecter
|
||||
choice: You can use this to sort cards in different sublayers
|
||||
choice: 0-9 go before the main count, like face commanders
|
||||
choice: A is the main count
|
||||
choice: B-M go after, but still count in the set total
|
||||
choice: N-Z go over the set total, like #301/300
|
||||
choice: You can change the flip point in the Set tab if you need to
|
||||
choice: with option "Last main partition", which defaults to M
|
||||
initial: A
|
||||
description: The partition index for card sorting.
|
||||
card field:
|
||||
type: text
|
||||
name: partition
|
||||
script: partition_index()
|
||||
save value: false
|
||||
card field:
|
||||
type: text
|
||||
name: time modified
|
||||
|
||||
Reference in New Issue
Block a user