268 lines
5.9 KiB
Plaintext
268 lines
5.9 KiB
Plaintext
mse version: 2.0.0
|
|
game: magic
|
|
short name: Rules Tip
|
|
full name: Rules Tip card
|
|
installer group: magic/rules tip
|
|
icon: example.png
|
|
position hint: 999
|
|
|
|
version: 2024-05-30
|
|
depends on:
|
|
package: magic.mse-game
|
|
version: 2008-06-02
|
|
depends on:
|
|
package: magic-mana-small.mse-symbol-font
|
|
version: 2008-05-18
|
|
depends on:
|
|
package: magic-modules.mse-include
|
|
version: 2024-10-01
|
|
|
|
card width: 375
|
|
card height: 523
|
|
card dpi: 150
|
|
############################################################## Extra scripts
|
|
init script:
|
|
mana_t := {
|
|
if styling.tap_symbol == "old" then "old"
|
|
else if styling.tap_symbol == "diagonal T" then "older"
|
|
else "new"
|
|
}
|
|
guild_mana := { styling.use_guild_mana_symbols }
|
|
opposite:= { if input == "rgb(0,0,0)" then "white"
|
|
else if input == "rgb(255,255,255)" then "black"
|
|
else "transparent"}
|
|
|
|
card_shape := { "rulestip" }
|
|
|
|
############################################################## Extra style options
|
|
styling field:
|
|
type: color
|
|
name: name colour
|
|
initial: white
|
|
choice:
|
|
name: black
|
|
color: black
|
|
choice:
|
|
name: white
|
|
color: white
|
|
styling field:
|
|
type: boolean
|
|
name: name shadow
|
|
initial: no
|
|
styling field:
|
|
type: color
|
|
name: text colour
|
|
initial: black
|
|
choice:
|
|
name: black
|
|
color: black
|
|
choice:
|
|
name: white
|
|
color: white
|
|
styling field:
|
|
type: boolean
|
|
name: text shadow
|
|
initial: no
|
|
styling field:
|
|
type: color
|
|
name: advert colour
|
|
initial: white
|
|
choice:
|
|
name: black
|
|
color: black
|
|
choice:
|
|
name: white
|
|
color: white
|
|
styling field:
|
|
type: boolean
|
|
name: advert shadow
|
|
initial: no
|
|
styling field:
|
|
type: choice
|
|
name: artist position
|
|
initial: left
|
|
choice: left
|
|
choice: right
|
|
styling field:
|
|
type: package choice
|
|
name: 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: modern
|
|
choice: modern
|
|
choice: old
|
|
choice: diagonal T
|
|
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: boolean
|
|
name: set logo
|
|
initial: yes
|
|
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_q.png
|
|
old: /magic-mana-small.mse-symbol-font/mana_q_old.png
|
|
diagonal T: /magic-mana-small.mse-symbol-font/mana_q_older.png
|
|
############################################################## Card fields
|
|
include file: /magic-modules.mse-include/corners/card_fields
|
|
include file: /magic-modules.mse-include/information/the_list_old
|
|
card style:
|
|
border color:
|
|
left: 0
|
|
top : 0
|
|
width: 375
|
|
height: 523
|
|
left width: 17
|
|
right width: 17
|
|
top width: 17
|
|
bottom width: 17
|
|
z index: 2
|
|
image:
|
|
left: 17
|
|
right: {375-17}
|
|
top: 17
|
|
bottom: {523-17}
|
|
z index: 0
|
|
name:
|
|
left: 30
|
|
top: 37
|
|
right: {375-30}
|
|
height: 48
|
|
z index: 2
|
|
alignment: top center
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
weight: bold
|
|
size: 14
|
|
scale down to: 12
|
|
color: {styling.name_colour}
|
|
shadow color: {if styling.name_shadow then opposite(input: styling.name_colour) else "transparent"}
|
|
shadow displacement x: 2
|
|
shadow displacement y: 2
|
|
shadow blur: 3
|
|
symbol font:
|
|
name: {styling.mana_symbols}
|
|
size: 20
|
|
scale down to: 16
|
|
rule text:
|
|
left: 32
|
|
right: {375-32}
|
|
bottom: {if styling.set_logo then 400 else 450}
|
|
top: {card_style.name.content_height+51}
|
|
z index: 1
|
|
alignment: top left
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: 10
|
|
scale down to: 6
|
|
color: {styling.text_colour}
|
|
shadow color: {if styling.text_shadow then opposite(styling.text_colour) else "transparent"}
|
|
shadow displacement x: 1
|
|
shadow displacement y: 1
|
|
shadow blur: 2
|
|
symbol font:
|
|
name: {styling.mana_symbols}
|
|
size: 10
|
|
scale down to: 6
|
|
line height hard: 1.3
|
|
line height hard max: 2.6
|
|
image 2:
|
|
left: 25
|
|
top: 415
|
|
height: 70
|
|
width: 140
|
|
z index: 1
|
|
visible: {styling.set_logo}
|
|
copyright:
|
|
bottom: {523-18}
|
|
height: 12
|
|
left: 26
|
|
width: 300
|
|
z index: 1
|
|
alignment: middle left
|
|
font:
|
|
name: MPlantin
|
|
size: 8
|
|
color: white
|
|
shadow color: black
|
|
shadow blur: 1
|
|
card number:
|
|
bottom: {523-18}
|
|
height: 12
|
|
left: 326
|
|
right: {375-26}
|
|
z index: 1
|
|
alignment: middle right
|
|
font:
|
|
name: MPlantin
|
|
size: 8
|
|
color: white
|
|
shadow color: black
|
|
shadow blur: 1
|
|
rarity:
|
|
top: 0
|
|
right: 375
|
|
width: 50
|
|
height: 50
|
|
z index: 3
|
|
render style: hidden
|
|
include file: /magic-modules.mse-include/rarities/choice_images
|
|
extra card field:
|
|
type: text
|
|
name: advert
|
|
show statistics: false
|
|
multi line: true
|
|
default: "Find the latest rules updates at <b>MagicTheGathering.com.</b>"
|
|
extra card field:
|
|
type: text
|
|
name: illus
|
|
show statistics: false
|
|
script: forward_editor(prefix: "Illus. ", field: card.illustrator, hide_when_empty: true)
|
|
extra card style:
|
|
advert:
|
|
left: {if styling.set_logo then 168 else 25}
|
|
top: {if styling.set_logo then 415 else 453}
|
|
height: {if styling.set_logo then 70 else 40}
|
|
right: 350
|
|
z index: 1
|
|
alignment: center middle
|
|
font:
|
|
name: MPlantin
|
|
italic name: MPlantin-Italic
|
|
size: 10
|
|
scale down to: 6
|
|
color: {styling.advert_colour}
|
|
shadow color: {if styling.advert_shadow then opposite(styling.advert_colour) else "transparent"}
|
|
shadow displacement x: 0
|
|
shadow displacement y: 1
|
|
shadow blur: 2
|
|
illus:
|
|
width: 300
|
|
height: 15
|
|
top: {if styling.set_logo then 400 else 480}
|
|
left: {if styling.artist_position == "left" then 17 else (375-17-15)}
|
|
angle: 90
|
|
z index: 1
|
|
alignment: left middle
|
|
font:
|
|
name: MPlantin
|
|
size: 6
|
|
color: white
|
|
shadow color: black
|
|
shadow blur: 2
|