Initial commit

This commit is contained in:
CajunAvenger
2021-07-09 02:07:58 -05:00
parent 44a72dbc6f
commit eda330eee8
22968 changed files with 376881 additions and 0 deletions

View File

@@ -0,0 +1,434 @@
mse version: 0.3.8
game: magic
short name: Planechase
full name: Mainframe Update
installer group: Magic Planes/normal style
icon: card-sample.png
position hint: 090
version: 2018-06-01
depends on:
package: magic.mse-game
version: 2018-06-01
depends on:
package: magic-mana-small.mse-symbol-font
version: 2009-08-10
depends on:
package: magic-mainframe-extras.mse-include
version: 2018-01-01
card width: 800
card height: 559
card dpi: 170
#By Cajun
############################################################## Extra scripts
init script:
# Use the normal tap symbol
mana_t := {
if styling.tap_symbol == "old" then "old"
else if styling.tap_symbol == "diagonal T" then "older"
else "new"
}
# Use guild mana symbols?
guild_mana := { styling.use_guild_mana_symbols }
is_nom := {contains(card.super_type, match:"Phenomenon") }
card_shape := { "plane card" }
use_main_rarity := { contains(set.mainframe_rarity_name, match: ".png")}
un_png := replace@(match:".png", replace: "")
is_unsorted := {styling.remove_from_autocount}
bar_offset := {if styling_offset() == "-" then 0 else if styling_offset() != "" then -styling_offset() else 0}
styling_offset := { replace(styling.flavor_bar_offset, match:"(u|d)+", replace: "") }
offset_lines := {offset_counter(styling.flavor_bar_offset)}
top_textbox := {402}
height_textbox := { if is_nom() then 0 else if styling.chaos_divider != "" then to_number(styling.chaos_divider) else 62 }
filter_image := {crop("filter.png", height: height_textbox()+18, width:656, offset_x:0, offset_y:0)}
height_chaos := {109 - height_textbox()}
height_c_sym := {if is_nom() then 0 else min(33,height_chaos()-4) }
############################################################## Set info fields
set info style:
symbol:
variation:
name: invertedcommon
border radius: 0.10
fill type: solid
fill color: rgb(255,255,255)
border color: rgb(0,0,0)
############################################################## Extra style options
styling field:
type: text
name: font size
description: Set the maximum font size. Default is 16.
styling field:
type: text
name: chaos divider
description: Set the coordinate where the chaos textbox starts. Default is 62.
styling field:
type: text
name: flavor bar offset
description: Move the flavor bar up X pixels. Use negative to move down.
styling field:
type: boolean
name: center set info
description: disables the copyright field and centers set and card information
initial: no
styling field:
type: boolean
name: remove from autocount
description: Removes the automatic card number for specific cards, to allow for overcounted cards like in Planeswalker Decks.
initial: no
styling field:
type: boolean
name: use guild mana symbols
description: Use the Ravnica guild symbols instead of the official half/half circles for hybrid mana.
initial: no
styling field:
type: package choice
name: text box mana symbols
match: magic-mana-*.mse-symbol-font
initial: magic-mana-small.mse-symbol-font
styling field:
type: choice
name: tap symbol
description: What tap and untap symbols should be used on cards?
initial: old
choice: modern
choice: old
choice: diagonal T
styling field:
type: boolean
name: inverted common symbol
description: Should the common rarity symbol be inverted, like in Coldsnap?
initial: no
styling style:
use guild mana symbols:
choice images:
yes: /magic-mana-small.mse-symbol-font/mana_guild_rg.png
no: /magic-mana-small.mse-symbol-font/mana_rg.png
tap symbol:
render style: both
choice images:
modern: /magic-mana-small.mse-symbol-font/mana_t.png
old: /magic-mana-small.mse-symbol-font/mana_t_old.png
diagonal T: /magic-mana-small.mse-symbol-font/mana_t_older.png
inverted common symbol:
choice images:
no: { symbol_variation(symbol: set.symbol, variation: "common") }
yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") }
############################################################## Card fields
card style:
############################# Name line
name:
left: 129
top: 29
width: 542
height: 34
alignment: bottom center shrink-overflow
padding bottom: 0
z index: 2
font:
name: Beleren Bold
size: 19
color: black
############################# Image
image:
left: 24
top: 22
width: 753
height: 513
z index: 1
mask: { if is_nom() then "image_mask_nom.png" else "image_mask_level.png" }
############################# Card type
type:
left: 176
top: 362
width: 450
height: 34
alignment: bottom center shrink-overflow
padding bottom: 0
z index: 2
font:
name: Beleren Bold
size: 14
color: black
rarity:
right: 624
top: 377
width: 43
height: 21
z index: 2
render style: image
alignment: middle right
choice images:
# Images based on the set symbol
basic land:
script:
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "c.png"
else if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else symbol_variation(symbol: set.symbol, variation: "common")
common:
script:
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "c.png"
else if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
else symbol_variation(symbol: set.symbol, variation: "common")
uncommon:
script:
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "u.png"
else symbol_variation(symbol: set.symbol, variation: "uncommon")
rare:
script:
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "r.png"
else symbol_variation(symbol: set.symbol, variation: "rare")
mythic rare:
script:
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "m.png"
else symbol_variation(symbol: set.symbol, variation: "mythic rare")
special:
script:
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "s.png"
else symbol_variation(symbol: set.symbol, variation: "special")
masterpiece:
script:
if use_main_rarity() then "/magic-mainframe-extras.mse-include/" + un_png(set.mainframe_rarity_name) + "mp.png"
else symbol_variation(symbol: set.masterpiece_symbol, variation: "mythic rare")
############################# Text box
text:
left: 95
width: 613
top: 402
height: { if is_nom() then 116 else 0}
font:
name: MPlantin
italic name: MPlantin-Italic
size: { if styling.font_size != "" then styling.font_size else 16 }
scale down to: 1
color: black
symbol font:
name: { styling.text_box_mana_symbols }
size: { if styling.font_size != "" then styling.font_size else 16 }
alignment: middle left
z index: 2
line height hard: 1.2
line height line: 1.5
line height soft: 0.9
line height hard max: 1.3
line height line max: 1.6
rule text 2:
left: 143
width: { if is_nom() then 0 else 565 }
top: { 408 + height_textbox() }
bottom: { if is_nom() then 0 else 517}
font:
name: MPlantin
italic name: MPlantin-Italic
size: { if styling.font_size != "" then styling.font_size else 16 }
scale down to: 1
color: black
symbol font:
name: { styling.text_box_mana_symbols }
size: { if styling.font_size != "" then styling.font_size else 16 }
alignment: middle left
z index: 2
line height hard: 1.2
line height line: 1.5
line height soft: 0.9
line height hard max: 1.3
line height line max: 1.6
############################# Card sorting / numbering
############################# Copyright stuff
illustrator:
right: 480
top: 528
width: 140
height: 10
z index: 2
alignment: center
font:
name: Beleren Small Caps Bold
size: 7.25
color: white
copyright:
right: 530
top: 542
width: { if set.automatic_copyright then 0 else 150 }
height: { if styling.center_set_info then 0 else 10 }
z index: 2
alignment: middle right shrink-overflow
font:
name: Matrix
size: 8
color: white
weight: bold
set code:
left: { (if styling.center_set_info then 365 else 275) + card_style.card_number_m15.content_width }
top: 542
width: 50
height: 19
z index: 1
font:
name: Relay-Medium
size: 7
color: white
weight: bold
card number m15:
left: { if styling.center_set_info then 360 else 270 }
top: 542
width: 120
height: 19
z index: -1
font:
name: Relay-Medium
size: 7
color: white
weight: bold
############################################################## Extra card fields
extra card field:
type: text
name: card code
save value: false
script:
if set.automatic_card_numbers and not styling.remove_from_autocount then
card_number_m15() + "/" + card_count_m15()
else
forward_editor(field: card.custom_card_number)
extra card field:
type: choice
name: background
editable: false
save value: false
choice: frame
extra card field:
type: text
name: auto copyright
script: set.copyright
save value: false
editable: false
show statistics: false
extra card field:
type: choice
name: chaos symbol
editable: false
save value: false
choice: chaos
extra card field:
type: choice
name: artist arrow
save value: false
choice: white
editable: false
extra card field:
type: text
name: main text
multi line: true
save value: false
show statistics: false
script: forward_editor(field: card.rule_text)
description: The rules and flavor text for the card; use up and down arrows to switch
extra card field:
type: choice
name: flavor bar
choice: bar
editable: false
save value: false
show statistics: false
extra card field:
type: choice
name: filter
choice: overlay
editable: false
save value: false
show statistics: false
extra card style:
background:
left: 0
top: 0
width: 800
height: 559
z index: 0
render style: image
choice images:
frame: card.png
chaos symbol:
left: {95 + 0.5*(33 - height_c_sym())}
top: { 410 + height_textbox() + 0.5*height_chaos() - 0.5*height_c_sym() }
width: { if is_nom() then 0 else height_c_sym() + 5 }
height: { height_c_sym() }
z index: 2
render style: image
choice images:
chaos: /magic-mana-small.mse-symbol-font/mana_chaos.png
visible: {height_textbox() < 101}
artist arrow:
left: { 395 - card_style.illustrator.content_width * 0.5 }
top: 531
width: 12
height: 7
z index: 6
render style: image
image: artist_arrow.png
auto copyright:
right: 530
top: 542
width: { if not set.automatic_copyright or styling.center_set_info then 0 else 150 }
height: { if styling.center_set_info then 0 else 10 }
z index: 2
alignment: middle right shrink-overflow
font:
name: Matrix
size: 8
color: white
weight: bold
main text:
left: 95
width: 613
top: {top_textbox()}
height: {height_textbox()}
font:
name: MPlantin
italic name: MPlantin-Italic
size: { if styling.font_size != "" then styling.font_size else 16 }
scale down to: 1
color: black
symbol font:
name: { styling.text_box_mana_symbols }
size: { if styling.font_size != "" then styling.font_size else 16 }
alignment: middle left
z index: 2
line height hard: 1.2
line height line: 1.5
line height soft: 0.9
line height hard max: 1.3
line height line max: 1.6
filter:
left: 73
top: 390
width: 656
height: {height_textbox() + 18}
render style: image
image: {filter_image()}
z index: 1
visible: {not is_nom()}
card code:
left: { if styling.center_set_info then 360 else 270 }
top: 542
width: 120
height: 19
z index: 1
font:
name: Relay-Medium
size: 7
color: white
weight: bold
flavor bar:
left: 0
top: { bar_equation() }
width: 800
height: 1
z index: 1
render style: image
image: bar.png
visible: { card.rule_text != "" and remove_tags(card.flavor_text) != "" and set.use_flavor_bar and is_nom()}