mse version: 0.3.8
game: planechase
short name: Standard
installer group: Magic Planes/normal style
icon: card-sample.png
position hint: 01

version: 2010-05-18
depends on:
	package: planechase.mse-game
	version: 2009-08-11
depends on:
	package: magic-mana-small.mse-symbol-font
	version: 2009-08-10
depends on:
	package: magic-future-common.mse-include
	version: 2007-09-23

card width: 800
card height: 559
card dpi: 168.7055172
#By Pichoro
#Images by Art_Freak
############################################################## 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 }

############################################################## 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: 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: 128
		top: 30
		width: 541
		height: 34
		alignment: bottom center shrink-overflow
		padding bottom: 0
		z index: 2
		font:
			name: Matrix
			size: 26
			weight: bold
			color: black
	############################# Image
	image:
		left: 24
		top: 22
		width: 753
		height:	511
		z index: 1
		mask: image_mask.png
	############################# Card type
	type:
		left: 174
		top: 362
		width: 450
		height: 34
		alignment: bottom center shrink-overflow
		padding bottom: 0
		z index: 2
		font:
			name: Matrix
			size: 20
			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
			common:
				script:
					if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon")
					else symbol_variation(symbol: set.symbol, variation: "common")
			uncommon:   script: symbol_variation(symbol: set.symbol, variation: "uncommon")
			rare:       script: symbol_variation(symbol: set.symbol, variation: "rare")
			mythic rare:       script: symbol_variation(symbol: set.symbol, variation: "mythic rare")
			special:    script: symbol_variation(symbol: set.symbol, variation: "special")
	############################# Text box
	############################# Card sorting / numbering
	############################# Copyright stuff
	illustrator:
		left: 257
		top: 523
		width: 327
		height: 19
		z index: 2
		alignment: middle center
		font:
			name: Matrix
			size: 12
			weight: bold
			color: white
	copyright line:
		left: 236
		top: 538
		width: 327
		height: 19
		z index: 2
		alignment: middle center
		font:
			name: MPlantin
			size: 9
			color: white
############################################################## Extra card fields
extra card field:
	type: choice
	name: background
	editable: false
	save value: false
	choice: frame
extra card field:
	type: choice
	name: chaos symbol
	editable: false
	save value: false
	choice: chaos
extra card field:
	type: choice
	name: paintbrush
	save value: false
	choice: white
	editable: false
extra card field:
	type: text
	name: text
	multi line: true
	save value: false
	script:
		combined_editor(field1: card.rule_text, separator: "<line>\n</line>", field2: card.flavor_text)
	description: The rules and flavor text for the card; use up and down arrows to switch
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
		top: 474
		width: 38
		height: 33
		z index: 2
		render style: image
		choice images:
			chaos: /magic-mana-small.mse-symbol-font/mana_chaos.png
	paintbrush:
		left: { 375 - card_style.illustrator.content_width * 0.5 }
		top: 525
		width: 46
		height: 18
		z index: 6
		render style: image
		choice images:
			white: /magic-future-common.mse-include/paintbrush_white.png
	text:
		left: 93
		width: 615
		top: 402
		height: 116
		paragraph height: 58
		font:
			name: MPlantin
			italic name: MPlantin-Italic
			size: 16
			scale down to: 1
			color: black
		symbol font:
			name: { styling.text_box_mana_symbols }
			size: 16
		alignment: middle left
		z index: 2
		line height hard: 1.1
		mask: textbox_mask.png
