mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
New keyword mode: 'inline', givin correct reminder text for 'scry'
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@374 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -348,6 +348,10 @@ label:
|
||||
# Open dialogs
|
||||
all files All files
|
||||
|
||||
# New set window
|
||||
game type: &Game type:
|
||||
style type: &Card style:
|
||||
|
||||
# Preferences
|
||||
language: Language
|
||||
app language: Language of the user interface:
|
||||
@@ -380,6 +384,9 @@ label:
|
||||
set code: Set &Code:
|
||||
apprentice export cancled: Export to Apprentice is cancled
|
||||
|
||||
# Html export
|
||||
html template: Template:
|
||||
|
||||
# Image slicer
|
||||
original: Original:
|
||||
result: Result:
|
||||
@@ -462,6 +469,7 @@ title:
|
||||
# export
|
||||
export images: Export Images
|
||||
export cancled: Export Cancled
|
||||
export html: Export HTML
|
||||
|
||||
############################################################## Action (undo/redo) names
|
||||
action:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
mse version: 0.3.2
|
||||
mse version: 0.3.3
|
||||
full name: Magic The Gathering, card blend utilities
|
||||
version: 2006.01.17
|
||||
version: 2007.05.13
|
||||
|
||||
# This file doesn't do anything, other files in this directory can be included
|
||||
# in game/style files:
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
mse version: 0.3.2
|
||||
mse version: 0.3.3
|
||||
short name: Magic
|
||||
full name: Magic the Gathering
|
||||
icon: card-back.png
|
||||
@@ -214,7 +214,12 @@ init script:
|
||||
default_expand: { contains(match:mode, set.automatic_reminder_text) },
|
||||
combine: {
|
||||
if mode == "pseudo" then "<i-auto>{keyword}</i-auto>"
|
||||
else "{keyword}<atom-reminder><i> ({process_english_hints(reminder)})</i></atom-reminder>" }
|
||||
else "{keyword}<atom-reminder-{mode}> ({process_english_hints(reminder)})</atom-reminder-{mode}>" }
|
||||
) +
|
||||
# step 2b : move inline keywords' reminder text to the end of the line
|
||||
replace_rule(
|
||||
match: "(<atom-reminder-inline>.*</atom-reminder-inline></kw[^>]*>)([^\n(]+)",
|
||||
replace: "\\2\\1"
|
||||
) +
|
||||
# step 3a : expand shortcut words ~ and CARDNAME
|
||||
replace_rule(
|
||||
@@ -410,8 +415,9 @@ set field:
|
||||
choice: core
|
||||
choice: expert
|
||||
choice: pseudo
|
||||
choice: inline
|
||||
choice: custom
|
||||
initial: old, core, expert, pseudo, custom
|
||||
initial: old, core, expert, pseudo, inline, custom
|
||||
# Convert from older mse versions
|
||||
script:
|
||||
if value = "yes" then "old, core, expert, custom"
|
||||
@@ -1459,8 +1465,12 @@ keyword:
|
||||
keyword:
|
||||
keyword: Scry
|
||||
match: Scry <atom-param>number</atom-param>
|
||||
mode: expert
|
||||
reminder: Look at the top {english_number_multiple(param1)} card(s) of your library. Put any number of them on the bottom of your library in any order and the rest on top of your library in any order.
|
||||
mode: inline
|
||||
reminder:
|
||||
To scry {param1}, look at the top {
|
||||
if param1.value==1 then "card of your library, then you may put that card on the bottom of your library."
|
||||
else "{english_number(param1)} cards of your library. Put any number of them on the bottom of your library in any order and the rest on top in any order."
|
||||
}
|
||||
keyword:
|
||||
keyword: Sunburst
|
||||
match: Sunburst
|
||||
|
||||
Reference in New Issue
Block a user