Commit 668adacf authored by coppro's avatar coppro

Attempted to update type symbols on futureshifts to remove scripting

(precise modifications still needed, but MSE runs faster when the 
positions aren't scripted)

Added translation for the 'Open most recent set' button.
Moved 'type symbol' from the game to the futureshift templates.
Fixed a few BOMs.
TODO: Move common elements from futureshifts to an include folder.
parent 0599d14b
......@@ -98,6 +98,7 @@ help:
file:
new set: Create a new set
open set: Open an existing set
last opened set: Open '%s'
save set: Save the set
save set as: Save the set with a new name
export: Export the set...
......
mse version: 0.3.3
mse version: 0.3.3
image font size: 46
horizontal space: 1.2
......
......@@ -201,41 +201,6 @@ card style:
render style: image
choice images:
tombstone: tombstone.png
type symbol:
left:
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 25
else if card.type_symbol=="white enchantment" or card.type_symbol=="black enchantment" then 24
else 24 }
top:
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 26
else if card.type_symbol=="white enchantment" or card.type_symbol=="black enchantment" then 23
else 25 }
width:
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 16
else if card.type_symbol=="white instant" or card.type_symbol=="black instant" then 16
else 18 }
height:
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 16
else if card.type_symbol=="white enchantment" or card.type_symbol=="black enchantment" then 16
else if card.type_symbol=="white land" or card.type_symbol=="black land" then 16
else 18 }
z index: 2
render style: image
choice images:
white artifact: artifact_white.png
black artifact: artifact_black.png
white creature: creature_white.png
black creature: creature_black.png
white enchantment: enchantment_white.png
black enchantment: enchantment_black.png
white instant: instant_white.png
black instant: instant_black.png
white land: land_white.png
black land: land_black.png
white multitype: multitype_white.png
black multitype: multitype_black.png
white sorcery: sorcery_white.png
black sorcery: sorcery_black.png
############################# Image
image:
......@@ -322,6 +287,27 @@ extra card field:
name: pt box
script: card.card_color
editable: false
extra card field:
type: choice
name: type symbol
choice:
name: white
choice: artifact
choice: creature
choice: enchantment
choice: instant
choice: land
choice: multitype
choice: sorcery
choice:
name: black
choice: artifact
choice: creature
choice: enchantment
choice: instant
choice: land
choice: multitype
choice: sorcery
extra card field:
type: choice
name: paintbrush
......@@ -341,6 +327,28 @@ extra card style:
render style: image
image: { card_ptbox() }
mask: mask_pt.png
type symbol:
left: 23
top: 25
width: 21
height: 20
z index: 2
render style: image
choice images:
white artifact: artifact_white.png
black artifact: artifact_black.png
white creature: creature_white.png
black creature: creature_black.png
white enchantment: enchantment_white.png
black enchantment: enchantment_black.png
white instant: instant_white.png
black instant: instant_black.png
white land: land_white.png
black land: land_black.png
white multitype: multitype_white.png
black multitype: multitype_black.png
white sorcery: sorcery_white.png
black sorcery: sorcery_black.png
paintbrush:
right: { ( if card.pt != "" then 281 else 341 ) - card_style.illustrator.content_width }
top : 479
......
......@@ -236,43 +236,6 @@ card style:
render style: image
choice images:
tombstone: tombstone.png
type symbol:
left:
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 26
else if card.type_symbol=="white enchantment" or card.type_symbol=="black enchantment" then 25
else 25 }
top:
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 26
else if card.type_symbol=="white enchantment" or card.type_symbol=="black enchantment" then 23
else if card.type_symbol=="white instant" or card.type_symbol=="black instant" then 25
else if card.type_symbol=="black land" or card.type_symbol=="white land" then 25
else 24 }
width:
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 15
else if card.type_symbol=="white instant" or card.type_symbol=="black instant" then 15
else 18 }
height:
{ if card.type_symbol=="white artifact" or card.type_symbol=="black artifact" then 15
else if card.type_symbol=="white enchantment" or card.type_symbol=="black enchantment" then 15
else if card.type_symbol=="white land" or card.type_symbol=="black land" then 15
else 18 }
z index: 4
render style: image
choice images:
white artifact: artifact_white.png
black artifact: artifact_black.png
white creature: creature_white.png
black creature: creature_black.png
white enchantment: enchantment_white.png
black enchantment: enchantment_black.png
white instant: instant_white.png
black instant: instant_black.png
white land: land_white.png
black land: land_black.png
white multitype: multitype_white.png
black multitype: multitype_black.png
white sorcery: sorcery_white.png
black sorcery: sorcery_black.png
############################# Image
image:
......@@ -415,6 +378,27 @@ extra card field:
script: card.card_color
editable: false
save value: false
extra card field:
type: choice
name: type symbol
choice:
name: white
choice: artifact
choice: creature
choice: enchantment
choice: instant
choice: land
choice: multitype
choice: sorcery
choice:
name: black
choice: artifact
choice: creature
choice: enchantment
choice: instant
choice: land
choice: multitype
choice: sorcery
extra card field:
type: choice
name: paintbrush
......@@ -451,6 +435,28 @@ extra card style:
visible: { card.pt != "" }
render style: image
image: { card_ptbox() }
type symbol:
left: 23
top: 25
width: 21
height: 20
z index: 4
render style: image
choice images:
white artifact: artifact_white.png
black artifact: artifact_black.png
white creature: creature_white.png
black creature: creature_black.png
white enchantment: enchantment_white.png
black enchantment: enchantment_black.png
white instant: instant_white.png
black instant: instant_black.png
white land: land_white.png
black land: land_black.png
white multitype: multitype_white.png
black multitype: multitype_black.png
white sorcery: sorcery_white.png
black sorcery: sorcery_black.png
paintbrush:
right: { ( if card.pt != "" then 275 else 338 ) - card_style.illustrator.content_width }
top : 476
......
mse version: 0.3.3
mse version: 0.3.3
# Symbol font in the 'futuristic' style, used for casting costs on futureshift cards
image font size: 135
......
......@@ -698,27 +698,6 @@ card field:
choice: none
choice: tombstone
description: Symbol for this card (tombstone)
card field:
type: choice
name: type symbol
choice:
name: white
choice: artifact
choice: creature
choice: enchantment
choice: instant
choice: land
choice: multitype
choice: sorcery
choice:
name: black
choice: artifact
choice: creature
choice: enchantment
choice: instant
choice: land
choice: multitype
choice: sorcery
############################# Image
card field:
......
......@@ -41,7 +41,7 @@ WelcomeWindow::WelcomeWindow()
wxFileName n(settings.recent_sets.front());
if (n.FileExists() || n.DirExists())
#ifdef USE_HOVERBUTTON
open_last = new HoverButtonExt(this, ID_FILE_RECENT, load_resource_image(_("welcome_last")), _BUTTON_("last opened set"), _("Open '") + n.GetName() + _("'"));
open_last = new HoverButtonExt(this, ID_FILE_RECENT, load_resource_image(_("welcome_last")), _BUTTON_("last opened set"), _HELP_1_("last opened set", n.GetName()));
#else
open_last = new wxButton(this, ID_FILE_RECENT, _BUTTON_("last opened set"));
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment