From 4c1c750f052536a0395cbd91749a31a90dfba094 Mon Sep 17 00:00:00 2001 From: coppro Date: Wed, 20 Jan 2010 03:32:21 +0000 Subject: [PATCH] Set svn:eol-style on all style files that were missing it git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1436 0fc631ac-6414-0410-93d0-97cfa31319b6 --- data/chs.mse-locale/locale | 1926 ++++++------- data/cht.mse-locale/locale | 1936 ++++++------- data/da.mse-locale/locale | 1852 ++++++------- data/magic-blends.mse-include/include | 22 +- data/magic-blends.mse-include/new-blends | 1204 ++++----- data/magic-default-image.mse-include/include | 6 +- data/magic-default-image.mse-include/scripts | 66 +- .../symbol-font | 454 ++-- data/magic-extended-art.mse-style/style | 712 ++--- .../style | 998 +++---- .../style | 1044 +++---- data/magic-firepenguinmaster.mse-style/style | 772 +++--- .../style | 778 +++--- .../style | 1184 ++++---- .../style | 862 +++--- data/magic-future-common.mse-include/include | 6 +- data/magic-future-split.mse-style/style | 1756 ++++++------ data/magic-future-textless.mse-style/style | 810 +++--- data/magic-future.mse-style/style | 1102 ++++---- .../symbol-font | 714 ++--- .../symbol-font | 972 +++---- .../symbol-font | 770 +++--- .../symbol-font | 784 +++--- .../symbol-font | 784 +++--- data/magic-new-flip.mse-style/style | 922 +++---- data/magic-new-planeswalker.mse-style/style | 1034 +++---- data/magic-new-promo.mse-style/style | 664 ++--- data/magic-new-split.mse-style/style | 1034 +++---- data/magic-new-textless-land.mse-style/style | 434 +-- data/magic-new-token.mse-style/style | 854 +++--- data/magic-new.mse-style/style | 772 +++--- data/magic-old-promo.mse-style/style | 652 ++--- data/magic-old-split.mse-style/style | 1108 ++++---- data/magic-old-textless.mse-style/style | 596 ++-- data/magic-old-token.mse-style/style | 724 ++--- data/magic-old.mse-style/style | 798 +++--- .../include | 10 +- data/magic-planeshifted-split.mse-style/style | 986 +++---- data/magic-planeshifted.mse-style/style | 728 ++--- .../export-template | 474 ++-- .../script.js | 148 +- .../style.css | 202 +- data/magic-textless.mse-style/style | 540 ++-- data/magic-watermarks.mse-include/include | 12 +- .../watermark-names | 138 +- data/magic-watermarks.mse-include/watermarks | 142 +- .../watermarks-old | 142 +- data/magic.mse-game/add_cards_scripts | 100 +- data/magic.mse-game/auto_replace | 82 +- data/magic.mse-game/card_fields | 1088 ++++---- data/magic.mse-game/game | 92 +- data/magic.mse-game/keywords | 1294 ++++----- data/magic.mse-game/language | 70 +- data/magic.mse-game/magic-words.en_us.dic | 298 +- data/magic.mse-game/packs | 372 +-- data/magic.mse-game/script | 1270 ++++----- data/magic.mse-game/set_fields | 316 +-- data/magic.mse-game/statistics | 334 +-- data/magic.mse-game/word_lists | 826 +++--- data/planechase-standard.mse-style/style | 474 ++-- data/planechase.mse-game/game | 2408 ++++++++--------- data/vanguard-standard.mse-style/style | 542 ++-- data/vanguard.mse-game/game | 2166 +++++++-------- data/vs-alter.mse-style/style | 408 +-- data/vs-common.mse-include/affiliations | 72 +- data/vs-common.mse-include/dual-affiliation | 254 +- data/vs-common.mse-include/include | 20 +- data/vs-common.mse-include/old-to-new | 20 +- data/vs-common.mse-include/watermark-names | 252 +- data/vs-common.mse-include/watermarks | 72 +- data/vs-extended-art.mse-style/style | 792 +++--- data/vs-extended-hellboy.mse-style/style | 792 +++--- data/vs-hellboy.mse-style/style | 846 +++--- data/vs-insanity.mse-style/style | 846 +++--- data/vs-new.mse-style/style | 1006 +++---- data/vs-oversize.mse-style/style | 716 ++--- .../export-template | 376 +-- data/vs-spoiler.mse-export-template/script.js | 148 +- data/vs-spoiler.mse-export-template/style.css | 252 +- data/vs-standard.mse-style/style | 846 +++--- data/vs.mse-game/auto_replace | 76 +- data/vs.mse-game/card_fields | 824 +++--- data/vs.mse-game/game | 52 +- data/vs.mse-game/keywords | 300 +- data/vs.mse-game/packs | 102 +- data/vs.mse-game/script | 492 ++-- data/vs.mse-game/set_fields | 202 +- data/vs.mse-game/statistics | 42 +- data/vs.mse-game/word_lists | 472 ++-- .../symbol-font | 116 +- data/yugioh-standard.mse-style/style | 784 +++--- .../symbol-font | 72 +- data/yugioh.mse-game/auto_replace | 30 +- data/yugioh.mse-game/card_fields | 448 +-- data/yugioh.mse-game/game | 42 +- data/yugioh.mse-game/packs | 162 +- data/yugioh.mse-game/script | 356 +-- data/yugioh.mse-game/set_fields | 82 +- data/yugioh.mse-game/word_lists | 82 +- 99 files changed, 29407 insertions(+), 29407 deletions(-) diff --git a/data/chs.mse-locale/locale b/data/chs.mse-locale/locale index 9054e585..37ffb613 100644 --- a/data/chs.mse-locale/locale +++ b/data/chs.mse-locale/locale @@ -1,963 +1,963 @@ -mse version: 0.3.8 -installer group: translations/Simplified Chinese -full name: 简体中文 (Simplified Chinese) -version: 2009-01-15 -icon: cn.png - -############################################################## Menu items -menu: - file: 文件 - new set: 新建套牌... Ctrl+N - open set: 打开套牌... Ctrl+O - save set: 保存套牌 Ctrl+S - save set as: 套牌另存为... F12 - export: 导出 - export html: HTML文件... - export image: 卡牌图像... - export images: 全部卡牌图像... - export apprentice: Apprentice... - export mws: Magic Workstation... - check updates: 检查更新... - print preview: 打印预览... - print: 打印... Ctrl+P - reload data: 重新载入数据 Ctrl+F5 - exit: 退出 Alt+F4 - - edit: 编辑 - undo: 撤销%s Ctrl+Z - redo: 重做%s Ctrl+Y - cut: 剪切 Ctrl+X - copy: 复制 Ctrl+C - paste: 粘贴 Ctrl+V - find: 查找 Ctrl+F - find next: 查找下一个 F3 - replace: 替换 Ctrl+H - auto replace: 自动替换... - preferences: 参数设置... - - cards: 卡牌 - previous card: 选择上一张卡牌 PgUp - next card: 选择下一张卡牌 PgDn - add card: 添加卡牌 Ctrl+Enter - add cards: 批量添加卡牌... - remove card: 删除所选卡牌 - orientation: 旋转 - rotate 0: 普通 - rotate 270: 顺时针旋转90° - rotate 90: 逆时针旋转90 - rotate 180: 上下翻转180° - card list columns: 卡牌列表栏... - - keywords: 关键词 - previous keyword: 选择上一个关键词 PgUp - next keyword: 选择下一个关键词 PgDn - add keyword: 添加关键词 Ctrl+Enter - remove keyword: 删除所选关键词 Del - - format: 字体格式 - bold: 粗体 Ctrl+B - italic: 斜体 Ctrl+I - symbols: 符号 Ctrl+M - reminder text: 提示文本 Ctrl+R - insert symbol: 插入符号 -#_ADD # spelling -#_ADD no spelling suggestions: (no suggestions) - - graph: 图像 - pie: 饼形图 1 - bar: 条形图 2 - stack: 堆叠条形图 3 - scatter: 散点图 4 - scatter pie: 散饼图 5 - - window: 窗口 - new window: 新建窗口 - cards tab: 卡牌编辑 F5 - set info tab: 套牌信息 F6 - style tab: 风格选择 F7 - keywords tab: 关键词 F8 - stats tab: 统计结果 F9 -#_ADD random pack tab: &Random Packs - - help: 帮助 - index: 索引... F1 - website: 官方网站... - about: 关于Magic Set Editor... - - # symbol editor - - new symbol: 新建... Ctrl+N - open symbol: 打开... Ctrl+O - save symbol: 保存 Ctrl+S - save symbol as: 另存为... F12 - store symbol: 储存 Ctrl+Enter - close symbol editor: 关闭 Alt+F4 - - duplicate: 复制 Ctrl+D - group: 分组 Ctrl+G - ungroup: 取消分组 Ctrl+U - - tool: 工具 - select: 选择 F5 - rotate: 旋转 F6 - points: 控制点 F7 - basic shapes: 基本形状 F8 - symmetry: 对称效果 F9 - paint: 笔刷 F10 - -############################################################## Menu help texts -help: - welcome: 欢迎使用 Magic Set Editor - - file: - new set: 创建新套牌 - open set: 打开已有套牌 - last opened set: 打开 '%s' - save set: 保存现有套牌 - save set as: 使用新文件名保存套牌 - export: 导出套牌... - export html: 将套牌导出成网页格式 - export image: 将所选卡牌导出成为一张图片 - export images: 将所有卡牌导出成图片 - export apprentice: 将套牌导出成为能在 Apprentice 中使用的格式 - export mws: 将套牌导出成为能在 Magic Workstation 中使用的格式 - check updates: 安装或升级文件包 - print preview: 显示即将被打印的卡牌 - print: 从本套牌中打印这张牌 - reload data: 重新载入所有模板(游戏类型和样式)和套牌数据. - exit: 退出Magic Set Editor程序,请迅速保存你的套牌 - - edit: - undo: 撤销上一个动作 - redo: 重做上一个动作 - cut: 将选中的文字剪切至剪切板 - cut card: 将选中的卡牌剪切至剪切板 - cut keyword: 将选中的关键词剪切至剪切板 - copy: 将选中的文字复制至剪切板 - copy card: 将选中的卡牌复制至剪切板 - copy keyword: 将选中的关键词复制至剪切板 - paste: 从剪切板插入文字 - paste card: 从剪切板插入卡牌 - paste keyword: 从剪切板插入关键词 - find: 搜索卡牌文字 - find next: 查找下一个 - replace: 替换卡牌文字 - auto replace: 自动替换什么文字? - preferences: 修改Magic Set Editor的设置 - - cards: - previous card: 选择列表中的上一张卡牌 - next card: 选择列表中的下一张卡牌 - add card: 添加一个新的空白卡牌到本套牌 - add cards: 添加多张卡牌到本套牌 - remove card: 从本套牌中删除所选卡牌 - orientation: 调整所显示卡牌的方向 - rotate card: 将所显示卡牌顺时针旋转90° - rotate 0: 将所显示卡牌还原为正常模式 - rotate 270: 将所显示卡牌顺时针旋转 - rotate 90: 将所显示卡牌逆时针旋转 - rotate 180: 将所显示卡牌上下翻转 - card list columns: 调整卡牌列表栏显示项目和显示顺序 - - keywords: - previous keyword: 从列表中选择上一个关键词 - next keyword: 从列表中选择下一个关键词 - add keyword: 添加一个新关键词到本套牌中 - remove keyword: 从本套牌中删除选中的关键词 - - format: - bold: 将所选文字设为粗体 - italic: 将所选文字设为斜体 - symbols: 将所选文字改成符号 - reminder text: 对选择的关键词显示提示文本 -#_ADD # spelling -#_ADD no spelling suggestions: There are no suggestions for correcting this error - - graph: - pie: 饼状图,每一份的大小取决与卡牌数量 - bar: 条形图,条形高度取决于卡牌数量 - stack: 条形图,堆叠条形图 - scatter: 散点图,每一个散点的大小取决与卡牌数量 - scatter pie: 散饼图,每一个三点都是一个小型饼状图 - - window: - new window: 创建一个额外窗口用来编辑同一套牌 - cards tab: 编辑套牌中的卡牌 - set info tab: 编辑套牌信息,例如创建者,其他 - style tab: 改变卡牌样式 - keywords tab: 定义本套牌额外的关键词 - stats tab: 显示本套牌的统计情况 -#_ADD random pack tab: Try how the set works out in practice by generating random booster packs. - - help: - index: - website: - about: - - # Cards panel -#_ADD collapse notes: Hide the card notes box -#_ADD expand notes: Show the card notes box - # Random pack panel -#_ADD random seed: Different packs will be generated each time. -#_ADD fixed seed: Using the same seed number gives the same 'random' packs. -#_ADD seed: Seed number for the random generator. Using the same seed number gives the same 'random' packs. -#_ADD edit pack type: Double click to edit pack type -#_ADD number of packs: The number of %ss to generate - - # Preferences - app language: - 注意: 你必须重新启动MSE才能使语言修改生效 - zoom export: - (当关闭该项的时候,卡牌会按照以下规则导出: - 100%大小,不旋转) - - # apprentice export - set code: 套牌代码是一个双字节代码,它能被Apprentice识别成一幅套牌 - - # Symbol editor - new symbol: 创建一个新的系列符号 - open symbol: 打开一个系列符号 - save symbol: 保存系列符号 - save symbol as: 使用不同文件名保存系列符号 - store symbol: 将系列符号储存进套牌 - close symbol editor: 关闭系列符号编辑器 - - duplicate: 复制所选图形 - group: 所选图形分成一组 - ungroup: 取消所选分组 - - grid: 显示网格线 - snap: 吸附形状和控制点到网格线 - - tool: - select: 选择并移动形状 - rotate: 旋转并修剪形状 - points: 编辑形状控制点 - basic shapes: 绘制基本形状,例如矩形和圆形 - symmetry: 给系列符号添加对称效果 - paint: 用笔刷在图形上绘制 - - select editor: - merge: 把这个图形融合到下面 - subtract: 把这个图形从下面剪掉,仅保留不在这个图形,但是在下面图形的区域 - intersect: 把这个图形和下面相交,仅保留图像共有区域 - difference: 这个图形和下面不相交,仅仅保留不在其他图形的区域 - overlap: 替换并且将边框覆盖到上面的图形 - border: 把这个图形绘制为边框 - - drag to shear: 拖拽,修改选定的 %s - drag to rotate: 拖拽,修改选定部分的旋转角度 %s;按住Ctrl,强制旋转15° - drag to resize: 拖拽,修改选定部分的大小 %s,;按住Ctrl,强制修改大小 - click to select shape: 点击,选择图形;拖拽,移动图形;双击,编辑图形 - - ellipse: 绘制圆形及椭圆形 - rectangle: 绘制正方形及矩形 - polygon: 绘制多边形 - star: 绘制星形 - sides: 确定多边形或者星形的边数 - drag to draw shape: 拖拽,调整图形大小,按住Ctrl,强制修改图形,按住Shift,图形居中 - draw ellipse: 点击并且拖拽,绘制一个椭圆形,按住Ctrl,绘制圆形 - draw rectangle: 点击并且拖拽,绘制一个矩形,按住Ctrl,绘制正方形 - draw polygon: 点击并且拖拽,绘制一个多边形 - draw star: 点击并且拖拽,绘制一个星形 - - line segment: 将所选线段变成直线 - curve segment: 将所选线段变成曲线 - free point: 允许两个控制点自由移动 - smooth point: 使被选择的点平滑,用两个控制点互相相反的方式替换 - symmetric point: 将被选择的点做对称效果 - drag to move curve: 拖拽来移动曲线 - drag to move line: 按住Alt键并且拖拽,移动曲线;双击,在线上添加一个点 - drag to move point: 点击并拖拽,移动控制点;双击,移除该点 - - rotation: 旋转对称(环形效果) - reflection: 反转对称(镜像效果) - add symmetry: 所选部分添加对称效果 - remove symmetry: 移除对称效果 - copies: 输入反转数值(包含原始数值) - - # Card select - filename format: (使用 {card.name} 作为卡片名称;文件类型由扩展名决定) - -############################################################## Toolbar -tool: - undo: 撤销 - redo: 重做 - - cards tab: 卡牌编辑 - set info tab: 套牌信息 - style tab: 风格样式 - keywords tab: 关键词 - stats tab: 统计结果 -#_ADD random pack tab: Random - - # symbol editor - store symbol: 储存 - - grid: 网格 - snap: 吸附 - - select: 选择 - rotate: 旋转 - points: 控制点 - basic shapes: 基本形状 - symmetry: 对称效果 - paint: 笔刷 - - merge: 融合 - subtract: 减去 - intersect: 相交 - difference: 不相交 - overlap: 覆盖 - border: 边框 - - ellipse: 椭圆形 - rectangle: 矩形 - polygon: 多边形 - star: 星形 - - rotation: 旋转 - reflection: 反转 - add symmetry: 添加对称效果 - remove symmetry: 移除对称效果 - - line segment: 直线 - curve segment: 曲线 - free point: 自由 - smooth point: 平滑 - symmetric point: 对称 - -############################################################## Toolbar help text -tooltip: - cards tab: 卡牌编辑 - set info tab: 套牌信息 - style tab: 风格样式 - keywords tab: 关键词 - stats tab: 统计结果 -#_ADD random pack tab: Random packs - - new set: 新建套牌 - open set: 打开套牌 - save set: 保存套牌 - export: 导出 - - cut: 剪切 - copy: 复制 - paste: 粘贴 - undo: 撤销%s - redo: 重做%s - - add card: 添加卡牌 - remove card: 移除选中卡牌 - rotate card: 旋转卡牌 - - add keyword: 添加关键词 - remove keyword: 移除所选关键词 - - bold: 粗体 - italic: 斜体 - symbols: 系列符号 - reminder text: 提示文本 - - pie: 饼形图 - bar: 条形图 - stack: 堆叠条形图 - scatter: 散点图 - scatter pie: 散饼图 - - cards tab: 卡牌 - set info tab: 套牌信息 - style tab: 样式 - keywords tab: 关键词 - stats tab: 统计 - - # symbol editor - store symbol: 将系列符号保存到套牌 - - grid: 显示网格 - snap: 吸附网格 - - select: 选择 (F5) - rotate: 旋转 (F6) - points: 控制点 (F7) - basic shapes: 基本形状 (F8) - symmetry: 对称效果 (F9) - paint: 笔刷 (F10) - - merge: 和下面的图形融合 - subtract: 从下面的图形减去 - intersect: 和下面的图形相交 - difference: 和下面的图形不相交 - overlap: 覆盖上面的其他图形 - border: 绘制边框 - - ellipse: 圆形 / 椭圆形 - rectangle: 正方形 /矩形 - polygon: 多边形 - star: 星型 - - rotation: 旋转对称(环形效果) - reflection: 反转对称(镜像效果) - add symmetry: 所选部分添加对称效果 - remove symmetry: 移除对称效果 - - line segment: 变成直线 - curve segment: 变成曲线 - free point: 解锁点 - smooth point: 点平滑效果 - symmetric point: 点对称效果 - -############################################################## Labels in the GUI -label: - # Cards tab - card notes: 卡牌信息: - # Keywords tab - keyword: 关键词 - match: 匹配 - mode: 类型 - uses: 使用次数 - reminder: 提示文本 - rules: 额外规则 - standard keyword: - 这是一个标准的 %s 关键词,你不需要编辑它。 - 如果你做了一个关键词的备份,那么你的备份将优先被使用 - - # Style tab - styling options: 样式选项 - - # Random pack panel -#_ADD pack selection: Pack selection -#_ADD pack totals: Totals -#_ADD pack name: Pack name -#_ADD seed: Seed -#_ADD total cards: Total - - # Open dialogs - all files 全部文件 - - # Other set window dialogs - save changes: - 套牌 '%s' 已经被修改。 - - 你想保存修改吗? - - # New set window - game type: 游戏类型: - style type: 风格样式: - - stylesheet not found: - 你要打开的套牌使用的是 "%s" 样式表 - 这个样式表在你的系统里没有找到,请选择其他方案 - - # Preferences - language: 语言 -#_ADD windows: Open sets - app language: 程序界面语言: - card display: 卡牌显示 - zoom: 缩放: - percent of normal: % 之后导出 - external programs: 外部程序 - apprentice: Apprentice: - apprentice exe: 可执行Apprentice - check at startup: 程序运行时检查新版本 - checking requires internet: - 检查新版本需要接入互联网。 - 没有接入互联网的时候不检查更新。 - - 检查更新时不会搜集用户信息。 - - # Column select - select columns: 选择你要显示的栏目 - columns: 栏目: - - # Card select / images export -#_ADD select cards: Cards to export -#_ADD selected card count: %s cards will be exported. - select cards print: 选择需要打印的卡牌 - filename format: 格式: - filename conflicts: 处理重复文件名: - export filenames: 文件名 -#_DEL cards to export: 导出卡牌 - filename is ignored: (忽略文件名) - - # apprentice export - set code: 设置套牌代码: - apprentice export cancelled: 导出到 Apprentice 的过程被取消 - - # Html export - html template: 模板: - html export options: 导出选项 - - # Image slicer - original: 原始: - result: 结果: - size: 大小 -#_ADD original size: &Original Size -#_ADD size to fit: Size to &Fit -#_ADD force to fit: F&orce to Fit -#_ADD custom size: &Custom Size - selection: 选取 -#_ADD selection left: &Left -#_ADD selection top: &Top -#_ADD selection width: &Width -#_ADD selection height: &Height - zoom: 缩放 -#_ADD fix aspect ratio: Fix aspect ratio (width/height) -#_ADD zoom amount: Zoom -#_ADD zoom amount x: Zoom &X -#_ADD zoom amount y: Zoom &Y -#_ADD zoom %: % - filter: 过滤 -#_ADD sharpen filter: &Sharpen filter - - # Auto replace - auto match: 匹配 - auto replace: 替换 - - # Symbol editor - sides: 侧 - - # Packages window - package name: 文件包 - package status: 状态 - package action: 动作 - - package conflicts: 矛盾修改 - package modified: 本地修改 - package updates: 可用升级 - package installed: 已安装 - package installable: 未安装 - install package: 安装 -#_ADD reinstall package: reinstall - upgrade package: 升级 - remove package: 移除 - -#_ADD installed version: Installed version: -#_ADD installable version: Latest version: -#_ADD installer size: Size: -#_ADD installer status: Status: -#_ADD no version: - -#_ADD -############################################################## Buttons/checkboxes/choices in the GUI -button: - # Editor - edit symbol: 编辑 - symbol gallery: 画廊 - - # Style panel - use for all cards: 应用到全部卡牌 - use custom styling options: 本张卡牌使用特殊设置 - - # Keywords panel - insert parameter: 插入参数... - refer parameter: 提交参数... - - # Random pack panel -#_ADD generate pack: &Generate Pack -#_ADD random seed: &Random Seed -#_ADD fixed seed: &Fixed Seed -#_ADD add custom pack: Add &Custom Pack... - - # Welcome - new set: 新建套牌 - open set: 打开套牌 - check updates: 检查更新 - last opened set: 上一次打开的套牌 - - # Preferences -#_ADD open sets in new window: Open all sets in a new &window - select: 选择... - browse: 浏览... - high quality: 高质量渲染效果 - show lines: 各个编辑区域显示线 - show editing hints: 编辑的时候显示虚线提示框 - zoom export: 当导出时采用上面缩放和旋转设置 - check now: 立刻检查 - always: 总是 - if internet connection exists: 如果接入互联网 - never: 从不 - - # Column select - move up: 向上移动 - move down: 向下移动 - show: 显示 - hide: 隐藏 - - # Card select -#_ADD export entire set: Entire set -#_ADD export generated packs: Generated packs -#_ADD export custom cards selection: Custom selection -#_ADD select cards: &Select Cards... - select all: 全选 - select none: 全不选 - overwrite: 覆盖旧文件 - keep old: 保留旧文件 - number: 文件名添加序号 - number overwrite: 文件名添加序号,覆盖上次导出的结果 - - # Auto replace - use auto replace: 使用自动替换 - add item: 添加 - remove item: 移出 - defaults: 还原默认 - enabled: 开启 - whole word: 匹配整个字符串 - - # Old style update checker (NOTE: this will be removed in a feature version) - close: 关闭 - - # Packages window - keep package: 不修改 - don't install package: 不安装 - install package: 安装 - upgrade package: 升级 -#_ADD reinstall package: Re&install - remove package: 移除 - install group: 全部安装 - upgrade group: 全部升级 - remove group: 全部移除 - -############################################################## Titles in the GUI -title: - magic set editor: Magic Set Editor 由 slimeking 漢化制作 - %s - magic set editor: %s - Magic Set Editor 由 slimeking 漢化制作 - untitled: 无标题 - about: 关于 Magic Set Editor 由slimeking漢化制作 - symbol editor: 系列符号编辑器 由slimeking漢化制作 - # dialogs - new set: 新建套牌 - open set: 打开套牌 - save set: 套牌另存为 - save image: 保存图片 - updates available: 可用更新 - save changes: 保存修改? - select stylesheet: 选择样式表 - #preferences - preferences: 设置 - global: 全局 - display: 显示 - directories: 目录 - updates: 升级更新 - update check: 检查更新 - locate apprentice: 定位 Apprentice - # select - select columns: 选择栏目 - select cards: 选择卡牌 - select cards export: 导出选中的卡牌 - # slice - slice image: 图片切片 -#_ADD # pack -#_ADD custom pack: Custom Pack Type - # print - print preview: 打印预览 - # export - export images: 导出为图像 - export cancelled: 导出取消 - export html: 导出为HTML - save html: 保存为HTML - # auto replace - auto replaces: 自动替换 - - # Package Update Window - packages window: 文件包管理器 - installing updates: 安装更新 - - cannot create file: 无法创建文件 - -############################################################## Action (undo/redo) names -action: - # List boxes - add item: 添加 %s - remove item: 移除 %s - - # Text editor - typing: 键入 - enter: 进入 - soft line break: 切断软线 - insert symbol: 插入符号 - backspace: 退格 - delete: 删除 - cut: 剪切 - paste: 粘贴 - auto replace: 自动替换 -#_ADD correct: Spelling Correction - # Choice/color editors - change: 修改 %s - - # Symbol Actions - move: 移动 %s - rotate: 旋转 %s - shear: 修剪 %s - scale: 改变尺寸 %s - duplicate: 复制 %s - reorder parts: 再添加 - change combine mode: 改变联合模式 - change shape name: 改变图形名字 - group parts: 分组 - ungroup parts: 取消分组 - - # Symbol Part Actions - convert to line: 转换成直线 - convert to curve: 转换成曲线 - lock point: 锁定点 - move handle: 移动手柄 - move curve: 移动曲线 - add control point: 添加控制点 - delete point: 删除控制点 - delete points: 删除多个控制点 - - # Symmetry - add symmetry: 添加对称效果 - #remove symmetry: 移除对称效果 - move symmetry center: 移动对称中心 - move symmetry handle: 改变对称方向 - change symmetry type: 改变对称类型 - change symmetry copies: 反转角度 - -############################################################## Error messages -error: - # File related - file not found: 没有找到文件: '%s' 在 '%s' 文件包中 - file not found package like: - 没有找到文件:'%s' 在 '%s' 文件包中 - 如果你尝试从别的文件包中打开文件, 使用以下格式"/package/filename" - file parse error: - 处理文件发生错误:'%s' - %s - package not found: 文件包没有找到: '%s' - package out of date: 文件包 '%s' (版本 %s) 过期,需要 %s 以上版本 - package too new: 文件包 '%s' (版本 %s)与这个版本不兼容 %s,需要 '%s' 以上版本 - unable to open output file: 保存时出错,无法打开输出文件 - unable to store file: 保存时出错,无法储存文件 - dependency not given: - 文件包 '%s' 所使用的文件来自于文件包 '%s' ,但是列表中并没有该附加项 - 要解决这个问题,添加: - 附加项目 到: %s %s - - # Script stuff - has no member: %s 没有成员 '%s' - can't convert: 无法将 %s 转换成 %s - has no member value: 字符串 "%s" 没有成员 '%s' - can't convert value: 无法将 "%s" 从 %s 转化成 %s - unsupported format: 无效字符串格式:'%s' - in function: - %s - 在函数中 %s - in parameter: - 参数 %s: %s - in keyword reminder: - %s - 在提示文本里的关键词 '%s' - - # Image stuff - coordinates for blending overlap: 坐标混合重叠 - images used for blending must have the same size: 边框用图像必须使用相同大小 - - # Error from files - no game specified: 没有为 %s 指定游戏类型 - no stylesheet specified for the set: 没有为套牌制定样式表 - stylesheet and set refer to different game: - 样式表文件有错误,样式表和套牌与该游戏类型不相关。 - unsupported field type: 不支持的区域类型:'%s' - unsupported fill type: 不支持的填充类型: '%s' - unrecognized value: 无法识别的值:'%s' - expected key: 预期中的关键:'%s' - aborting parsing: 遇到致命错误,放弃读取 - newer version: - %s - 这个文件是由更高版本的 Magic Set Editor (%s) 制作的 - 当你打开它的时候,文件中的一些外观会丢失 - 推荐你升级到最新版本 - 浏览官方网站 http:://magicseteditor.sourceforge.net/ - word list type not found: 词语列表类型 %s 没有找到 (从 标签中) -#_ADD pack item not found: The pack item "%s" was not found (from a pack type) -#_ADD pack type not found: The pack type "%s" was not found (from a pack type) - - # Update checking - checking updates failed: 检查更新失败。 - no updates: 没有可用更新。 - - # Stats panel - dimension not found: 没有统计数据 '%s' - -#_ADD # Random packs -#_ADD pack type duplicate name: - There is already a pack type named '%s'. - Please choose a different name. -#_ADD - # Package update window -# checking updates: 检查更新 - can't download installer: - 无法为文件包 %s 下载安装程序,从 %s - 没有更新被安装 - - downloading updates: 更新文件下载中 (%d of %d) - installing updates: 文件包升级中 (%d of %d) - - remove packages: - 即将移除 %s 文件包,你想继续吗? - remove packages modified: - 在 %s 安装修改完毕后,将要移除 %s 文件包 - 被移除的文件将无法恢复。 - - 你想继续吗? - install packages successful: %s 文件包被成功安装 - remove packages successful: %s 文件包被成功移除. - change packages successful: %s 文件包被成功修改 - - cannot create file: 无法创建文件 '%s' ,继续安装? - -############################################################## Types used in scripts / shape names -type: - function: 函数 - collection: 收集 - collection of: 收集 %ss - object: 目标 - double: 实数 - integer: 整数 - string: 字符串 - boolean: 逻辑型 - color: 颜色 - image: 图像 -#_ADD date: date - nil: 什么都不做 - - # Object types - package: 文件包 - locale: 翻译 - game: 游戏 - set: 套牌 - stylesheet: 样式表 - export template:export 模板 -#_ADD symbol: symbol - card: 卡牌 - cards: 多张卡牌 - field: 区域 - style: 样式 - value: 值 - keyword: 关键词 - keywords: 关键词 -#_ADD pack: pack type - - # Symbol editor shapes - shape: 图形 - shapes: 多个图形 - circle: 圆形 - ellipse: 椭圆形 - square: 正方形 - rectangle: 矩形 - triangle: 三角形 - rhombus: 菱形 - pentagon: 五边形 - hexagon: 六边形 - polygon: 多边形 - star: 星形 - - rotation: 旋转 - reflection: 反转 - group: 分组 - - point: 控制点 - points: 多个控制点 - -############################################################## Magic -package: - magic.mse-game: - # Card fields - name: 名称 - cc: 总费用 - type: 类型 - p/t: 力量/防御 - rarity: 稀有度 - card name: 卡牌名字 - - # Set info - title: 标题 - description: 描述 - artist: 画家 - copyright: 版权 - symbol: 系列符号 - - border color: 边框颜色 - automatic reminder text: 自动提示文本 - automatic card numbers: 自动卡牌编号 - sort special rarity: 特殊稀有度卡排排序 - mark errors: 标出错误 - use gradient multicolor: 使用倾斜多色 - - - - # descriptions/help text - artifact style: 神器风格 - saturated multicolor: 标准多色牌 - shifted sorting: 排序变换 - darker artifacts: 更深色神器 - grey hybrid name: 混色牌名字变灰 - colored multicolor land name: 多色牌和地牌的名字变色 - grey hybrid typeline: 混色牌类型线变灰 - use guild mana symbols: 使用工会符号 - one textline tokens: 一条文本线 衍生物 - alpha style blending: 阿尔法风格混合 - type of gradient multicolor: 倾斜多色类型 - type of gradient artifact: 倾斜神器类型 - tap symbol: 横置符号 - image size: 图像大小 - cardname font: 卡牌名字字体 - font color: 字体颜色 - text box mana symbols: 文字栏法术力符号 - green style: 绿色风格 - land style: 地牌风格 - center text: 文字居中 - colored rarities: 稀有度变色 - left align artist: 画家左对齐 - inverted common symbol: 反转普通系列符号 - - magic-mana-*.mse-symbol-font: - # note: reminder/shortcut must start with a space, otherwise it is used as a shortcut - # so typing T *anywhere* would insert a symbol (which would be bad) - menu item T: 横置符号 T - menu item Q: 重置符号 Q - menu item W: 白色法术力 W - menu item U: 蓝色法术力 U - menu item B: 黑色法术力 B - menu item R: 红色法术力 R - menu item G: 绿色法术力 G - menu item S: 雪境法术力 S - menu item X: 可变法术力 X X - menu item Y: 可变法术力 Y Y - menu item Z: 可变法术力 Z Z - menu item I: 无限法术力 I - menu item colorless: 无色法术力... - title colorless: 无色法术力 - message colorless: 输入无色法术力数量: - menu item half: 一半法术力 - menu item |W: 白色法术力 |W - menu item |U: 蓝色法术力 |U - menu item |B: 黑色法术力 |B - menu item |R: 红色法术力 |R - menu item |G: 绿色法术力 |G - menu item |S: 雪境法术力 |S - menu item 1/2: 无色法术力 1/2 - menu item hybrid: 混合法术力(双色) - menu item W/U: 白/蓝 法术力 W/U - menu item U/B: 蓝/黑 法术力 U/B - menu item B/R: 黑/红 法术力 B/R - menu item R/G: 红/绿 法术力 R/G - menu item G/W: 绿/白 法术力 G/W - menu item W/B: 白/黑 法术力 W/B - menu item U/R: 蓝/红 法术力 U/R - menu item B/G: 黑/绿 法术力 B/G - menu item R/W: 红/白 法术力 R/W - menu item G/U: 绿/蓝 法术力 G/U - menu item hybrid 3: 混合法术力(三色) - menu item W/U/B: 白/蓝/黑 法术力 W/U/B - menu item U/B/R: 蓝/黑/红 法术力 U/B/R - menu item B/R/G: 黑/红/绿 法术力 B/R/G - menu item R/G/W: 红/绿/白 法术力 R/G/W - menu item G/W/U: 绿/白/蓝 法术力 G/W/U - menu item W/B/R: 白/黑/红 法术力 W/B/R - menu item U/R/G: 蓝/红/绿 法术力 U/R/G - menu item B/G/W: 黑/绿/白 法术力 B/G/W - menu item R/W/U: 红/白/蓝 法术力 R/W/U - menu item G/U/B: 绿/蓝/黑 法术力 G/U/B - +mse version: 0.3.8 +installer group: translations/Simplified Chinese +full name: 简体中文 (Simplified Chinese) +version: 2009-01-15 +icon: cn.png + +############################################################## Menu items +menu: + file: 文件 + new set: 新建套牌... Ctrl+N + open set: 打开套牌... Ctrl+O + save set: 保存套牌 Ctrl+S + save set as: 套牌另存为... F12 + export: 导出 + export html: HTML文件... + export image: 卡牌图像... + export images: 全部卡牌图像... + export apprentice: Apprentice... + export mws: Magic Workstation... + check updates: 检查更新... + print preview: 打印预览... + print: 打印... Ctrl+P + reload data: 重新载入数据 Ctrl+F5 + exit: 退出 Alt+F4 + + edit: 编辑 + undo: 撤销%s Ctrl+Z + redo: 重做%s Ctrl+Y + cut: 剪切 Ctrl+X + copy: 复制 Ctrl+C + paste: 粘贴 Ctrl+V + find: 查找 Ctrl+F + find next: 查找下一个 F3 + replace: 替换 Ctrl+H + auto replace: 自动替换... + preferences: 参数设置... + + cards: 卡牌 + previous card: 选择上一张卡牌 PgUp + next card: 选择下一张卡牌 PgDn + add card: 添加卡牌 Ctrl+Enter + add cards: 批量添加卡牌... + remove card: 删除所选卡牌 + orientation: 旋转 + rotate 0: 普通 + rotate 270: 顺时针旋转90° + rotate 90: 逆时针旋转90 + rotate 180: 上下翻转180° + card list columns: 卡牌列表栏... + + keywords: 关键词 + previous keyword: 选择上一个关键词 PgUp + next keyword: 选择下一个关键词 PgDn + add keyword: 添加关键词 Ctrl+Enter + remove keyword: 删除所选关键词 Del + + format: 字体格式 + bold: 粗体 Ctrl+B + italic: 斜体 Ctrl+I + symbols: 符号 Ctrl+M + reminder text: 提示文本 Ctrl+R + insert symbol: 插入符号 +#_ADD # spelling +#_ADD no spelling suggestions: (no suggestions) + + graph: 图像 + pie: 饼形图 1 + bar: 条形图 2 + stack: 堆叠条形图 3 + scatter: 散点图 4 + scatter pie: 散饼图 5 + + window: 窗口 + new window: 新建窗口 + cards tab: 卡牌编辑 F5 + set info tab: 套牌信息 F6 + style tab: 风格选择 F7 + keywords tab: 关键词 F8 + stats tab: 统计结果 F9 +#_ADD random pack tab: &Random Packs + + help: 帮助 + index: 索引... F1 + website: 官方网站... + about: 关于Magic Set Editor... + + # symbol editor + + new symbol: 新建... Ctrl+N + open symbol: 打开... Ctrl+O + save symbol: 保存 Ctrl+S + save symbol as: 另存为... F12 + store symbol: 储存 Ctrl+Enter + close symbol editor: 关闭 Alt+F4 + + duplicate: 复制 Ctrl+D + group: 分组 Ctrl+G + ungroup: 取消分组 Ctrl+U + + tool: 工具 + select: 选择 F5 + rotate: 旋转 F6 + points: 控制点 F7 + basic shapes: 基本形状 F8 + symmetry: 对称效果 F9 + paint: 笔刷 F10 + +############################################################## Menu help texts +help: + welcome: 欢迎使用 Magic Set Editor + + file: + new set: 创建新套牌 + open set: 打开已有套牌 + last opened set: 打开 '%s' + save set: 保存现有套牌 + save set as: 使用新文件名保存套牌 + export: 导出套牌... + export html: 将套牌导出成网页格式 + export image: 将所选卡牌导出成为一张图片 + export images: 将所有卡牌导出成图片 + export apprentice: 将套牌导出成为能在 Apprentice 中使用的格式 + export mws: 将套牌导出成为能在 Magic Workstation 中使用的格式 + check updates: 安装或升级文件包 + print preview: 显示即将被打印的卡牌 + print: 从本套牌中打印这张牌 + reload data: 重新载入所有模板(游戏类型和样式)和套牌数据. + exit: 退出Magic Set Editor程序,请迅速保存你的套牌 + + edit: + undo: 撤销上一个动作 + redo: 重做上一个动作 + cut: 将选中的文字剪切至剪切板 + cut card: 将选中的卡牌剪切至剪切板 + cut keyword: 将选中的关键词剪切至剪切板 + copy: 将选中的文字复制至剪切板 + copy card: 将选中的卡牌复制至剪切板 + copy keyword: 将选中的关键词复制至剪切板 + paste: 从剪切板插入文字 + paste card: 从剪切板插入卡牌 + paste keyword: 从剪切板插入关键词 + find: 搜索卡牌文字 + find next: 查找下一个 + replace: 替换卡牌文字 + auto replace: 自动替换什么文字? + preferences: 修改Magic Set Editor的设置 + + cards: + previous card: 选择列表中的上一张卡牌 + next card: 选择列表中的下一张卡牌 + add card: 添加一个新的空白卡牌到本套牌 + add cards: 添加多张卡牌到本套牌 + remove card: 从本套牌中删除所选卡牌 + orientation: 调整所显示卡牌的方向 + rotate card: 将所显示卡牌顺时针旋转90° + rotate 0: 将所显示卡牌还原为正常模式 + rotate 270: 将所显示卡牌顺时针旋转 + rotate 90: 将所显示卡牌逆时针旋转 + rotate 180: 将所显示卡牌上下翻转 + card list columns: 调整卡牌列表栏显示项目和显示顺序 + + keywords: + previous keyword: 从列表中选择上一个关键词 + next keyword: 从列表中选择下一个关键词 + add keyword: 添加一个新关键词到本套牌中 + remove keyword: 从本套牌中删除选中的关键词 + + format: + bold: 将所选文字设为粗体 + italic: 将所选文字设为斜体 + symbols: 将所选文字改成符号 + reminder text: 对选择的关键词显示提示文本 +#_ADD # spelling +#_ADD no spelling suggestions: There are no suggestions for correcting this error + + graph: + pie: 饼状图,每一份的大小取决与卡牌数量 + bar: 条形图,条形高度取决于卡牌数量 + stack: 条形图,堆叠条形图 + scatter: 散点图,每一个散点的大小取决与卡牌数量 + scatter pie: 散饼图,每一个三点都是一个小型饼状图 + + window: + new window: 创建一个额外窗口用来编辑同一套牌 + cards tab: 编辑套牌中的卡牌 + set info tab: 编辑套牌信息,例如创建者,其他 + style tab: 改变卡牌样式 + keywords tab: 定义本套牌额外的关键词 + stats tab: 显示本套牌的统计情况 +#_ADD random pack tab: Try how the set works out in practice by generating random booster packs. + + help: + index: + website: + about: + + # Cards panel +#_ADD collapse notes: Hide the card notes box +#_ADD expand notes: Show the card notes box + # Random pack panel +#_ADD random seed: Different packs will be generated each time. +#_ADD fixed seed: Using the same seed number gives the same 'random' packs. +#_ADD seed: Seed number for the random generator. Using the same seed number gives the same 'random' packs. +#_ADD edit pack type: Double click to edit pack type +#_ADD number of packs: The number of %ss to generate + + # Preferences + app language: + 注意: 你必须重新启动MSE才能使语言修改生效 + zoom export: + (当关闭该项的时候,卡牌会按照以下规则导出: + 100%大小,不旋转) + + # apprentice export + set code: 套牌代码是一个双字节代码,它能被Apprentice识别成一幅套牌 + + # Symbol editor + new symbol: 创建一个新的系列符号 + open symbol: 打开一个系列符号 + save symbol: 保存系列符号 + save symbol as: 使用不同文件名保存系列符号 + store symbol: 将系列符号储存进套牌 + close symbol editor: 关闭系列符号编辑器 + + duplicate: 复制所选图形 + group: 所选图形分成一组 + ungroup: 取消所选分组 + + grid: 显示网格线 + snap: 吸附形状和控制点到网格线 + + tool: + select: 选择并移动形状 + rotate: 旋转并修剪形状 + points: 编辑形状控制点 + basic shapes: 绘制基本形状,例如矩形和圆形 + symmetry: 给系列符号添加对称效果 + paint: 用笔刷在图形上绘制 + + select editor: + merge: 把这个图形融合到下面 + subtract: 把这个图形从下面剪掉,仅保留不在这个图形,但是在下面图形的区域 + intersect: 把这个图形和下面相交,仅保留图像共有区域 + difference: 这个图形和下面不相交,仅仅保留不在其他图形的区域 + overlap: 替换并且将边框覆盖到上面的图形 + border: 把这个图形绘制为边框 + + drag to shear: 拖拽,修改选定的 %s + drag to rotate: 拖拽,修改选定部分的旋转角度 %s;按住Ctrl,强制旋转15° + drag to resize: 拖拽,修改选定部分的大小 %s,;按住Ctrl,强制修改大小 + click to select shape: 点击,选择图形;拖拽,移动图形;双击,编辑图形 + + ellipse: 绘制圆形及椭圆形 + rectangle: 绘制正方形及矩形 + polygon: 绘制多边形 + star: 绘制星形 + sides: 确定多边形或者星形的边数 + drag to draw shape: 拖拽,调整图形大小,按住Ctrl,强制修改图形,按住Shift,图形居中 + draw ellipse: 点击并且拖拽,绘制一个椭圆形,按住Ctrl,绘制圆形 + draw rectangle: 点击并且拖拽,绘制一个矩形,按住Ctrl,绘制正方形 + draw polygon: 点击并且拖拽,绘制一个多边形 + draw star: 点击并且拖拽,绘制一个星形 + + line segment: 将所选线段变成直线 + curve segment: 将所选线段变成曲线 + free point: 允许两个控制点自由移动 + smooth point: 使被选择的点平滑,用两个控制点互相相反的方式替换 + symmetric point: 将被选择的点做对称效果 + drag to move curve: 拖拽来移动曲线 + drag to move line: 按住Alt键并且拖拽,移动曲线;双击,在线上添加一个点 + drag to move point: 点击并拖拽,移动控制点;双击,移除该点 + + rotation: 旋转对称(环形效果) + reflection: 反转对称(镜像效果) + add symmetry: 所选部分添加对称效果 + remove symmetry: 移除对称效果 + copies: 输入反转数值(包含原始数值) + + # Card select + filename format: (使用 {card.name} 作为卡片名称;文件类型由扩展名决定) + +############################################################## Toolbar +tool: + undo: 撤销 + redo: 重做 + + cards tab: 卡牌编辑 + set info tab: 套牌信息 + style tab: 风格样式 + keywords tab: 关键词 + stats tab: 统计结果 +#_ADD random pack tab: Random + + # symbol editor + store symbol: 储存 + + grid: 网格 + snap: 吸附 + + select: 选择 + rotate: 旋转 + points: 控制点 + basic shapes: 基本形状 + symmetry: 对称效果 + paint: 笔刷 + + merge: 融合 + subtract: 减去 + intersect: 相交 + difference: 不相交 + overlap: 覆盖 + border: 边框 + + ellipse: 椭圆形 + rectangle: 矩形 + polygon: 多边形 + star: 星形 + + rotation: 旋转 + reflection: 反转 + add symmetry: 添加对称效果 + remove symmetry: 移除对称效果 + + line segment: 直线 + curve segment: 曲线 + free point: 自由 + smooth point: 平滑 + symmetric point: 对称 + +############################################################## Toolbar help text +tooltip: + cards tab: 卡牌编辑 + set info tab: 套牌信息 + style tab: 风格样式 + keywords tab: 关键词 + stats tab: 统计结果 +#_ADD random pack tab: Random packs + + new set: 新建套牌 + open set: 打开套牌 + save set: 保存套牌 + export: 导出 + + cut: 剪切 + copy: 复制 + paste: 粘贴 + undo: 撤销%s + redo: 重做%s + + add card: 添加卡牌 + remove card: 移除选中卡牌 + rotate card: 旋转卡牌 + + add keyword: 添加关键词 + remove keyword: 移除所选关键词 + + bold: 粗体 + italic: 斜体 + symbols: 系列符号 + reminder text: 提示文本 + + pie: 饼形图 + bar: 条形图 + stack: 堆叠条形图 + scatter: 散点图 + scatter pie: 散饼图 + + cards tab: 卡牌 + set info tab: 套牌信息 + style tab: 样式 + keywords tab: 关键词 + stats tab: 统计 + + # symbol editor + store symbol: 将系列符号保存到套牌 + + grid: 显示网格 + snap: 吸附网格 + + select: 选择 (F5) + rotate: 旋转 (F6) + points: 控制点 (F7) + basic shapes: 基本形状 (F8) + symmetry: 对称效果 (F9) + paint: 笔刷 (F10) + + merge: 和下面的图形融合 + subtract: 从下面的图形减去 + intersect: 和下面的图形相交 + difference: 和下面的图形不相交 + overlap: 覆盖上面的其他图形 + border: 绘制边框 + + ellipse: 圆形 / 椭圆形 + rectangle: 正方形 /矩形 + polygon: 多边形 + star: 星型 + + rotation: 旋转对称(环形效果) + reflection: 反转对称(镜像效果) + add symmetry: 所选部分添加对称效果 + remove symmetry: 移除对称效果 + + line segment: 变成直线 + curve segment: 变成曲线 + free point: 解锁点 + smooth point: 点平滑效果 + symmetric point: 点对称效果 + +############################################################## Labels in the GUI +label: + # Cards tab + card notes: 卡牌信息: + # Keywords tab + keyword: 关键词 + match: 匹配 + mode: 类型 + uses: 使用次数 + reminder: 提示文本 + rules: 额外规则 + standard keyword: + 这是一个标准的 %s 关键词,你不需要编辑它。 + 如果你做了一个关键词的备份,那么你的备份将优先被使用 + + # Style tab + styling options: 样式选项 + + # Random pack panel +#_ADD pack selection: Pack selection +#_ADD pack totals: Totals +#_ADD pack name: Pack name +#_ADD seed: Seed +#_ADD total cards: Total + + # Open dialogs + all files 全部文件 + + # Other set window dialogs + save changes: + 套牌 '%s' 已经被修改。 + + 你想保存修改吗? + + # New set window + game type: 游戏类型: + style type: 风格样式: + + stylesheet not found: + 你要打开的套牌使用的是 "%s" 样式表 + 这个样式表在你的系统里没有找到,请选择其他方案 + + # Preferences + language: 语言 +#_ADD windows: Open sets + app language: 程序界面语言: + card display: 卡牌显示 + zoom: 缩放: + percent of normal: % 之后导出 + external programs: 外部程序 + apprentice: Apprentice: + apprentice exe: 可执行Apprentice + check at startup: 程序运行时检查新版本 + checking requires internet: + 检查新版本需要接入互联网。 + 没有接入互联网的时候不检查更新。 + + 检查更新时不会搜集用户信息。 + + # Column select + select columns: 选择你要显示的栏目 + columns: 栏目: + + # Card select / images export +#_ADD select cards: Cards to export +#_ADD selected card count: %s cards will be exported. + select cards print: 选择需要打印的卡牌 + filename format: 格式: + filename conflicts: 处理重复文件名: + export filenames: 文件名 +#_DEL cards to export: 导出卡牌 + filename is ignored: (忽略文件名) + + # apprentice export + set code: 设置套牌代码: + apprentice export cancelled: 导出到 Apprentice 的过程被取消 + + # Html export + html template: 模板: + html export options: 导出选项 + + # Image slicer + original: 原始: + result: 结果: + size: 大小 +#_ADD original size: &Original Size +#_ADD size to fit: Size to &Fit +#_ADD force to fit: F&orce to Fit +#_ADD custom size: &Custom Size + selection: 选取 +#_ADD selection left: &Left +#_ADD selection top: &Top +#_ADD selection width: &Width +#_ADD selection height: &Height + zoom: 缩放 +#_ADD fix aspect ratio: Fix aspect ratio (width/height) +#_ADD zoom amount: Zoom +#_ADD zoom amount x: Zoom &X +#_ADD zoom amount y: Zoom &Y +#_ADD zoom %: % + filter: 过滤 +#_ADD sharpen filter: &Sharpen filter + + # Auto replace + auto match: 匹配 + auto replace: 替换 + + # Symbol editor + sides: 侧 + + # Packages window + package name: 文件包 + package status: 状态 + package action: 动作 + + package conflicts: 矛盾修改 + package modified: 本地修改 + package updates: 可用升级 + package installed: 已安装 + package installable: 未安装 + install package: 安装 +#_ADD reinstall package: reinstall + upgrade package: 升级 + remove package: 移除 + +#_ADD installed version: Installed version: +#_ADD installable version: Latest version: +#_ADD installer size: Size: +#_ADD installer status: Status: +#_ADD no version: - +#_ADD +############################################################## Buttons/checkboxes/choices in the GUI +button: + # Editor + edit symbol: 编辑 + symbol gallery: 画廊 + + # Style panel + use for all cards: 应用到全部卡牌 + use custom styling options: 本张卡牌使用特殊设置 + + # Keywords panel + insert parameter: 插入参数... + refer parameter: 提交参数... + + # Random pack panel +#_ADD generate pack: &Generate Pack +#_ADD random seed: &Random Seed +#_ADD fixed seed: &Fixed Seed +#_ADD add custom pack: Add &Custom Pack... + + # Welcome + new set: 新建套牌 + open set: 打开套牌 + check updates: 检查更新 + last opened set: 上一次打开的套牌 + + # Preferences +#_ADD open sets in new window: Open all sets in a new &window + select: 选择... + browse: 浏览... + high quality: 高质量渲染效果 + show lines: 各个编辑区域显示线 + show editing hints: 编辑的时候显示虚线提示框 + zoom export: 当导出时采用上面缩放和旋转设置 + check now: 立刻检查 + always: 总是 + if internet connection exists: 如果接入互联网 + never: 从不 + + # Column select + move up: 向上移动 + move down: 向下移动 + show: 显示 + hide: 隐藏 + + # Card select +#_ADD export entire set: Entire set +#_ADD export generated packs: Generated packs +#_ADD export custom cards selection: Custom selection +#_ADD select cards: &Select Cards... + select all: 全选 + select none: 全不选 + overwrite: 覆盖旧文件 + keep old: 保留旧文件 + number: 文件名添加序号 + number overwrite: 文件名添加序号,覆盖上次导出的结果 + + # Auto replace + use auto replace: 使用自动替换 + add item: 添加 + remove item: 移出 + defaults: 还原默认 + enabled: 开启 + whole word: 匹配整个字符串 + + # Old style update checker (NOTE: this will be removed in a feature version) + close: 关闭 + + # Packages window + keep package: 不修改 + don't install package: 不安装 + install package: 安装 + upgrade package: 升级 +#_ADD reinstall package: Re&install + remove package: 移除 + install group: 全部安装 + upgrade group: 全部升级 + remove group: 全部移除 + +############################################################## Titles in the GUI +title: + magic set editor: Magic Set Editor 由 slimeking 漢化制作 + %s - magic set editor: %s - Magic Set Editor 由 slimeking 漢化制作 + untitled: 无标题 + about: 关于 Magic Set Editor 由slimeking漢化制作 + symbol editor: 系列符号编辑器 由slimeking漢化制作 + # dialogs + new set: 新建套牌 + open set: 打开套牌 + save set: 套牌另存为 + save image: 保存图片 + updates available: 可用更新 + save changes: 保存修改? + select stylesheet: 选择样式表 + #preferences + preferences: 设置 + global: 全局 + display: 显示 + directories: 目录 + updates: 升级更新 + update check: 检查更新 + locate apprentice: 定位 Apprentice + # select + select columns: 选择栏目 + select cards: 选择卡牌 + select cards export: 导出选中的卡牌 + # slice + slice image: 图片切片 +#_ADD # pack +#_ADD custom pack: Custom Pack Type + # print + print preview: 打印预览 + # export + export images: 导出为图像 + export cancelled: 导出取消 + export html: 导出为HTML + save html: 保存为HTML + # auto replace + auto replaces: 自动替换 + + # Package Update Window + packages window: 文件包管理器 + installing updates: 安装更新 + + cannot create file: 无法创建文件 + +############################################################## Action (undo/redo) names +action: + # List boxes + add item: 添加 %s + remove item: 移除 %s + + # Text editor + typing: 键入 + enter: 进入 + soft line break: 切断软线 + insert symbol: 插入符号 + backspace: 退格 + delete: 删除 + cut: 剪切 + paste: 粘贴 + auto replace: 自动替换 +#_ADD correct: Spelling Correction + # Choice/color editors + change: 修改 %s + + # Symbol Actions + move: 移动 %s + rotate: 旋转 %s + shear: 修剪 %s + scale: 改变尺寸 %s + duplicate: 复制 %s + reorder parts: 再添加 + change combine mode: 改变联合模式 + change shape name: 改变图形名字 + group parts: 分组 + ungroup parts: 取消分组 + + # Symbol Part Actions + convert to line: 转换成直线 + convert to curve: 转换成曲线 + lock point: 锁定点 + move handle: 移动手柄 + move curve: 移动曲线 + add control point: 添加控制点 + delete point: 删除控制点 + delete points: 删除多个控制点 + + # Symmetry + add symmetry: 添加对称效果 + #remove symmetry: 移除对称效果 + move symmetry center: 移动对称中心 + move symmetry handle: 改变对称方向 + change symmetry type: 改变对称类型 + change symmetry copies: 反转角度 + +############################################################## Error messages +error: + # File related + file not found: 没有找到文件: '%s' 在 '%s' 文件包中 + file not found package like: + 没有找到文件:'%s' 在 '%s' 文件包中 + 如果你尝试从别的文件包中打开文件, 使用以下格式"/package/filename" + file parse error: + 处理文件发生错误:'%s' + %s + package not found: 文件包没有找到: '%s' + package out of date: 文件包 '%s' (版本 %s) 过期,需要 %s 以上版本 + package too new: 文件包 '%s' (版本 %s)与这个版本不兼容 %s,需要 '%s' 以上版本 + unable to open output file: 保存时出错,无法打开输出文件 + unable to store file: 保存时出错,无法储存文件 + dependency not given: + 文件包 '%s' 所使用的文件来自于文件包 '%s' ,但是列表中并没有该附加项 + 要解决这个问题,添加: + 附加项目 到: %s %s + + # Script stuff + has no member: %s 没有成员 '%s' + can't convert: 无法将 %s 转换成 %s + has no member value: 字符串 "%s" 没有成员 '%s' + can't convert value: 无法将 "%s" 从 %s 转化成 %s + unsupported format: 无效字符串格式:'%s' + in function: + %s + 在函数中 %s + in parameter: + 参数 %s: %s + in keyword reminder: + %s + 在提示文本里的关键词 '%s' + + # Image stuff + coordinates for blending overlap: 坐标混合重叠 + images used for blending must have the same size: 边框用图像必须使用相同大小 + + # Error from files + no game specified: 没有为 %s 指定游戏类型 + no stylesheet specified for the set: 没有为套牌制定样式表 + stylesheet and set refer to different game: + 样式表文件有错误,样式表和套牌与该游戏类型不相关。 + unsupported field type: 不支持的区域类型:'%s' + unsupported fill type: 不支持的填充类型: '%s' + unrecognized value: 无法识别的值:'%s' + expected key: 预期中的关键:'%s' + aborting parsing: 遇到致命错误,放弃读取 + newer version: + %s + 这个文件是由更高版本的 Magic Set Editor (%s) 制作的 + 当你打开它的时候,文件中的一些外观会丢失 + 推荐你升级到最新版本 + 浏览官方网站 http:://magicseteditor.sourceforge.net/ + word list type not found: 词语列表类型 %s 没有找到 (从 标签中) +#_ADD pack item not found: The pack item "%s" was not found (from a pack type) +#_ADD pack type not found: The pack type "%s" was not found (from a pack type) + + # Update checking + checking updates failed: 检查更新失败。 + no updates: 没有可用更新。 + + # Stats panel + dimension not found: 没有统计数据 '%s' + +#_ADD # Random packs +#_ADD pack type duplicate name: + There is already a pack type named '%s'. + Please choose a different name. +#_ADD + # Package update window +# checking updates: 检查更新 + can't download installer: + 无法为文件包 %s 下载安装程序,从 %s + 没有更新被安装 + + downloading updates: 更新文件下载中 (%d of %d) + installing updates: 文件包升级中 (%d of %d) + + remove packages: + 即将移除 %s 文件包,你想继续吗? + remove packages modified: + 在 %s 安装修改完毕后,将要移除 %s 文件包 + 被移除的文件将无法恢复。 + + 你想继续吗? + install packages successful: %s 文件包被成功安装 + remove packages successful: %s 文件包被成功移除. + change packages successful: %s 文件包被成功修改 + + cannot create file: 无法创建文件 '%s' ,继续安装? + +############################################################## Types used in scripts / shape names +type: + function: 函数 + collection: 收集 + collection of: 收集 %ss + object: 目标 + double: 实数 + integer: 整数 + string: 字符串 + boolean: 逻辑型 + color: 颜色 + image: 图像 +#_ADD date: date + nil: 什么都不做 + + # Object types + package: 文件包 + locale: 翻译 + game: 游戏 + set: 套牌 + stylesheet: 样式表 + export template:export 模板 +#_ADD symbol: symbol + card: 卡牌 + cards: 多张卡牌 + field: 区域 + style: 样式 + value: 值 + keyword: 关键词 + keywords: 关键词 +#_ADD pack: pack type + + # Symbol editor shapes + shape: 图形 + shapes: 多个图形 + circle: 圆形 + ellipse: 椭圆形 + square: 正方形 + rectangle: 矩形 + triangle: 三角形 + rhombus: 菱形 + pentagon: 五边形 + hexagon: 六边形 + polygon: 多边形 + star: 星形 + + rotation: 旋转 + reflection: 反转 + group: 分组 + + point: 控制点 + points: 多个控制点 + +############################################################## Magic +package: + magic.mse-game: + # Card fields + name: 名称 + cc: 总费用 + type: 类型 + p/t: 力量/防御 + rarity: 稀有度 + card name: 卡牌名字 + + # Set info + title: 标题 + description: 描述 + artist: 画家 + copyright: 版权 + symbol: 系列符号 + + border color: 边框颜色 + automatic reminder text: 自动提示文本 + automatic card numbers: 自动卡牌编号 + sort special rarity: 特殊稀有度卡排排序 + mark errors: 标出错误 + use gradient multicolor: 使用倾斜多色 + + + + # descriptions/help text + artifact style: 神器风格 + saturated multicolor: 标准多色牌 + shifted sorting: 排序变换 + darker artifacts: 更深色神器 + grey hybrid name: 混色牌名字变灰 + colored multicolor land name: 多色牌和地牌的名字变色 + grey hybrid typeline: 混色牌类型线变灰 + use guild mana symbols: 使用工会符号 + one textline tokens: 一条文本线 衍生物 + alpha style blending: 阿尔法风格混合 + type of gradient multicolor: 倾斜多色类型 + type of gradient artifact: 倾斜神器类型 + tap symbol: 横置符号 + image size: 图像大小 + cardname font: 卡牌名字字体 + font color: 字体颜色 + text box mana symbols: 文字栏法术力符号 + green style: 绿色风格 + land style: 地牌风格 + center text: 文字居中 + colored rarities: 稀有度变色 + left align artist: 画家左对齐 + inverted common symbol: 反转普通系列符号 + + magic-mana-*.mse-symbol-font: + # note: reminder/shortcut must start with a space, otherwise it is used as a shortcut + # so typing T *anywhere* would insert a symbol (which would be bad) + menu item T: 横置符号 T + menu item Q: 重置符号 Q + menu item W: 白色法术力 W + menu item U: 蓝色法术力 U + menu item B: 黑色法术力 B + menu item R: 红色法术力 R + menu item G: 绿色法术力 G + menu item S: 雪境法术力 S + menu item X: 可变法术力 X X + menu item Y: 可变法术力 Y Y + menu item Z: 可变法术力 Z Z + menu item I: 无限法术力 I + menu item colorless: 无色法术力... + title colorless: 无色法术力 + message colorless: 输入无色法术力数量: + menu item half: 一半法术力 + menu item |W: 白色法术力 |W + menu item |U: 蓝色法术力 |U + menu item |B: 黑色法术力 |B + menu item |R: 红色法术力 |R + menu item |G: 绿色法术力 |G + menu item |S: 雪境法术力 |S + menu item 1/2: 无色法术力 1/2 + menu item hybrid: 混合法术力(双色) + menu item W/U: 白/蓝 法术力 W/U + menu item U/B: 蓝/黑 法术力 U/B + menu item B/R: 黑/红 法术力 B/R + menu item R/G: 红/绿 法术力 R/G + menu item G/W: 绿/白 法术力 G/W + menu item W/B: 白/黑 法术力 W/B + menu item U/R: 蓝/红 法术力 U/R + menu item B/G: 黑/绿 法术力 B/G + menu item R/W: 红/白 法术力 R/W + menu item G/U: 绿/蓝 法术力 G/U + menu item hybrid 3: 混合法术力(三色) + menu item W/U/B: 白/蓝/黑 法术力 W/U/B + menu item U/B/R: 蓝/黑/红 法术力 U/B/R + menu item B/R/G: 黑/红/绿 法术力 B/R/G + menu item R/G/W: 红/绿/白 法术力 R/G/W + menu item G/W/U: 绿/白/蓝 法术力 G/W/U + menu item W/B/R: 白/黑/红 法术力 W/B/R + menu item U/R/G: 蓝/红/绿 法术力 U/R/G + menu item B/G/W: 黑/绿/白 法术力 B/G/W + menu item R/W/U: 红/白/蓝 法术力 R/W/U + menu item G/U/B: 绿/蓝/黑 法术力 G/U/B + diff --git a/data/cht.mse-locale/locale b/data/cht.mse-locale/locale index c9d2bab4..3aae5dd3 100644 --- a/data/cht.mse-locale/locale +++ b/data/cht.mse-locale/locale @@ -1,968 +1,968 @@ -mse version: 0.3.8 -installer group: translations/Traditional Chinese -full name: 繁體中文 (Traditional Chinese) -version: 2009-01-15 -icon: cn.png - -############################################################## Menu items -menu: - file: 文件 - new set: 新建套牌... Ctrl+N - open set: 打開套牌... Ctrl+O - save set: 保存套牌 Ctrl+S - save set as: 套牌另存為... F12 - export: 導出 - export html: HTML文件... - export image: 卡牌圖像... - export images: 全部卡牌圖像... - export apprentice: Apprentice... - export mws: Magic Workstation... - check updates: 檢查更新... - print preview: 打印預覽... - print: 打印... Ctrl+P - reload data: 重新載入資料 Ctrl+F5 - exit: 退出 Alt+F4 - - edit: 編輯 - undo: 撤銷%s Ctrl+Z - redo: 重做%s Ctrl+Y - cut: 剪切 Ctrl+X - copy: 復制 Ctrl+C - paste: 貼上 Ctrl+V - find: 搜尋 Ctrl+F - find next: 搜尋下一個 F3 - replace: 替換 Ctrl+H - auto replace: 自動替換... - preferences: 參數設置... - - cards: 卡牌 - previous card: 選擇上一張卡牌 PgUp - next card: 選擇下一張卡牌 PgDn - add card: 添加卡牌 Ctrl+Enter - add cards: 批量添加卡牌... - remove card: 刪除所選卡牌 - orientation: 旋轉 - rotate 0: 普通 - rotate 270: 順時針旋轉90° - rotate 90: 逆時針旋轉90 - rotate 180: 上下翻轉180° - card list columns: 卡牌列表欄... - - keywords: 關鍵詞 - previous keyword: 選擇上一個關鍵詞 PgUp - next keyword: 選擇下一個關鍵詞 PgDn - add keyword: 添加關鍵詞 Ctrl+Enter - remove keyword: 刪除所選關鍵詞 Del - - format: 字體格式 - bold: 粗體 Ctrl+B - italic: 斜體 Ctrl+I - symbols: 符號 Ctrl+M - reminder text: 提示文本 Ctrl+R - insert symbol: 插入符號 -#_ADD # spelling -#_ADD no spelling suggestions: (no suggestions) - - graph: 圖像 - pie: 餅形圖 1 - bar: 條形圖 2 - stack: 堆疊條形圖 3 - scatter: 散點圖 4 - scatter pie: 散餅圖 5 - - window: 視窗 - new window: 新建視窗 - cards tab: 卡牌編輯 F5 - set info tab: 套牌資訊 F6 - style tab: 風格選擇 F7 - keywords tab: 關鍵詞 F8 - stats tab: 統計結果 F9 -#_ADD random pack tab: &Random Packs - - help: 幫助 - index: 索引... F1 - website: 官方網站... - about: 關於Magic Set Editor... - - # symbol editor - - new symbol: 新建... Ctrl+N - open symbol: 打開... Ctrl+O - save symbol: 保存 Ctrl+S - save symbol as: 另存為... F12 - store symbol: 儲存 Ctrl+Enter - close symbol editor: 關閉 Alt+F4 - - duplicate: 復制 Ctrl+D - group: 分組 Ctrl+G - ungroup: 取消分組 Ctrl+U - - tool: 工具 - select: 選擇 F5 - rotate: 旋轉 F6 - points: 控制點 F7 - basic shapes: 基本形狀 F8 - symmetry: 對稱效果 F9 - paint: 筆刷 F10 - -############################################################## Menu help texts -help: - welcome: 歡迎使用 Magic Set Editor - - file: - new set: 創建新套牌 - open set: 打開已有套牌 - last opened set: 打開 '%s' - save set: 保存現有套牌 - save set as: 使用新文件名保存套牌 - export: 導出套牌... - export html: 將套牌導出成網頁格式 - export image: 將所選卡牌導出成為一張圖片 - export images: 將所有卡牌導出成圖片 - export apprentice: 將套牌導出成為能在 Apprentice 中使用的格式 - export mws: 將套牌導出成為能在 Magic Workstation 中使用的格式 - check updates: 安裝或昇級文件包 - print preview: 顯示即將被打印的卡牌 - print: 從本套牌中打印這張牌 - reload data: 重新載入所有模板(游戲類型和樣式)和套牌資料. - exit: 退出Magic Set Editor程序,請迅速保存你的套牌 - - edit: - undo: 撤銷上一個動作 - redo: 重做上一個動作 - cut: 將選中的文字剪切至剪切板 - cut card: 將選中的卡牌剪切至剪切板 - cut keyword: 將選中的關鍵詞剪切至剪切板 - copy: 將選中的文字復制至剪切板 - copy card: 將選中的卡牌復制至剪切板 - copy keyword: 將選中的關鍵詞復制至剪切板 - paste: 從剪切板插入文字 - paste card: 從剪切板插入卡牌 - paste keyword: 從剪切板插入關鍵詞 - find: 搜索卡牌文字 - find next: 搜尋下一個 - replace: 替換卡牌文字 - auto replace: 自動替換什麼文字? - preferences: 修改Magic Set Editor的設置 - - cards: - previous card: 選擇列表中的上一張卡牌 - next card: 選擇列表中的下一張卡牌 - add card: 添加一個新的空白卡牌到本套牌 - add cards: 添加多張卡牌到本套牌 - remove card: 從本套牌中刪除所選卡牌 - orientation: 調整所顯示卡牌的方向 - rotate card: 將所顯示卡牌順時針旋轉90° - rotate 0: 將所顯示卡牌還原為正常模式 - rotate 270: 將所顯示卡牌順時針旋轉 - rotate 90: 將所顯示卡牌逆時針旋轉 - rotate 180: 將所顯示卡牌上下翻轉 - card list columns: 調整卡牌列表欄顯示項目和顯示順序 - - keywords: - previous keyword: 從列表中選擇上一個關鍵詞 - next keyword: 從列表中選擇下一個關鍵詞 - add keyword: 添加一個新關鍵詞到本套牌中 - remove keyword: 從本套牌中刪除選中的關鍵詞 - - format: - bold: 將所選文字設為粗體 - italic: 將所選文字設為斜體 - symbols: 將所選文字改成符號 - reminder text: 對選擇的關鍵詞顯示提示文本 -#_ADD # spelling -#_ADD no spelling suggestions: There are no suggestions for correcting this error - - graph: - pie: 餅狀圖,每一份的大小取決與卡牌數量 - bar: 條形圖,條形高度取決於卡牌數量 - stack: 條形圖,堆疊條形圖 - scatter: 散點圖,每一個散點的大小取決與卡牌數量 - scatter pie: 散餅圖,每一個三點都是一個小型餅狀圖 - - window: - new window: 創建一個額外視窗用來編輯同一套牌 - cards tab: 編輯套牌中的卡牌 - set info tab: 編輯套牌資訊,例如創建者,其他 - style tab: 改變卡牌樣式 - keywords tab: 定義本套牌額外的關鍵詞 - stats tab: 顯示本套牌的統計情況 -#_ADD random pack tab: Try how the set works out in practice by generating random booster packs. - - help: - index: - website: - about: - - # Cards panel -#_ADD collapse notes: Hide the card notes box -#_ADD expand notes: Show the card notes box - # Random pack panel -#_ADD random seed: Different packs will be generated each time. -#_ADD fixed seed: Using the same seed number gives the same 'random' packs. -#_ADD seed: Seed number for the random generator. Using the same seed number gives the same 'random' packs. -#_ADD edit pack type: Double click to edit pack type -#_ADD number of packs: The number of %ss to generate - - # Preferences - app language: - 注意: 你必須重新啟動MSE才能使語言修改生效 - zoom export: - (當關閉該項的時候,卡牌會按照以下規則導出: - 100%大小,不旋轉) - - # apprentice export - set code: 套牌代碼是一個雙位元組代碼,它能被Apprentice識別成一幅套牌 - - # Symbol editor - new symbol: 創建一個新的系列符號 - open symbol: 打開一個系列符號 - save symbol: 保存系列符號 - save symbol as: 使用不同文件名保存系列符號 - store symbol: 將系列符號儲存進套牌 - close symbol editor: 關閉系列符號編輯器 - - duplicate: 復制所選圖形 - group: 所選圖形分成一組 - ungroup: 取消所選分組 - - grid: 顯示網格線 - snap: 吸附形狀和控制點到網格線 - - tool: - select: 選擇並移動形狀 - rotate: 旋轉並修剪形狀 - points: 編輯形狀控制點 - basic shapes: 繪制基本形狀,例如矩形和圓形 - symmetry: 給系列符號添加對稱效果 - paint: 用筆刷在圖形上繪制 - - select editor: - merge: 把這個圖形融合到下面 - subtract: 把這個圖形從下面剪掉,僅保留不在這個圖形,但是在下面圖形的區域 - intersect: 把這個圖形和下面相交,僅保留圖像共有區域 - difference: 這個圖形和下面不相交,僅僅保留不在其他圖形的區域 - overlap: 替換並且將邊框覆蓋到上面的圖形 - border: 把這個圖形繪制為邊框 - - drag to shear: 拖拽,修改選定的 %s - drag to rotate: 拖拽,修改選定部分的旋轉角度 %s;按住Ctrl,強制旋轉15° - drag to resize: 拖拽,修改選定部分的大小 %s,;按住Ctrl,強制修改大小 - click to select shape: 點擊,選擇圖形;拖拽,移動圖形;雙擊,編輯圖形 - - ellipse: 繪制圓形及橢圓形 - rectangle: 繪制正方形及矩形 - polygon: 繪制多邊形 - star: 繪制星形 - sides: 確定多邊形或者星形的邊數 - drag to draw shape: 拖拽,調整圖形大小,按住Ctrl,強制修改圖形,按住Shift,圖形居中 - draw ellipse: 點擊並且拖拽,繪制一個橢圓形,按住Ctrl,繪制圓形 - draw rectangle: 點擊並且拖拽,繪制一個矩形,按住Ctrl,繪制正方形 - draw polygon: 點擊並且拖拽,繪制一個多邊形 - draw star: 點擊並且拖拽,繪制一個星形 - - line segment: 將所選線段變成直線 - curve segment: 將所選線段變成曲線 - free point: 允許兩個控制點自由移動 - smooth point: 使被選擇的點平滑,用兩個控制點互相相反的方式替換 - symmetric point: 將被選擇的點做對稱效果 - drag to move curve: 拖拽來移動曲線 - drag to move line: 按住Alt鍵並且拖拽,移動曲線;雙擊,在線上添加一個點 - drag to move point: 點擊並拖拽,移動控制點;雙擊,移除該點 - - rotation: 旋轉對稱(環形效果) - reflection: 反轉對稱(鏡像效果) - add symmetry: 所選部分添加對稱效果 - remove symmetry: 移除對稱效果 - copies: 輸入反轉數值(包含原始數值) - - # Card select - filename format: (使用 {card.name} 作為卡片名稱;文件類型由擴展名決定) - -############################################################## Toolbar -tool: - undo: 撤銷 - redo: 重做 - - cards tab: 卡牌編輯 - set info tab: 套牌資訊 - style tab: 風格樣式 - keywords tab: 關鍵詞 - stats tab: 統計結果 -#_ADD random pack tab: Random - - # symbol editor - store symbol: 儲存 - - grid: 網格 - snap: 吸附 - - select: 選擇 - rotate: 旋轉 - points: 控制點 - basic shapes: 基本形狀 - symmetry: 對稱效果 - paint: 筆刷 - - merge: 融合 - subtract: 減去 - intersect: 相交 - difference: 不相交 - overlap: 覆蓋 - border: 邊框 - - ellipse: 橢圓形 - rectangle: 矩形 - polygon: 多邊形 - star: 星形 - - rotation: 旋轉 - reflection: 反轉 - add symmetry: 添加對稱效果 - remove symmetry: 移除對稱效果 - - line segment: 直線 - curve segment: 曲線 - free point: 自由 - smooth point: 平滑 - symmetric point: 對稱 - -############################################################## Toolbar help text -tooltip: - cards tab: 卡牌編輯 - set info tab: 套牌資訊 - style tab: 風格樣式 - keywords tab: 關鍵詞 - stats tab: 統計結果 -#_ADD random pack tab: Random packs - - new set: 新建套牌 - open set: 打開套牌 - save set: 保存套牌 - export: 導出 - - cut: 剪切 - copy: 復制 - paste: 貼上 - undo: 撤銷%s - redo: 重做%s - - add card: 添加卡牌 - remove card: 移除選中卡牌 - rotate card: 旋轉卡牌 - - add keyword: 添加關鍵詞 - remove keyword: 移除所選關鍵詞 - - bold: 粗體 - italic: 斜體 - symbols: 系列符號 - reminder text: 提示文本 - - pie: 餅形圖 - bar: 條形圖 - stack: 堆疊條形圖 - scatter: 散點圖 - scatter pie: 散餅圖 - - cards tab: 卡牌 - set info tab: 套牌資訊 - style tab: 樣式 - keywords tab: 關鍵詞 - stats tab: 統計 - - # symbol editor - store symbol: 將系列符號保存到套牌 - - grid: 顯示網格 - snap: 吸附網格 - - select: 選擇 (F5) - rotate: 旋轉 (F6) - points: 控制點 (F7) - basic shapes: 基本形狀 (F8) - symmetry: 對稱效果 (F9) - paint: 筆刷 (F10) - - merge: 和下面的圖形融合 - subtract: 從下面的圖形減去 - intersect: 和下面的圖形相交 - difference: 和下面的圖形不相交 - overlap: 覆蓋上面的其他圖形 - border: 繪制邊框 - - ellipse: 圓形 / 橢圓形 - rectangle: 正方形 /矩形 - polygon: 多邊形 - star: 星型 - - rotation: 旋轉對稱(環形效果) - reflection: 反轉對稱(鏡像效果) - add symmetry: 所選部分添加對稱效果 - remove symmetry: 移除對稱效果 - - line segment: 變成直線 - curve segment: 變成曲線 - free point: 解鎖點 - smooth point: 點平滑效果 - symmetric point: 點對稱效果 - -############################################################## Labels in the GUI -label: - # Cards tab - card notes: 卡牌資訊: - # Keywords tab - keyword: 關鍵詞 - match: 匹配 - mode: 類型 - uses: 使用次數 - reminder: 提示文本 - rules: 額外規則 - standard keyword: - 這是一個標準的 %s 關鍵詞,你不需要編輯它。 - 如果你做了一個關鍵詞的備份,那麼你的備份將優先被使用 - - # Style tab - styling options: 樣式選項 - - # Random pack panel -#_ADD pack selection: Pack selection -#_ADD pack totals: Totals -#_ADD pack name: Pack name -#_ADD seed: Seed -#_ADD total cards: Total - - # Open dialogs - all files 全部文件 - - # Other set window dialogs - save changes: - 套牌 '%s' 已經被修改。 - - 你想保存修改嗎? - - # New set window - game type: 游戲類型: - style type: 風格樣式: - - stylesheet not found: - 你要打開的套牌使用的是 "%s" 樣式表 - 這個樣式表在你的系統里沒有找到,請選擇其他方案 - - # Preferences - language: 語言 -#_ADD windows: Open sets - app language: 程序界面語言: - card display: 卡牌顯示 - zoom: 縮放: - percent of normal: % 之后導出 - external programs: 外部程序 - apprentice: Apprentice: - apprentice exe: 可執行Apprentice - check at startup: 程序運行時檢查新版本 - checking requires internet: - 檢查新版本需要接入互聯網。 - 沒有接入互聯網的時候不檢查更新。 - - 檢查更新時不會搜集使用者資訊。 - - # Column select - select columns: 選擇你要顯示的欄目 - columns: 欄目: - - # Card select / images export - select cards: 導出卡牌 -#_ADD selected card count: %s cards will be exported. - select cards print: 選擇需要打印的卡牌 - filename format: 格式: - filename conflicts: 處理重復文件名: - export filenames: 文件名 - filename is ignored: (忽略文件名) - - # apprentice export - set code: 設置套牌代碼: - apprentice export cancelled: 導出到 Apprentice 的過程被取消 - - # Html export - html template: 模板: - html export options: 導出選項 - - # Image slicer - original: 原始: - result: 結果: - size: 大小 -#_ADD original size: &Original Size -#_ADD size to fit: Size to &Fit -#_ADD force to fit: F&orce to Fit -#_ADD custom size: &Custom Size - selection: 選取 -#_ADD selection left: &Left -#_ADD selection top: &Top -#_ADD selection width: &Width -#_ADD selection height: &Height - zoom: 縮放 -#_ADD fix aspect ratio: Fix aspect ratio (width/height) -#_ADD zoom amount: Zoom -#_ADD zoom amount x: Zoom &X -#_ADD zoom amount y: Zoom &Y -#_ADD zoom %: % - filter: 過濾 -#_ADD sharpen filter: &Sharpen filter - - # Auto replace - auto match: 匹配 - auto replace: 替換 - - # Symbol editor - sides: 側 - - # Packages window - package name: 文件包 - package status: 狀態 - package action: 動作 - - package conflicts: 矛盾修改 - package modified: 本地修改 - package updates: 可用昇級 - package installed: 已安裝 - package installable: 未安裝 - install package: 安裝 -#_ADD reinstall package: reinstall - upgrade package: 昇級 - remove package: 移除 - -#_ADD installed version: Installed version: -#_ADD installable version: Latest version: -#_ADD installer size: Size: -#_ADD installer status: Status: -#_ADD no version: - -#_ADD -############################################################## Buttons/checkboxes/choices in the GUI -button: - # Editor - edit symbol: 編輯 - symbol gallery: 畫廊 - - # Style panel - use for all cards: 應用到全部卡牌 - use custom styling options: 本張卡牌使用特殊設置 - - # Keywords panel - insert parameter: 插入參數... - refer parameter: 提交參數... - - # Random pack panel -#_ADD generate pack: &Generate Pack -#_ADD random seed: &Random Seed -#_ADD fixed seed: &Fixed Seed -#_ADD add custom pack: Add &Custom Pack... - - # Welcome - new set: 新建套牌 - open set: 打開套牌 - check updates: 檢查更新 - last opened set: 上一次打開的套牌 - - # Preferences -#_ADD open sets in new window: Open all sets in a new &window - select: 選擇... - browse: 瀏覽... - high quality: 高質量渲染效果 - show lines: 各個編輯區域顯示線 - show editing hints: 編輯的時候顯示虛線提示框 - zoom export: 當導出時採用上面縮放和旋轉設置 - check now: 立刻檢查 - always: 總是 - if internet connection exists: 如果接入互聯網 - never: 從不 - - # Column select - move up: 向上移動 - move down: 向下移動 - show: 顯示 - hide: 隱藏 - - # Card select -#_ADD export entire set: Entire set -#_ADD export generated packs: Generated packs -#_ADD export custom cards selection: Custom selection -#_ADD select cards: &Select Cards... - select all: 全選 - select none: 全不選 - overwrite: 覆蓋舊文件 - keep old: 保留舊文件 - number: 文件名添加序號 - number overwrite: 文件名添加序號,覆蓋上次導出的結果 - - # Auto replace - use auto replace: 使用自動替換 - add item: 添加 - remove item: 移出 - defaults: 還原預設 - enabled: 開啟 - whole word: 匹配整個字符串 - - # Old style update checker (NOTE: this will be removed in a feature version) - close: 關閉 - - # Packages window - keep package: 不修改 - don't install package: 不安裝 - install package: 安裝 - upgrade package: 昇級 -#_ADD reinstall package: Re&install - remove package: 移除 - install group: 全部安裝 - upgrade group: 全部昇級 - remove group: 全部移除 - -############################################################## Titles in the GUI -title: - magic set editor: Magic Set Editor - %s - magic set editor: %s - Magic Set Editor - untitled: 無標題 - about: 關於 Magic Set Editor - symbol editor: 系列符號編輯器 - # dialogs - new set: 新建套牌 - open set: 打開套牌 - save set: 套牌另存為 - save image: 保存圖片 - updates available: 可用更新 - save changes: 保存修改? - select stylesheet: 選擇樣式表 - #preferences - preferences: 設置 - global: 全局 - display: 顯示 - directories: 目錄 - updates: 昇級更新 - update check: 檢查更新 - locate apprentice: 定位 Apprentice - # select - select columns: 選擇欄目 - select cards: 選擇卡牌 - select cards export: 導出選中的卡牌 - # slice - slice image: 圖片切片 -#_ADD # pack -#_ADD custom pack: Custom Pack Type - # print - print preview: 打印預覽 - # export - export images: 導出為圖像 - export cancelled: 導出取消 - export html: 導出為HTML - save html: 保存為HTML - # auto replace - auto replaces: 自動替換 - - # Package Update Window - packages window: 文件包管理器 - installing updates: 安裝更新 - - cannot create file: 無法創建文件 - -############################################################## Action (undo/redo) names -action: - # List boxes - add item: 添加 %s - remove item: 移除 %s - - # Text editor - typing: 鍵入 - enter: 進入 - soft line break: 切斷軟線 - insert symbol: 插入符號 - backspace: 退格 - delete: 刪除 - cut: 剪切 - paste: 貼上 - auto replace: 自動替換 -#_ADD correct: Spelling Correction - # Choice/color editors - change: 修改 %s - - # Symbol Actions - move: 移動 %s - rotate: 旋轉 %s - shear: 修剪 %s - scale: 改變尺寸 %s - duplicate: 復制 %s - reorder parts: 再添加 - change combine mode: 改變聯合模式 - change shape name: 改變圖形名字 - group parts: 分組 - ungroup parts: 取消分組 - - # Symbol Part Actions - convert to line: 轉換成直線 - convert to curve: 轉換成曲線 - lock point: 鎖定點 - move handle: 移動手柄 - move curve: 移動曲線 - add control point: 添加控制點 - delete point: 刪除控制點 - delete points: 刪除多個控制點 - - # Symmetry - add symmetry: 添加對稱效果 - #remove symmetry: 移除對稱效果 - move symmetry center: 移動對稱中心 - move symmetry handle: 改變對稱方向 - change symmetry type: 改變對稱類型 - change symmetry copies: 反轉角度 - -############################################################## Error messages -error: - # File related - file not found: 沒有找到文件: '%s' 在 '%s' 文件包中 - file not found package like: - 沒有找到文件:'%s' 在 '%s' 文件包中 - 如果你嘗試從別的文件包中打開文件, 使用以下格式"/package/filename" - file parse error: - 處理文件發生錯誤:'%s' - %s - package not found: 文件包沒有找到: '%s' - package out of date: 文件包 '%s' (版本 %s) 過期,需要 %s 以上版本 - package too new: 文件包 '%s' (版本 %s)與這個版本不兼容 %s,需要 '%s' 以上版本 - unable to open output file: 保存時出錯,無法打開輸出文件 - unable to store file: 保存時出錯,無法儲存文件 - dependency not given: - 文件包 '%s' 所使用的文件來自於文件包 '%s' ,但是列表中並沒有該附加項 - 要解決這個問題,添加: - 附加項目 到: %s %s - - # Script stuff - has no member: %s 沒有成員 '%s' - can't convert: 無法將 %s 轉換成 %s - has no member value: 字符串 "%s" 沒有成員 '%s' - can't convert value: 無法將 "%s" 從 %s 轉化成 %s - unsupported format: 無效字符串格式:'%s' - in function: - %s - 在函數中 %s - in parameter: - 參數 %s: %s - in keyword reminder: - %s - 在提示文本里的關鍵詞 '%s' - - # Image stuff - coordinates for blending overlap: 坐標混合重疊 - images used for blending must have the same size: 邊框用圖像必須使用相同大小 - - # Error from files - no game specified: 沒有為 %s 指定游戲類型 - no stylesheet specified for the set: 沒有為套牌制定樣式表 - stylesheet and set refer to different game: - 樣式表文件有錯誤,樣式表和套牌與該游戲類型不相關。 - unsupported field type: 不支持的區域類型:'%s' - unsupported fill type: 不支持的填充類型: '%s' - unrecognized value: 無法識別的值:'%s' - expected key: 預期中的關鍵:'%s' - aborting parsing: 遇到致命錯誤,放棄讀取 - newer version: - %s - 這個文件是由更高版本的 Magic Set Editor (%s) 制作的 - 當你打開它的時候,文件中的一些外觀會丟失 - 推荐你昇級到最新版本 - 瀏覽官方網站 http:://magicseteditor.sourceforge.net/ - word list type not found: 詞語列表類型 %s 沒有找到 (從 標簽中) -#_ADD pack item not found: The pack item "%s" was not found (from a pack type) -#_ADD pack type not found: The pack type "%s" was not found (from a pack type) - - # Update checking - checking updates failed: 檢查更新失敗。 - no updates: 沒有可用更新。 - - # Stats panel - dimension not found: 沒有統計資料 '%s' - -#_ADD # Random packs -#_ADD pack type duplicate name: - There is already a pack type named '%s'. - Please choose a different name. -#_ADD - # Package update window -# checking updates: 檢查更新 - can't download installer: - 無法為文件包 %s 下載安裝程序,從 %s - 沒有更新被安裝 - - downloading updates: 更新文件下載中 (%d of %d) - installing updates: 文件包昇級中 (%d of %d) - - remove packages: - 即將移除 %s 文件包,你想繼續嗎? - remove packages modified: - 在 %s 安裝修改完畢后,將要移除 %s 文件包 - 被移除的文件將無法恢復。 - - 你想繼續嗎? - install packages successful: %s 文件包被成功安裝 - remove packages successful: %s 文件包被成功移除. - change packages successful: %s 文件包被成功修改 - - cannot create file: 無法創建文件 '%s' ,繼續安裝? - -############################################################## Types used in scripts / shape names -type: - function: 函數 - collection: 收集 - collection of: 收集 %ss - object: 目標 - double: 實數 - integer: 整數 - string: 字符串 - boolean: 邏輯型 - color: 顏色 - image: 圖像 -#_ADD date: date - nil: 什麼都不做 - - # Object types - package: 文件包 - locale: 翻譯 - game: 游戲 - set: 套牌 - stylesheet: 樣式表 - export template:export 模板 -#_ADD symbol: symbol - card: 卡牌 - cards: 多張卡牌 - field: 區域 - style: 樣式 - value: 值 - keyword: 關鍵詞 - keywords: 關鍵詞 -#_ADD pack: pack type - - # Symbol editor shapes - shape: 圖形 - shapes: 多個圖形 - circle: 圓形 - ellipse: 橢圓形 - square: 正方形 - rectangle: 矩形 - triangle: 三角形 - rhombus: 菱形 - pentagon: 五邊形 - hexagon: 六邊形 - polygon: 多邊形 - star: 星形 - - rotation: 旋轉 - reflection: 反轉 - group: 分組 - - point: 控制點 - points: 多個控制點 - -############################################################## Magic -package: - magic.mse-game: - # Card fields - name: 名稱 - cc: 總費用 - type: 類型 - p/t: 力量/防御 - rarity: 稀有度 - card name: 卡牌名字 - - # Set info - title: 標題 - description: 描述 - artist: 畫家 - copyright: 版權 - symbol: 系列符號 - - border color: 邊框顏色 - automatic reminder text: 自動提示文本 - automatic card numbers: 自動卡牌編號 - sort special rarity: 特殊稀有度卡排排序 - mark errors: 標出錯誤 - use gradient multicolor: 使用傾斜多色 - - - - # descriptions/help text - artifact style: 神器風格 - saturated multicolor: 標準多色牌 - shifted sorting: 排序變換 - darker artifacts: 更深色神器 - grey hybrid name: 混色牌名字變灰 - colored multicolor land name: 多色牌和地牌的名字變色 - grey hybrid typeline: 混色牌類型線變灰 - use guild mana symbols: 使用工會符號 - one textline tokens: 一條文本線 衍生物 - alpha style blending: 阿爾法風格混合 - type of gradient multicolor: 傾斜多色類型 - type of gradient artifact: 傾斜神器類型 - tap symbol: 橫置符號 - image size: 圖像大小 - cardname font: 卡牌名字字體 - font color: 字體顏色 - text box mana symbols: 文字欄法術力符號 - green style: 綠色風格 - land style: 地牌風格 - center text: 文字居中 - colored rarities: 稀有度變色 - left align artist: 畫家左對齊 - inverted common symbol: 反轉普通系列符號 - - magic-mana-*.mse-symbol-font: - # note: reminder/shortcut must start with a space, otherwise it is used as a shortcut - # so typing T *anywhere* would insert a symbol (which would be bad) - menu item T: 橫置符號 T - menu item Q: 重置符號 Q - menu item W: 白色法術力 W - menu item U: 藍色法術力 U - menu item B: 黑色法術力 B - menu item R: 紅色法術力 R - menu item G: 綠色法術力 G - menu item S: 雪境法術力 S - menu item X: 可變法術力 X X - menu item Y: 可變法術力 Y Y - menu item Z: 可變法術力 Z Z - menu item I: 無限法術力 I - menu item colorless: 無色法術力... - title colorless: 無色法術力 - message colorless: 輸入無色法術力數量: - menu item half: 一半法術力 - menu item |W: 白色法術力 |W - menu item |U: 藍色法術力 |U - menu item |B: 黑色法術力 |B - menu item |R: 紅色法術力 |R - menu item |G: 綠色法術力 |G - menu item |S: 雪境法術力 |S - menu item 1/2: 無色法術力 1/2 - menu item hybrid: 混合法術力(雙色) - menu item W/U: 白/藍 法術力 W/U - menu item U/B: 藍/黑 法術力 U/B - menu item B/R: 黑/紅 法術力 B/R - menu item R/G: 紅/綠 法術力 R/G - menu item G/W: 綠/白 法術力 G/W - menu item W/B: 白/黑 法術力 W/B - menu item U/R: 藍/紅 法術力 U/R - menu item B/G: 黑/綠 法術力 B/G - menu item R/W: 紅/白 法術力 R/W - menu item G/U: 綠/藍 法術力 G/U - menu item hybrid 3: 混合法術力(三色) - menu item W/U/B: 白/藍/黑 法術力 W/U/B - menu item U/B/R: 藍/黑/紅 法術力 U/B/R - menu item B/R/G: 黑/紅/綠 法術力 B/R/G - menu item R/G/W: 紅/綠/白 法術力 R/G/W - menu item G/W/U: 綠/白/藍 法術力 G/W/U - menu item W/B/R: 白/黑/紅 法術力 W/B/R - menu item U/R/G: 藍/紅/綠 法術力 U/R/G - menu item B/G/W: 黑/綠/白 法術力 B/G/W - menu item R/W/U: 紅/白/藍 法術力 R/W/U - menu item G/U/B: 綠/藍/黑 法術力 G/U/B - menu item number hybrids: 數字混合法術力 - menu item 2/W: 2/W - menu item 2/U: 2/U - menu item 2/B: 2/B - menu item 2/R: 2/R - menu item 2/G: 2/G - +mse version: 0.3.8 +installer group: translations/Traditional Chinese +full name: 繁體中文 (Traditional Chinese) +version: 2009-01-15 +icon: cn.png + +############################################################## Menu items +menu: + file: 文件 + new set: 新建套牌... Ctrl+N + open set: 打開套牌... Ctrl+O + save set: 保存套牌 Ctrl+S + save set as: 套牌另存為... F12 + export: 導出 + export html: HTML文件... + export image: 卡牌圖像... + export images: 全部卡牌圖像... + export apprentice: Apprentice... + export mws: Magic Workstation... + check updates: 檢查更新... + print preview: 打印預覽... + print: 打印... Ctrl+P + reload data: 重新載入資料 Ctrl+F5 + exit: 退出 Alt+F4 + + edit: 編輯 + undo: 撤銷%s Ctrl+Z + redo: 重做%s Ctrl+Y + cut: 剪切 Ctrl+X + copy: 復制 Ctrl+C + paste: 貼上 Ctrl+V + find: 搜尋 Ctrl+F + find next: 搜尋下一個 F3 + replace: 替換 Ctrl+H + auto replace: 自動替換... + preferences: 參數設置... + + cards: 卡牌 + previous card: 選擇上一張卡牌 PgUp + next card: 選擇下一張卡牌 PgDn + add card: 添加卡牌 Ctrl+Enter + add cards: 批量添加卡牌... + remove card: 刪除所選卡牌 + orientation: 旋轉 + rotate 0: 普通 + rotate 270: 順時針旋轉90° + rotate 90: 逆時針旋轉90 + rotate 180: 上下翻轉180° + card list columns: 卡牌列表欄... + + keywords: 關鍵詞 + previous keyword: 選擇上一個關鍵詞 PgUp + next keyword: 選擇下一個關鍵詞 PgDn + add keyword: 添加關鍵詞 Ctrl+Enter + remove keyword: 刪除所選關鍵詞 Del + + format: 字體格式 + bold: 粗體 Ctrl+B + italic: 斜體 Ctrl+I + symbols: 符號 Ctrl+M + reminder text: 提示文本 Ctrl+R + insert symbol: 插入符號 +#_ADD # spelling +#_ADD no spelling suggestions: (no suggestions) + + graph: 圖像 + pie: 餅形圖 1 + bar: 條形圖 2 + stack: 堆疊條形圖 3 + scatter: 散點圖 4 + scatter pie: 散餅圖 5 + + window: 視窗 + new window: 新建視窗 + cards tab: 卡牌編輯 F5 + set info tab: 套牌資訊 F6 + style tab: 風格選擇 F7 + keywords tab: 關鍵詞 F8 + stats tab: 統計結果 F9 +#_ADD random pack tab: &Random Packs + + help: 幫助 + index: 索引... F1 + website: 官方網站... + about: 關於Magic Set Editor... + + # symbol editor + + new symbol: 新建... Ctrl+N + open symbol: 打開... Ctrl+O + save symbol: 保存 Ctrl+S + save symbol as: 另存為... F12 + store symbol: 儲存 Ctrl+Enter + close symbol editor: 關閉 Alt+F4 + + duplicate: 復制 Ctrl+D + group: 分組 Ctrl+G + ungroup: 取消分組 Ctrl+U + + tool: 工具 + select: 選擇 F5 + rotate: 旋轉 F6 + points: 控制點 F7 + basic shapes: 基本形狀 F8 + symmetry: 對稱效果 F9 + paint: 筆刷 F10 + +############################################################## Menu help texts +help: + welcome: 歡迎使用 Magic Set Editor + + file: + new set: 創建新套牌 + open set: 打開已有套牌 + last opened set: 打開 '%s' + save set: 保存現有套牌 + save set as: 使用新文件名保存套牌 + export: 導出套牌... + export html: 將套牌導出成網頁格式 + export image: 將所選卡牌導出成為一張圖片 + export images: 將所有卡牌導出成圖片 + export apprentice: 將套牌導出成為能在 Apprentice 中使用的格式 + export mws: 將套牌導出成為能在 Magic Workstation 中使用的格式 + check updates: 安裝或昇級文件包 + print preview: 顯示即將被打印的卡牌 + print: 從本套牌中打印這張牌 + reload data: 重新載入所有模板(游戲類型和樣式)和套牌資料. + exit: 退出Magic Set Editor程序,請迅速保存你的套牌 + + edit: + undo: 撤銷上一個動作 + redo: 重做上一個動作 + cut: 將選中的文字剪切至剪切板 + cut card: 將選中的卡牌剪切至剪切板 + cut keyword: 將選中的關鍵詞剪切至剪切板 + copy: 將選中的文字復制至剪切板 + copy card: 將選中的卡牌復制至剪切板 + copy keyword: 將選中的關鍵詞復制至剪切板 + paste: 從剪切板插入文字 + paste card: 從剪切板插入卡牌 + paste keyword: 從剪切板插入關鍵詞 + find: 搜索卡牌文字 + find next: 搜尋下一個 + replace: 替換卡牌文字 + auto replace: 自動替換什麼文字? + preferences: 修改Magic Set Editor的設置 + + cards: + previous card: 選擇列表中的上一張卡牌 + next card: 選擇列表中的下一張卡牌 + add card: 添加一個新的空白卡牌到本套牌 + add cards: 添加多張卡牌到本套牌 + remove card: 從本套牌中刪除所選卡牌 + orientation: 調整所顯示卡牌的方向 + rotate card: 將所顯示卡牌順時針旋轉90° + rotate 0: 將所顯示卡牌還原為正常模式 + rotate 270: 將所顯示卡牌順時針旋轉 + rotate 90: 將所顯示卡牌逆時針旋轉 + rotate 180: 將所顯示卡牌上下翻轉 + card list columns: 調整卡牌列表欄顯示項目和顯示順序 + + keywords: + previous keyword: 從列表中選擇上一個關鍵詞 + next keyword: 從列表中選擇下一個關鍵詞 + add keyword: 添加一個新關鍵詞到本套牌中 + remove keyword: 從本套牌中刪除選中的關鍵詞 + + format: + bold: 將所選文字設為粗體 + italic: 將所選文字設為斜體 + symbols: 將所選文字改成符號 + reminder text: 對選擇的關鍵詞顯示提示文本 +#_ADD # spelling +#_ADD no spelling suggestions: There are no suggestions for correcting this error + + graph: + pie: 餅狀圖,每一份的大小取決與卡牌數量 + bar: 條形圖,條形高度取決於卡牌數量 + stack: 條形圖,堆疊條形圖 + scatter: 散點圖,每一個散點的大小取決與卡牌數量 + scatter pie: 散餅圖,每一個三點都是一個小型餅狀圖 + + window: + new window: 創建一個額外視窗用來編輯同一套牌 + cards tab: 編輯套牌中的卡牌 + set info tab: 編輯套牌資訊,例如創建者,其他 + style tab: 改變卡牌樣式 + keywords tab: 定義本套牌額外的關鍵詞 + stats tab: 顯示本套牌的統計情況 +#_ADD random pack tab: Try how the set works out in practice by generating random booster packs. + + help: + index: + website: + about: + + # Cards panel +#_ADD collapse notes: Hide the card notes box +#_ADD expand notes: Show the card notes box + # Random pack panel +#_ADD random seed: Different packs will be generated each time. +#_ADD fixed seed: Using the same seed number gives the same 'random' packs. +#_ADD seed: Seed number for the random generator. Using the same seed number gives the same 'random' packs. +#_ADD edit pack type: Double click to edit pack type +#_ADD number of packs: The number of %ss to generate + + # Preferences + app language: + 注意: 你必須重新啟動MSE才能使語言修改生效 + zoom export: + (當關閉該項的時候,卡牌會按照以下規則導出: + 100%大小,不旋轉) + + # apprentice export + set code: 套牌代碼是一個雙位元組代碼,它能被Apprentice識別成一幅套牌 + + # Symbol editor + new symbol: 創建一個新的系列符號 + open symbol: 打開一個系列符號 + save symbol: 保存系列符號 + save symbol as: 使用不同文件名保存系列符號 + store symbol: 將系列符號儲存進套牌 + close symbol editor: 關閉系列符號編輯器 + + duplicate: 復制所選圖形 + group: 所選圖形分成一組 + ungroup: 取消所選分組 + + grid: 顯示網格線 + snap: 吸附形狀和控制點到網格線 + + tool: + select: 選擇並移動形狀 + rotate: 旋轉並修剪形狀 + points: 編輯形狀控制點 + basic shapes: 繪制基本形狀,例如矩形和圓形 + symmetry: 給系列符號添加對稱效果 + paint: 用筆刷在圖形上繪制 + + select editor: + merge: 把這個圖形融合到下面 + subtract: 把這個圖形從下面剪掉,僅保留不在這個圖形,但是在下面圖形的區域 + intersect: 把這個圖形和下面相交,僅保留圖像共有區域 + difference: 這個圖形和下面不相交,僅僅保留不在其他圖形的區域 + overlap: 替換並且將邊框覆蓋到上面的圖形 + border: 把這個圖形繪制為邊框 + + drag to shear: 拖拽,修改選定的 %s + drag to rotate: 拖拽,修改選定部分的旋轉角度 %s;按住Ctrl,強制旋轉15° + drag to resize: 拖拽,修改選定部分的大小 %s,;按住Ctrl,強制修改大小 + click to select shape: 點擊,選擇圖形;拖拽,移動圖形;雙擊,編輯圖形 + + ellipse: 繪制圓形及橢圓形 + rectangle: 繪制正方形及矩形 + polygon: 繪制多邊形 + star: 繪制星形 + sides: 確定多邊形或者星形的邊數 + drag to draw shape: 拖拽,調整圖形大小,按住Ctrl,強制修改圖形,按住Shift,圖形居中 + draw ellipse: 點擊並且拖拽,繪制一個橢圓形,按住Ctrl,繪制圓形 + draw rectangle: 點擊並且拖拽,繪制一個矩形,按住Ctrl,繪制正方形 + draw polygon: 點擊並且拖拽,繪制一個多邊形 + draw star: 點擊並且拖拽,繪制一個星形 + + line segment: 將所選線段變成直線 + curve segment: 將所選線段變成曲線 + free point: 允許兩個控制點自由移動 + smooth point: 使被選擇的點平滑,用兩個控制點互相相反的方式替換 + symmetric point: 將被選擇的點做對稱效果 + drag to move curve: 拖拽來移動曲線 + drag to move line: 按住Alt鍵並且拖拽,移動曲線;雙擊,在線上添加一個點 + drag to move point: 點擊並拖拽,移動控制點;雙擊,移除該點 + + rotation: 旋轉對稱(環形效果) + reflection: 反轉對稱(鏡像效果) + add symmetry: 所選部分添加對稱效果 + remove symmetry: 移除對稱效果 + copies: 輸入反轉數值(包含原始數值) + + # Card select + filename format: (使用 {card.name} 作為卡片名稱;文件類型由擴展名決定) + +############################################################## Toolbar +tool: + undo: 撤銷 + redo: 重做 + + cards tab: 卡牌編輯 + set info tab: 套牌資訊 + style tab: 風格樣式 + keywords tab: 關鍵詞 + stats tab: 統計結果 +#_ADD random pack tab: Random + + # symbol editor + store symbol: 儲存 + + grid: 網格 + snap: 吸附 + + select: 選擇 + rotate: 旋轉 + points: 控制點 + basic shapes: 基本形狀 + symmetry: 對稱效果 + paint: 筆刷 + + merge: 融合 + subtract: 減去 + intersect: 相交 + difference: 不相交 + overlap: 覆蓋 + border: 邊框 + + ellipse: 橢圓形 + rectangle: 矩形 + polygon: 多邊形 + star: 星形 + + rotation: 旋轉 + reflection: 反轉 + add symmetry: 添加對稱效果 + remove symmetry: 移除對稱效果 + + line segment: 直線 + curve segment: 曲線 + free point: 自由 + smooth point: 平滑 + symmetric point: 對稱 + +############################################################## Toolbar help text +tooltip: + cards tab: 卡牌編輯 + set info tab: 套牌資訊 + style tab: 風格樣式 + keywords tab: 關鍵詞 + stats tab: 統計結果 +#_ADD random pack tab: Random packs + + new set: 新建套牌 + open set: 打開套牌 + save set: 保存套牌 + export: 導出 + + cut: 剪切 + copy: 復制 + paste: 貼上 + undo: 撤銷%s + redo: 重做%s + + add card: 添加卡牌 + remove card: 移除選中卡牌 + rotate card: 旋轉卡牌 + + add keyword: 添加關鍵詞 + remove keyword: 移除所選關鍵詞 + + bold: 粗體 + italic: 斜體 + symbols: 系列符號 + reminder text: 提示文本 + + pie: 餅形圖 + bar: 條形圖 + stack: 堆疊條形圖 + scatter: 散點圖 + scatter pie: 散餅圖 + + cards tab: 卡牌 + set info tab: 套牌資訊 + style tab: 樣式 + keywords tab: 關鍵詞 + stats tab: 統計 + + # symbol editor + store symbol: 將系列符號保存到套牌 + + grid: 顯示網格 + snap: 吸附網格 + + select: 選擇 (F5) + rotate: 旋轉 (F6) + points: 控制點 (F7) + basic shapes: 基本形狀 (F8) + symmetry: 對稱效果 (F9) + paint: 筆刷 (F10) + + merge: 和下面的圖形融合 + subtract: 從下面的圖形減去 + intersect: 和下面的圖形相交 + difference: 和下面的圖形不相交 + overlap: 覆蓋上面的其他圖形 + border: 繪制邊框 + + ellipse: 圓形 / 橢圓形 + rectangle: 正方形 /矩形 + polygon: 多邊形 + star: 星型 + + rotation: 旋轉對稱(環形效果) + reflection: 反轉對稱(鏡像效果) + add symmetry: 所選部分添加對稱效果 + remove symmetry: 移除對稱效果 + + line segment: 變成直線 + curve segment: 變成曲線 + free point: 解鎖點 + smooth point: 點平滑效果 + symmetric point: 點對稱效果 + +############################################################## Labels in the GUI +label: + # Cards tab + card notes: 卡牌資訊: + # Keywords tab + keyword: 關鍵詞 + match: 匹配 + mode: 類型 + uses: 使用次數 + reminder: 提示文本 + rules: 額外規則 + standard keyword: + 這是一個標準的 %s 關鍵詞,你不需要編輯它。 + 如果你做了一個關鍵詞的備份,那麼你的備份將優先被使用 + + # Style tab + styling options: 樣式選項 + + # Random pack panel +#_ADD pack selection: Pack selection +#_ADD pack totals: Totals +#_ADD pack name: Pack name +#_ADD seed: Seed +#_ADD total cards: Total + + # Open dialogs + all files 全部文件 + + # Other set window dialogs + save changes: + 套牌 '%s' 已經被修改。 + + 你想保存修改嗎? + + # New set window + game type: 游戲類型: + style type: 風格樣式: + + stylesheet not found: + 你要打開的套牌使用的是 "%s" 樣式表 + 這個樣式表在你的系統里沒有找到,請選擇其他方案 + + # Preferences + language: 語言 +#_ADD windows: Open sets + app language: 程序界面語言: + card display: 卡牌顯示 + zoom: 縮放: + percent of normal: % 之后導出 + external programs: 外部程序 + apprentice: Apprentice: + apprentice exe: 可執行Apprentice + check at startup: 程序運行時檢查新版本 + checking requires internet: + 檢查新版本需要接入互聯網。 + 沒有接入互聯網的時候不檢查更新。 + + 檢查更新時不會搜集使用者資訊。 + + # Column select + select columns: 選擇你要顯示的欄目 + columns: 欄目: + + # Card select / images export + select cards: 導出卡牌 +#_ADD selected card count: %s cards will be exported. + select cards print: 選擇需要打印的卡牌 + filename format: 格式: + filename conflicts: 處理重復文件名: + export filenames: 文件名 + filename is ignored: (忽略文件名) + + # apprentice export + set code: 設置套牌代碼: + apprentice export cancelled: 導出到 Apprentice 的過程被取消 + + # Html export + html template: 模板: + html export options: 導出選項 + + # Image slicer + original: 原始: + result: 結果: + size: 大小 +#_ADD original size: &Original Size +#_ADD size to fit: Size to &Fit +#_ADD force to fit: F&orce to Fit +#_ADD custom size: &Custom Size + selection: 選取 +#_ADD selection left: &Left +#_ADD selection top: &Top +#_ADD selection width: &Width +#_ADD selection height: &Height + zoom: 縮放 +#_ADD fix aspect ratio: Fix aspect ratio (width/height) +#_ADD zoom amount: Zoom +#_ADD zoom amount x: Zoom &X +#_ADD zoom amount y: Zoom &Y +#_ADD zoom %: % + filter: 過濾 +#_ADD sharpen filter: &Sharpen filter + + # Auto replace + auto match: 匹配 + auto replace: 替換 + + # Symbol editor + sides: 側 + + # Packages window + package name: 文件包 + package status: 狀態 + package action: 動作 + + package conflicts: 矛盾修改 + package modified: 本地修改 + package updates: 可用昇級 + package installed: 已安裝 + package installable: 未安裝 + install package: 安裝 +#_ADD reinstall package: reinstall + upgrade package: 昇級 + remove package: 移除 + +#_ADD installed version: Installed version: +#_ADD installable version: Latest version: +#_ADD installer size: Size: +#_ADD installer status: Status: +#_ADD no version: - +#_ADD +############################################################## Buttons/checkboxes/choices in the GUI +button: + # Editor + edit symbol: 編輯 + symbol gallery: 畫廊 + + # Style panel + use for all cards: 應用到全部卡牌 + use custom styling options: 本張卡牌使用特殊設置 + + # Keywords panel + insert parameter: 插入參數... + refer parameter: 提交參數... + + # Random pack panel +#_ADD generate pack: &Generate Pack +#_ADD random seed: &Random Seed +#_ADD fixed seed: &Fixed Seed +#_ADD add custom pack: Add &Custom Pack... + + # Welcome + new set: 新建套牌 + open set: 打開套牌 + check updates: 檢查更新 + last opened set: 上一次打開的套牌 + + # Preferences +#_ADD open sets in new window: Open all sets in a new &window + select: 選擇... + browse: 瀏覽... + high quality: 高質量渲染效果 + show lines: 各個編輯區域顯示線 + show editing hints: 編輯的時候顯示虛線提示框 + zoom export: 當導出時採用上面縮放和旋轉設置 + check now: 立刻檢查 + always: 總是 + if internet connection exists: 如果接入互聯網 + never: 從不 + + # Column select + move up: 向上移動 + move down: 向下移動 + show: 顯示 + hide: 隱藏 + + # Card select +#_ADD export entire set: Entire set +#_ADD export generated packs: Generated packs +#_ADD export custom cards selection: Custom selection +#_ADD select cards: &Select Cards... + select all: 全選 + select none: 全不選 + overwrite: 覆蓋舊文件 + keep old: 保留舊文件 + number: 文件名添加序號 + number overwrite: 文件名添加序號,覆蓋上次導出的結果 + + # Auto replace + use auto replace: 使用自動替換 + add item: 添加 + remove item: 移出 + defaults: 還原預設 + enabled: 開啟 + whole word: 匹配整個字符串 + + # Old style update checker (NOTE: this will be removed in a feature version) + close: 關閉 + + # Packages window + keep package: 不修改 + don't install package: 不安裝 + install package: 安裝 + upgrade package: 昇級 +#_ADD reinstall package: Re&install + remove package: 移除 + install group: 全部安裝 + upgrade group: 全部昇級 + remove group: 全部移除 + +############################################################## Titles in the GUI +title: + magic set editor: Magic Set Editor + %s - magic set editor: %s - Magic Set Editor + untitled: 無標題 + about: 關於 Magic Set Editor + symbol editor: 系列符號編輯器 + # dialogs + new set: 新建套牌 + open set: 打開套牌 + save set: 套牌另存為 + save image: 保存圖片 + updates available: 可用更新 + save changes: 保存修改? + select stylesheet: 選擇樣式表 + #preferences + preferences: 設置 + global: 全局 + display: 顯示 + directories: 目錄 + updates: 昇級更新 + update check: 檢查更新 + locate apprentice: 定位 Apprentice + # select + select columns: 選擇欄目 + select cards: 選擇卡牌 + select cards export: 導出選中的卡牌 + # slice + slice image: 圖片切片 +#_ADD # pack +#_ADD custom pack: Custom Pack Type + # print + print preview: 打印預覽 + # export + export images: 導出為圖像 + export cancelled: 導出取消 + export html: 導出為HTML + save html: 保存為HTML + # auto replace + auto replaces: 自動替換 + + # Package Update Window + packages window: 文件包管理器 + installing updates: 安裝更新 + + cannot create file: 無法創建文件 + +############################################################## Action (undo/redo) names +action: + # List boxes + add item: 添加 %s + remove item: 移除 %s + + # Text editor + typing: 鍵入 + enter: 進入 + soft line break: 切斷軟線 + insert symbol: 插入符號 + backspace: 退格 + delete: 刪除 + cut: 剪切 + paste: 貼上 + auto replace: 自動替換 +#_ADD correct: Spelling Correction + # Choice/color editors + change: 修改 %s + + # Symbol Actions + move: 移動 %s + rotate: 旋轉 %s + shear: 修剪 %s + scale: 改變尺寸 %s + duplicate: 復制 %s + reorder parts: 再添加 + change combine mode: 改變聯合模式 + change shape name: 改變圖形名字 + group parts: 分組 + ungroup parts: 取消分組 + + # Symbol Part Actions + convert to line: 轉換成直線 + convert to curve: 轉換成曲線 + lock point: 鎖定點 + move handle: 移動手柄 + move curve: 移動曲線 + add control point: 添加控制點 + delete point: 刪除控制點 + delete points: 刪除多個控制點 + + # Symmetry + add symmetry: 添加對稱效果 + #remove symmetry: 移除對稱效果 + move symmetry center: 移動對稱中心 + move symmetry handle: 改變對稱方向 + change symmetry type: 改變對稱類型 + change symmetry copies: 反轉角度 + +############################################################## Error messages +error: + # File related + file not found: 沒有找到文件: '%s' 在 '%s' 文件包中 + file not found package like: + 沒有找到文件:'%s' 在 '%s' 文件包中 + 如果你嘗試從別的文件包中打開文件, 使用以下格式"/package/filename" + file parse error: + 處理文件發生錯誤:'%s' + %s + package not found: 文件包沒有找到: '%s' + package out of date: 文件包 '%s' (版本 %s) 過期,需要 %s 以上版本 + package too new: 文件包 '%s' (版本 %s)與這個版本不兼容 %s,需要 '%s' 以上版本 + unable to open output file: 保存時出錯,無法打開輸出文件 + unable to store file: 保存時出錯,無法儲存文件 + dependency not given: + 文件包 '%s' 所使用的文件來自於文件包 '%s' ,但是列表中並沒有該附加項 + 要解決這個問題,添加: + 附加項目 到: %s %s + + # Script stuff + has no member: %s 沒有成員 '%s' + can't convert: 無法將 %s 轉換成 %s + has no member value: 字符串 "%s" 沒有成員 '%s' + can't convert value: 無法將 "%s" 從 %s 轉化成 %s + unsupported format: 無效字符串格式:'%s' + in function: + %s + 在函數中 %s + in parameter: + 參數 %s: %s + in keyword reminder: + %s + 在提示文本里的關鍵詞 '%s' + + # Image stuff + coordinates for blending overlap: 坐標混合重疊 + images used for blending must have the same size: 邊框用圖像必須使用相同大小 + + # Error from files + no game specified: 沒有為 %s 指定游戲類型 + no stylesheet specified for the set: 沒有為套牌制定樣式表 + stylesheet and set refer to different game: + 樣式表文件有錯誤,樣式表和套牌與該游戲類型不相關。 + unsupported field type: 不支持的區域類型:'%s' + unsupported fill type: 不支持的填充類型: '%s' + unrecognized value: 無法識別的值:'%s' + expected key: 預期中的關鍵:'%s' + aborting parsing: 遇到致命錯誤,放棄讀取 + newer version: + %s + 這個文件是由更高版本的 Magic Set Editor (%s) 制作的 + 當你打開它的時候,文件中的一些外觀會丟失 + 推荐你昇級到最新版本 + 瀏覽官方網站 http:://magicseteditor.sourceforge.net/ + word list type not found: 詞語列表類型 %s 沒有找到 (從 標簽中) +#_ADD pack item not found: The pack item "%s" was not found (from a pack type) +#_ADD pack type not found: The pack type "%s" was not found (from a pack type) + + # Update checking + checking updates failed: 檢查更新失敗。 + no updates: 沒有可用更新。 + + # Stats panel + dimension not found: 沒有統計資料 '%s' + +#_ADD # Random packs +#_ADD pack type duplicate name: + There is already a pack type named '%s'. + Please choose a different name. +#_ADD + # Package update window +# checking updates: 檢查更新 + can't download installer: + 無法為文件包 %s 下載安裝程序,從 %s + 沒有更新被安裝 + + downloading updates: 更新文件下載中 (%d of %d) + installing updates: 文件包昇級中 (%d of %d) + + remove packages: + 即將移除 %s 文件包,你想繼續嗎? + remove packages modified: + 在 %s 安裝修改完畢后,將要移除 %s 文件包 + 被移除的文件將無法恢復。 + + 你想繼續嗎? + install packages successful: %s 文件包被成功安裝 + remove packages successful: %s 文件包被成功移除. + change packages successful: %s 文件包被成功修改 + + cannot create file: 無法創建文件 '%s' ,繼續安裝? + +############################################################## Types used in scripts / shape names +type: + function: 函數 + collection: 收集 + collection of: 收集 %ss + object: 目標 + double: 實數 + integer: 整數 + string: 字符串 + boolean: 邏輯型 + color: 顏色 + image: 圖像 +#_ADD date: date + nil: 什麼都不做 + + # Object types + package: 文件包 + locale: 翻譯 + game: 游戲 + set: 套牌 + stylesheet: 樣式表 + export template:export 模板 +#_ADD symbol: symbol + card: 卡牌 + cards: 多張卡牌 + field: 區域 + style: 樣式 + value: 值 + keyword: 關鍵詞 + keywords: 關鍵詞 +#_ADD pack: pack type + + # Symbol editor shapes + shape: 圖形 + shapes: 多個圖形 + circle: 圓形 + ellipse: 橢圓形 + square: 正方形 + rectangle: 矩形 + triangle: 三角形 + rhombus: 菱形 + pentagon: 五邊形 + hexagon: 六邊形 + polygon: 多邊形 + star: 星形 + + rotation: 旋轉 + reflection: 反轉 + group: 分組 + + point: 控制點 + points: 多個控制點 + +############################################################## Magic +package: + magic.mse-game: + # Card fields + name: 名稱 + cc: 總費用 + type: 類型 + p/t: 力量/防御 + rarity: 稀有度 + card name: 卡牌名字 + + # Set info + title: 標題 + description: 描述 + artist: 畫家 + copyright: 版權 + symbol: 系列符號 + + border color: 邊框顏色 + automatic reminder text: 自動提示文本 + automatic card numbers: 自動卡牌編號 + sort special rarity: 特殊稀有度卡排排序 + mark errors: 標出錯誤 + use gradient multicolor: 使用傾斜多色 + + + + # descriptions/help text + artifact style: 神器風格 + saturated multicolor: 標準多色牌 + shifted sorting: 排序變換 + darker artifacts: 更深色神器 + grey hybrid name: 混色牌名字變灰 + colored multicolor land name: 多色牌和地牌的名字變色 + grey hybrid typeline: 混色牌類型線變灰 + use guild mana symbols: 使用工會符號 + one textline tokens: 一條文本線 衍生物 + alpha style blending: 阿爾法風格混合 + type of gradient multicolor: 傾斜多色類型 + type of gradient artifact: 傾斜神器類型 + tap symbol: 橫置符號 + image size: 圖像大小 + cardname font: 卡牌名字字體 + font color: 字體顏色 + text box mana symbols: 文字欄法術力符號 + green style: 綠色風格 + land style: 地牌風格 + center text: 文字居中 + colored rarities: 稀有度變色 + left align artist: 畫家左對齊 + inverted common symbol: 反轉普通系列符號 + + magic-mana-*.mse-symbol-font: + # note: reminder/shortcut must start with a space, otherwise it is used as a shortcut + # so typing T *anywhere* would insert a symbol (which would be bad) + menu item T: 橫置符號 T + menu item Q: 重置符號 Q + menu item W: 白色法術力 W + menu item U: 藍色法術力 U + menu item B: 黑色法術力 B + menu item R: 紅色法術力 R + menu item G: 綠色法術力 G + menu item S: 雪境法術力 S + menu item X: 可變法術力 X X + menu item Y: 可變法術力 Y Y + menu item Z: 可變法術力 Z Z + menu item I: 無限法術力 I + menu item colorless: 無色法術力... + title colorless: 無色法術力 + message colorless: 輸入無色法術力數量: + menu item half: 一半法術力 + menu item |W: 白色法術力 |W + menu item |U: 藍色法術力 |U + menu item |B: 黑色法術力 |B + menu item |R: 紅色法術力 |R + menu item |G: 綠色法術力 |G + menu item |S: 雪境法術力 |S + menu item 1/2: 無色法術力 1/2 + menu item hybrid: 混合法術力(雙色) + menu item W/U: 白/藍 法術力 W/U + menu item U/B: 藍/黑 法術力 U/B + menu item B/R: 黑/紅 法術力 B/R + menu item R/G: 紅/綠 法術力 R/G + menu item G/W: 綠/白 法術力 G/W + menu item W/B: 白/黑 法術力 W/B + menu item U/R: 藍/紅 法術力 U/R + menu item B/G: 黑/綠 法術力 B/G + menu item R/W: 紅/白 法術力 R/W + menu item G/U: 綠/藍 法術力 G/U + menu item hybrid 3: 混合法術力(三色) + menu item W/U/B: 白/藍/黑 法術力 W/U/B + menu item U/B/R: 藍/黑/紅 法術力 U/B/R + menu item B/R/G: 黑/紅/綠 法術力 B/R/G + menu item R/G/W: 紅/綠/白 法術力 R/G/W + menu item G/W/U: 綠/白/藍 法術力 G/W/U + menu item W/B/R: 白/黑/紅 法術力 W/B/R + menu item U/R/G: 藍/紅/綠 法術力 U/R/G + menu item B/G/W: 黑/綠/白 法術力 B/G/W + menu item R/W/U: 紅/白/藍 法術力 R/W/U + menu item G/U/B: 綠/藍/黑 法術力 G/U/B + menu item number hybrids: 數字混合法術力 + menu item 2/W: 2/W + menu item 2/U: 2/U + menu item 2/B: 2/B + menu item 2/R: 2/R + menu item 2/G: 2/G + diff --git a/data/da.mse-locale/locale b/data/da.mse-locale/locale index c187ae62..aedef0e2 100644 --- a/data/da.mse-locale/locale +++ b/data/da.mse-locale/locale @@ -1,932 +1,932 @@ -mse version: 0.3.8 -installer group: translations/Dansk -full name: Dansk -version: 2009-01-18 -icon: dk.png - -######## by lord_joakim ######### -############################################################## Menu items -menu: - file: &Fil - new set: &Ny... Ctrl+N - open set: &Åben... Ctrl+O - save set: &Gem Ctrl+S - save set as: Gem &Som... F12 - export: &Eksporter - export html: &HTML... - export image: Enkelt &Billede... - export images: Alle B&illeder... - export apprentice: &Apprentice... - export mws: Magic &Workstation... - check updates: Check &Opdateringer... - print preview: Udskriv Prø&ve... - print: &Udskriv... Ctrl+P - reload data: Genlæs Data Ctrl+F5 - exit: L&uk Alt+F4 - - edit: &Rediger - undo: &Fortryd%s Ctrl+Z - redo: &Gendan%s Ctrl+Y - cut: Kli&p Ctrl+X - copy: &Kopiér Ctrl+C - paste: &Sæt ind Ctrl+V - find: &Find Ctrl+F - find next: Find &Næste F3 - replace: E&rstat Ctrl+H - auto replace: Automatisk Er&statning... - preferences: &Præferencer... - - cards: &Kort - previous card: Vælg &Forhenværende Kort PgUp - next card: Vælg &Næste Kort PgDn - add card: &Tilføj Kort Ctrl+Enter - add cards: Tilføj &Flere Kort... - remove card: &Slet Valgte Kort - orientation: &Orientation - rotate 0: &Normal - rotate 270: Roteret 90° &Med Uret - rotate 90: Roteret 90° M&od Uret - rotate 180: Roteret 180°, &På Hovedet - card list columns: K&olonner... - - keywords: &Nøgleord - previous keyword: Vælg &Forhenværende Nøgleord PgUp - next keyword: Vælg &Næste Nøgleord PgDn - add keyword: &Tilføj Nøgleord Ctrl+Enter - remove keyword: &Fjern Valgte Nøgleord Del - - format: F&ormater - bold: &Fed Ctrl+B - italic: &Kursiv Ctrl+I - symbols: &Symboler Ctrl+M - reminder text: &Nøgleordspåmindelser Ctrl+R - insert symbol: I&ndsæt Symbol - # spelling - no spelling suggestions: (no suggestions) - - graph: &Graf - pie: &Lagkage 1 - bar: &Stolpediagram 2 - stack: &Stolpediagram I Lag 3 - scatter: K&oordinatvisning 4 - scatter pie: La&gkage-Koordinater 5 - - window: &Vindue - new window: &Nyt Vindue - cards tab: &Kort F5 - set info tab: &Sæt Information F6 - style tab: St&il F7 - keywords tab: &Nøgleord F8 - stats tab: S&tatistik F9 - random pack tab: &Tilfældige Pakker - - help: &Hjælp - index: &Indeks... F1 - website: &Hjemmeside... - about: &Om Magic Set Editor... - - # symbol editor - - new symbol: &Ny... Ctrl+N - open symbol: &Åben... Ctrl+O - save symbol: &Gem Ctrl+S - save symbol as: Gem &Som... F12 - store symbol: B&rug Ctrl+Enter - close symbol editor:Close Alt+F4 - - duplicate: &Duplikér Ctrl+D - group: &Gruppér Ctrl+G - ungroup: &Fjern Gruppe Ctrl+U - - tool: &Værktøj - select: &Vælg F5 - rotate: &Rotér F6 - points: &Punkter F7 - basic shapes: &Basale Former F8 - symmetry: S&ymmetri F9 - paint: M&al F10 - -############################################################## Menu help texts -help: - welcome: Velkommen til Magic Set Editor - - file: - new set: Lav et nyt sæt - open set: Åben et sæt - last opened set: Åben '%s' - save set: Gem sættet - save set as: Gem sættet med et nyt navn - export: Eksportér sættet... - export html: Eksportér sættet til en hjemmeside - export image: Eksportér det valgte kort til en billedfil - export images: Eksportér alle kort som billeder - export apprentice: Eksportér sætter så det kan blive spillet med Apprentice - export mws: Eksportér sættet så det kan blive spillet med Magic Workstation - check updates: Installér/opdater pakker. - print preview: Viser kort som de bliver udskrevet - print: Udskriv kort fra dette sæt - reload data: Genindlæser alle skabelonsfiler (spil og stil) sammen med sættet. - exit: Lukker Magic Set Editor; påminder om sættet skal gemmes før lukning - - edit: - undo: Fortryder den sidste handling - redo: Gendanner den sidste handling - cut: Flytter den valgte tekst til udklipsholderen - cut card: Flytter det valgte kort til udklipsholderen - cut keyword: Flytter det valgte nøgleord til udklipsholderen - copy: Kopierer den valgte tekst til udklipsholderen - copy card: Kopierer det valgte kort til udklipsholderen - copy keyword: Kopierer det valgte nøgleord til udklipsholderen - paste: Indsætter teksten fra udklipsholderen - paste card: Indsætter kortet fra udklipsholderen - paste keyword: Indsætter nøgleordet fra udklipsholderen - find: Søger kortenes tekster - find next: Finder det næste tilsvarende ord - replace: Erstatter kortenes tekster - auto replace: Hvilken tekst skal automatisk erstattes? - preferences: Ændr Magic Set Editor's konfiguration - - cards: - previous card: Vælg det forhenværende kort i listen - next card: Vælger det næste kort i listen - add card: Tilføler et nyt, tomt kort til listen - add cards: Tilføjer flere kort til listen - remove card: Sletter det valgte kort fra sættet! - orientation: Det valgte korts orientation - rotate card: Roterer kortet 90° med uret - rotate 0: Viser kortet normalt - rotate 270: Viser kortet 270 grader med uret - rotate 90: Viser kortet 90 grader mod uret - rotate 180: Viser kortet på hovedet - card list columns: Vælg hvilke kolonner der er vist og i hvilken rækkefølge. - - keywords: - previous keyword: Vælger det forhenværende nøgleord i listen - next keyword: Vælger det næste nøgleord i listen - add keyword: Tilføjer et nyt nøgleord til sættet - remove keyword: Sletter det valgte nøgleord til sættet - - format: - bold: Gør den valgte tekst fed - italic: Gør den valgte tekst kursiv - symbols: Teksten er som Magic-symboler - reminder text: Viser huskeregler i teksten - # spelling - no spelling suggestions: Der er ingen forslag til at rette denne fejl. - - graph: - pie: En lagkagegraf, hvert stykke viser antallet af kort - bar: En stolpegraf, hver stolpe viser antallet af kort - stack: En stolpegraf med stolperne lagt i bunker - scatter: Et koordinatdiagram, hvor størrelsen af hver koordinat viser størrelsen - scatter pie: Et koordinatdiagram hvor hver koordinat har sin egen lagkagegraf - - window: - new window: Åbner et nyt vindue for at arbejde med det samme sæt +mse version: 0.3.8 +installer group: translations/Dansk +full name: Dansk +version: 2009-01-18 +icon: dk.png - cards tab: Redigerer kortene i sættet - set info tab: Ændrer information om saettet, dets skaber etc. +######## by lord_joakim ######### +############################################################## Menu items +menu: + file: &Fil + new set: &Ny... Ctrl+N + open set: &Åben... Ctrl+O + save set: &Gem Ctrl+S + save set as: Gem &Som... F12 + export: &Eksporter + export html: &HTML... + export image: Enkelt &Billede... + export images: Alle B&illeder... + export apprentice: &Apprentice... + export mws: Magic &Workstation... + check updates: Check &Opdateringer... + print preview: Udskriv Prø&ve... + print: &Udskriv... Ctrl+P + reload data: Genlæs Data Ctrl+F5 + exit: L&uk Alt+F4 + + edit: &Rediger + undo: &Fortryd%s Ctrl+Z + redo: &Gendan%s Ctrl+Y + cut: Kli&p Ctrl+X + copy: &Kopiér Ctrl+C + paste: &Sæt ind Ctrl+V + find: &Find Ctrl+F + find next: Find &Næste F3 + replace: E&rstat Ctrl+H + auto replace: Automatisk Er&statning... + preferences: &Præferencer... + + cards: &Kort + previous card: Vælg &Forhenværende Kort PgUp + next card: Vælg &Næste Kort PgDn + add card: &Tilføj Kort Ctrl+Enter + add cards: Tilføj &Flere Kort... + remove card: &Slet Valgte Kort + orientation: &Orientation + rotate 0: &Normal + rotate 270: Roteret 90° &Med Uret + rotate 90: Roteret 90° M&od Uret + rotate 180: Roteret 180°, &På Hovedet + card list columns: K&olonner... + + keywords: &Nøgleord + previous keyword: Vælg &Forhenværende Nøgleord PgUp + next keyword: Vælg &Næste Nøgleord PgDn + add keyword: &Tilføj Nøgleord Ctrl+Enter + remove keyword: &Fjern Valgte Nøgleord Del + + format: F&ormater + bold: &Fed Ctrl+B + italic: &Kursiv Ctrl+I + symbols: &Symboler Ctrl+M + reminder text: &Nøgleordspåmindelser Ctrl+R + insert symbol: I&ndsæt Symbol + # spelling + no spelling suggestions: (no suggestions) + + graph: &Graf + pie: &Lagkage 1 + bar: &Stolpediagram 2 + stack: &Stolpediagram I Lag 3 + scatter: K&oordinatvisning 4 + scatter pie: La&gkage-Koordinater 5 + + window: &Vindue + new window: &Nyt Vindue + cards tab: &Kort F5 + set info tab: &Sæt Information F6 + style tab: St&il F7 + keywords tab: &Nøgleord F8 + stats tab: S&tatistik F9 + random pack tab: &Tilfældige Pakker + + help: &Hjælp + index: &Indeks... F1 + website: &Hjemmeside... + about: &Om Magic Set Editor... + + # symbol editor + + new symbol: &Ny... Ctrl+N + open symbol: &Åben... Ctrl+O + save symbol: &Gem Ctrl+S + save symbol as: Gem &Som... F12 + store symbol: B&rug Ctrl+Enter + close symbol editor:Close Alt+F4 + + duplicate: &Duplikér Ctrl+D + group: &Gruppér Ctrl+G + ungroup: &Fjern Gruppe Ctrl+U + + tool: &Værktøj + select: &Vælg F5 + rotate: &Rotér F6 + points: &Punkter F7 + basic shapes: &Basale Former F8 + symmetry: S&ymmetri F9 + paint: M&al F10 - style tab: Ændrer kortenes stil - keywords tab: Definerer ekstra nøgleord for dette sæt - stats tab: Viser statistikker om dette sæt - random pack tab: Prøv at se hvordan sættet fungerer ved at lave boosters! - - help: - index: - website: - about: - - # Cards panel - collapse notes: Viser noteboksen - expand notes: Vis noteboksen - # Random pack panel - random seed: Hver kortgeneration laver en ny pakke - fixed seed: Hvis du bruger samme variabel vil den samme 'tilfældige' booster dukke op - seed: Variabel for denne kortgeneration. Hvis du bruger samme variabel vil den samme 'tilfældige' booster dukke op - edit pack type: Dobbeltklik for at ændre kortets type - number of packs: Antallet af %ss genereret - - # Preferences - app language: - Note: Du skal genstarte MSE for at ændringerne skal træde i kraft - zoom export: - (Når slukket er kortene eksporteret - og kopieret i 100% størrelse og uden rotation) - - # apprentice export - set code: En sætkode er to bogstaver, som Apprentice bruger til at skelne imellem sættene - - # Symbol editor - new symbol: Lav et nyt symbol +############################################################## Menu help texts +help: + welcome: Velkommen til Magic Set Editor + + file: + new set: Lav et nyt sæt + open set: Åben et sæt + last opened set: Åben '%s' + save set: Gem sættet + save set as: Gem sættet med et nyt navn + export: Eksportér sættet... + export html: Eksportér sættet til en hjemmeside + export image: Eksportér det valgte kort til en billedfil + export images: Eksportér alle kort som billeder + export apprentice: Eksportér sætter så det kan blive spillet med Apprentice + export mws: Eksportér sættet så det kan blive spillet med Magic Workstation + check updates: Installér/opdater pakker. + print preview: Viser kort som de bliver udskrevet + print: Udskriv kort fra dette sæt + reload data: Genindlæser alle skabelonsfiler (spil og stil) sammen med sættet. + exit: Lukker Magic Set Editor; påminder om sættet skal gemmes før lukning + + edit: + undo: Fortryder den sidste handling + redo: Gendanner den sidste handling + cut: Flytter den valgte tekst til udklipsholderen + cut card: Flytter det valgte kort til udklipsholderen + cut keyword: Flytter det valgte nøgleord til udklipsholderen + copy: Kopierer den valgte tekst til udklipsholderen + copy card: Kopierer det valgte kort til udklipsholderen + copy keyword: Kopierer det valgte nøgleord til udklipsholderen + paste: Indsætter teksten fra udklipsholderen + paste card: Indsætter kortet fra udklipsholderen + paste keyword: Indsætter nøgleordet fra udklipsholderen + find: Søger kortenes tekster + find next: Finder det næste tilsvarende ord + replace: Erstatter kortenes tekster + auto replace: Hvilken tekst skal automatisk erstattes? + preferences: Ændr Magic Set Editor's konfiguration + + cards: + previous card: Vælg det forhenværende kort i listen + next card: Vælger det næste kort i listen + add card: Tilføler et nyt, tomt kort til listen + add cards: Tilføjer flere kort til listen + remove card: Sletter det valgte kort fra sættet! + orientation: Det valgte korts orientation + rotate card: Roterer kortet 90° med uret + rotate 0: Viser kortet normalt + rotate 270: Viser kortet 270 grader med uret + rotate 90: Viser kortet 90 grader mod uret + rotate 180: Viser kortet på hovedet + card list columns: Vælg hvilke kolonner der er vist og i hvilken rækkefølge. + + keywords: + previous keyword: Vælger det forhenværende nøgleord i listen + next keyword: Vælger det næste nøgleord i listen + add keyword: Tilføjer et nyt nøgleord til sættet + remove keyword: Sletter det valgte nøgleord til sættet + + format: + bold: Gør den valgte tekst fed + italic: Gør den valgte tekst kursiv + symbols: Teksten er som Magic-symboler + reminder text: Viser huskeregler i teksten + # spelling + no spelling suggestions: Der er ingen forslag til at rette denne fejl. + + graph: + pie: En lagkagegraf, hvert stykke viser antallet af kort + bar: En stolpegraf, hver stolpe viser antallet af kort + stack: En stolpegraf med stolperne lagt i bunker + scatter: Et koordinatdiagram, hvor størrelsen af hver koordinat viser størrelsen + scatter pie: Et koordinatdiagram hvor hver koordinat har sin egen lagkagegraf + + window: + new window: Åbner et nyt vindue for at arbejde med det samme sæt - open symbol: Åben et symbol - save symbol: Gem symbolet - save symbol as: Gem symbol under et andet filnavn - store symbol: Bruger symbolet i sættet - close symbol editor:Lukker symboleditoren - - duplicate: Duplikerer de valgte former - group: Gruppér de valgte former - ungroup: Opløser den valgte gruppe - - grid: Viser gitter - snap: Låser former og kanter fast til gitteret - - tool: - select: Vælg og flyt former - rotate: Rotér og fordrej former - points: Ændrer formpunkter i formen - basic shapes: Tegn basale former, fx. rektangler og cirkler - symmetry: Tilføj symmetri til symbolet - paint: Tegn på formen med en pensel - - select editor: - merge: Smelter formen sammen med former under den - subtract: Fjerner denne forms areal fra former under den - intersect: Finder de ramte områder med former under denne og viser kun arealet af denne figur hvor den rammer andre former - difference: Viser kun de områder, som ikke er ramt af andre former - overlap: Denne form placeres ovenpå andre, så grænsen kan derfor ses - border: Tegn denne form som en udvidet grænse - - drag to shear: Træk for at fordreje %s - drag to rotate: Træk for at rotere %s, Ctrl låser rotationen fast i hver 15. grad - drag to resize: Træk for at gøre %s større eller mindre, Ctrl gør størrelsesforholdet fast - click to select shape: Klik for at vælge en form, træk for at flytte en form, dobbeltklik for at ændre formen på formen - - ellipse: Tegn cirkler - rectangle: Tegn rektangler - polygon: Tegn polygoner, fx trekanter - star: Tegn stjerner - sides: Antal sider på polygonen eller takker på stjernen - drag to draw shape: Træk for at ændre størrelsen, Ctrl bevarer størrelsesforholdet, Shift centrerer objektet - draw ellipse: Klik og træk for en ellipse, hold Ctrl nede for en cirkel - draw rectangle: Klik og træk for en rektangel, hold Ctrl nede for en kvadrat - draw polygon: Klik og træk for en polygon - draw star: Klik og træk for en stjerne - - line segment: Laver det valgte linieområde lige - curve segment: Laver det valgte linieområde afrundet - free point: Tillader de to kontrolpunkter at blive flyttet frit - smooth point: Laver det valgte område glat ved at vælge to kontrolpunkter - symmetric point: Gør det valgte punkt symmetrisk - drag to move curve: Træk for at flytte kurven - drag to move line: Alt + træk for at flytte kurven; dobbeltklik for at tilføje et punkt - drag to move point: Klik og træk for at flytte punktet; dobbeltklik for at fjerne det - - rotation: Roteret symmetri (hjul) - reflection: Reflekteret symmetri (spejl) - add symmetry: Tilføj symmetri til objektet - remove symmetry: Fjern denne symmetri - copies: Antal reflektioner (originalen er medtalt) - - # Card select - filename format: (brug {card.name} for kortets navn ; Filtypen er baseret på udvidelsen) - -############################################################## Toolbar -tool: - undo: Fortryd - redo: Gendan - - cards tab: Kort - set info tab: Sætinformation - style tab: Stil - keywords tab: Nøgleord - stats tab: Statistik - random pack tab: Tilfældig - - # symbol editor - store symbol: Brug - - grid: Gitter - snap: Lås - - select: Vælg - rotate: Rotér - points: Punkter - basic shapes: Enkle former - symmetry: Symmetri - paint: Mal - - merge: Sammensmelt - subtract: Fratræk - intersect: Møde - difference: Forskel - overlap: Overlap - border: Grænse - - ellipse: Ellipse - rectangle: Rektangel - polygon: Polygon - star: Stjerne - - rotation: Rotation - reflection: Reflektion - add symmetry: Tilføj - remove symmetry: Fjern - - line segment: Linie - curve segment: Kurve - free point: Fri - smooth point: Glat - symmetric point: Symmetrisk - -############################################################## Toolbar help text -tooltip: - cards tab: - set info tab: Sætinformation - style tab: - keywords tab: - stats tab: - random pack tab: Tilfældige pakker - - new set: Nyt sæt - open set: Åben sæt - save set: Gem sæt - export: Eksportér sæt - - cut: Klip - copy: Kopiér - paste: Sæt ind - undo: Fortryd%s - redo: Gendan%s - - add card: Tilføj kort - remove card: Fjern valgte kort - rotate card: Rotér kort - - add keyword: Tilføj nøgleord - remove keyword: Fjern valgte nøgleord - - bold: Fed - italic: Kursiv - symbols: Symboler - reminder text: Huskeregler - - pie: Lagkagediagram - bar: Stolpediagram - stack: Multistolpediagram - scatter: Koordinatdiagram - scatter pie: Lagkagekoordinatdiagram - - cards tab: - set info tab: Sætinformation - style tab: Kortstil - keywords tab: - stats tab: - - # symbol editor - store symbol: Brug symbol i sæt - - grid: Vis gitter - snap: Lås til gitter - - select: Vælg (F5) - rotate: Rotér (F6) - points: Punkter (F7) - basic shapes: Enkle former (F8) - symmetry: Symmetri (F9) - paint: Mal på former (F10) - - merge: Smelt med underliggende former - subtract: Træk fra underliggende former - intersect: Mød underliggende former - difference: Forskelligør fra underliggende former - overlap: Placer ovenpå former - border: Tegn som en kant - - ellipse: Cirkel / Ellipse - rectangle: Kvadrat / Rektangel - polygon: Polygon - star: Stjerne - - rotation: Roteret symmetri (hjul) - reflection: Reflekteret symmetri (spejl) - add symmetry: Tilføj symmetri til valgte dele - remove symmetry: Fjern denne symmetri - - line segment: Til lige linie - curve segment: Til kurve - free point: Aflås punkt - smooth point: Gør punkt glat - symmetric point: Gør punkt symmetrisk - -############################################################## Labels in the GUI -label: - # Cards tab - card notes: Kortets noter: - # Keywords tab - keyword: Nøgleord - match: Svarer til - mode: Mode - uses: Brug - reminder: Huskeregel - rules: Flere regler - standard keyword: - Dette er et alment %s nøgleord, du kan ikke ændre det. - Hvis du laver en kopi af nøgleordet vil din kopi fungere før det almindelige nøgleord. - - # Style tab - styling options: Stilingsmuligheder - - # Random pack panel - pack selection: Valg af pakke - pack totals: Totale - pack name: Pakkens navn - seed: Variabel - total cards: Total - - # Open dialogs - all files Alle filer - - # Other set window dialogs - save changes: - Sættet '%s' er ændret. - - Vil du gemme ændringerne? - - # New set window - game type: &Spiltype: - style type: &Kortstil: - - stylesheet not found: - Sættet du har åbner bruger stilen "%s". - Denne stil er ikke i dit system, vælg venligst et alternativ. - - # Preferences - language: Sprog - windows: Åbne sæt - app language: Sprog: - card display: Kortdisplay - zoom: &Zoom: - percent of normal: % af normal størrelse - external programs: Eksterne programmer - apprentice: &Apprentice: - apprentice exe: Apprentice Executable - check at startup: Tjek efter nye versioner ved startup + cards tab: Redigerer kortene i sættet + set info tab: Ændrer information om saettet, dets skaber etc. - checking requires internet: - Dette kræver netforbindelse. - Når der ikke er forbindelse, bliver der ikke ledt efter opdateringer. - - Ingen information er fundet undervejs i tjekket. - - # Column select - select columns: Vælg de kolonner du vil vise - columns: Kolonner: - - # Card select / images export - select cards: Kort til at eksportere - selected card count: %s kort vil blive eksporteret. - select cards print: Vælg de kort, du vil udskrive - filename format: &Format: - filename conflicts: &Arbejdsmetode med dobbelte filnavne: - export filenames: Filnavne - filename is ignored: (filnavn er ignoreret) - - # apprentice export - set code: Sæt&kode: - apprentice export cancelled: Eksport til Apprentice er afbrudt - - # Html export - html template: Skabelon: - html export options:Eksportmuligheder - - # Image slicer - original: Original: - result: Resultat: - size: Størrelse - original size: &Original Størrelse - size to fit: Billedstørrelse er &rammestørrelse - force to fit: S&kaler billedstørrelse til rammestørrelse - custom size: &Selvvalgt størrelse - selection: Selektion - selection left: &Venstre - selection top: &Øverst - selection width: &Bredde - selection height: &Højde - zoom: Zoom - fix aspect ratio: Fiksér højde/breddeforhold + style tab: Ændrer kortenes stil + keywords tab: Definerer ekstra nøgleord for dette sæt + stats tab: Viser statistikker om dette sæt + random pack tab: Prøv at se hvordan sættet fungerer ved at lave boosters! + + help: + index: + website: + about: + + # Cards panel + collapse notes: Viser noteboksen + expand notes: Vis noteboksen + # Random pack panel + random seed: Hver kortgeneration laver en ny pakke + fixed seed: Hvis du bruger samme variabel vil den samme 'tilfældige' booster dukke op + seed: Variabel for denne kortgeneration. Hvis du bruger samme variabel vil den samme 'tilfældige' booster dukke op + edit pack type: Dobbeltklik for at ændre kortets type + number of packs: Antallet af %ss genereret + + # Preferences + app language: + Note: Du skal genstarte MSE for at ændringerne skal træde i kraft + zoom export: + (Når slukket er kortene eksporteret + og kopieret i 100% størrelse og uden rotation) + + # apprentice export + set code: En sætkode er to bogstaver, som Apprentice bruger til at skelne imellem sættene + + # Symbol editor + new symbol: Lav et nyt symbol - zoom amount: Zoom - zoom amount x: Zoom &X - zoom amount y: Zoom &Y - zoom %: % - filter: Filtrér - sharpen filter: &Skarphedsfilter - - # Auto replace - auto match: Svar til - auto replace: Erstat - - # Symbol editor - sides: sider - - # Packages window - package name: Pakke - package status: Status - package action: Handling - - package conflicts: konfliktmodifikationer - package modified: lokale modifikationer - package updates: opdateringer - package installed: installerede - package installable: ikke installerede - install package: installér - reinstall package: geninstallér - upgrade package: opdater - remove package: fjern - - installed version: Installeret version: - installable version: seneste version: - installer size: Størrelse: - installer status: Status: - no version: - - -############################################################## Buttons/checkboxes/choices in the GUI -button: - # Editor - edit symbol: Redigér - symbol gallery: Galleri - - # Style panel - use for all cards: Brug på &alle krot - use custom styling options: Muligheder &virker kun på dette kort - - # Keywords panel - insert parameter: Indsæt Parameter... - refer parameter: Brug Parameter... - - # Random pack panel - generate pack: &Generér Pakke - random seed: &Tilfældig Variabel - fixed seed: &Valgt Variabel - add custom pack: Tilføj &Egen Pakke... - - # Welcome - new set: Nyt sæt - open set: Åben sæt - check updates: Tjek efter opdateringer - last opened set: Senest åbnet sæt - - # Preferences - open sets in new window: Åben alle sæt i et nyt &vindue - select: &Vælg... - browse: &Gennemse... - high quality: &Opløsning i høj kvalitet - show lines: Vis &linier omkring felter - show editing hints: Vis bokse og hints for &redigering - zoom export: Brug zoom og rotationsfunktioner under e&ksport - check now: Tjek &Nu! - always: Altid - if internet connection exists: Hvis internetforbindelse findes - never: Aldrig - - # Column select - move up: Flyt &Op - move down: Flyt &Ned - show: &Vis - hide: &vis ikke - - # Card select - export entire set: Hele sættet - export generated packs: Genererede pakker - export custom cards selection: Udvalg - select cards: &Vælg Kort... - select all: Vælg &Alle - select none: Vælg &Ingen - overwrite: Overskriv gamle filer - keep old: Gem gamle filer - number: Tilføj tal til filnavnet - number overwrite: Tilføj tal til filnavnet, overskriv tidligere eksporteringer - - # Auto replace - use auto replace: Brug autoerstat - add item: &Tilføj - remove item: &Fjern - defaults: Vælg &Standard - enabled: Sat til - whole word: Svar til hele ord - - # Old style update checker (NOTE: this will be removed in a feature version) - close: &Luk + open symbol: Åben et symbol + save symbol: Gem symbolet + save symbol as: Gem symbol under et andet filnavn + store symbol: Bruger symbolet i sættet + close symbol editor:Lukker symboleditoren + + duplicate: Duplikerer de valgte former + group: Gruppér de valgte former + ungroup: Opløser den valgte gruppe + + grid: Viser gitter + snap: Låser former og kanter fast til gitteret + + tool: + select: Vælg og flyt former + rotate: Rotér og fordrej former + points: Ændrer formpunkter i formen + basic shapes: Tegn basale former, fx. rektangler og cirkler + symmetry: Tilføj symmetri til symbolet + paint: Tegn på formen med en pensel + + select editor: + merge: Smelter formen sammen med former under den + subtract: Fjerner denne forms areal fra former under den + intersect: Finder de ramte områder med former under denne og viser kun arealet af denne figur hvor den rammer andre former + difference: Viser kun de områder, som ikke er ramt af andre former + overlap: Denne form placeres ovenpå andre, så grænsen kan derfor ses + border: Tegn denne form som en udvidet grænse + + drag to shear: Træk for at fordreje %s + drag to rotate: Træk for at rotere %s, Ctrl låser rotationen fast i hver 15. grad + drag to resize: Træk for at gøre %s større eller mindre, Ctrl gør størrelsesforholdet fast + click to select shape: Klik for at vælge en form, træk for at flytte en form, dobbeltklik for at ændre formen på formen + + ellipse: Tegn cirkler + rectangle: Tegn rektangler + polygon: Tegn polygoner, fx trekanter + star: Tegn stjerner + sides: Antal sider på polygonen eller takker på stjernen + drag to draw shape: Træk for at ændre størrelsen, Ctrl bevarer størrelsesforholdet, Shift centrerer objektet + draw ellipse: Klik og træk for en ellipse, hold Ctrl nede for en cirkel + draw rectangle: Klik og træk for en rektangel, hold Ctrl nede for en kvadrat + draw polygon: Klik og træk for en polygon + draw star: Klik og træk for en stjerne + + line segment: Laver det valgte linieområde lige + curve segment: Laver det valgte linieområde afrundet + free point: Tillader de to kontrolpunkter at blive flyttet frit + smooth point: Laver det valgte område glat ved at vælge to kontrolpunkter + symmetric point: Gør det valgte punkt symmetrisk + drag to move curve: Træk for at flytte kurven + drag to move line: Alt + træk for at flytte kurven; dobbeltklik for at tilføje et punkt + drag to move point: Klik og træk for at flytte punktet; dobbeltklik for at fjerne det + + rotation: Roteret symmetri (hjul) + reflection: Reflekteret symmetri (spejl) + add symmetry: Tilføj symmetri til objektet + remove symmetry: Fjern denne symmetri + copies: Antal reflektioner (originalen er medtalt) + + # Card select + filename format: (brug {card.name} for kortets navn ; Filtypen er baseret på udvidelsen) + +############################################################## Toolbar +tool: + undo: Fortryd + redo: Gendan + + cards tab: Kort + set info tab: Sætinformation + style tab: Stil + keywords tab: Nøgleord + stats tab: Statistik + random pack tab: Tilfældig + + # symbol editor + store symbol: Brug + + grid: Gitter + snap: Lås + + select: Vælg + rotate: Rotér + points: Punkter + basic shapes: Enkle former + symmetry: Symmetri + paint: Mal + + merge: Sammensmelt + subtract: Fratræk + intersect: Møde + difference: Forskel + overlap: Overlap + border: Grænse + + ellipse: Ellipse + rectangle: Rektangel + polygon: Polygon + star: Stjerne + + rotation: Rotation + reflection: Reflektion + add symmetry: Tilføj + remove symmetry: Fjern + + line segment: Linie + curve segment: Kurve + free point: Fri + smooth point: Glat + symmetric point: Symmetrisk + +############################################################## Toolbar help text +tooltip: + cards tab: + set info tab: Sætinformation + style tab: + keywords tab: + stats tab: + random pack tab: Tilfældige pakker + + new set: Nyt sæt + open set: Åben sæt + save set: Gem sæt + export: Eksportér sæt + + cut: Klip + copy: Kopiér + paste: Sæt ind + undo: Fortryd%s + redo: Gendan%s + + add card: Tilføj kort + remove card: Fjern valgte kort + rotate card: Rotér kort + + add keyword: Tilføj nøgleord + remove keyword: Fjern valgte nøgleord + + bold: Fed + italic: Kursiv + symbols: Symboler + reminder text: Huskeregler + + pie: Lagkagediagram + bar: Stolpediagram + stack: Multistolpediagram + scatter: Koordinatdiagram + scatter pie: Lagkagekoordinatdiagram + + cards tab: + set info tab: Sætinformation + style tab: Kortstil + keywords tab: + stats tab: + + # symbol editor + store symbol: Brug symbol i sæt + + grid: Vis gitter + snap: Lås til gitter + + select: Vælg (F5) + rotate: Rotér (F6) + points: Punkter (F7) + basic shapes: Enkle former (F8) + symmetry: Symmetri (F9) + paint: Mal på former (F10) + + merge: Smelt med underliggende former + subtract: Træk fra underliggende former + intersect: Mød underliggende former + difference: Forskelligør fra underliggende former + overlap: Placer ovenpå former + border: Tegn som en kant + + ellipse: Cirkel / Ellipse + rectangle: Kvadrat / Rektangel + polygon: Polygon + star: Stjerne + + rotation: Roteret symmetri (hjul) + reflection: Reflekteret symmetri (spejl) + add symmetry: Tilføj symmetri til valgte dele + remove symmetry: Fjern denne symmetri + + line segment: Til lige linie + curve segment: Til kurve + free point: Aflås punkt + smooth point: Gør punkt glat + symmetric point: Gør punkt symmetrisk + +############################################################## Labels in the GUI +label: + # Cards tab + card notes: Kortets noter: + # Keywords tab + keyword: Nøgleord + match: Svarer til + mode: Mode + uses: Brug + reminder: Huskeregel + rules: Flere regler + standard keyword: + Dette er et alment %s nøgleord, du kan ikke ændre det. + Hvis du laver en kopi af nøgleordet vil din kopi fungere før det almindelige nøgleord. + + # Style tab + styling options: Stilingsmuligheder + + # Random pack panel + pack selection: Valg af pakke + pack totals: Totale + pack name: Pakkens navn + seed: Variabel + total cards: Total + + # Open dialogs + all files Alle filer + + # Other set window dialogs + save changes: + Sættet '%s' er ændret. + + Vil du gemme ændringerne? + + # New set window + game type: &Spiltype: + style type: &Kortstil: + + stylesheet not found: + Sættet du har åbner bruger stilen "%s". + Denne stil er ikke i dit system, vælg venligst et alternativ. + + # Preferences + language: Sprog + windows: Åbne sæt + app language: Sprog: + card display: Kortdisplay + zoom: &Zoom: + percent of normal: % af normal størrelse + external programs: Eksterne programmer + apprentice: &Apprentice: + apprentice exe: Apprentice Executable + check at startup: Tjek efter nye versioner ved startup + + checking requires internet: + Dette kræver netforbindelse. + Når der ikke er forbindelse, bliver der ikke ledt efter opdateringer. + + Ingen information er fundet undervejs i tjekket. + + # Column select + select columns: Vælg de kolonner du vil vise + columns: Kolonner: + + # Card select / images export + select cards: Kort til at eksportere + selected card count: %s kort vil blive eksporteret. + select cards print: Vælg de kort, du vil udskrive + filename format: &Format: + filename conflicts: &Arbejdsmetode med dobbelte filnavne: + export filenames: Filnavne + filename is ignored: (filnavn er ignoreret) + + # apprentice export + set code: Sæt&kode: + apprentice export cancelled: Eksport til Apprentice er afbrudt + + # Html export + html template: Skabelon: + html export options:Eksportmuligheder + + # Image slicer + original: Original: + result: Resultat: + size: Størrelse + original size: &Original Størrelse + size to fit: Billedstørrelse er &rammestørrelse + force to fit: S&kaler billedstørrelse til rammestørrelse + custom size: &Selvvalgt størrelse + selection: Selektion + selection left: &Venstre + selection top: &Øverst + selection width: &Bredde + selection height: &Højde + zoom: Zoom + fix aspect ratio: Fiksér højde/breddeforhold + + zoom amount: Zoom + zoom amount x: Zoom &X + zoom amount y: Zoom &Y + zoom %: % + filter: Filtrér + sharpen filter: &Skarphedsfilter + + # Auto replace + auto match: Svar til + auto replace: Erstat + + # Symbol editor + sides: sider + + # Packages window + package name: Pakke + package status: Status + package action: Handling + + package conflicts: konfliktmodifikationer + package modified: lokale modifikationer + package updates: opdateringer + package installed: installerede + package installable: ikke installerede + install package: installér + reinstall package: geninstallér + upgrade package: opdater + remove package: fjern + + installed version: Installeret version: + installable version: seneste version: + installer size: Størrelse: + installer status: Status: + no version: - + +############################################################## Buttons/checkboxes/choices in the GUI +button: + # Editor + edit symbol: Redigér + symbol gallery: Galleri + + # Style panel + use for all cards: Brug på &alle krot + use custom styling options: Muligheder &virker kun på dette kort + + # Keywords panel + insert parameter: Indsæt Parameter... + refer parameter: Brug Parameter... + + # Random pack panel + generate pack: &Generér Pakke + random seed: &Tilfældig Variabel + fixed seed: &Valgt Variabel + add custom pack: Tilføj &Egen Pakke... + + # Welcome + new set: Nyt sæt + open set: Åben sæt + check updates: Tjek efter opdateringer + last opened set: Senest åbnet sæt + + # Preferences + open sets in new window: Åben alle sæt i et nyt &vindue + select: &Vælg... + browse: &Gennemse... + high quality: &Opløsning i høj kvalitet + show lines: Vis &linier omkring felter + show editing hints: Vis bokse og hints for &redigering + zoom export: Brug zoom og rotationsfunktioner under e&ksport + check now: Tjek &Nu! + always: Altid + if internet connection exists: Hvis internetforbindelse findes + never: Aldrig + + # Column select + move up: Flyt &Op + move down: Flyt &Ned + show: &Vis + hide: &vis ikke + + # Card select + export entire set: Hele sættet + export generated packs: Genererede pakker + export custom cards selection: Udvalg + select cards: &Vælg Kort... + select all: Vælg &Alle + select none: Vælg &Ingen + overwrite: Overskriv gamle filer + keep old: Gem gamle filer + number: Tilføj tal til filnavnet + number overwrite: Tilføj tal til filnavnet, overskriv tidligere eksporteringer + + # Auto replace + use auto replace: Brug autoerstat + add item: &Tilføj + remove item: &Fjern + defaults: Vælg &Standard + enabled: Sat til + whole word: Svar til hele ord + + # Old style update checker (NOTE: this will be removed in a feature version) + close: &Luk + + + # Packages window + keep package: &Ændr ikke + don't install package: &Installér ikke + install package: &Installér + upgrade package: &Opdatér + reinstall package: Gen&installér + remove package: &Fjern + install group: &Installér Alt + upgrade group: &Opgradér Alt + remove group: &Fjern Alt + +############################################################## Titles in the GUI +title: + magic set editor: Magic Set Editor + %s - magic set editor: %s - Magic Set Editor + untitled: Unavngivet + about: Om Magic Set Editor + symbol editor: Symbol Editor + # dialogs + new set: Nyt Sæt + open set: Åben Sæt + save set: Gem Sæt Som + save image: Gem Billede + updates available: Opdateringer Ikke Tilgængelige + save changes: Gem Ændringer? + select stylesheet: Vælg Stil + #preferences + preferences: Præferencer + global: Globalt + display: Display + directories: Mapper + updates: Opdateringer + update check: Opdateringstjek + locate apprentice: Find Apprentice + # select + select columns: Vælg Kolonner + select cards: Vælg Kort + select cards export:Vælg Kort Til Eksport + # slice + slice image: Billededitor + # pack + custom pack: Egen Pakketype + # print + print preview: Udskriftsvisning + # export + export images: Eksportér Billeder + export cancelled: Eksport Afbrudt + export html: Eksportér til HTML + save html: Eksportér til HTML + # auto replace + auto replaces: Autoerstat + + # Package Update Window + packages window: Pakkemanager + installing updates: Installerer opdateringer + + cannot create file: Kan ikke skabe fil + +############################################################## Action (undo/redo) names +action: + # List boxes + add item: Tilføj %s + remove item: Fjern %s + + # Text editor + typing: Skrivning + enter: Enter + soft line break: Blød linie pause + insert symbol: Indsæt symbol + backspace: Backspace + delete: Delete + cut: Klip + paste: Sæt ind + auto replace: Autoerstat + correct: Stavekontrol + # Choice/color editors + change: Ændr %s + + # Symbol Actions + move: Flyt %s + rotate: Rotér %s + shear: Stræk/Vrid %s + scale: Forstør/Formindsk %s + duplicate: Duplikér %s + reorder parts: Omlæg + change combine mode:Ændr Combine Mode + change shape name: Ændr formnavn + group parts: Gruppér + ungroup parts: Opløs + + # Symbol Part Actions + convert to line: Konverter til linie + convert to curve: Konverter til kurve + lock point: Låsepunkt + move handle: Flyt håndtag + move curve: Flyt kurve + add control point: Tilføj kontrolpunkt + delete point: Fjern punkt + delete points: Slet punkt + + # Symmetry + add symmetry: Tilføj symmetri + #remove symmetry: Fjern symmetri + move symmetry center: Flyt symmetri centrum + move symmetry handle: Ændr symmetriens orientation + change symmetry type: Ændr symmetriens type + change symmetry copies: Antal reflektioner + +############################################################## Error messages +error: + # File related + file not found: File not found: '%s' in package '%s' + file not found package like: + File not found: '%s' in package '%s' + If you are trying to open a file from another package, use "/package/filename" + file parse error: + Error while parsing file: '%s' + %s + package not found: Package not found: '%s' + package out of date: The package '%s' (version %s) is out of date, version %s is required. + package too new: The package '%s' (version %s) is not compatible with version %s, required by '%s' + unable to open output file: Error while saving, unable to open output file + unable to store file: Error while saving, unable to store file + dependency not given: + The package '%s' uses files from the package '%s', but it does not list a dependency. + To resolve this, add: + depends on: %s %s + + # Script stuff + has no member: %s has no member '%s' + can't convert: Can't convert from %s to %s + has no member value: String "%s" has no member '%s' + can't convert value: Can't convert "%s" from %s to %s + unsupported format: Invalid string format: '%s' + in function: + %s + in function %s + in parameter: + Parameter %s: %s + in keyword reminder: + %s + in reminder text of keyword '%s' + + # Image stuff + coordinates for blending overlap: Coordinates for blending overlap + images used for blending must have the same size: Images used for blending must have the same size + + # Error from files + no game specified: No game specified for the %s + no stylesheet specified for the set: No stylesheet specified for the set + stylesheet and set refer to different game: + stylesheet and set don't refer to the same game, this is an error in the stylesheet file + unsupported field type: Unsupported field type: '%s' + unsupported fill type: Unsupported fill type: '%s' + unrecognized value: Unrecognized value: '%s' + expected key: Expected key: '%s' + aborting parsing: Fatal errors encountered, aborting reading. + newer version: + %s + This file is made with a newer version of Magic Set Editor (%s) + When you open it, some aspects of the file may be lost. + It is recommended that you upgrade to the latest version. + Visit http:://magicseteditor.sourceforge.net/ + word list type not found: The word list type "%s" was not found (from a tag) + pack item not found: The pack item "%s" was not found (from a pack type) + pack type not found: The pack type "%s" was not found (from a pack type) + + # Update checking + checking updates failed: Checking updates failed. + no updates: There are no available updates. + + # Stats panel + dimension not found: There is no statistics dimension '%s' + + # Random packs + pack type duplicate name: + There is already a pack type named '%s'. + Please choose a different name. + + # Package update window +# checking updates: Checking for updates. + can't download installer: + Unable to download installer for package %s from %s. + Nothing has been installed. + + downloading updates: Downloading updates (%d of %d) + installing updates: Updating packages (%d of %d) + + remove packages: + This will remove %s packages, do you want to continue? + remove packages modified: + This will remove %s packages, %s of those have been modified after installing. + Removing them can not be undone. + + Do you want to continue? + install packages successful: %s package(s) were successfully installed. + remove packages successful: %s package(s) were successfully removed. + change packages successful: %s package(s) were successfully changed. + + cannot create file: Can not create file '%s', continue installation? + +############################################################## Types used in scripts / shape names +type: + function: function + collection: collection + collection of: collection of %ss + object: object + double: real number + integer: integer number + string: string + boolean: boolean + color: color + image: image + date: date + nil: nothing + + # Object types + package: package + locale: translation + game: game + set: set + stylesheet: stylesheet + export template:export template + symbol: symbol + card: card + cards: cards + field: field + style: style + value: value + keyword: keyword + keywords: keywords + pack: pack type + + # Symbol editor shapes + shape: shape + shapes: shapes + circle: circle + ellipse: ellipse + square: square + rectangle: rectangle + triangle: triangle + rhombus: rhombus + pentagon: pentagon + hexagon: hexagon + polygon: polygon + star: star + + rotation: rotation + reflection: reflection + group: group + + point: point + points: points + +############################################################## Magic +package: + magic.mse-game: + # Card fields + name: Name + cc: CC + type: Type + p/t: P/T + rarity: Rarity + card name: Card Name + + # Set info + + # descriptions/help text + + magic-mana-*.mse-symbol-font: + # note: reminder/shortcut must start with a space, otherwise it is used as a shortcut + # so typing T *anywhere* would insert a symbol (which would be bad) + menu item T: &Tap symbol T + menu item Q: &Untap symbol Q + menu item W: &White mana W + menu item U: Bl&ue mana U + menu item B: &Black mana B + menu item R: &Red mana R + menu item G: &Green mana G + menu item S: &Snow mana S + menu item X: Variable mana &X X + menu item Y: Variable mana &Y Y + menu item Z: Variable mana &Z Z + menu item I: &Infinite mana I + menu item colorless: &Colorless mana... + title colorless: Colorless mana + message colorless: Enter amount of colorless mana: + menu item half: &Half mana + menu item |W: &White |W + menu item |U: Bl&ue |U + menu item |B: &Black |B + menu item |R: &Red |R + menu item |G: &Green |G + menu item |S: &Snow |S + menu item 1/2: &Colorless 1/2 + menu item hybrid: H&ybrid mana (two color) + menu item W/U: White/Blue mana W/U + menu item U/B: Blue/Black mana U/B + menu item B/R: Black/Red mana B/R + menu item R/G: Red/Green mana R/G + menu item G/W: Green/White mana G/W + menu item W/B: White/Black mana W/B + menu item U/R: Blue/Red mana U/R + menu item B/G: Black/Green mana B/G + menu item R/W: Red/White mana R/W + menu item G/U: Green/Blue mana G/U + menu item hybrid 3: H&ybrid mana (three color) + menu item W/U/B: White/Blue/Black mana W/U/B + menu item U/B/R: Blue/Black/Red mana U/B/R + menu item B/R/G: Black/Red/Green mana B/R/G + menu item R/G/W: Red/Green/White mana R/G/W + menu item G/W/U: Green/White/Blue mana G/W/U + menu item W/B/R: White/Black/Red mana W/B/R + menu item U/R/G: Blue/Red/Green mana U/R/G + menu item B/G/W: Black/Green/White mana B/G/W + menu item R/W/U: Red/White/Blue mana R/W/U + menu item G/U/B: Green/Blue/Black mana G/U/B - - # Packages window - keep package: &Ændr ikke - don't install package: &Installér ikke - install package: &Installér - upgrade package: &Opdatér - reinstall package: Gen&installér - remove package: &Fjern - install group: &Installér Alt - upgrade group: &Opgradér Alt - remove group: &Fjern Alt - -############################################################## Titles in the GUI -title: - magic set editor: Magic Set Editor - %s - magic set editor: %s - Magic Set Editor - untitled: Unavngivet - about: Om Magic Set Editor - symbol editor: Symbol Editor - # dialogs - new set: Nyt Sæt - open set: Åben Sæt - save set: Gem Sæt Som - save image: Gem Billede - updates available: Opdateringer Ikke Tilgængelige - save changes: Gem Ændringer? - select stylesheet: Vælg Stil - #preferences - preferences: Præferencer - global: Globalt - display: Display - directories: Mapper - updates: Opdateringer - update check: Opdateringstjek - locate apprentice: Find Apprentice - # select - select columns: Vælg Kolonner - select cards: Vælg Kort - select cards export:Vælg Kort Til Eksport - # slice - slice image: Billededitor - # pack - custom pack: Egen Pakketype - # print - print preview: Udskriftsvisning - # export - export images: Eksportér Billeder - export cancelled: Eksport Afbrudt - export html: Eksportér til HTML - save html: Eksportér til HTML - # auto replace - auto replaces: Autoerstat - - # Package Update Window - packages window: Pakkemanager - installing updates: Installerer opdateringer - - cannot create file: Kan ikke skabe fil - -############################################################## Action (undo/redo) names -action: - # List boxes - add item: Tilføj %s - remove item: Fjern %s - - # Text editor - typing: Skrivning - enter: Enter - soft line break: Blød linie pause - insert symbol: Indsæt symbol - backspace: Backspace - delete: Delete - cut: Klip - paste: Sæt ind - auto replace: Autoerstat - correct: Stavekontrol - # Choice/color editors - change: Ændr %s - - # Symbol Actions - move: Flyt %s - rotate: Rotér %s - shear: Stræk/Vrid %s - scale: Forstør/Formindsk %s - duplicate: Duplikér %s - reorder parts: Omlæg - change combine mode:Ændr Combine Mode - change shape name: Ændr formnavn - group parts: Gruppér - ungroup parts: Opløs - - # Symbol Part Actions - convert to line: Konverter til linie - convert to curve: Konverter til kurve - lock point: Låsepunkt - move handle: Flyt håndtag - move curve: Flyt kurve - add control point: Tilføj kontrolpunkt - delete point: Fjern punkt - delete points: Slet punkt - - # Symmetry - add symmetry: Tilføj symmetri - #remove symmetry: Fjern symmetri - move symmetry center: Flyt symmetri centrum - move symmetry handle: Ændr symmetriens orientation - change symmetry type: Ændr symmetriens type - change symmetry copies: Antal reflektioner - -############################################################## Error messages -error: - # File related - file not found: File not found: '%s' in package '%s' - file not found package like: - File not found: '%s' in package '%s' - If you are trying to open a file from another package, use "/package/filename" - file parse error: - Error while parsing file: '%s' - %s - package not found: Package not found: '%s' - package out of date: The package '%s' (version %s) is out of date, version %s is required. - package too new: The package '%s' (version %s) is not compatible with version %s, required by '%s' - unable to open output file: Error while saving, unable to open output file - unable to store file: Error while saving, unable to store file - dependency not given: - The package '%s' uses files from the package '%s', but it does not list a dependency. - To resolve this, add: - depends on: %s %s - - # Script stuff - has no member: %s has no member '%s' - can't convert: Can't convert from %s to %s - has no member value: String "%s" has no member '%s' - can't convert value: Can't convert "%s" from %s to %s - unsupported format: Invalid string format: '%s' - in function: - %s - in function %s - in parameter: - Parameter %s: %s - in keyword reminder: - %s - in reminder text of keyword '%s' - - # Image stuff - coordinates for blending overlap: Coordinates for blending overlap - images used for blending must have the same size: Images used for blending must have the same size - - # Error from files - no game specified: No game specified for the %s - no stylesheet specified for the set: No stylesheet specified for the set - stylesheet and set refer to different game: - stylesheet and set don't refer to the same game, this is an error in the stylesheet file - unsupported field type: Unsupported field type: '%s' - unsupported fill type: Unsupported fill type: '%s' - unrecognized value: Unrecognized value: '%s' - expected key: Expected key: '%s' - aborting parsing: Fatal errors encountered, aborting reading. - newer version: - %s - This file is made with a newer version of Magic Set Editor (%s) - When you open it, some aspects of the file may be lost. - It is recommended that you upgrade to the latest version. - Visit http:://magicseteditor.sourceforge.net/ - word list type not found: The word list type "%s" was not found (from a tag) - pack item not found: The pack item "%s" was not found (from a pack type) - pack type not found: The pack type "%s" was not found (from a pack type) - - # Update checking - checking updates failed: Checking updates failed. - no updates: There are no available updates. - - # Stats panel - dimension not found: There is no statistics dimension '%s' - - # Random packs - pack type duplicate name: - There is already a pack type named '%s'. - Please choose a different name. - - # Package update window -# checking updates: Checking for updates. - can't download installer: - Unable to download installer for package %s from %s. - Nothing has been installed. - - downloading updates: Downloading updates (%d of %d) - installing updates: Updating packages (%d of %d) - - remove packages: - This will remove %s packages, do you want to continue? - remove packages modified: - This will remove %s packages, %s of those have been modified after installing. - Removing them can not be undone. - - Do you want to continue? - install packages successful: %s package(s) were successfully installed. - remove packages successful: %s package(s) were successfully removed. - change packages successful: %s package(s) were successfully changed. - - cannot create file: Can not create file '%s', continue installation? - -############################################################## Types used in scripts / shape names -type: - function: function - collection: collection - collection of: collection of %ss - object: object - double: real number - integer: integer number - string: string - boolean: boolean - color: color - image: image - date: date - nil: nothing - - # Object types - package: package - locale: translation - game: game - set: set - stylesheet: stylesheet - export template:export template - symbol: symbol - card: card - cards: cards - field: field - style: style - value: value - keyword: keyword - keywords: keywords - pack: pack type - - # Symbol editor shapes - shape: shape - shapes: shapes - circle: circle - ellipse: ellipse - square: square - rectangle: rectangle - triangle: triangle - rhombus: rhombus - pentagon: pentagon - hexagon: hexagon - polygon: polygon - star: star - - rotation: rotation - reflection: reflection - group: group - - point: point - points: points - -############################################################## Magic -package: - magic.mse-game: - # Card fields - name: Name - cc: CC - type: Type - p/t: P/T - rarity: Rarity - card name: Card Name - - # Set info - - # descriptions/help text - - magic-mana-*.mse-symbol-font: - # note: reminder/shortcut must start with a space, otherwise it is used as a shortcut - # so typing T *anywhere* would insert a symbol (which would be bad) - menu item T: &Tap symbol T - menu item Q: &Untap symbol Q - menu item W: &White mana W - menu item U: Bl&ue mana U - menu item B: &Black mana B - menu item R: &Red mana R - menu item G: &Green mana G - menu item S: &Snow mana S - menu item X: Variable mana &X X - menu item Y: Variable mana &Y Y - menu item Z: Variable mana &Z Z - menu item I: &Infinite mana I - menu item colorless: &Colorless mana... - title colorless: Colorless mana - message colorless: Enter amount of colorless mana: - menu item half: &Half mana - menu item |W: &White |W - menu item |U: Bl&ue |U - menu item |B: &Black |B - menu item |R: &Red |R - menu item |G: &Green |G - menu item |S: &Snow |S - menu item 1/2: &Colorless 1/2 - menu item hybrid: H&ybrid mana (two color) - menu item W/U: White/Blue mana W/U - menu item U/B: Blue/Black mana U/B - menu item B/R: Black/Red mana B/R - menu item R/G: Red/Green mana R/G - menu item G/W: Green/White mana G/W - menu item W/B: White/Black mana W/B - menu item U/R: Blue/Red mana U/R - menu item B/G: Black/Green mana B/G - menu item R/W: Red/White mana R/W - menu item G/U: Green/Blue mana G/U - menu item hybrid 3: H&ybrid mana (three color) - menu item W/U/B: White/Blue/Black mana W/U/B - menu item U/B/R: Blue/Black/Red mana U/B/R - menu item B/R/G: Black/Red/Green mana B/R/G - menu item R/G/W: Red/Green/White mana R/G/W - menu item G/W/U: Green/White/Blue mana G/W/U - menu item W/B/R: White/Black/Red mana W/B/R - menu item U/R/G: Blue/Red/Green mana U/R/G - menu item B/G/W: Black/Green/White mana B/G/W - menu item R/W/U: Red/White/Blue mana R/W/U - menu item G/U/B: Green/Blue/Black mana G/U/B - diff --git a/data/magic-blends.mse-include/include b/data/magic-blends.mse-include/include index dd413f7b..c8e32288 100644 --- a/data/magic-blends.mse-include/include +++ b/data/magic-blends.mse-include/include @@ -1,12 +1,12 @@ -mse version: 0.3.8 -full name: Magic The Gathering, card blend utilities -version: 2009-04-09 - -# This file doesn't do anything, other files in this directory can be included -# in game/style files: -# card-colors Defines card color choices -# Use in game -# blend-scripts Defines card_hybrid, family of functions -# Use in init script of style -# card-backgrounds Uses the blend scripts to make choice images for card backgrounds +mse version: 0.3.8 +full name: Magic The Gathering, card blend utilities +version: 2009-04-09 + +# This file doesn't do anything, other files in this directory can be included +# in game/style files: +# card-colors Defines card color choices +# Use in game +# blend-scripts Defines card_hybrid, family of functions +# Use in init script of style +# card-backgrounds Uses the blend scripts to make choice images for card backgrounds # Template names can be redefined \ No newline at end of file diff --git a/data/magic-blends.mse-include/new-blends b/data/magic-blends.mse-include/new-blends index b24109de..5eebc0c3 100644 --- a/data/magic-blends.mse-include/new-blends +++ b/data/magic-blends.mse-include/new-blends @@ -1,602 +1,602 @@ -# Scripts for blending images -# Included by a style file in its init script - - -######################################################################## -# Filenames and other defaults -######################################################################## - -mask_hybrid_with_land := { false } -mask_multi_land_with_color := { false } -template := { input + "{type}.jpg" } -land_template := { (if input == "a" then "c" else input) + "l{type}.jpg" } -# For what value should thumbnails of hybrids be made? -hybrid_previews := "hybrid" -# Are there templates for colored lands, land_template(...)? -colored_lands := true - -######################################################################## -# Combining multiple colors (hybrids) -######################################################################## - -card_hybrid_2 := { - linear_blend( - image1: template(colors[0]) - image2: template(colors[1]) - x1: 0.4, y1: 0 - x2: 0.6, y2: 0 - ) -} - -overlay_hybrid := [ - 1: { template(colors[0]) } - 2: { combine_blend( - image1: template(colors[0]), - image2: template(colors[1]), - combine: "symmetric overlay" - )} -] - -# vertical version of a horizontal hybrid -vertical_card_hybrid := { - do_linear_blend := linear_blend - linear_blend := { do_linear_blend(x1: 0, x2: 0, y1: x1, y2: x2) } - card_hybrid.horizontal[color_count]() -} - -horizontal_card_hybrid := [ - 1: { template(colors[0]) } - 2: card_hybrid_2 - 3: {linear_blend( - image1: template(colors[0]) - x1: 0.22, y1: 0 - x2: 0.4, y2: 0 - image2: linear_blend( - image1: template(colors[1]) - x1: 0.6, y1: 0 - x2: 0.78, y2: 0 - image2: template(colors[2]) - ))} - 4: {linear_blend( - # blend = 0.16 - image1: template(colors[0]) - x1: 0.15, y1: 0 - x2: 0.31, y2: 0 - image2: linear_blend( - image1: template(colors[1]) - x1: 0.42, y1: 0 - x2: 0.58, y2: 0 - image2: linear_blend( - image1: template(colors[2]) - x1: 0.69, y1: 0 - x2: 0.85, y2: 0 - image2: template(colors[3]) - )))} - 5: {linear_blend( - image1: template(colors[0]) - x1: 2.0 / 15, y1: 0 - x2: 4.0 / 15, y2: 0 - image2: linear_blend( - image1: template(colors[1]) - x1: 5.0 / 15, y1: 0 - x2: 7.0 / 15, y2: 0 - image2: linear_blend( - image1: template(colors[2]) - x1: 8.0 / 15, y1: 0 - x2: 10.0 / 15, y2: 0 - image2: linear_blend( - image1: template(colors[3]) - x1: 11.0 / 15, y1: 0 - x2: 13.0 / 15, y2: 0 - image2: template(colors[4]) - ))))} - 6: {linear_blend( - image1: template(colors[0]) - x1: 1.5 / 15, y1: 0 - x2: 3.1 / 15, y2: 0 - image2: linear_blend( - image1: template(colors[1]) - x1: 4.1 / 15, y1: 0 - x2: 5.7 / 15, y2: 0 - image2: linear_blend( - image1: template(colors[2]) - x1: 6.7 / 15, y1: 0 - x2: 8.3 / 15, y2: 0 - image2: linear_blend( - image1: template(colors[3]) - x1: 9.3 / 15, y1: 0 - x2: 10.9 / 15, y2: 0 - image2: linear_blend( - image1: template(colors[4]) - x1: 11.9 / 15, y1: 0 - x2: 13.5 / 15, y2: 0 - image2: template(colors[5]) - )))))} - 7: {linear_blend( - image1: template(colors[0]) - x1: 1.3 / 15, y1: 0 - x2: 2.7 / 15, y2: 0 - image2: linear_blend( - image1: template(colors[1]) - x1: 3.5 / 15, y1: 0 - x2: 4.9 / 15, y2: 0 - image2: linear_blend( - image1: template(colors[2]) - x1: 5.7 / 15, y1: 0 - x2: 7.1 / 15, y2: 0 - image2: linear_blend( - image1: template(colors[3]) - x1: 7.9 / 15, y1: 0 - x2: 9.3 / 15, y2: 0 - image2: linear_blend( - image1: template(colors[4]) - x1: 10.1 / 15, y1: 0 - x2: 11.5 / 15, y2: 0 - image2: linear_blend( - image1: template(colors[5]) - x1: 12.3 / 15, y1: 0 - x2: 13.7 / 15, y2: 0 - image2: template(colors[6]) - ))))))} -] - -card_hybrid := [ - radial: [ - 0: { template("c") } - 1: { template(colors[0]) } - 2: card_hybrid_2 - 3: {linear_blend( - image1: card_hybrid_2(colors: colors[0] + colors[1]), - image2: template(colors[2]), - x1: 0, y1: 0.55 - x2: 0, y2: 0.77 - )} - 4: {linear_blend( - image1: card_hybrid_2(colors: colors[0] + colors[1]) - image2: card_hybrid_2(colors: colors[3] + colors[2]) - x1: 0, y1: 0.4 - x2: 0, y2: 0.62 - )} - 5: {linear_blend( - image1: linear_blend( - image1: card_hybrid_2(colors: colors[0] + colors[1]), - image2: card_hybrid_2(colors: colors[4] + colors[2]), - x1: 0, y1: 0.19 - x2: 0, y2: 0.35 - ), - image2: template(colors[3]), - x1: 0, y1: 0.777 - x2: 0, y2: 0.937 - )} - 6: {linear_blend( - image1: linear_blend( - image1: card_hybrid_2(colors: colors[0] + colors[1]), - image2: card_hybrid_2(colors: colors[5] + colors[2]), - x1: 0, y1: 0.19 - x2: 0, y2: 0.35 - ), - image2: card_hybrid_2(colors: colors[4] + colors[3]), - x1: 0, y1: 0.777 - x2: 0, y2: 0.937 - )} - 7: {linear_blend( - image1: linear_blend( - image1: linear_blend( - image1: card_hybrid_2(colors: colors[0] + colors[1]), - image2: card_hybrid_2(colors: colors[6] + colors[3]), - x1: 0, y1: 0.34 - x2: 0, y2: 0.50 - ), - image2: card_hybrid_2(colors: colors[5] + colors[3]), - x1: 0, y1: 0.877 - x2: 0, y2: 0.937 - ), - image2: template(colors[4]), - x1: 0, y1: 1.140 - x2: 0, y2: 1.300 - )} - ] - horizontal: horizontal_card_hybrid - vertical: [ - 1: { template(colors[0]) } - 2: { linear_blend( - image1: template(colors[0]) - image2: template(colors[1]) - x1: 0, y1: 0.4 - x2: 0, y2: 0.6 - )} - 3: vertical_card_hybrid - 4: vertical_card_hybrid - 5: vertical_card_hybrid - 6: vertical_card_hybrid - 7: vertical_card_hybrid - ] - overlay: overlay_hybrid -] - - -######################################################################## -# P/T box -######################################################################## -# These are easier - -horizontal_pt_hybrid := [ - 1: { template(colors[0]) } - 2: { template(colors[1]) } - 3: { linear_blend( - image1: template(colors[1]) - image2: template(colors[2]) - x1: -0.51, y1: 0 - x2: 0.26, y2: 0 - )} - 4: { linear_blend( - image1: template(colors[2]) - image2: template(colors[3]) - x1: -0.1, y1: 0 - x2: 0.6, y2: 0 - )} - 5: { linear_blend( - image1: template(colors[3]) - image2: template(colors[4]) - x1: 0.08, y1: 0 - x2: 0.65, y2: 0 - )} - 6: { linear_blend( - image1: template(colors[4]) - image2: template(colors[5]) - x1: 0.07, y1: 0 - x2: 0.7, y2: 0 - )} - 7: {linear_blend( - image1: linear_blend( - image1: template(colors[4]), - image2: template(colors[5]), - x1: -0.2, y1: 0 - x2: 0.2, y2: 0 - ), - image2: template(colors[6]), - x1: 0.5, y1: 0 - x2: 0.7, y2: 0 - )} -] - -pt_hybrid := [ - radial: [ - 0: { template("c") } - 1: { template(colors[0]) } - 2: { template(colors[1]) } - 3: { template(colors[2]) } - 4: { template(colors[2]) } - 5: { linear_blend( - image1: template(colors[2]) - image2: template(colors[3]) - x1: 0, y1: -1.5 - x2: 0, y2: 0.7 - )} - 6: { linear_blend( - image1: template(colors[2]) - image2: template(colors[3]) - x1: 0, y1: -1.5 - x2: 0, y2: 0.7 - )} - 7: { template(colors[4]) } - ] - horizontal: horizontal_pt_hybrid - vertical: [ - 1: { template(colors[0]) } - 2: { template(colors[1]) } - 3: { template(colors[2]) } - 4: { template(colors[3]) } - 5: { template(colors[4]) } - 6: { template(colors[5]) } - 7: { template(colors[6]) } - ] - overlay: overlay_hybrid -] - -######################################################################## -# P/T boxes of flip cards -######################################################################## - -flip_pt_hybrid := [ - radial: [ - 0: { template("c") } - 1: { template(colors[0]) } - 2: { template(colors[1]) } - 3: { template(colors[1]) } - 4: { template(colors[1]) } - 5: { linear_blend( - image1: template(colors[1]) - image2: template(colors[2]) - x1: 0, y1: -1 - x2: 0, y2: 1.8 - )} - 6: { linear_blend( - image1: template(colors[1]) - image2: template(colors[2]) - x1: 0, y1: -1 - x2: 0, y2: 1.8 - )} - 7: { template(colors[4]) } - ] - horizontal: horizontal_pt_hybrid - vertical: [ - 1: { template(colors[0]) } - 2: { template(colors[0]) } - 3: { linear_blend( - image1: template(colors[0]) - image2: template(colors[1]) - x1: 0, y1: 0 - x2: 0, y2: 2 - )} - 4: { linear_blend( - image1: template(colors[0]) - image2: template(colors[1]) - x1: 0, y1: -1.5 - x2: 0, y2: 1 - )} - 5: { linear_blend( - image1: template(colors[0]) - image2: template(colors[1]) - x1: 0, y1: -1.1 - x2: 0, y2: 0.2 - )} - 6: { template(colors[1]) } # Probably not right - 7: { template(colors[2]) } - ] - overlay: overlay_hybrid -] - -flip_pt_hybrid2 := [ - radial: [ - 0: { template("c") } - 1: { template(colors[0]) } - 2: { template(colors[0]) } - 3: { linear_blend( - image1: template(colors[0]) - image2: template(colors[2]) - x1: 0, y1: -1 - x2: 0, y2: 1.1 - )} - 4: { template(colors[3]) } - 5: { template(colors[4]) } - 6: { template(colors[5]) } - 7: { template(colors[5]) } - ] - horizontal: [ - 1: { template(colors[0]) } - 2: { template(colors[0]) } - 3: { template(colors[0]) } - 4: { linear_blend( - image1: template(colors[0]) - image2: template(colors[1]) - x1: 0.4, y1: 0 - x2: 1.5, y2: 0 - )} - 5: { linear_blend( - image1: template(colors[0]) - image2: template(colors[1]) - x1: 0.08, y1: 0 - x2: 0.65, y2: 0 - )} - 6: { template(colors[5]) } #TODO - 7: { template(colors[6]) } #TODO - ] - vertical: [ - 1: { template(colors[0]) } - 2: { template(colors[1]) } - 3: { linear_blend( - image1: template(colors[1]) - image2: template(colors[2]) - x1: 0, y1: -1 - x2: 0, y2: 1.5 - )} - 4: { linear_blend( - image1: template(colors[2]) - image2: template(colors[3]) - x1: 0, y1: 0.5 - x2: 0, y2: 3 - )} - 5: { template(colors[3]) } - 6: { template(colors[5]) } # Probably not right - 7: { template(colors[6]) } - ] - overlay: overlay_hybrid -] - -######################################################################## -# Textbox and typeline for FPM templates and Futureshifts -######################################################################## - -textbox_hybrid := [ - radial: [ - 0: { template("c") } - 1: { template(colors[0]) } - 2: card_hybrid_2 - 3: { template(colors[2]) } - 4: { card_hybrid_2(colors: colors[3] + colors[2]) } - 5: { template(colors[3]) } - 6: { card_hybrid_2(colors: colors[4] + colors[3]) } - 7: { template(colors[4]) } - ] - horizontal: horizontal_card_hybrid - vertical: [ - 0: { template("c") } - 1: { template(colors[0]) } - 2: { template(colors[1]) } - 3: { template(colors[2]) } # TODO - 4: { template(colors[3]) } - 5: { template(colors[4]) } - 6: { template(colors[5]) } - 7: { template(colors[6]) } - ] - overlay: overlay_hybrid -] - -typeline_hybrid := textbox_hybrid - -######################################################################## -# Putting it all together. -######################################################################## - -# Determine the card background based on the card_color multiple choice options -color_background := { - - # for thumbnails - if input == "hybrid" then - input := "white,blue,red,{hybrid_previews},horizontal" - else if input == "overlay" then - input := "blue,red,{hybrid_previews},overlay" - else if input == "radial" or input == "horizontal" or input == "vertical" then - input := "white,blue,red,{hybrid_previews}," + input - else if input == "reversed" then - input := "white,blue,red,{hybrid_previews},horizontal,reversed" - - # What type of 'hybrid'? - land := chosen(choice:"land") - multi := chosen(choice:"multicolor") - hybrid := chosen(choice:"hybrid") - artifact := chosen(choice:"artifact") - if land and colored_lands then template := land_template # use land template instead? - - # The selected colors - colors := sort_text( order: "(wubrg)" - , (if chosen(choice:"white") then "w") - + (if chosen(choice:"blue") then "u") - + (if chosen(choice:"black") then "b") - + (if chosen(choice:"red") then "r") - + (if chosen(choice:"green") then "g")) - if multi and (hybrid or colors == "") then ( - colors := colors + "m" - multi := false - ) - if artifact and (hybrid or colors == "") then ( - colors := colors + "a" - artifact := false - ) - if chosen(choice:"reversed") then colors := reverse(colors) - color_count := number_of_items(in: colors) - if colors == "" then colors == "c" - - # 'shape' / type of hybrid - shape := if chosen(choice:"horizontal") then "horizontal" - else if chosen(choice:"vertical") then "vertical" - else if chosen(choice:"overlay") then "overlay" - else "radial" - - # Determine background (allows styles to hook something else here) - color_combination() -} - -color_combination := { - # The base hybrid, without the outer frame blended over it - base := base_hybrid[shape][color_count]() - - # Put a frame around it? - if land and not colored_lands then - masked_blend( - mask: "multicolor_blend_{type}.png", - dark: land_template("c"), - light: base, - ) - else if land and multi and mask_multi_land_with_color() then - masked_blend( - mask: "hybrid_blend_{type}.png", - dark: base, - light: land_template("m"), - ) - else if multi and artifact then - masked_blend( - mask: "artifact_blend_{type}.png", - dark: template("a"), - light: masked_blend( - mask: "multicolor_blend_{type}.png", - dark: template("m"), - light: base - ) - ) - else if multi then - masked_blend( - mask: "multicolor_blend_{type}.png", - dark: template("m"), - light: base, - ) - else if artifact and color_count > 1 and mask_hybrid_with_land() then - masked_blend( - mask: "artifact_blend_{type}.png", - dark: template("a"), - light: masked_blend( - mask: "multicolor_blend_{type}.png", - dark: template("c"), - light: base - ) - ) - else if artifact then - masked_blend( - mask: "artifact_blend_{type}.png", - dark: template("a"), - light: base, - ) - else if color_count > 1 and mask_hybrid_with_land() then - masked_blend( - mask: "hybrid_blend_{type}.png", - dark: land_template("c"), - light: base, - ) - else base -} - -######################################################################## -# Specific types -######################################################################## - -card_background := { color_background(type:"card", base_hybrid:card_hybrid) } -card_ptbox := { color_background(type:"pt", base_hybrid:pt_hybrid) } -flip_ptbox := { color_background(type:"pt", base_hybrid:flip_pt_hybrid) } -flip_ptbox2 := { color_background(type:"pt2", base_hybrid:flip_pt_hybrid2) } -card_textbox := { color_background(type:"textbox", base_hybrid:textbox_hybrid) } -card_typeline := { color_background(type:"typeline", base_hybrid:typeline_hybrid) } - -######################################################################## -# Font colors -######################################################################## - -# For which colors is the font white? -font_colors_white := { input == "b" or input == "l" } - -font_color_positions := [ - radial: [0,0,0,2,3,3,4,4] - horizontal: [0,0,0,0,0,0,0,0] - vertical: [0,0,1,2,3,4,5,6] - overlay: [0,0,0,0,0,0,0,0] -] - -# Determine whether light or dark fonts should be used -font_white := { - hybrid := chosen(choice:"hybrid") - artifact := chosen(choice:"artifact") - colors := sort_text( order: "(wubrg)" - , (if chosen(choice:"white") then "w") - + (if chosen(choice:"blue") then "u") - + (if chosen(choice:"black") then "b") - + (if chosen(choice:"red") then "r") - + (if chosen(choice:"green") then "g")) - + (if artifact then "a") - font_colors_white( - if chosen(choice:"land") then "l" - else if input == "artifact, multicolor" then "a" - else if chosen(choice:"multicolor") then "m" - else if artifact and not hybrid then "a" - else if colors == "" then "c" - else colors[ - font_color_positions[ - if chosen(choice:"horizontal") then "horizontal" - else if chosen(choice:"vertical") then "vertical" - else if chosen(choice:"overlay") then "overlay" - else "radial" - ][number_of_items(in: colors)] - ] - ) -} - -font_color := { if font_white() then rgb(255,255,255) else rgb(0,0,0) } +# Scripts for blending images +# Included by a style file in its init script + + +######################################################################## +# Filenames and other defaults +######################################################################## + +mask_hybrid_with_land := { false } +mask_multi_land_with_color := { false } +template := { input + "{type}.jpg" } +land_template := { (if input == "a" then "c" else input) + "l{type}.jpg" } +# For what value should thumbnails of hybrids be made? +hybrid_previews := "hybrid" +# Are there templates for colored lands, land_template(...)? +colored_lands := true + +######################################################################## +# Combining multiple colors (hybrids) +######################################################################## + +card_hybrid_2 := { + linear_blend( + image1: template(colors[0]) + image2: template(colors[1]) + x1: 0.4, y1: 0 + x2: 0.6, y2: 0 + ) +} + +overlay_hybrid := [ + 1: { template(colors[0]) } + 2: { combine_blend( + image1: template(colors[0]), + image2: template(colors[1]), + combine: "symmetric overlay" + )} +] + +# vertical version of a horizontal hybrid +vertical_card_hybrid := { + do_linear_blend := linear_blend + linear_blend := { do_linear_blend(x1: 0, x2: 0, y1: x1, y2: x2) } + card_hybrid.horizontal[color_count]() +} + +horizontal_card_hybrid := [ + 1: { template(colors[0]) } + 2: card_hybrid_2 + 3: {linear_blend( + image1: template(colors[0]) + x1: 0.22, y1: 0 + x2: 0.4, y2: 0 + image2: linear_blend( + image1: template(colors[1]) + x1: 0.6, y1: 0 + x2: 0.78, y2: 0 + image2: template(colors[2]) + ))} + 4: {linear_blend( + # blend = 0.16 + image1: template(colors[0]) + x1: 0.15, y1: 0 + x2: 0.31, y2: 0 + image2: linear_blend( + image1: template(colors[1]) + x1: 0.42, y1: 0 + x2: 0.58, y2: 0 + image2: linear_blend( + image1: template(colors[2]) + x1: 0.69, y1: 0 + x2: 0.85, y2: 0 + image2: template(colors[3]) + )))} + 5: {linear_blend( + image1: template(colors[0]) + x1: 2.0 / 15, y1: 0 + x2: 4.0 / 15, y2: 0 + image2: linear_blend( + image1: template(colors[1]) + x1: 5.0 / 15, y1: 0 + x2: 7.0 / 15, y2: 0 + image2: linear_blend( + image1: template(colors[2]) + x1: 8.0 / 15, y1: 0 + x2: 10.0 / 15, y2: 0 + image2: linear_blend( + image1: template(colors[3]) + x1: 11.0 / 15, y1: 0 + x2: 13.0 / 15, y2: 0 + image2: template(colors[4]) + ))))} + 6: {linear_blend( + image1: template(colors[0]) + x1: 1.5 / 15, y1: 0 + x2: 3.1 / 15, y2: 0 + image2: linear_blend( + image1: template(colors[1]) + x1: 4.1 / 15, y1: 0 + x2: 5.7 / 15, y2: 0 + image2: linear_blend( + image1: template(colors[2]) + x1: 6.7 / 15, y1: 0 + x2: 8.3 / 15, y2: 0 + image2: linear_blend( + image1: template(colors[3]) + x1: 9.3 / 15, y1: 0 + x2: 10.9 / 15, y2: 0 + image2: linear_blend( + image1: template(colors[4]) + x1: 11.9 / 15, y1: 0 + x2: 13.5 / 15, y2: 0 + image2: template(colors[5]) + )))))} + 7: {linear_blend( + image1: template(colors[0]) + x1: 1.3 / 15, y1: 0 + x2: 2.7 / 15, y2: 0 + image2: linear_blend( + image1: template(colors[1]) + x1: 3.5 / 15, y1: 0 + x2: 4.9 / 15, y2: 0 + image2: linear_blend( + image1: template(colors[2]) + x1: 5.7 / 15, y1: 0 + x2: 7.1 / 15, y2: 0 + image2: linear_blend( + image1: template(colors[3]) + x1: 7.9 / 15, y1: 0 + x2: 9.3 / 15, y2: 0 + image2: linear_blend( + image1: template(colors[4]) + x1: 10.1 / 15, y1: 0 + x2: 11.5 / 15, y2: 0 + image2: linear_blend( + image1: template(colors[5]) + x1: 12.3 / 15, y1: 0 + x2: 13.7 / 15, y2: 0 + image2: template(colors[6]) + ))))))} +] + +card_hybrid := [ + radial: [ + 0: { template("c") } + 1: { template(colors[0]) } + 2: card_hybrid_2 + 3: {linear_blend( + image1: card_hybrid_2(colors: colors[0] + colors[1]), + image2: template(colors[2]), + x1: 0, y1: 0.55 + x2: 0, y2: 0.77 + )} + 4: {linear_blend( + image1: card_hybrid_2(colors: colors[0] + colors[1]) + image2: card_hybrid_2(colors: colors[3] + colors[2]) + x1: 0, y1: 0.4 + x2: 0, y2: 0.62 + )} + 5: {linear_blend( + image1: linear_blend( + image1: card_hybrid_2(colors: colors[0] + colors[1]), + image2: card_hybrid_2(colors: colors[4] + colors[2]), + x1: 0, y1: 0.19 + x2: 0, y2: 0.35 + ), + image2: template(colors[3]), + x1: 0, y1: 0.777 + x2: 0, y2: 0.937 + )} + 6: {linear_blend( + image1: linear_blend( + image1: card_hybrid_2(colors: colors[0] + colors[1]), + image2: card_hybrid_2(colors: colors[5] + colors[2]), + x1: 0, y1: 0.19 + x2: 0, y2: 0.35 + ), + image2: card_hybrid_2(colors: colors[4] + colors[3]), + x1: 0, y1: 0.777 + x2: 0, y2: 0.937 + )} + 7: {linear_blend( + image1: linear_blend( + image1: linear_blend( + image1: card_hybrid_2(colors: colors[0] + colors[1]), + image2: card_hybrid_2(colors: colors[6] + colors[3]), + x1: 0, y1: 0.34 + x2: 0, y2: 0.50 + ), + image2: card_hybrid_2(colors: colors[5] + colors[3]), + x1: 0, y1: 0.877 + x2: 0, y2: 0.937 + ), + image2: template(colors[4]), + x1: 0, y1: 1.140 + x2: 0, y2: 1.300 + )} + ] + horizontal: horizontal_card_hybrid + vertical: [ + 1: { template(colors[0]) } + 2: { linear_blend( + image1: template(colors[0]) + image2: template(colors[1]) + x1: 0, y1: 0.4 + x2: 0, y2: 0.6 + )} + 3: vertical_card_hybrid + 4: vertical_card_hybrid + 5: vertical_card_hybrid + 6: vertical_card_hybrid + 7: vertical_card_hybrid + ] + overlay: overlay_hybrid +] + + +######################################################################## +# P/T box +######################################################################## +# These are easier + +horizontal_pt_hybrid := [ + 1: { template(colors[0]) } + 2: { template(colors[1]) } + 3: { linear_blend( + image1: template(colors[1]) + image2: template(colors[2]) + x1: -0.51, y1: 0 + x2: 0.26, y2: 0 + )} + 4: { linear_blend( + image1: template(colors[2]) + image2: template(colors[3]) + x1: -0.1, y1: 0 + x2: 0.6, y2: 0 + )} + 5: { linear_blend( + image1: template(colors[3]) + image2: template(colors[4]) + x1: 0.08, y1: 0 + x2: 0.65, y2: 0 + )} + 6: { linear_blend( + image1: template(colors[4]) + image2: template(colors[5]) + x1: 0.07, y1: 0 + x2: 0.7, y2: 0 + )} + 7: {linear_blend( + image1: linear_blend( + image1: template(colors[4]), + image2: template(colors[5]), + x1: -0.2, y1: 0 + x2: 0.2, y2: 0 + ), + image2: template(colors[6]), + x1: 0.5, y1: 0 + x2: 0.7, y2: 0 + )} +] + +pt_hybrid := [ + radial: [ + 0: { template("c") } + 1: { template(colors[0]) } + 2: { template(colors[1]) } + 3: { template(colors[2]) } + 4: { template(colors[2]) } + 5: { linear_blend( + image1: template(colors[2]) + image2: template(colors[3]) + x1: 0, y1: -1.5 + x2: 0, y2: 0.7 + )} + 6: { linear_blend( + image1: template(colors[2]) + image2: template(colors[3]) + x1: 0, y1: -1.5 + x2: 0, y2: 0.7 + )} + 7: { template(colors[4]) } + ] + horizontal: horizontal_pt_hybrid + vertical: [ + 1: { template(colors[0]) } + 2: { template(colors[1]) } + 3: { template(colors[2]) } + 4: { template(colors[3]) } + 5: { template(colors[4]) } + 6: { template(colors[5]) } + 7: { template(colors[6]) } + ] + overlay: overlay_hybrid +] + +######################################################################## +# P/T boxes of flip cards +######################################################################## + +flip_pt_hybrid := [ + radial: [ + 0: { template("c") } + 1: { template(colors[0]) } + 2: { template(colors[1]) } + 3: { template(colors[1]) } + 4: { template(colors[1]) } + 5: { linear_blend( + image1: template(colors[1]) + image2: template(colors[2]) + x1: 0, y1: -1 + x2: 0, y2: 1.8 + )} + 6: { linear_blend( + image1: template(colors[1]) + image2: template(colors[2]) + x1: 0, y1: -1 + x2: 0, y2: 1.8 + )} + 7: { template(colors[4]) } + ] + horizontal: horizontal_pt_hybrid + vertical: [ + 1: { template(colors[0]) } + 2: { template(colors[0]) } + 3: { linear_blend( + image1: template(colors[0]) + image2: template(colors[1]) + x1: 0, y1: 0 + x2: 0, y2: 2 + )} + 4: { linear_blend( + image1: template(colors[0]) + image2: template(colors[1]) + x1: 0, y1: -1.5 + x2: 0, y2: 1 + )} + 5: { linear_blend( + image1: template(colors[0]) + image2: template(colors[1]) + x1: 0, y1: -1.1 + x2: 0, y2: 0.2 + )} + 6: { template(colors[1]) } # Probably not right + 7: { template(colors[2]) } + ] + overlay: overlay_hybrid +] + +flip_pt_hybrid2 := [ + radial: [ + 0: { template("c") } + 1: { template(colors[0]) } + 2: { template(colors[0]) } + 3: { linear_blend( + image1: template(colors[0]) + image2: template(colors[2]) + x1: 0, y1: -1 + x2: 0, y2: 1.1 + )} + 4: { template(colors[3]) } + 5: { template(colors[4]) } + 6: { template(colors[5]) } + 7: { template(colors[5]) } + ] + horizontal: [ + 1: { template(colors[0]) } + 2: { template(colors[0]) } + 3: { template(colors[0]) } + 4: { linear_blend( + image1: template(colors[0]) + image2: template(colors[1]) + x1: 0.4, y1: 0 + x2: 1.5, y2: 0 + )} + 5: { linear_blend( + image1: template(colors[0]) + image2: template(colors[1]) + x1: 0.08, y1: 0 + x2: 0.65, y2: 0 + )} + 6: { template(colors[5]) } #TODO + 7: { template(colors[6]) } #TODO + ] + vertical: [ + 1: { template(colors[0]) } + 2: { template(colors[1]) } + 3: { linear_blend( + image1: template(colors[1]) + image2: template(colors[2]) + x1: 0, y1: -1 + x2: 0, y2: 1.5 + )} + 4: { linear_blend( + image1: template(colors[2]) + image2: template(colors[3]) + x1: 0, y1: 0.5 + x2: 0, y2: 3 + )} + 5: { template(colors[3]) } + 6: { template(colors[5]) } # Probably not right + 7: { template(colors[6]) } + ] + overlay: overlay_hybrid +] + +######################################################################## +# Textbox and typeline for FPM templates and Futureshifts +######################################################################## + +textbox_hybrid := [ + radial: [ + 0: { template("c") } + 1: { template(colors[0]) } + 2: card_hybrid_2 + 3: { template(colors[2]) } + 4: { card_hybrid_2(colors: colors[3] + colors[2]) } + 5: { template(colors[3]) } + 6: { card_hybrid_2(colors: colors[4] + colors[3]) } + 7: { template(colors[4]) } + ] + horizontal: horizontal_card_hybrid + vertical: [ + 0: { template("c") } + 1: { template(colors[0]) } + 2: { template(colors[1]) } + 3: { template(colors[2]) } # TODO + 4: { template(colors[3]) } + 5: { template(colors[4]) } + 6: { template(colors[5]) } + 7: { template(colors[6]) } + ] + overlay: overlay_hybrid +] + +typeline_hybrid := textbox_hybrid + +######################################################################## +# Putting it all together. +######################################################################## + +# Determine the card background based on the card_color multiple choice options +color_background := { + + # for thumbnails + if input == "hybrid" then + input := "white,blue,red,{hybrid_previews},horizontal" + else if input == "overlay" then + input := "blue,red,{hybrid_previews},overlay" + else if input == "radial" or input == "horizontal" or input == "vertical" then + input := "white,blue,red,{hybrid_previews}," + input + else if input == "reversed" then + input := "white,blue,red,{hybrid_previews},horizontal,reversed" + + # What type of 'hybrid'? + land := chosen(choice:"land") + multi := chosen(choice:"multicolor") + hybrid := chosen(choice:"hybrid") + artifact := chosen(choice:"artifact") + if land and colored_lands then template := land_template # use land template instead? + + # The selected colors + colors := sort_text( order: "(wubrg)" + , (if chosen(choice:"white") then "w") + + (if chosen(choice:"blue") then "u") + + (if chosen(choice:"black") then "b") + + (if chosen(choice:"red") then "r") + + (if chosen(choice:"green") then "g")) + if multi and (hybrid or colors == "") then ( + colors := colors + "m" + multi := false + ) + if artifact and (hybrid or colors == "") then ( + colors := colors + "a" + artifact := false + ) + if chosen(choice:"reversed") then colors := reverse(colors) + color_count := number_of_items(in: colors) + if colors == "" then colors == "c" + + # 'shape' / type of hybrid + shape := if chosen(choice:"horizontal") then "horizontal" + else if chosen(choice:"vertical") then "vertical" + else if chosen(choice:"overlay") then "overlay" + else "radial" + + # Determine background (allows styles to hook something else here) + color_combination() +} + +color_combination := { + # The base hybrid, without the outer frame blended over it + base := base_hybrid[shape][color_count]() + + # Put a frame around it? + if land and not colored_lands then + masked_blend( + mask: "multicolor_blend_{type}.png", + dark: land_template("c"), + light: base, + ) + else if land and multi and mask_multi_land_with_color() then + masked_blend( + mask: "hybrid_blend_{type}.png", + dark: base, + light: land_template("m"), + ) + else if multi and artifact then + masked_blend( + mask: "artifact_blend_{type}.png", + dark: template("a"), + light: masked_blend( + mask: "multicolor_blend_{type}.png", + dark: template("m"), + light: base + ) + ) + else if multi then + masked_blend( + mask: "multicolor_blend_{type}.png", + dark: template("m"), + light: base, + ) + else if artifact and color_count > 1 and mask_hybrid_with_land() then + masked_blend( + mask: "artifact_blend_{type}.png", + dark: template("a"), + light: masked_blend( + mask: "multicolor_blend_{type}.png", + dark: template("c"), + light: base + ) + ) + else if artifact then + masked_blend( + mask: "artifact_blend_{type}.png", + dark: template("a"), + light: base, + ) + else if color_count > 1 and mask_hybrid_with_land() then + masked_blend( + mask: "hybrid_blend_{type}.png", + dark: land_template("c"), + light: base, + ) + else base +} + +######################################################################## +# Specific types +######################################################################## + +card_background := { color_background(type:"card", base_hybrid:card_hybrid) } +card_ptbox := { color_background(type:"pt", base_hybrid:pt_hybrid) } +flip_ptbox := { color_background(type:"pt", base_hybrid:flip_pt_hybrid) } +flip_ptbox2 := { color_background(type:"pt2", base_hybrid:flip_pt_hybrid2) } +card_textbox := { color_background(type:"textbox", base_hybrid:textbox_hybrid) } +card_typeline := { color_background(type:"typeline", base_hybrid:typeline_hybrid) } + +######################################################################## +# Font colors +######################################################################## + +# For which colors is the font white? +font_colors_white := { input == "b" or input == "l" } + +font_color_positions := [ + radial: [0,0,0,2,3,3,4,4] + horizontal: [0,0,0,0,0,0,0,0] + vertical: [0,0,1,2,3,4,5,6] + overlay: [0,0,0,0,0,0,0,0] +] + +# Determine whether light or dark fonts should be used +font_white := { + hybrid := chosen(choice:"hybrid") + artifact := chosen(choice:"artifact") + colors := sort_text( order: "(wubrg)" + , (if chosen(choice:"white") then "w") + + (if chosen(choice:"blue") then "u") + + (if chosen(choice:"black") then "b") + + (if chosen(choice:"red") then "r") + + (if chosen(choice:"green") then "g")) + + (if artifact then "a") + font_colors_white( + if chosen(choice:"land") then "l" + else if input == "artifact, multicolor" then "a" + else if chosen(choice:"multicolor") then "m" + else if artifact and not hybrid then "a" + else if colors == "" then "c" + else colors[ + font_color_positions[ + if chosen(choice:"horizontal") then "horizontal" + else if chosen(choice:"vertical") then "vertical" + else if chosen(choice:"overlay") then "overlay" + else "radial" + ][number_of_items(in: colors)] + ] + ) +} + +font_color := { if font_white() then rgb(255,255,255) else rgb(0,0,0) } diff --git a/data/magic-default-image.mse-include/include b/data/magic-default-image.mse-include/include index 10fd8b5d..54021046 100644 --- a/data/magic-default-image.mse-include/include +++ b/data/magic-default-image.mse-include/include @@ -1,3 +1,3 @@ -mse version: 0.3.5 -full name: Magic The Gathering, placeholder images -version: 2007-09-23 +mse version: 0.3.5 +full name: Magic The Gathering, placeholder images +version: 2007-09-23 diff --git a/data/magic-default-image.mse-include/scripts b/data/magic-default-image.mse-include/scripts index e346479e..e8d0c292 100644 --- a/data/magic-default-image.mse-include/scripts +++ b/data/magic-default-image.mse-include/scripts @@ -1,33 +1,33 @@ - -# default image if there is none - -default_images := [ - c: "/magic-default-image.mse-include/colorless.jpg" - a: "/magic-default-image.mse-include/artifact.jpg" - m: "/magic-default-image.mse-include/multicolor.jpg" - w: "/magic-default-image.mse-include/white.jpg" - u: "/magic-default-image.mse-include/blue.jpg" - b: "/magic-default-image.mse-include/black.jpg" - r: "/magic-default-image.mse-include/red.jpg" - g: "/magic-default-image.mse-include/green.jpg" - l: "/magic-default-image.mse-include/land.jpg" -] - -default_image := { - color_background(color_combination: { - combine := "symmetric overlay" - base := - if color_count == 0 then if land then default_images.l else default_images.c - else if color_count == 1 then default_images[colors] - else if color_count == 2 then combine_blend( - image1: default_images[colors.0], - image2: default_images[colors.1], - ) - else default_images.m - - if land then if color_count == 0 then default_images.l else combine_blend(image1: default_images.l, image2: base) - else if multi then combine_blend(image1: default_images.m, image2: base) - else if artifact then combine_blend(image1: default_images.a, image2: base) - else base - }) -} + +# default image if there is none + +default_images := [ + c: "/magic-default-image.mse-include/colorless.jpg" + a: "/magic-default-image.mse-include/artifact.jpg" + m: "/magic-default-image.mse-include/multicolor.jpg" + w: "/magic-default-image.mse-include/white.jpg" + u: "/magic-default-image.mse-include/blue.jpg" + b: "/magic-default-image.mse-include/black.jpg" + r: "/magic-default-image.mse-include/red.jpg" + g: "/magic-default-image.mse-include/green.jpg" + l: "/magic-default-image.mse-include/land.jpg" +] + +default_image := { + color_background(color_combination: { + combine := "symmetric overlay" + base := + if color_count == 0 then if land then default_images.l else default_images.c + else if color_count == 1 then default_images[colors] + else if color_count == 2 then combine_blend( + image1: default_images[colors.0], + image2: default_images[colors.1], + ) + else default_images.m + + if land then if color_count == 0 then default_images.l else combine_blend(image1: default_images.l, image2: base) + else if multi then combine_blend(image1: default_images.m, image2: base) + else if artifact then combine_blend(image1: default_images.a, image2: base) + else base + }) +} diff --git a/data/magic-embossedletters.mse-symbol-font/symbol-font b/data/magic-embossedletters.mse-symbol-font/symbol-font index 8de420bf..3f848c2d 100644 --- a/data/magic-embossedletters.mse-symbol-font/symbol-font +++ b/data/magic-embossedletters.mse-symbol-font/symbol-font @@ -1,227 +1,227 @@ -mse version: 0.3.8 -version: 2009-03-25 - -image font size: 46 -horizontal space: 1.2 -symbol: - code: Æ - image: ae.png -symbol: - code: & - image: ampersand.png -symbol: - code: ' - image: apostrophe.png -symbol: - code: , - image: comma.png -symbol: - code: - - image: dash.png -symbol: - code: A - image: a.png -symbol: - code: a - image: a.png -symbol: - code: B - image: b.png -symbol: - code: b - image: b.png -symbol: - code: C - image: c.png -symbol: - code: c - image: c.png -symbol: - code: D - image: d.png -symbol: - code: d - image: d.png -symbol: - code: E - image: e.png -symbol: - code: e - image: e.png -symbol: - code: F - image: f.png -symbol: - code: f - image: f.png -symbol: - code: G - image: g.png -symbol: - code: g - image: g.png -symbol: - code: H - image: h.png -symbol: - code: h - image: h.png -symbol: - code: I - image: i.png -symbol: - code: i - image: i.png -symbol: - code: J - image: j.png -symbol: - code: j - image: j.png -symbol: - code: K - image: k.png -symbol: - code: k - image: k.png -symbol: - code: L - image: l.png -symbol: - code: l - image: l.png -symbol: - code: M - image: m.png -symbol: - code: m - image: m.png -symbol: - code: N - image: n.png -symbol: - code: n - image: n.png -symbol: - code: O - image: o.png -symbol: - code: o - image: o.png -symbol: - code: P - image: p.png -symbol: - code: p - image: p.png -symbol: - code: Q - image: q.png -symbol: - code: q - image: q.png -symbol: - code: R - image: r.png -symbol: - code: r - image: r.png -symbol: - code: S - image: s.png -symbol: - code: s - image: s.png -symbol: - code: T - image: t.png -symbol: - code: t - image: t.png -symbol: - code: U - image: u.png -symbol: - code: u - image: u.png -symbol: - code: V - image: v.png -symbol: - code: v - image: v.png -symbol: - code: W - image: w.png -symbol: - code: w - image: w.png -symbol: - code: X - image: x.png -symbol: - code: x - image: x.png -symbol: - code: Y - image: y.png -symbol: - code: y - image: y.png -symbol: - code: Z - image: z.png -symbol: - code: z - image: z.png -symbol: - code: [ ] - regex: yes - draw text: 0 - text font: - name: MPlantin - size: 1 - color: rgba(0,0,0,0) - image: space.png - -############################################################## -# Insert-symbol menu -insert symbol menu: - item: - name: A-M - item: A - item: Æ - item: B - item: C - item: D - item: E - item: F - item: G - item: H - item: I - item: J - item: K - item: L - item: M - item: - name: N-Z - item: N - item: O - item: P - item: Q - item: R - item: S - item: T - item: U - item: V - item: W - item: X - item: Y - item: Z - item: - name: punctuation - item: & - item: ' - item: , - item: - - item: +mse version: 0.3.8 +version: 2009-03-25 + +image font size: 46 +horizontal space: 1.2 +symbol: + code: Æ + image: ae.png +symbol: + code: & + image: ampersand.png +symbol: + code: ' + image: apostrophe.png +symbol: + code: , + image: comma.png +symbol: + code: - + image: dash.png +symbol: + code: A + image: a.png +symbol: + code: a + image: a.png +symbol: + code: B + image: b.png +symbol: + code: b + image: b.png +symbol: + code: C + image: c.png +symbol: + code: c + image: c.png +symbol: + code: D + image: d.png +symbol: + code: d + image: d.png +symbol: + code: E + image: e.png +symbol: + code: e + image: e.png +symbol: + code: F + image: f.png +symbol: + code: f + image: f.png +symbol: + code: G + image: g.png +symbol: + code: g + image: g.png +symbol: + code: H + image: h.png +symbol: + code: h + image: h.png +symbol: + code: I + image: i.png +symbol: + code: i + image: i.png +symbol: + code: J + image: j.png +symbol: + code: j + image: j.png +symbol: + code: K + image: k.png +symbol: + code: k + image: k.png +symbol: + code: L + image: l.png +symbol: + code: l + image: l.png +symbol: + code: M + image: m.png +symbol: + code: m + image: m.png +symbol: + code: N + image: n.png +symbol: + code: n + image: n.png +symbol: + code: O + image: o.png +symbol: + code: o + image: o.png +symbol: + code: P + image: p.png +symbol: + code: p + image: p.png +symbol: + code: Q + image: q.png +symbol: + code: q + image: q.png +symbol: + code: R + image: r.png +symbol: + code: r + image: r.png +symbol: + code: S + image: s.png +symbol: + code: s + image: s.png +symbol: + code: T + image: t.png +symbol: + code: t + image: t.png +symbol: + code: U + image: u.png +symbol: + code: u + image: u.png +symbol: + code: V + image: v.png +symbol: + code: v + image: v.png +symbol: + code: W + image: w.png +symbol: + code: w + image: w.png +symbol: + code: X + image: x.png +symbol: + code: x + image: x.png +symbol: + code: Y + image: y.png +symbol: + code: y + image: y.png +symbol: + code: Z + image: z.png +symbol: + code: z + image: z.png +symbol: + code: [ ] + regex: yes + draw text: 0 + text font: + name: MPlantin + size: 1 + color: rgba(0,0,0,0) + image: space.png + +############################################################## +# Insert-symbol menu +insert symbol menu: + item: + name: A-M + item: A + item: Æ + item: B + item: C + item: D + item: E + item: F + item: G + item: H + item: I + item: J + item: K + item: L + item: M + item: + name: N-Z + item: N + item: O + item: P + item: Q + item: R + item: S + item: T + item: U + item: V + item: W + item: X + item: Y + item: Z + item: + name: punctuation + item: & + item: ' + item: , + item: - + item: diff --git a/data/magic-extended-art.mse-style/style b/data/magic-extended-art.mse-style/style index dba64932..ba4830b9 100644 --- a/data/magic-extended-art.mse-style/style +++ b/data/magic-extended-art.mse-style/style @@ -1,356 +1,356 @@ -mse version: 0.3.8 -game: magic -full name: Extended Art -short name: Extended Art -installer group: magic/new style/extended art -icon: card-sample.png -position hint: 006 - -version: 2009-07-06 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-default-image.mse-include - version: 2007-09-23 -depends on: - package: magic-mana-large.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -# Made by artfreakwiu, edited by Megrin_kai and Pichoro -############################################################## Extra scripts -init script: - # Load scripts for image box - include file: /magic-default-image.mse-include/scripts - - # Should hybrids have a grey name? - mask_hybrid_with_land := { styling.grey_hybrid_name } - - #Should multicolor lands with basic land types have a colored name? - mask_multi_land_with_color := { styling.colored_multicolor_land_name } - - # Which artifact template should be used? Which multicolor template should be used? - alternate_template := { - if input == "a" then ( - if not styling.darker_artifacts then "oa" - else "a" - ) else if input == "m" then ( - if styling.saturated_multicolor then "m" - else "om" - ) else input - } - template := { alternate_template() + "{type}.jpg" } - land_template := { (if input == "a" then "c" else alternate_template()) + "l{type}.jpg" } - - # 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 -styling field: - type: boolean - name: darker artifacts - description: Use darker artifacts, as used by Wizards since Fifth Dawn. -styling field: - type: boolean - name: saturated multicolor - description: Should multicolor cards be more saturated? This is done on real cards. - initial: yes -styling field: - type: boolean - name: grey hybrid name - description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. -styling field: - type: boolean - name: colored multicolor land name - description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. -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: modern - choice: modern - choice: old - choice: diagonal T -styling field: - type: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: boolean - name: inverted common symbol - description: Should the common rarity symbol be inverted, like in Coldsnap? - initial: no -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling style: - darker artifacts: - choice images: - yes: acard.jpg - no: oacard.jpg - saturated multicolor: - choice images: - yes: mcard.jpg - no: omcard.jpg - 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-large.mse-symbol-font/mana_t.png - old: /magic-mana-large.mse-symbol-font/mana_t_old.png - diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.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: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - z index: 4 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: { if card.card_symbol=="none" then 32 else 51 } - top : 30 - right: { 341 - card_style.casting_cost.content_width } - height: 23 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: Matrix - size: 17 - weight: bold - color: rgb(0,0,0) - casting cost: - right: 343 - top : 31 - width: { max(30, card_style.casting_cost.content_width) + 5 } - height: 23 - alignment: middle right - symbol font: - name: magic-mana-large - size: 15 - alignment: middle right - always symbol: true - z index: 2 - padding top: 0 - card symbol: - left: { if card.card_symbol=="none" then 20 else 32 } - top : 31 - height: 20 - width: 14 - z index: 1 - render style: image - choice images: - tombstone: tombstone.png - ############################# Image - image: - left: 32 - top: 62 - width: 311 - height: 376 - z index: 1 - default: {default_image(card.card_color)} - ############################# Card type - type: - left: 33 - top : 447 - width: { 308 - max(22,card_style.rarity.content_width) } - height: 18 - alignment: top shrink-overflow - z index: 1 - font: - name: Matrix - size: 14 - color: rgb(0,0,0) - separator color: rgb(128,128,128) - rarity: - right: 344 - top : 445 - width: 40 - height: 20 - z index: 2 - alignment: middle right - render style: image - choice images: - # Images based on the set symbol - basic land: - script: - if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") - else symbol_variation(symbol: set.symbol, variation: "common") - 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 - text: - left: 34 - top : 258 - width: 311 - height: 176 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 12 - scale down to: 8 - shadow color: rgb(0,0,0) - shadow displacement x: -1 - shadow displacement y: 1 - color: rgb(255,255,255) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "bottom center" - else "bottom left" - z index: 1 - padding left: 6 - padding top: 2 - padding right: 4 - padding bottom: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - ############################# PT - pt: - z index: 2 - left: 284 - top: 466 - width: 60 - height: 28 - alignment: center middle shrink-overflow - font: - name: ModMatrix - size: 17 - weight: bold - color: rgb(0,0,0) - separator color: rgb(200,0,0) - ############################# Copyright stuff - illustrator: - left: 56 - top : 477 - width: 217 - height: 13 - z index: 1 - font: - name: Matrix - size: 10 - color: { font_color(card.card_color) } - copyright line: - left: 26 - top : 493 - width: 247 - height: 12 - z index: 1 - font: - name: MPlantin - size: 6.5 - color: { font_color(card.card_color) } -############################################################## Extra card fields -extra card field: - type: choice - name: pt box - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card style: - pt box: - left: 271 - top: 461 - width: 81 - height: 42 - z index: 1 - visible: { card.pt != "" } - render style: image - mask: mask_pt.png - image: { card_ptbox() } - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 3 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +full name: Extended Art +short name: Extended Art +installer group: magic/new style/extended art +icon: card-sample.png +position hint: 006 + +version: 2009-07-06 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-default-image.mse-include + version: 2007-09-23 +depends on: + package: magic-mana-large.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +# Made by artfreakwiu, edited by Megrin_kai and Pichoro +############################################################## Extra scripts +init script: + # Load scripts for image box + include file: /magic-default-image.mse-include/scripts + + # Should hybrids have a grey name? + mask_hybrid_with_land := { styling.grey_hybrid_name } + + #Should multicolor lands with basic land types have a colored name? + mask_multi_land_with_color := { styling.colored_multicolor_land_name } + + # Which artifact template should be used? Which multicolor template should be used? + alternate_template := { + if input == "a" then ( + if not styling.darker_artifacts then "oa" + else "a" + ) else if input == "m" then ( + if styling.saturated_multicolor then "m" + else "om" + ) else input + } + template := { alternate_template() + "{type}.jpg" } + land_template := { (if input == "a" then "c" else alternate_template()) + "l{type}.jpg" } + + # 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 +styling field: + type: boolean + name: darker artifacts + description: Use darker artifacts, as used by Wizards since Fifth Dawn. +styling field: + type: boolean + name: saturated multicolor + description: Should multicolor cards be more saturated? This is done on real cards. + initial: yes +styling field: + type: boolean + name: grey hybrid name + description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. +styling field: + type: boolean + name: colored multicolor land name + description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. +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: modern + choice: modern + choice: old + choice: diagonal T +styling field: + type: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling style: + darker artifacts: + choice images: + yes: acard.jpg + no: oacard.jpg + saturated multicolor: + choice images: + yes: mcard.jpg + no: omcard.jpg + 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-large.mse-symbol-font/mana_t.png + old: /magic-mana-large.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.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: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: 4 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: { if card.card_symbol=="none" then 32 else 51 } + top : 30 + right: { 341 - card_style.casting_cost.content_width } + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 17 + weight: bold + color: rgb(0,0,0) + casting cost: + right: 343 + top : 31 + width: { max(30, card_style.casting_cost.content_width) + 5 } + height: 23 + alignment: middle right + symbol font: + name: magic-mana-large + size: 15 + alignment: middle right + always symbol: true + z index: 2 + padding top: 0 + card symbol: + left: { if card.card_symbol=="none" then 20 else 32 } + top : 31 + height: 20 + width: 14 + z index: 1 + render style: image + choice images: + tombstone: tombstone.png + ############################# Image + image: + left: 32 + top: 62 + width: 311 + height: 376 + z index: 1 + default: {default_image(card.card_color)} + ############################# Card type + type: + left: 33 + top : 447 + width: { 308 - max(22,card_style.rarity.content_width) } + height: 18 + alignment: top shrink-overflow + z index: 1 + font: + name: Matrix + size: 14 + color: rgb(0,0,0) + separator color: rgb(128,128,128) + rarity: + right: 344 + top : 445 + width: 40 + height: 20 + z index: 2 + alignment: middle right + render style: image + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + 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 + text: + left: 34 + top : 258 + width: 311 + height: 176 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 12 + scale down to: 8 + shadow color: rgb(0,0,0) + shadow displacement x: -1 + shadow displacement y: 1 + color: rgb(255,255,255) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "bottom center" + else "bottom left" + z index: 1 + padding left: 6 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + ############################# PT + pt: + z index: 2 + left: 284 + top: 466 + width: 60 + height: 28 + alignment: center middle shrink-overflow + font: + name: ModMatrix + size: 17 + weight: bold + color: rgb(0,0,0) + separator color: rgb(200,0,0) + ############################# Copyright stuff + illustrator: + left: 56 + top : 477 + width: 217 + height: 13 + z index: 1 + font: + name: Matrix + size: 10 + color: { font_color(card.card_color) } + copyright line: + left: 26 + top : 493 + width: 247 + height: 12 + z index: 1 + font: + name: MPlantin + size: 6.5 + color: { font_color(card.card_color) } +############################################################## Extra card fields +extra card field: + type: choice + name: pt box + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card style: + pt box: + left: 271 + top: 461 + width: 81 + height: 42 + z index: 1 + visible: { card.pt != "" } + render style: image + mask: mask_pt.png + image: { card_ptbox() } + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 3 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-firepenguinmaster-flip.mse-style/style b/data/magic-firepenguinmaster-flip.mse-style/style index a692b9a4..87d86c6d 100644 --- a/data/magic-firepenguinmaster-flip.mse-style/style +++ b/data/magic-firepenguinmaster-flip.mse-style/style @@ -1,499 +1,499 @@ -mse version: 0.3.8 -game: magic -full name: FPM's Flip Magic -short name: FPM Flip -installer group: magic/FirePenguinMaster/Flip cards -icon: card-sample.png -position hint: 402 - -version: 2009-07-07 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-future-common.mse-include - version: 2007-09-23 -depends on: - package: magic-watermarks.mse-include - version: 2007-09-23 -depends on: - package: magic-mana-beveled.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -# Template by Art_Freak -############################################################## Extra scripts -init script: - # We have no land templates - land_template := { "c{type}.jpg" } - - # 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 } - - # Only white cards use a black font - # TODO: also for some overlays involving white - font_colors_white := { input != "w" } - - paintbrush_color := { if font_white() then "white" else "black" } - - card_shape := { "flip" } - -############################################################## Extra style -styling field: - type: choice - name: cardname font - description: Use Matrix or MatrixBoldSmallCaps for the cardname font? - initial: Matrix - choice: Matrix - choice: MatrixBoldSmallCaps -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: 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: 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: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -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 - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.png -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - z index: 4 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: 45 - top : 29 - width: 300 - height: 23 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: - { if styling.cardname_font == "Matrix" then "Matrix" - else if styling.cardname_font == "MatrixBoldSmallCaps" then "MatrixBoldSmallCaps" - else "Matrix" } - size: 20 - color: rgb(0,0,0) - casting cost: - left: 17 - top : 150 - width: 25 - height: 195 - alignment: top right - direction: vertical - symbol font: - name: magic-mana-beveled - size: 17 - scale down to: 17 - alignment: bottom right - always symbol: true - padding top: 0 - z index: 1 - card symbol: - left: 30 - top : 27 - height: 20 - width: 14 - z index: 1 - render style: image - choice images: - tombstone: tombstone.png - name 2: - right: 32 - bottom: 454 - width: 300 - height: 23 - angle: 180 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: - { if styling.cardname_font == "Matrix" then "Matrix" - else if styling.cardname_font == "MatrixBoldSmallCaps" then "MatrixBoldSmallCaps" - else "Matrix" } - size: 20 - color: rgb(0,0,0) - casting cost 2: - right: 334 - bottom: 170 - width: 25 - height: 170 - alignment: top right - direction: vertical - angle: 180 - symbol font: - name: magic-mana-beveled - size: 17 - alignment: bottom right - always symbol: true - padding top: 0 - z index: 1 - card symbol 2: - right: 331 - bottom: 457 - height: 20 - width: 14 - z index: 1 - render style: image - angle: 180 - choice images: - tombstone: tombstone.png - ############################# Image - image: - left: 49 - top: 130 - width: 277 - height: 245 - mask: imagemask.png - z index: 1 - ############################# Card type - type: - left: 126 - top : 358 - width: 256 - height: 18 - alignment: middle shrink-overflow - z index: 1 - padding top: 2 - font: - name: Matrix - size: 10 - color: rgb(0,0,0) - separator color: rgb(128,128,128) - type 2: - right: 33 - bottom: 127 - width: 263 - height: 18 - angle: 180 - alignment: top shrink-overflow - z index: 1 - padding top: 2 - font: - name: Matrix - size: 10 - color: rgb(0,0,0) - separator color: rgb(128,128,128) - rarity: - left: 70 - top : 348 - width: 33 - height: 23 - z index: 1 - alignment: middle center - render style: image - choice images: - # Images based on the set symbol - basic land: script: symbol_variation(symbol: set.symbol, variation: "common") - common: script: 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 -#should the bottom textbox be the flipped or unflipped text? if flipped, reverse orientations of fields. - text: - left: 62 - top : 380 - width: 280 - height: 65 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 6 - padding top: 2 - padding right: 4 - padding bottom: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - watermark: - left: 42 - top : 380 - width: 300 - height: 65 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - text 2: - right: 33 - bottom: 65 - width: 280 - height: 60 - angle: 180 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 6 - padding top: 2 - padding right: 4 - padding bottom: 2 - line height hard: 1.2 - line height line: 1.5 - watermark 2: - right: 33 - bottom: 65 - width: 300 - height: 60 - z index: 1 - render style: image - alignment: middle center - angle: 180 - include file: /magic-watermarks.mse-include/watermarks - ############################# PT - power: - z index: 2 - left: 24 - top: 342 - width: 19 - height: 50 - alignment: center middle - font: - name: Mplantin - size: 18 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - toughness: - z index: 2 - left: 24 - top: 393 - width: 19 - height: 50 - alignment: center middle - font: - name: Mplantin - size: 18 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - power 2: - z index: 2 - right: 334 - bottom: 111 - width: 19 - height: 50 - angle: 180 - alignment: center middle - font: - name: Mplantin - size: 18 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - toughness 2: - z index: 2 - right: 334 - bottom: 58 - width: 19 - height: 50 - angle: 180 - alignment: center middle - font: - name: Mplantin - size: 18 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - ############################# Copyright stuff - illustrator: - right: 350 - top : 340 - width: { max(20, card_style.illustrator.content_width) + 5 } - height: 16 - z index: 1 - alignment: middle right - font: - name: MPlantin-Italic - size: 8 - color: { font_color(card.card_color) } - copyright line: - left: 65 - top : 493 - width: 285 - height: 12 - z index: 1 - alignment: bottom right - font: - name: MPlantin - size: 7 - color: { font_color(card.card_color) } -############################################################## Extra card fields -extra card field: - type: choice - name: pt symbols - script: "shieldsword" - editable: false - save value: false -extra card field: - type: choice - name: pt symbols 2 - script: "shieldsword" - save value: false - editable: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card field: - type: choice - name: paintbrush - script: paintbrush_color(card.card_color) - editable: false - save value: false -extra card style: - pt symbols: - left: 24 - top: 340 - width: 19 - height: 103 - z index: 1 - visible: { card.power != "" or card.toughness != "" } - render style: image - choice images: - shieldsword: ptshieldsword.png - pt symbols 2: - right: 333 - bottom: 58 - width: 19 - height: 103 - z index: 1 - visible: { card.power_2 != "" or card.toughness_2 != "" } - render style: image - angle: 180 - choice images: - shieldsword: ptshieldsword.png - paintbrush: - right: { 350 - card_style.illustrator.content_width } - top : 341 - width: 40 - height: 15 - z index: 1 - render style: image - choice images: - black: /magic-future-common.mse-include/paintbrush_black.png - white: /magic-future-common.mse-include/paintbrush_white.png - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 3 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +full name: FPM's Flip Magic +short name: FPM Flip +installer group: magic/FirePenguinMaster/Flip cards +icon: card-sample.png +position hint: 402 + +version: 2009-07-07 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 +depends on: + package: magic-watermarks.mse-include + version: 2007-09-23 +depends on: + package: magic-mana-beveled.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +# Template by Art_Freak +############################################################## Extra scripts +init script: + # We have no land templates + land_template := { "c{type}.jpg" } + + # 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 } + + # Only white cards use a black font + # TODO: also for some overlays involving white + font_colors_white := { input != "w" } + + paintbrush_color := { if font_white() then "white" else "black" } + + card_shape := { "flip" } + +############################################################## Extra style +styling field: + type: choice + name: cardname font + description: Use Matrix or MatrixBoldSmallCaps for the cardname font? + initial: Matrix + choice: Matrix + choice: MatrixBoldSmallCaps +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: 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: 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: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +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 + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.png +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: 4 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: 45 + top : 29 + width: 300 + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: + { if styling.cardname_font == "Matrix" then "Matrix" + else if styling.cardname_font == "MatrixBoldSmallCaps" then "MatrixBoldSmallCaps" + else "Matrix" } + size: 20 + color: rgb(0,0,0) + casting cost: + left: 17 + top : 150 + width: 25 + height: 195 + alignment: top right + direction: vertical + symbol font: + name: magic-mana-beveled + size: 17 + scale down to: 17 + alignment: bottom right + always symbol: true + padding top: 0 + z index: 1 + card symbol: + left: 30 + top : 27 + height: 20 + width: 14 + z index: 1 + render style: image + choice images: + tombstone: tombstone.png + name 2: + right: 32 + bottom: 454 + width: 300 + height: 23 + angle: 180 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: + { if styling.cardname_font == "Matrix" then "Matrix" + else if styling.cardname_font == "MatrixBoldSmallCaps" then "MatrixBoldSmallCaps" + else "Matrix" } + size: 20 + color: rgb(0,0,0) + casting cost 2: + right: 334 + bottom: 170 + width: 25 + height: 170 + alignment: top right + direction: vertical + angle: 180 + symbol font: + name: magic-mana-beveled + size: 17 + alignment: bottom right + always symbol: true + padding top: 0 + z index: 1 + card symbol 2: + right: 331 + bottom: 457 + height: 20 + width: 14 + z index: 1 + render style: image + angle: 180 + choice images: + tombstone: tombstone.png + ############################# Image + image: + left: 49 + top: 130 + width: 277 + height: 245 + mask: imagemask.png + z index: 1 + ############################# Card type + type: + left: 126 + top : 358 + width: 256 + height: 18 + alignment: middle shrink-overflow + z index: 1 + padding top: 2 + font: + name: Matrix + size: 10 + color: rgb(0,0,0) + separator color: rgb(128,128,128) + type 2: + right: 33 + bottom: 127 + width: 263 + height: 18 + angle: 180 + alignment: top shrink-overflow + z index: 1 + padding top: 2 + font: + name: Matrix + size: 10 + color: rgb(0,0,0) + separator color: rgb(128,128,128) + rarity: + left: 70 + top : 348 + width: 33 + height: 23 + z index: 1 + alignment: middle center + render style: image + choice images: + # Images based on the set symbol + basic land: script: symbol_variation(symbol: set.symbol, variation: "common") + common: script: 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 +#should the bottom textbox be the flipped or unflipped text? if flipped, reverse orientations of fields. + text: + left: 62 + top : 380 + width: 280 + height: 65 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 6 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + watermark: + left: 42 + top : 380 + width: 300 + height: 65 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + text 2: + right: 33 + bottom: 65 + width: 280 + height: 60 + angle: 180 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 6 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + watermark 2: + right: 33 + bottom: 65 + width: 300 + height: 60 + z index: 1 + render style: image + alignment: middle center + angle: 180 + include file: /magic-watermarks.mse-include/watermarks + ############################# PT + power: + z index: 2 + left: 24 + top: 342 + width: 19 + height: 50 + alignment: center middle + font: + name: Mplantin + size: 18 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + toughness: + z index: 2 + left: 24 + top: 393 + width: 19 + height: 50 + alignment: center middle + font: + name: Mplantin + size: 18 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + power 2: + z index: 2 + right: 334 + bottom: 111 + width: 19 + height: 50 + angle: 180 + alignment: center middle + font: + name: Mplantin + size: 18 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + toughness 2: + z index: 2 + right: 334 + bottom: 58 + width: 19 + height: 50 + angle: 180 + alignment: center middle + font: + name: Mplantin + size: 18 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + ############################# Copyright stuff + illustrator: + right: 350 + top : 340 + width: { max(20, card_style.illustrator.content_width) + 5 } + height: 16 + z index: 1 + alignment: middle right + font: + name: MPlantin-Italic + size: 8 + color: { font_color(card.card_color) } + copyright line: + left: 65 + top : 493 + width: 285 + height: 12 + z index: 1 + alignment: bottom right + font: + name: MPlantin + size: 7 + color: { font_color(card.card_color) } +############################################################## Extra card fields +extra card field: + type: choice + name: pt symbols + script: "shieldsword" + editable: false + save value: false +extra card field: + type: choice + name: pt symbols 2 + script: "shieldsword" + save value: false + editable: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card field: + type: choice + name: paintbrush + script: paintbrush_color(card.card_color) + editable: false + save value: false +extra card style: + pt symbols: + left: 24 + top: 340 + width: 19 + height: 103 + z index: 1 + visible: { card.power != "" or card.toughness != "" } + render style: image + choice images: + shieldsword: ptshieldsword.png + pt symbols 2: + right: 333 + bottom: 58 + width: 19 + height: 103 + z index: 1 + visible: { card.power_2 != "" or card.toughness_2 != "" } + render style: image + angle: 180 + choice images: + shieldsword: ptshieldsword.png + paintbrush: + right: { 350 - card_style.illustrator.content_width } + top : 341 + width: 40 + height: 15 + z index: 1 + render style: image + choice images: + black: /magic-future-common.mse-include/paintbrush_black.png + white: /magic-future-common.mse-include/paintbrush_white.png + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 3 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-firepenguinmaster-planeswalker.mse-style/style b/data/magic-firepenguinmaster-planeswalker.mse-style/style index f0fd7d77..fb3829ba 100644 --- a/data/magic-firepenguinmaster-planeswalker.mse-style/style +++ b/data/magic-firepenguinmaster-planeswalker.mse-style/style @@ -1,522 +1,522 @@ -mse version: 0.3.8 -game: magic -full name: FPM Planeswalkers -short name: FPM 'Walkers -installer group: magic/FirePenguinMaster/Planeswalker cards -icon: card-sample.png -position hint: 408 - -version: 2009-07-07 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-future-common.mse-include - version: 2007-09-23 -depends on: - package: magic-watermarks.mse-include - version: 2007-09-23 -depends on: - package: magic-mana-beveled.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -#Template by Pichoro -############################################################## Extra scripts -init script: - green_template := { - if input == "g" then ( - if styling.green_style == "light" then "lg" - else "g" - ) else input - } - template := { green_template() + "{type}.jpg" } - land_template := { - (if input == "a" or input == "c" then ( - if styling.land_style == "grey" then "e" - else "c" - ) else green_template()) + "l{type}.jpg" } - - # 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 } - - # Only white cards use a black font - # TODO: also for some overlays involving white - font_colors_white := { input != "w" } - - paintbrush_color := { if font_white() then "white" else "black" } - - # Loyalty cost arrows - loyalty_image := { - if contains(input, match: "+") then "loyalty up" - else if contains(input, match: "-") then "loyalty down" - else "loyalty naught" - } - - card_shape := { "planeswalker" } - -############################################################## Set info fields -############################################################## Extra style options -styling field: - type: choice - name: cardname font - description: Use Matrix or MatrixBoldSmallCaps for the cardname font? - initial: Matrix - choice: Matrix - choice: MatrixBoldSmallCaps -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: green style - description: Choose the style of green: light or dark. - initial: dark - choice: light - choice: dark -styling field: - type: choice - name: land style - description: Should colorless lands be normal or grey? - initial: normal - choice: normal - choice: grey -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: 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: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling style: - green style: - render style: both - choice images: - light: lgcard.jpg - dark: gcard.jpg - 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 -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - z index: 4 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: 45 - top : 25 - width: 290 - height: 23 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: - { if styling.cardname_font == "Matrix" then "Matrix" - else if styling.cardname_font == "MatrixBoldSmallCaps" then "MatrixBoldSmallCaps" - else "Matrix" } - size: 20 - color: rgb(0,0,0) - casting cost: - left: 18 - top : 55 - width: 27 - height: 250 - direction: vertical - alignment: top right - symbol font: - name: magic-mana-beveled - size: 18 - scale down to: 18 - alignment: bottom right - always symbol: true - z index: 1 - padding top: 0 - card symbol: - left: 30 - top : 27 - height: 20 - width: 14 - z index: 1 - render style: image - choice images: - tombstone: tombstone.png - ############################# Image - image: - left: 51 - top: 67 - width: 306 - height: 422 - mask: imagemask.png - z index: 1 - ############################# Card type - type: - left: 120 - top : 312 - width: 220 - height: 20 - alignment: middle shrink-overflow - z index: 1 - padding top: 2 - font: - name: Matrix - size: 10 - color: rgb(0,0,0) - separator color: rgb(128,128,128) - rarity: - left: 70 - top : 302 - width: 33 - height: 23 - z index: 1 - alignment: middle center - render style: image - choice images: - # Images based on the set symbol - basic land: script: symbol_variation(symbol: set.symbol, variation: "common") - common: script: 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 - text: - left: 61 - top : 343 - width: 280 - height: 144 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - paragraph height: 48 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 6 - padding top: 0 - padding right: 4 - padding bottom: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - watermark: - left: 127 - top : 340 - width: 138 - height: 156 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - ############################# PT - ############################# Loyalty - loyalty: - z index: 2 - left: 30 - top: 295 - width: 13.16 - height: 34.63 - alignment: center middle - font: - name: MatrixBoldSmallCaps - size: 16 - weight: bold - color: rgb(255,255,255) - loyalty cost 1: - z index: 2 - left: 28 - top: 347 - width: 13.16 - height: 34.63 - alignment: center middle - font: - name: Mplantin - size: 12 - weight: bold - color: rgb(255,255,255) - loyalty cost 2: - z index: 2 - left: 28 - top: 396 - width: 13.16 - height: 34.63 - alignment: center middle - font: - name: Mplantin - size: 12 - weight: bold - color: rgb(255,255,255) - loyalty cost 3: - z index: 2 - left: 28 - top: 446 - width: 13.16 - height: 34.63 - alignment: center middle - font: - name: Mplantin - size: 12 - weight: bold - color: rgb(255,255,255) - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - right: 350 - top : 293 - width: { max(20, card_style.illustrator.content_width) + 5 } - height: 16 - z index: 1 - alignment: middle right - font: - name: MPlantin-Italic - size: 8 - color: { font_color(card.card_color) } - copyright line: - left: 65 - top : 492 - width: 285 - height: 12 - z index: 1 - alignment: bottom right - font: - name: MPlantin - size: 7 - color: { font_color(card.card_color) } -############################################################## Extra card fields -extra card field: - type: choice - name: loyalty box - editable: false - choice: loyalty - save value: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card field: - type: choice - name: paintbrush - script: paintbrush_color(card.card_color) - editable: false - save value: false -extra card field: - type: choice - name: loyalty box - editable: false - choice: loyalty - save value: false -extra card field: - type: choice - name: loyalty cost box 1 - editable: false - script: loyalty_image(card.loyalty_cost_1) - save value: false -extra card field: - type: choice - name: loyalty cost box 2 - editable: false - script: loyalty_image(card.loyalty_cost_2) - save value: false -extra card field: - type: choice - name: loyalty cost box 3 - editable: false - script: loyalty_image(card.loyalty_cost_3) - save value: false -extra card field: - type: text - name: colon 1 - editable: false - script: ":" - save value: false -extra card field: - type: text - name: colon 2 - editable: false - script: ":" - save value: false -extra card field: - type: text - name: colon 3 - editable: false - script: ":" - save value: false -extra card style: - paintbrush: - right: { 350 - card_style.illustrator.content_width } - top : 294 - width: 40 - height: 15 - z index: 1 - render style: image - choice images: - black: /magic-future-common.mse-include/paintbrush_black.png - white: /magic-future-common.mse-include/paintbrush_white.png - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 3 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} - loyalty box: - left: 6 - top: 293 - width: 60 - height: 38 - z index: 1 - render style: image - visible: { card.loyalty !="" } - choice images: - loyalty: loyalty.png - loyalty cost box 1: - left: 14 - top: 345 - width: 42 - height: 40 - z index: 1 - render style: image - visible: { card.loyalty_cost_1 !="" } - choice images: - loyalty up: loyaltyup.png - loyalty down: loyaltydown.png - loyalty naught: loyaltynaught.png - loyalty cost box 2: - left: 14 - top: 394 - width: 42 - height: 40 - z index: 1 - render style: image - visible: { card.loyalty_cost_2 !="" } - choice images: - loyalty up: loyaltyup.png - loyalty down: loyaltydown.png - loyalty naught: loyaltynaught.png - loyalty cost box 3: - left: 14 - top: 444 - width: 42 - height: 40 - z index: 1 - render style: image - visible: { card.loyalty_cost_3 !="" } - choice images: - loyalty up: loyaltyup.png - loyalty down: loyaltydown.png - loyalty naught: loyaltynaught.png - colon 1: - left: 55 - top: 359 - width: 5 - height: 10 - z index: 1 - font: - name: MPlantin - size: 15 - scale down to: 15 - color: rgb(0,0,0) - alignment: middle center - visible: { card.loyalty_cost_1 !="" } - colon 2: - left: 55 - top: 408 - width: 5 - height: 10 - z index: 1 - font: - name: MPlantin - size: 15 - scale down to: 15 - color: rgb(0,0,0) - alignment: middle center - visible: { card.loyalty_cost_2 !="" } - colon 3: - left: 55 - top: 458 - width: 5 - height: 10 - z index: 1 - font: - name: MPlantin - size: 15 - scale down to: 15 - color: rgb(0,0,0) - alignment: middle center - visible: { card.loyalty_cost_3 !="" } +mse version: 0.3.8 +game: magic +full name: FPM Planeswalkers +short name: FPM 'Walkers +installer group: magic/FirePenguinMaster/Planeswalker cards +icon: card-sample.png +position hint: 408 + +version: 2009-07-07 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 +depends on: + package: magic-watermarks.mse-include + version: 2007-09-23 +depends on: + package: magic-mana-beveled.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +#Template by Pichoro +############################################################## Extra scripts +init script: + green_template := { + if input == "g" then ( + if styling.green_style == "light" then "lg" + else "g" + ) else input + } + template := { green_template() + "{type}.jpg" } + land_template := { + (if input == "a" or input == "c" then ( + if styling.land_style == "grey" then "e" + else "c" + ) else green_template()) + "l{type}.jpg" } + + # 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 } + + # Only white cards use a black font + # TODO: also for some overlays involving white + font_colors_white := { input != "w" } + + paintbrush_color := { if font_white() then "white" else "black" } + + # Loyalty cost arrows + loyalty_image := { + if contains(input, match: "+") then "loyalty up" + else if contains(input, match: "-") then "loyalty down" + else "loyalty naught" + } + + card_shape := { "planeswalker" } + +############################################################## Set info fields +############################################################## Extra style options +styling field: + type: choice + name: cardname font + description: Use Matrix or MatrixBoldSmallCaps for the cardname font? + initial: Matrix + choice: Matrix + choice: MatrixBoldSmallCaps +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: green style + description: Choose the style of green: light or dark. + initial: dark + choice: light + choice: dark +styling field: + type: choice + name: land style + description: Should colorless lands be normal or grey? + initial: normal + choice: normal + choice: grey +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: 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: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling style: + green style: + render style: both + choice images: + light: lgcard.jpg + dark: gcard.jpg + 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 +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: 4 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: 45 + top : 25 + width: 290 + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: + { if styling.cardname_font == "Matrix" then "Matrix" + else if styling.cardname_font == "MatrixBoldSmallCaps" then "MatrixBoldSmallCaps" + else "Matrix" } + size: 20 + color: rgb(0,0,0) + casting cost: + left: 18 + top : 55 + width: 27 + height: 250 + direction: vertical + alignment: top right + symbol font: + name: magic-mana-beveled + size: 18 + scale down to: 18 + alignment: bottom right + always symbol: true + z index: 1 + padding top: 0 + card symbol: + left: 30 + top : 27 + height: 20 + width: 14 + z index: 1 + render style: image + choice images: + tombstone: tombstone.png + ############################# Image + image: + left: 51 + top: 67 + width: 306 + height: 422 + mask: imagemask.png + z index: 1 + ############################# Card type + type: + left: 120 + top : 312 + width: 220 + height: 20 + alignment: middle shrink-overflow + z index: 1 + padding top: 2 + font: + name: Matrix + size: 10 + color: rgb(0,0,0) + separator color: rgb(128,128,128) + rarity: + left: 70 + top : 302 + width: 33 + height: 23 + z index: 1 + alignment: middle center + render style: image + choice images: + # Images based on the set symbol + basic land: script: symbol_variation(symbol: set.symbol, variation: "common") + common: script: 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 + text: + left: 61 + top : 343 + width: 280 + height: 144 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + paragraph height: 48 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 6 + padding top: 0 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + watermark: + left: 127 + top : 340 + width: 138 + height: 156 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + ############################# PT + ############################# Loyalty + loyalty: + z index: 2 + left: 30 + top: 295 + width: 13.16 + height: 34.63 + alignment: center middle + font: + name: MatrixBoldSmallCaps + size: 16 + weight: bold + color: rgb(255,255,255) + loyalty cost 1: + z index: 2 + left: 28 + top: 347 + width: 13.16 + height: 34.63 + alignment: center middle + font: + name: Mplantin + size: 12 + weight: bold + color: rgb(255,255,255) + loyalty cost 2: + z index: 2 + left: 28 + top: 396 + width: 13.16 + height: 34.63 + alignment: center middle + font: + name: Mplantin + size: 12 + weight: bold + color: rgb(255,255,255) + loyalty cost 3: + z index: 2 + left: 28 + top: 446 + width: 13.16 + height: 34.63 + alignment: center middle + font: + name: Mplantin + size: 12 + weight: bold + color: rgb(255,255,255) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + right: 350 + top : 293 + width: { max(20, card_style.illustrator.content_width) + 5 } + height: 16 + z index: 1 + alignment: middle right + font: + name: MPlantin-Italic + size: 8 + color: { font_color(card.card_color) } + copyright line: + left: 65 + top : 492 + width: 285 + height: 12 + z index: 1 + alignment: bottom right + font: + name: MPlantin + size: 7 + color: { font_color(card.card_color) } +############################################################## Extra card fields +extra card field: + type: choice + name: loyalty box + editable: false + choice: loyalty + save value: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card field: + type: choice + name: paintbrush + script: paintbrush_color(card.card_color) + editable: false + save value: false +extra card field: + type: choice + name: loyalty box + editable: false + choice: loyalty + save value: false +extra card field: + type: choice + name: loyalty cost box 1 + editable: false + script: loyalty_image(card.loyalty_cost_1) + save value: false +extra card field: + type: choice + name: loyalty cost box 2 + editable: false + script: loyalty_image(card.loyalty_cost_2) + save value: false +extra card field: + type: choice + name: loyalty cost box 3 + editable: false + script: loyalty_image(card.loyalty_cost_3) + save value: false +extra card field: + type: text + name: colon 1 + editable: false + script: ":" + save value: false +extra card field: + type: text + name: colon 2 + editable: false + script: ":" + save value: false +extra card field: + type: text + name: colon 3 + editable: false + script: ":" + save value: false +extra card style: + paintbrush: + right: { 350 - card_style.illustrator.content_width } + top : 294 + width: 40 + height: 15 + z index: 1 + render style: image + choice images: + black: /magic-future-common.mse-include/paintbrush_black.png + white: /magic-future-common.mse-include/paintbrush_white.png + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 3 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} + loyalty box: + left: 6 + top: 293 + width: 60 + height: 38 + z index: 1 + render style: image + visible: { card.loyalty !="" } + choice images: + loyalty: loyalty.png + loyalty cost box 1: + left: 14 + top: 345 + width: 42 + height: 40 + z index: 1 + render style: image + visible: { card.loyalty_cost_1 !="" } + choice images: + loyalty up: loyaltyup.png + loyalty down: loyaltydown.png + loyalty naught: loyaltynaught.png + loyalty cost box 2: + left: 14 + top: 394 + width: 42 + height: 40 + z index: 1 + render style: image + visible: { card.loyalty_cost_2 !="" } + choice images: + loyalty up: loyaltyup.png + loyalty down: loyaltydown.png + loyalty naught: loyaltynaught.png + loyalty cost box 3: + left: 14 + top: 444 + width: 42 + height: 40 + z index: 1 + render style: image + visible: { card.loyalty_cost_3 !="" } + choice images: + loyalty up: loyaltyup.png + loyalty down: loyaltydown.png + loyalty naught: loyaltynaught.png + colon 1: + left: 55 + top: 359 + width: 5 + height: 10 + z index: 1 + font: + name: MPlantin + size: 15 + scale down to: 15 + color: rgb(0,0,0) + alignment: middle center + visible: { card.loyalty_cost_1 !="" } + colon 2: + left: 55 + top: 408 + width: 5 + height: 10 + z index: 1 + font: + name: MPlantin + size: 15 + scale down to: 15 + color: rgb(0,0,0) + alignment: middle center + visible: { card.loyalty_cost_2 !="" } + colon 3: + left: 55 + top: 458 + width: 5 + height: 10 + z index: 1 + font: + name: MPlantin + size: 15 + scale down to: 15 + color: rgb(0,0,0) + alignment: middle center + visible: { card.loyalty_cost_3 !="" } diff --git a/data/magic-firepenguinmaster.mse-style/style b/data/magic-firepenguinmaster.mse-style/style index 5be8f62c..70383d22 100644 --- a/data/magic-firepenguinmaster.mse-style/style +++ b/data/magic-firepenguinmaster.mse-style/style @@ -1,386 +1,386 @@ -mse version: 0.3.8 -game: magic -full name: FPM's Normal Magic -short name: FPM Normal -installer group: magic/FirePenguinMaster/Normal cards -icon: card-sample.png -position hint: 401 - -version: 2009-07-07 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-future-common.mse-include - version: 2007-09-23 -depends on: - package: magic-watermarks.mse-include - version: 2007-09-23 -depends on: - package: magic-mana-beveled.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -#Template by Art_Freak and Pichoro -############################################################## Extra scripts -init script: - green_template := { - if input == "g" then ( - if styling.green_style == "light" then "lg" - else "g" - ) else input - } - template := { green_template() + "{type}.jpg" } - land_template := { - (if input == "a" or input == "c" then ( - if styling.land_style == "grey" then "e" - else "c" - ) else green_template()) + "l{type}.jpg" } - - # 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 } - - # Only white cards use a black font - # TODO: also for some overlays involving white - font_colors_white := { input != "w" } - - paintbrush_color := { if font_white() then "white" else "black" } - -############################################################## Extra style options -styling field: - type: choice - name: cardname font - description: Use Matrix or MatrixBoldSmallCaps for the cardname font? - initial: Matrix - choice: Matrix - choice: MatrixBoldSmallCaps -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: green style - description: Choose the style of green: light or dark. - initial: dark - choice: light - choice: dark -styling field: - type: choice - name: land style - description: Should colorless lands be normal or grey? - initial: normal - choice: normal - choice: grey -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: 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: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling style: - green style: - render style: both - choice images: - light: lgcard.jpg - dark: gcard.jpg - land style: - render style: both - choice images: - normal: clcard.jpg - grey: elcard.jpg - 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 - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.png -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - z index: 4 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: 45 - top : 25 - width: 290 - height: 23 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: - { if styling.cardname_font == "Matrix" then "Matrix" - else if styling.cardname_font == "MatrixBoldSmallCaps" then "MatrixBoldSmallCaps" - else "Matrix" } - size: 20 - color: rgb(0,0,0) - casting cost: - left: 18 - top : 55 - width: 27 - height: 250 - direction: vertical - alignment: top right - symbol font: - name: magic-mana-beveled - size: 18 - scale down to: 18 - alignment: bottom right - always symbol: true - z index: 1 - padding top: 0 - card symbol: - left: 30 - top : 27 - height: 20 - width: 14 - z index: 1 - render style: image - choice images: - tombstone: tombstone.png - ############################# Image - image: - left: 48 - top: 67 - width: 309 - height: 223 - mask: imagemask.png - z index: 1 - ############################# Card type - type: - left: 120 - top : 312 - width: 220 - height: 20 - alignment: middle shrink-overflow - z index: 1 - padding top: 2 - font: - name: Matrix - size: 10 - color: rgb(0,0,0) - separator color: rgb(128,128,128) - rarity: - left: 70 - top : 302 - width: 33 - height: 23 - z index: 1 - alignment: middle center - render style: image - choice images: - # Images based on the set symbol - basic land: script: symbol_variation(symbol: set.symbol, variation: "common") - common: script: 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 - text: - left: 61 - top : 343 - width: 280 - height: 144 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 6 - padding top: 2 - padding right: 4 - padding bottom: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - watermark: - left: 127 - top : 340 - width: 138 - height: 156 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - ############################# PT - power: - z index: 2 - left: 24 - top: 362 - width: 19 - height: 50 - alignment: center middle - font: - name: Mplantin - size: 18 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - toughness: - z index: 2 - left: 24 - top: 415 - width: 19 - height: 50 - alignment: center middle - font: - name: Mplantin - size: 18 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - right: 350 - top : 293 - width: { max(20, card_style.illustrator.content_width) + 5 } - height: 16 - z index: 1 - alignment: middle right - font: - name: MPlantin-Italic - size: 8 - color: { font_color(card.card_color) } - copyright line: - left: 65 - top : 492 - width: 285 - height: 12 - z index: 1 - alignment: bottom right - font: - name: MPlantin - size: 7 - color: { font_color(card.card_color) } -############################################################## Extra card fields -extra card field: - type: choice - name: pt symbols - script: "shieldsword" - editable: false - save value: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card field: - type: choice - name: paintbrush - script: paintbrush_color(card.card_color) - editable: false - save value: false -extra card style: - pt symbols: - left: 25 - top: 362 - width: 19 - height: 103 - z index: 1 - visible: { card.power != "" or card.toughness != "" } - render style: image - choice images: - shieldsword: ptshieldsword.png - paintbrush: - right: { 350 - card_style.illustrator.content_width } - top : 294 - width: 40 - height: 15 - z index: 1 - render style: image - choice images: - black: /magic-future-common.mse-include/paintbrush_black.png - white: /magic-future-common.mse-include/paintbrush_white.png - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 3 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +full name: FPM's Normal Magic +short name: FPM Normal +installer group: magic/FirePenguinMaster/Normal cards +icon: card-sample.png +position hint: 401 + +version: 2009-07-07 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 +depends on: + package: magic-watermarks.mse-include + version: 2007-09-23 +depends on: + package: magic-mana-beveled.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +#Template by Art_Freak and Pichoro +############################################################## Extra scripts +init script: + green_template := { + if input == "g" then ( + if styling.green_style == "light" then "lg" + else "g" + ) else input + } + template := { green_template() + "{type}.jpg" } + land_template := { + (if input == "a" or input == "c" then ( + if styling.land_style == "grey" then "e" + else "c" + ) else green_template()) + "l{type}.jpg" } + + # 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 } + + # Only white cards use a black font + # TODO: also for some overlays involving white + font_colors_white := { input != "w" } + + paintbrush_color := { if font_white() then "white" else "black" } + +############################################################## Extra style options +styling field: + type: choice + name: cardname font + description: Use Matrix or MatrixBoldSmallCaps for the cardname font? + initial: Matrix + choice: Matrix + choice: MatrixBoldSmallCaps +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: green style + description: Choose the style of green: light or dark. + initial: dark + choice: light + choice: dark +styling field: + type: choice + name: land style + description: Should colorless lands be normal or grey? + initial: normal + choice: normal + choice: grey +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: 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: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling style: + green style: + render style: both + choice images: + light: lgcard.jpg + dark: gcard.jpg + land style: + render style: both + choice images: + normal: clcard.jpg + grey: elcard.jpg + 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 + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.png +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: 4 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: 45 + top : 25 + width: 290 + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: + { if styling.cardname_font == "Matrix" then "Matrix" + else if styling.cardname_font == "MatrixBoldSmallCaps" then "MatrixBoldSmallCaps" + else "Matrix" } + size: 20 + color: rgb(0,0,0) + casting cost: + left: 18 + top : 55 + width: 27 + height: 250 + direction: vertical + alignment: top right + symbol font: + name: magic-mana-beveled + size: 18 + scale down to: 18 + alignment: bottom right + always symbol: true + z index: 1 + padding top: 0 + card symbol: + left: 30 + top : 27 + height: 20 + width: 14 + z index: 1 + render style: image + choice images: + tombstone: tombstone.png + ############################# Image + image: + left: 48 + top: 67 + width: 309 + height: 223 + mask: imagemask.png + z index: 1 + ############################# Card type + type: + left: 120 + top : 312 + width: 220 + height: 20 + alignment: middle shrink-overflow + z index: 1 + padding top: 2 + font: + name: Matrix + size: 10 + color: rgb(0,0,0) + separator color: rgb(128,128,128) + rarity: + left: 70 + top : 302 + width: 33 + height: 23 + z index: 1 + alignment: middle center + render style: image + choice images: + # Images based on the set symbol + basic land: script: symbol_variation(symbol: set.symbol, variation: "common") + common: script: 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 + text: + left: 61 + top : 343 + width: 280 + height: 144 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 6 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + watermark: + left: 127 + top : 340 + width: 138 + height: 156 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + ############################# PT + power: + z index: 2 + left: 24 + top: 362 + width: 19 + height: 50 + alignment: center middle + font: + name: Mplantin + size: 18 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + toughness: + z index: 2 + left: 24 + top: 415 + width: 19 + height: 50 + alignment: center middle + font: + name: Mplantin + size: 18 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + right: 350 + top : 293 + width: { max(20, card_style.illustrator.content_width) + 5 } + height: 16 + z index: 1 + alignment: middle right + font: + name: MPlantin-Italic + size: 8 + color: { font_color(card.card_color) } + copyright line: + left: 65 + top : 492 + width: 285 + height: 12 + z index: 1 + alignment: bottom right + font: + name: MPlantin + size: 7 + color: { font_color(card.card_color) } +############################################################## Extra card fields +extra card field: + type: choice + name: pt symbols + script: "shieldsword" + editable: false + save value: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card field: + type: choice + name: paintbrush + script: paintbrush_color(card.card_color) + editable: false + save value: false +extra card style: + pt symbols: + left: 25 + top: 362 + width: 19 + height: 103 + z index: 1 + visible: { card.power != "" or card.toughness != "" } + render style: image + choice images: + shieldsword: ptshieldsword.png + paintbrush: + right: { 350 - card_style.illustrator.content_width } + top : 294 + width: 40 + height: 15 + z index: 1 + render style: image + choice images: + black: /magic-future-common.mse-include/paintbrush_black.png + white: /magic-future-common.mse-include/paintbrush_white.png + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 3 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-firepenguinmasterpromo.mse-style/style b/data/magic-firepenguinmasterpromo.mse-style/style index f433d47e..5b5c08ca 100644 --- a/data/magic-firepenguinmasterpromo.mse-style/style +++ b/data/magic-firepenguinmasterpromo.mse-style/style @@ -1,389 +1,389 @@ -mse version: 0.3.8 -game: magic -full name: FPM's Promo Magic -short name: FPM Promo -installer group: magic/FirePenguinMaster/Promotional -icon: card-sample.png -position hint: 404 - -version: 2009-07-07 -depends on: - package: magic.mse-game - version: 2007-12-29 -depends on: - package: magic-future-common.mse-include - version: 2007-09-23 -depends on: - package: magic-watermarks.mse-include - version: 2007-09-23 -depends on: - package: magic-mana-beveled.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -#Template by Pichoro -############################################################## Extra scripts -init script: - green_template := { - if input == "g" then ( - if styling.green_style == "light" then "lg" - else "g" - ) else input - } - template := { green_template() + "{type}.jpg" } - land_template := { - (if input == "a" or input == "c" then ( - if styling.land_style == "grey" then "e" - else "c" - ) else green_template()) + "l{type}.jpg" } - - # 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 } - -############################################################## Extra style -styling field: - type: choice - name: cardname font - description: Use Matrix or MatrixBoldSmallCaps for the cardname font? - initial: Matrix - choice: Matrix - choice: MatrixBoldSmallCaps -styling field: - type: color - name: font color - description: The default text and typeline color for cards - choice: - name: black - color: rgb(0,0,0) - choice: - name: white - color: rgb(255,255,255) -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: green style - description: Choose the style of green: light or dark. - initial: dark - choice: light - choice: dark -styling field: - type: choice - name: land style - description: Should colorless lands be normal or grey? - initial: normal - choice: normal - choice: grey -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: 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: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling style: - green style: - render style: both - choice images: - light: lgcard.jpg - dark: gcard.jpg - land style: - render style: both - choice images: - normal: clcard.jpg - grey: elcard.jpg - 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 - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.png -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 18 - right width: 18 - top width: 18 - bottom width: 18 - z index: 5 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: 45 - top : 25 - width: 290 - height: 23 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: - { if styling.cardname_font == "Matrix" then "Matrix" - else if styling.cardname_font == "MatrixBoldSmallCaps" then "MatrixBoldSmallCaps" - else "Matrix" } - size: 20 - color: rgb(0,0,0) - casting cost: - left: 18 - top : 55 - width: 27 - height: 250 - direction: vertical - alignment: top right - symbol font: - name: magic-mana-beveled - size: 18 - scale down to: 18 - alignment: bottom right - always symbol: true - padding top: 0 - z index: 1 - card symbol: - left: 30 - top : 27 - height: 20 - width: 14 - z index: 1 - render style: image - choice images: - tombstone: tombstone.png - ############################# Image - image: - left: 49 - top: 65 - width: 307 - height: 439 - mask: imagemask.png - z index: 1 - ############################# Card type - type: - left: 120 - top : 312 - width: 220 - height: 20 - alignment: top shrink-overflow - z index: 2 - padding top: 2 - font: - name: Matrix - size: 10 - color: { styling.font_color } - separator color: rgb(128,128,128) - ############################# Text box - text: - left: 61 - top : 343 - width: 280 - height: 144 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: { styling.font_color } - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 3 - padding left: 6 - padding top: 2 - padding right: 4 - padding bottom: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - watermark: - left: 127 - top : 340 - width: 138 - height: 156 - z index: 2 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - ############################# PT - power: - z index: 2 - left: 24 - top: 361 - width: 19 - height: 50 - alignment: center middle - font: - name: Mplantin - size: 18 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - toughness: - z index: 2 - left: 25 - top: 418 - width: 19 - height: 50 - alignment: center middle - font: - name: Mplantin - size: 18 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - ############################# Copyright stuff - illustrator: - right: 350 - top : 293 - width: { max(20, card_style.illustrator.content_width) + 5 } - height: 16 - z index: 2 - alignment: middle right - font: - name: MPlantin-Italic - size: 8 - color: { styling.font_color } - copyright line: - left: 65 - top : 492 - width: 285 - height: 12 - z index: 2 - alignment: bottom right - font: - name: MPlantin - size: 7 - color: { styling.font_color } -############################################################## Extra card fields -extra card field: - type: choice - name: pt symbols - script: "shieldsword" - editable: false - save value: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card field: - type: choice - name: black paintbrush - editable: false - choice: black - save value: false -extra card field: - type: choice - name: white paintbrush - editable: false - choice: white - save value: false -extra card style: - pt symbols: - left: 25 - top: 362 - width: 19 - height: 103 - z index: 1 - visible: { card.power != "" or card.toughness != "" } - render style: image - choice images: - shieldsword: ptshieldsword.png - black paintbrush: - right: { 350 - card_style.illustrator.content_width } - top : 294 - width: 40 - height: 15 - z index: 2 - render style: image - visible: { styling.font_color == "black" } - choice images: - black: /magic-future-common.mse-include/paintbrush_black.png - white paintbrush: - right: { 350 - card_style.illustrator.content_width } - top : 294 - width: 40 - height: 15 - z index: 2 - render style: image - visible: { styling.font_color == "white" } - choice images: - white: /magic-future-common.mse-include/paintbrush_white.png - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 4 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +full name: FPM's Promo Magic +short name: FPM Promo +installer group: magic/FirePenguinMaster/Promotional +icon: card-sample.png +position hint: 404 + +version: 2009-07-07 +depends on: + package: magic.mse-game + version: 2007-12-29 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 +depends on: + package: magic-watermarks.mse-include + version: 2007-09-23 +depends on: + package: magic-mana-beveled.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +#Template by Pichoro +############################################################## Extra scripts +init script: + green_template := { + if input == "g" then ( + if styling.green_style == "light" then "lg" + else "g" + ) else input + } + template := { green_template() + "{type}.jpg" } + land_template := { + (if input == "a" or input == "c" then ( + if styling.land_style == "grey" then "e" + else "c" + ) else green_template()) + "l{type}.jpg" } + + # 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 } + +############################################################## Extra style +styling field: + type: choice + name: cardname font + description: Use Matrix or MatrixBoldSmallCaps for the cardname font? + initial: Matrix + choice: Matrix + choice: MatrixBoldSmallCaps +styling field: + type: color + name: font color + description: The default text and typeline color for cards + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) +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: green style + description: Choose the style of green: light or dark. + initial: dark + choice: light + choice: dark +styling field: + type: choice + name: land style + description: Should colorless lands be normal or grey? + initial: normal + choice: normal + choice: grey +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: 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: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling style: + green style: + render style: both + choice images: + light: lgcard.jpg + dark: gcard.jpg + land style: + render style: both + choice images: + normal: clcard.jpg + grey: elcard.jpg + 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 + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.png +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 18 + right width: 18 + top width: 18 + bottom width: 18 + z index: 5 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: 45 + top : 25 + width: 290 + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: + { if styling.cardname_font == "Matrix" then "Matrix" + else if styling.cardname_font == "MatrixBoldSmallCaps" then "MatrixBoldSmallCaps" + else "Matrix" } + size: 20 + color: rgb(0,0,0) + casting cost: + left: 18 + top : 55 + width: 27 + height: 250 + direction: vertical + alignment: top right + symbol font: + name: magic-mana-beveled + size: 18 + scale down to: 18 + alignment: bottom right + always symbol: true + padding top: 0 + z index: 1 + card symbol: + left: 30 + top : 27 + height: 20 + width: 14 + z index: 1 + render style: image + choice images: + tombstone: tombstone.png + ############################# Image + image: + left: 49 + top: 65 + width: 307 + height: 439 + mask: imagemask.png + z index: 1 + ############################# Card type + type: + left: 120 + top : 312 + width: 220 + height: 20 + alignment: top shrink-overflow + z index: 2 + padding top: 2 + font: + name: Matrix + size: 10 + color: { styling.font_color } + separator color: rgb(128,128,128) + ############################# Text box + text: + left: 61 + top : 343 + width: 280 + height: 144 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: { styling.font_color } + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 3 + padding left: 6 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + watermark: + left: 127 + top : 340 + width: 138 + height: 156 + z index: 2 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + ############################# PT + power: + z index: 2 + left: 24 + top: 361 + width: 19 + height: 50 + alignment: center middle + font: + name: Mplantin + size: 18 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + toughness: + z index: 2 + left: 25 + top: 418 + width: 19 + height: 50 + alignment: center middle + font: + name: Mplantin + size: 18 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + ############################# Copyright stuff + illustrator: + right: 350 + top : 293 + width: { max(20, card_style.illustrator.content_width) + 5 } + height: 16 + z index: 2 + alignment: middle right + font: + name: MPlantin-Italic + size: 8 + color: { styling.font_color } + copyright line: + left: 65 + top : 492 + width: 285 + height: 12 + z index: 2 + alignment: bottom right + font: + name: MPlantin + size: 7 + color: { styling.font_color } +############################################################## Extra card fields +extra card field: + type: choice + name: pt symbols + script: "shieldsword" + editable: false + save value: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card field: + type: choice + name: black paintbrush + editable: false + choice: black + save value: false +extra card field: + type: choice + name: white paintbrush + editable: false + choice: white + save value: false +extra card style: + pt symbols: + left: 25 + top: 362 + width: 19 + height: 103 + z index: 1 + visible: { card.power != "" or card.toughness != "" } + render style: image + choice images: + shieldsword: ptshieldsword.png + black paintbrush: + right: { 350 - card_style.illustrator.content_width } + top : 294 + width: 40 + height: 15 + z index: 2 + render style: image + visible: { styling.font_color == "black" } + choice images: + black: /magic-future-common.mse-include/paintbrush_black.png + white paintbrush: + right: { 350 - card_style.illustrator.content_width } + top : 294 + width: 40 + height: 15 + z index: 2 + render style: image + visible: { styling.font_color == "white" } + choice images: + white: /magic-future-common.mse-include/paintbrush_white.png + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 4 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-firepenguinmastersplit.mse-style/style b/data/magic-firepenguinmastersplit.mse-style/style index 7f891f5d..ae60e465 100644 --- a/data/magic-firepenguinmastersplit.mse-style/style +++ b/data/magic-firepenguinmastersplit.mse-style/style @@ -1,592 +1,592 @@ -mse version: 0.3.8 -game: magic -full name: FPM's Split Magic -short name: FPM Split -installer group: magic/FirePenguinMaster/Split cards -icon: card-sample.png -position hint: 403 - -version: 2009-07-07 -depends on: - package: magic.mse-game - version: 2007-12-29 -depends on: - package: magic-future-common.mse-include - version: 2007-09-23 -depends on: - package: magic-watermarks.mse-include - version: 2007-09-23 -depends on: - package: magic-mana-beveled.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 523 -card height: 375 -card dpi: 150 -#Template by Pichoro -############################################################## Extra scripts -init script: - green_template := { - if input == "g" then ( - if styling.green_style == "light" then "lg" - else "g" - ) else input - } - template := { green_template() + "{type}.jpg" } - land_template := { - (if input == "a" or input == "c" then ( - if styling.land_style == "grey" then "e" - else "c" - ) else green_template()) + "l{type}.jpg" } - - # 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 } - - # Only white cards use a black font - # TODO: also for some overlays involving white - font_colors_white := { input != "w" } - - paintbrush_color := { if font_white() then "white" else "black" } - - card_shape := { "split" } - -############################################################## Extra style -styling field: - type: choice - name: cardname font - description: Use Matrix or MatrixBoldSmallCaps for the cardname font? - initial: Matrix - choice: Matrix - choice: MatrixBoldSmallCaps -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: green style - description: Choose the style of green: light or dark. - initial: dark - choice: light - choice: dark -styling field: - type: choice - name: land style - description: Should colorless lands be normal or grey? - initial: normal - choice: normal - choice: grey -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: 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: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling style: - green style: - render style: both - choice images: - light: lgcard.jpg - dark: gcard.jpg - land style: - render style: both - choice images: - normal: clcard.jpg - grey: elcard.jpg - 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 - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.png -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 523 - height: 375 - radius: 18 - z index: -1 - card color: - left: 18 - top: 18 - width: 235.49 - height: 338 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - card color 2: - left: 271.49 - top: 18 - width: 235.49 - height: 338 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: 37.39 - top : 23.54 - width: 200.86 - height: 15.93 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: - { if styling.cardname_font == "Matrix" then "Matrix" - else if styling.cardname_font == "MatrixBoldSmallCaps" then "MatrixBoldSmallCaps" - else "Matrix" } - size: 13.85 - color: rgb(0,0,0) - name 2: - left: 290.88 - top : 23.54 - width: 200.86 - height: 15.93 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: - { if styling.cardname_font == "Matrix" then "Matrix" - else if styling.cardname_font == "MatrixBoldSmallCaps" then "MatrixBoldSmallCaps" - else "Matrix" } - size: 13.85 - color: rgb(0,0,0) - casting cost: - left: 18.67 - top : 45 - width: 19.5 - height: 173.16 - alignment: top right - direction: vertical - symbol font: - name: magic-mana-beveled - size: 13 - scale down to: 13 - alignment: bottom right - always symbol: true - padding top: 0 - z index: 1 - casting cost 2: - left: 272.16 - top : 45 - width: 19.5 - height: 173.16 - alignment: top right - direction: vertical - symbol font: - name: magic-mana-beveled - size: 13 - scale down to: 13 - alignment: bottom right - always symbol: true - padding top: 0 - z index: 1 - card symbol: - left: 22.78 - top : 22 - height: 13.85 - width: 9.7 - render style: image - z index: 1 - choice images: - tombstone: tombstone.png - card symbol 2: - left: 276.27 - top : 22 - height: 13.85 - width: 9.7 - render style: image - z index: 1 - choice images: - tombstone: tombstone.png - ############################# Image - image: - left: 39.25 - top: 52 - width: 214.02 - height: 154.45 - mask: imagemask.png - z index: 1 - image 2: - left: 293.74 - top: 51 - width: 214.02 - height: 154.45 - mask: imagemask.png - z index: 1 - ############################# Card type - type: - left: 90.11 - top : 223 - width: 152.38 - height: 10.85 - alignment: top shrink-overflow - z index: 1 - padding top: 2 - font: - name: Matrix - size: 6.93 - color: rgb(0,0,0) - separator color: rgb(128,128,128) - type 2: - left: 343.6 - top : 223 - width: 152.38 - height: 10.85 - alignment: top shrink-overflow - z index: 1 - padding top: 2 - font: - name: Matrix - size: 6.93 - color: rgb(0,0,0) - separator color: rgb(128,128,128) - rarity: - left: 53 - top : 214 - width: 25 - height: 17 - z index: 1 - alignment: middle center - render style: image - choice images: - # Images based on the set symbol - basic land: script: symbol_variation(symbol: set.symbol, variation: "common") - common: script: 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") - rarity 2: - left: 306 - top : 214 - width: 25 - height: 17 - z index: 1 - alignment: middle center - render style: image - choice images: - # Images based on the set symbol - basic land: script: symbol_variation(symbol: set.symbol, variation: "common") - common: script: 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 - text: - left: 49.25 - top : 244 - width: 193.93 - height: 99.74 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 9.7 - scale down to: 4.16 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 6 - padding top: 2 - padding right: 4 - padding bottom: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - text 2: - left: 302.74 - top : 244 - width: 193.93 - height: 99.74 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 9.7 - scale down to: 4.16 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 6 - padding top: 2 - padding right: 4 - padding bottom: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - watermark: - left: 95.96 - top : 240 - width: 95.58 - height: 108.05 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - watermark 2: - left: 349.45 - top : 240 - width: 95.58 - height: 108.05 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - ############################# PT - power: - z index: 2 - left: 22.62 - top: 256 - width: 13.16 - height: 34.63 - alignment: center middle - font: - name: Mplantin - size: 12.47 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - power 2: - z index: 2 - left: 276.11 - top: 256 - width: 13.16 - height: 34.63 - alignment: center middle - font: - name: Mplantin - size: 12.47 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - toughness: - z index: 2 - left: 22.62 - top: 293 - width: 13.16 - height: 34.63 - alignment: center middle - font: - name: Mplantin - size: 12.47 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - toughness 2: - z index: 2 - left: 276.11 - top: 293 - width: 13.16 - height: 34.63 - alignment: center middle - font: - name: Mplantin - size: 12.47 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - ############################# Copyright stuff - illustrator: - right: 246.41 - top : 208 - width: { max(20, card_style.illustrator.content_width) + 5 } - height: 11.08 - z index: 1 - alignment: middle right - font: - name: MPlantin-Italic - size: 5.54 - color: { font_color(card.card_color) } - illustrator 2: - right: 499.9 - top : 208 - width: { max(20, card_style.illustrator.content_width) + 5 } - height: 11.08 - z index: 1 - alignment: middle right - font: - name: MPlantin-Italic - size: 5.54 - color: { font_color(card.card_color_2) } - copyright line: - left: 45.02 - top : 348 - width: 204.32 - height: 8.31 - z index: 1 - alignment: bottom right - font: - name: MPlantin - size: 4.85 - color: { font_color(card.card_color) } - copyright line 2: - left: 298.51 - top : 348 - width: 204.32 - height: 8.31 - z index: 1 - alignment: bottom right - font: - name: MPlantin - size: 4.85 - color: { font_color(card.card_color_2) } -############################################################## Extra card fields -extra card field: - type: choice - name: pt symbols - script: "shieldsword" - editable: false - save value: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card field: - type: choice - name: pt symbols 2 - script: "shieldsword" - save value: false - editable: false -extra card field: - type: choice - name: paintbrush - script: paintbrush_color(card.card_color) - editable: false - save value: false -extra card field: - type: choice - name: paintbrush 2 - script: paintbrush_color(card.card_color_2) - editable: false - save value: false -extra card style: - pt symbols: - left: 23.32 - top: 256 - width: 13.16 - height: 71.34 - z index: 1 - visible: { card.power != "" or card.toughness != "" } - render style: image - choice images: - shieldsword: ptshieldsword.png - pt symbols 2: - left: 276.81 - top: 256 - width: 13.16 - height: 71.34 - z index: 1 - visible: { card.power_2 != "" or card.toughness_2 != "" } - render style: image - choice images: - shieldsword: ptshieldsword.png - paintbrush: - right: { 246.41 - card_style.illustrator.content_width } - top : 209 - width: 30 - height: 10 - z index: 1 - render style: image - choice images: - black: /magic-future-common.mse-include/paintbrush_black.png - white: /magic-future-common.mse-include/paintbrush_white.png - paintbrush 2: - right: { 499.9 - card_style.illustrator_2.content_width } - top : 209 - width: 30 - height: 10 - z index: 1 - render style: image - choice images: - black: /magic-future-common.mse-include/paintbrush_black.png - white: /magic-future-common.mse-include/paintbrush_white.png - foil layer: - right: 523 - bottom: 0 - width: 375 - height: 523 - z index: 3 - angle: 90 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +full name: FPM's Split Magic +short name: FPM Split +installer group: magic/FirePenguinMaster/Split cards +icon: card-sample.png +position hint: 403 + +version: 2009-07-07 +depends on: + package: magic.mse-game + version: 2007-12-29 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 +depends on: + package: magic-watermarks.mse-include + version: 2007-09-23 +depends on: + package: magic-mana-beveled.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 523 +card height: 375 +card dpi: 150 +#Template by Pichoro +############################################################## Extra scripts +init script: + green_template := { + if input == "g" then ( + if styling.green_style == "light" then "lg" + else "g" + ) else input + } + template := { green_template() + "{type}.jpg" } + land_template := { + (if input == "a" or input == "c" then ( + if styling.land_style == "grey" then "e" + else "c" + ) else green_template()) + "l{type}.jpg" } + + # 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 } + + # Only white cards use a black font + # TODO: also for some overlays involving white + font_colors_white := { input != "w" } + + paintbrush_color := { if font_white() then "white" else "black" } + + card_shape := { "split" } + +############################################################## Extra style +styling field: + type: choice + name: cardname font + description: Use Matrix or MatrixBoldSmallCaps for the cardname font? + initial: Matrix + choice: Matrix + choice: MatrixBoldSmallCaps +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: green style + description: Choose the style of green: light or dark. + initial: dark + choice: light + choice: dark +styling field: + type: choice + name: land style + description: Should colorless lands be normal or grey? + initial: normal + choice: normal + choice: grey +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: 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: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling style: + green style: + render style: both + choice images: + light: lgcard.jpg + dark: gcard.jpg + land style: + render style: both + choice images: + normal: clcard.jpg + grey: elcard.jpg + 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 + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.png +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 523 + height: 375 + radius: 18 + z index: -1 + card color: + left: 18 + top: 18 + width: 235.49 + height: 338 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + card color 2: + left: 271.49 + top: 18 + width: 235.49 + height: 338 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: 37.39 + top : 23.54 + width: 200.86 + height: 15.93 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: + { if styling.cardname_font == "Matrix" then "Matrix" + else if styling.cardname_font == "MatrixBoldSmallCaps" then "MatrixBoldSmallCaps" + else "Matrix" } + size: 13.85 + color: rgb(0,0,0) + name 2: + left: 290.88 + top : 23.54 + width: 200.86 + height: 15.93 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: + { if styling.cardname_font == "Matrix" then "Matrix" + else if styling.cardname_font == "MatrixBoldSmallCaps" then "MatrixBoldSmallCaps" + else "Matrix" } + size: 13.85 + color: rgb(0,0,0) + casting cost: + left: 18.67 + top : 45 + width: 19.5 + height: 173.16 + alignment: top right + direction: vertical + symbol font: + name: magic-mana-beveled + size: 13 + scale down to: 13 + alignment: bottom right + always symbol: true + padding top: 0 + z index: 1 + casting cost 2: + left: 272.16 + top : 45 + width: 19.5 + height: 173.16 + alignment: top right + direction: vertical + symbol font: + name: magic-mana-beveled + size: 13 + scale down to: 13 + alignment: bottom right + always symbol: true + padding top: 0 + z index: 1 + card symbol: + left: 22.78 + top : 22 + height: 13.85 + width: 9.7 + render style: image + z index: 1 + choice images: + tombstone: tombstone.png + card symbol 2: + left: 276.27 + top : 22 + height: 13.85 + width: 9.7 + render style: image + z index: 1 + choice images: + tombstone: tombstone.png + ############################# Image + image: + left: 39.25 + top: 52 + width: 214.02 + height: 154.45 + mask: imagemask.png + z index: 1 + image 2: + left: 293.74 + top: 51 + width: 214.02 + height: 154.45 + mask: imagemask.png + z index: 1 + ############################# Card type + type: + left: 90.11 + top : 223 + width: 152.38 + height: 10.85 + alignment: top shrink-overflow + z index: 1 + padding top: 2 + font: + name: Matrix + size: 6.93 + color: rgb(0,0,0) + separator color: rgb(128,128,128) + type 2: + left: 343.6 + top : 223 + width: 152.38 + height: 10.85 + alignment: top shrink-overflow + z index: 1 + padding top: 2 + font: + name: Matrix + size: 6.93 + color: rgb(0,0,0) + separator color: rgb(128,128,128) + rarity: + left: 53 + top : 214 + width: 25 + height: 17 + z index: 1 + alignment: middle center + render style: image + choice images: + # Images based on the set symbol + basic land: script: symbol_variation(symbol: set.symbol, variation: "common") + common: script: 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") + rarity 2: + left: 306 + top : 214 + width: 25 + height: 17 + z index: 1 + alignment: middle center + render style: image + choice images: + # Images based on the set symbol + basic land: script: symbol_variation(symbol: set.symbol, variation: "common") + common: script: 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 + text: + left: 49.25 + top : 244 + width: 193.93 + height: 99.74 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 9.7 + scale down to: 4.16 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 6 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + text 2: + left: 302.74 + top : 244 + width: 193.93 + height: 99.74 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 9.7 + scale down to: 4.16 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 6 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + watermark: + left: 95.96 + top : 240 + width: 95.58 + height: 108.05 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + watermark 2: + left: 349.45 + top : 240 + width: 95.58 + height: 108.05 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + ############################# PT + power: + z index: 2 + left: 22.62 + top: 256 + width: 13.16 + height: 34.63 + alignment: center middle + font: + name: Mplantin + size: 12.47 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + power 2: + z index: 2 + left: 276.11 + top: 256 + width: 13.16 + height: 34.63 + alignment: center middle + font: + name: Mplantin + size: 12.47 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + toughness: + z index: 2 + left: 22.62 + top: 293 + width: 13.16 + height: 34.63 + alignment: center middle + font: + name: Mplantin + size: 12.47 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + toughness 2: + z index: 2 + left: 276.11 + top: 293 + width: 13.16 + height: 34.63 + alignment: center middle + font: + name: Mplantin + size: 12.47 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + ############################# Copyright stuff + illustrator: + right: 246.41 + top : 208 + width: { max(20, card_style.illustrator.content_width) + 5 } + height: 11.08 + z index: 1 + alignment: middle right + font: + name: MPlantin-Italic + size: 5.54 + color: { font_color(card.card_color) } + illustrator 2: + right: 499.9 + top : 208 + width: { max(20, card_style.illustrator.content_width) + 5 } + height: 11.08 + z index: 1 + alignment: middle right + font: + name: MPlantin-Italic + size: 5.54 + color: { font_color(card.card_color_2) } + copyright line: + left: 45.02 + top : 348 + width: 204.32 + height: 8.31 + z index: 1 + alignment: bottom right + font: + name: MPlantin + size: 4.85 + color: { font_color(card.card_color) } + copyright line 2: + left: 298.51 + top : 348 + width: 204.32 + height: 8.31 + z index: 1 + alignment: bottom right + font: + name: MPlantin + size: 4.85 + color: { font_color(card.card_color_2) } +############################################################## Extra card fields +extra card field: + type: choice + name: pt symbols + script: "shieldsword" + editable: false + save value: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card field: + type: choice + name: pt symbols 2 + script: "shieldsword" + save value: false + editable: false +extra card field: + type: choice + name: paintbrush + script: paintbrush_color(card.card_color) + editable: false + save value: false +extra card field: + type: choice + name: paintbrush 2 + script: paintbrush_color(card.card_color_2) + editable: false + save value: false +extra card style: + pt symbols: + left: 23.32 + top: 256 + width: 13.16 + height: 71.34 + z index: 1 + visible: { card.power != "" or card.toughness != "" } + render style: image + choice images: + shieldsword: ptshieldsword.png + pt symbols 2: + left: 276.81 + top: 256 + width: 13.16 + height: 71.34 + z index: 1 + visible: { card.power_2 != "" or card.toughness_2 != "" } + render style: image + choice images: + shieldsword: ptshieldsword.png + paintbrush: + right: { 246.41 - card_style.illustrator.content_width } + top : 209 + width: 30 + height: 10 + z index: 1 + render style: image + choice images: + black: /magic-future-common.mse-include/paintbrush_black.png + white: /magic-future-common.mse-include/paintbrush_white.png + paintbrush 2: + right: { 499.9 - card_style.illustrator_2.content_width } + top : 209 + width: 30 + height: 10 + z index: 1 + render style: image + choice images: + black: /magic-future-common.mse-include/paintbrush_black.png + white: /magic-future-common.mse-include/paintbrush_white.png + foil layer: + right: 523 + bottom: 0 + width: 375 + height: 523 + z index: 3 + angle: 90 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-firepenguinmastertokens.mse-style/style b/data/magic-firepenguinmastertokens.mse-style/style index ed49440d..dbc23d29 100644 --- a/data/magic-firepenguinmastertokens.mse-style/style +++ b/data/magic-firepenguinmastertokens.mse-style/style @@ -1,431 +1,431 @@ -mse version: 0.3.8 -game: magic -full name: FPM's Token Magic -short name: FPM Token -installer group: magic/FirePenguinMaster/Tokens -icon: card-sample.png -position hint: 407 - -version: 2009-07-07 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-future-common.mse-include - version: 2007-09-23 -depends on: - package: magic-watermarks.mse-include - version: 2007-09-23 -depends on: - package: magic-mana-beveled.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -#Template by Art_Freak and Pichoro -############################################################## Extra scripts -init script: - green_template := { - if input == "g" then ( - if styling.green_style == "light" then "lg" - else "g" - ) else input - } - template_suffix := [card: "card.jpg", textbox: "textbox.png", typeline: "typeline.png"] - template := { green_template() + template_suffix[type] } - land_template := { - (if input == "a" or input == "c" then ( - if styling.land_style == "grey" then "e" - else "c" - ) else green_template()) + "l" + template_suffix[type] } - - # 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 } - - # Only white cards use a black font - # TODO: also for some overlays involving white - font_colors_white := { input != "w" } - - paintbrush_color := { if font_white() then "white" else "black" } - - card_shape := { - if styling.token then "token" - else "normal" - } - -############################################################## Extra style -styling field: - type: choice - name: cardname font - description: Use Matrix or MatrixBoldSmallCaps for the cardname font? - initial: Matrix - choice: Matrix - choice: MatrixBoldSmallCaps -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: 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: choice - name: green style - description: Choose the style of green: light or dark. - initial: dark - choice: light - choice: dark -styling field: - type: choice - name: land style - description: Should colorless lands be normal or grey? - initial: normal - choice: normal - choice: grey -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: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling field: - type: boolean - name: token - description: Is this card a token? - initial: yes -styling style: - green style: - render style: both - choice images: - light: lgcard.jpg - dark: gcard.jpg - land style: - render style: both - choice images: - normal: clcard.jpg - grey: elcard.jpg - 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 - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.png -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 18 - right width: 18 - top width: 18 - bottom width: 18 - z index: 6 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: 45 - top : 25 - width: 290 - height: 23 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: - { if styling.cardname_font == "Matrix" then "Matrix" - else if styling.cardname_font == "MatrixBoldSmallCaps" then "MatrixBoldSmallCaps" - else "Matrix" } - size: 20 - color: rgb(0,0,0) - casting cost: - left: 18 - top : 55 - width: 27 - height: 250 - alignment: top right - direction: vertical - symbol font: - name: magic-mana-beveled - size: 18 - scale down to: 18 - alignment: bottom right - always symbol: true - padding top: 0 - z index: 1 - card symbol: - left: 30 - top : 27 - height: 20 - width: 14 - z index: 1 - render style: image - choice images: - tombstone: tombstone.png - ############################# Image - image: - left: 49 - top: 65 - width: 307 - height: 439 - mask: imagemask.png - z index: 1 - ############################# Card type - type: - left: 110 - top : 479 - width: 220 - height: 20 - alignment: top shrink-overflow - z index: 3 - padding top: 2 - font: - name: Matrix - size: 10 - color: rgb(0,0,0) - separator color: rgb(128,128,128) - rarity: - left: { if to_text(card.type) != "" or card.illustrator != "" or card.copyright != "" then 70 else 21 } - top : { if to_text(card.type) != "" or card.illustrator != "" or card.copyright != "" then 468 else 471 } - width: 33 - height: 22 - z index: 3 - alignment: middle center - render style: image - choice images: - # Images based on the set symbol - basic land: script: symbol_variation(symbol: set.symbol, variation: "common") - common: script: 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 - text: - left: 56 - top : 410 - width: 290 - height: 46 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 4 - padding left: 6 - padding top: 2 - padding right: 4 - padding bottom: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - watermark: - left: 181 - top : 405 - width: 45 - height: 50 - z index: 3 - render style: image - alignment: middle center - visible: { card.rule_text != "" and card.flavor_text != "" } - include file: /magic-watermarks.mse-include/watermarks - ############################# PT - power: - z index: 2 - left: 24 - top: 361 - width: 19 - height: 50 - alignment: center middle - font: - name: Mplantin - size: 18 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - toughness: - z index: 2 - left: 25 - top: 418 - width: 19 - height: 50 - alignment: center middle - font: - name: Mplantin - size: 18 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - ############################# Copyright stuff - illustrator: - right: 350 - top : 461 - width: { max(20, card_style.illustrator.content_width) + 5 } - height: 16 - z index: 3 - alignment: middle right - font: - name: MPlantin-Italic - size: 8 - color: { font_color(card.card_color) } - copyright line: - left: 65 - top : 494 - width: 285 - height: 12 - z index: 3 - alignment: bottom right - font: - name: MPlantin - size: 7 - color: { font_color(card.card_color) } -############################################################## Extra card fields -extra card field: - type: choice - name: pt symbols - script: "shieldsword" - editable: false - save value: false -extra card field: - type: choice - name: textbox - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: typeline - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card field: - type: choice - name: paintbrush - script: paintbrush_color(card.card_color) - editable: false - save value: false -extra card style: - pt symbols: - left: 25 - top: 362 - width: 19 - height: 103 - z index: 1 - visible: { card.power != "" or card.toughness != "" } - render style: image - choice images: - shieldsword: ptshieldsword.png - textbox: - left: 52 - top: 405 - width: 299 - height: 55 - render style: image - popup style: in place - visible: - { card.rule_text != "" or - (number_of_items(in:"" + card.flavor_text) > 21) } - image: { card_textbox() } - z index: 2 - typeline: - left: 53 - top: 464 - width: 304 - height: 41 - render style: image - popup style: in place - visible: { to_text(card.type) != "" or card.illustrator != "" or card.copyright != "" } - image: { card_typeline() } - z index: 2 - paintbrush: - right: { 350 - card_style.illustrator.content_width } - top : 461 - width: 40 - height: 15 - z index: 3 - render style: image - choice images: - black: /magic-future-common.mse-include/paintbrush_black.png - white: /magic-future-common.mse-include/paintbrush_white.png - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 5 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +full name: FPM's Token Magic +short name: FPM Token +installer group: magic/FirePenguinMaster/Tokens +icon: card-sample.png +position hint: 407 + +version: 2009-07-07 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 +depends on: + package: magic-watermarks.mse-include + version: 2007-09-23 +depends on: + package: magic-mana-beveled.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +#Template by Art_Freak and Pichoro +############################################################## Extra scripts +init script: + green_template := { + if input == "g" then ( + if styling.green_style == "light" then "lg" + else "g" + ) else input + } + template_suffix := [card: "card.jpg", textbox: "textbox.png", typeline: "typeline.png"] + template := { green_template() + template_suffix[type] } + land_template := { + (if input == "a" or input == "c" then ( + if styling.land_style == "grey" then "e" + else "c" + ) else green_template()) + "l" + template_suffix[type] } + + # 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 } + + # Only white cards use a black font + # TODO: also for some overlays involving white + font_colors_white := { input != "w" } + + paintbrush_color := { if font_white() then "white" else "black" } + + card_shape := { + if styling.token then "token" + else "normal" + } + +############################################################## Extra style +styling field: + type: choice + name: cardname font + description: Use Matrix or MatrixBoldSmallCaps for the cardname font? + initial: Matrix + choice: Matrix + choice: MatrixBoldSmallCaps +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: 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: choice + name: green style + description: Choose the style of green: light or dark. + initial: dark + choice: light + choice: dark +styling field: + type: choice + name: land style + description: Should colorless lands be normal or grey? + initial: normal + choice: normal + choice: grey +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: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling field: + type: boolean + name: token + description: Is this card a token? + initial: yes +styling style: + green style: + render style: both + choice images: + light: lgcard.jpg + dark: gcard.jpg + land style: + render style: both + choice images: + normal: clcard.jpg + grey: elcard.jpg + 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 + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.png +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 18 + right width: 18 + top width: 18 + bottom width: 18 + z index: 6 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: 45 + top : 25 + width: 290 + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: + { if styling.cardname_font == "Matrix" then "Matrix" + else if styling.cardname_font == "MatrixBoldSmallCaps" then "MatrixBoldSmallCaps" + else "Matrix" } + size: 20 + color: rgb(0,0,0) + casting cost: + left: 18 + top : 55 + width: 27 + height: 250 + alignment: top right + direction: vertical + symbol font: + name: magic-mana-beveled + size: 18 + scale down to: 18 + alignment: bottom right + always symbol: true + padding top: 0 + z index: 1 + card symbol: + left: 30 + top : 27 + height: 20 + width: 14 + z index: 1 + render style: image + choice images: + tombstone: tombstone.png + ############################# Image + image: + left: 49 + top: 65 + width: 307 + height: 439 + mask: imagemask.png + z index: 1 + ############################# Card type + type: + left: 110 + top : 479 + width: 220 + height: 20 + alignment: top shrink-overflow + z index: 3 + padding top: 2 + font: + name: Matrix + size: 10 + color: rgb(0,0,0) + separator color: rgb(128,128,128) + rarity: + left: { if to_text(card.type) != "" or card.illustrator != "" or card.copyright != "" then 70 else 21 } + top : { if to_text(card.type) != "" or card.illustrator != "" or card.copyright != "" then 468 else 471 } + width: 33 + height: 22 + z index: 3 + alignment: middle center + render style: image + choice images: + # Images based on the set symbol + basic land: script: symbol_variation(symbol: set.symbol, variation: "common") + common: script: 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 + text: + left: 56 + top : 410 + width: 290 + height: 46 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 4 + padding left: 6 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + watermark: + left: 181 + top : 405 + width: 45 + height: 50 + z index: 3 + render style: image + alignment: middle center + visible: { card.rule_text != "" and card.flavor_text != "" } + include file: /magic-watermarks.mse-include/watermarks + ############################# PT + power: + z index: 2 + left: 24 + top: 361 + width: 19 + height: 50 + alignment: center middle + font: + name: Mplantin + size: 18 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + toughness: + z index: 2 + left: 25 + top: 418 + width: 19 + height: 50 + alignment: center middle + font: + name: Mplantin + size: 18 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + ############################# Copyright stuff + illustrator: + right: 350 + top : 461 + width: { max(20, card_style.illustrator.content_width) + 5 } + height: 16 + z index: 3 + alignment: middle right + font: + name: MPlantin-Italic + size: 8 + color: { font_color(card.card_color) } + copyright line: + left: 65 + top : 494 + width: 285 + height: 12 + z index: 3 + alignment: bottom right + font: + name: MPlantin + size: 7 + color: { font_color(card.card_color) } +############################################################## Extra card fields +extra card field: + type: choice + name: pt symbols + script: "shieldsword" + editable: false + save value: false +extra card field: + type: choice + name: textbox + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: typeline + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card field: + type: choice + name: paintbrush + script: paintbrush_color(card.card_color) + editable: false + save value: false +extra card style: + pt symbols: + left: 25 + top: 362 + width: 19 + height: 103 + z index: 1 + visible: { card.power != "" or card.toughness != "" } + render style: image + choice images: + shieldsword: ptshieldsword.png + textbox: + left: 52 + top: 405 + width: 299 + height: 55 + render style: image + popup style: in place + visible: + { card.rule_text != "" or + (number_of_items(in:"" + card.flavor_text) > 21) } + image: { card_textbox() } + z index: 2 + typeline: + left: 53 + top: 464 + width: 304 + height: 41 + render style: image + popup style: in place + visible: { to_text(card.type) != "" or card.illustrator != "" or card.copyright != "" } + image: { card_typeline() } + z index: 2 + paintbrush: + right: { 350 - card_style.illustrator.content_width } + top : 461 + width: 40 + height: 15 + z index: 3 + render style: image + choice images: + black: /magic-future-common.mse-include/paintbrush_black.png + white: /magic-future-common.mse-include/paintbrush_white.png + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 5 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-future-common.mse-include/include b/data/magic-future-common.mse-include/include index d000d51b..4113e4a4 100644 --- a/data/magic-future-common.mse-include/include +++ b/data/magic-future-common.mse-include/include @@ -1,3 +1,3 @@ -mse version: 0.3.6 -full name: Icons/symbols for futureshifted Magic The Gathering templates -version: 2008-05-21 +mse version: 0.3.6 +full name: Icons/symbols for futureshifted Magic The Gathering templates +version: 2008-05-21 diff --git a/data/magic-future-split.mse-style/style b/data/magic-future-split.mse-style/style index d0af59d9..10419afb 100644 --- a/data/magic-future-split.mse-style/style +++ b/data/magic-future-split.mse-style/style @@ -1,878 +1,878 @@ -mse version: 0.3.8 -game: magic -short name: Future Splits -full name: Futureshift Splits -installer group: magic/Future/Split cards -icon: card-sample.png -position hint: 053 - -version: 2009-07-22 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-watermarks.mse-include - version: 2007-09-23 -depends on: - package: magic-future-common.mse-include - version: 2008-05-21 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-mana-future.mse-symbol-font - version: 2007-09-23 - -card width: 523 -card height: 375 -card dpi: 150 -#By: Pichoro -#Images by Spiderboy4, Buttock1234, and Artfreakwiu -############################################################## Extra scripts -init script: - mask_hybrid_with_land := { styling.grey_hybrid_name } - - mask_multi_land_with_color := { styling.colored_multicolor_land_name } - - template_suffix := [card: "card.jpg", pt: "pt.png", textbox: "textbox.png", typeline: "typeline.png"] - template := { input + template_suffix[type] } - land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] } - - # 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 } - - colorless_color := { - if card.card_color=="white" then "w" - else if card.card_color=="blue" then "u" - else if card.card_color=="black" then "b" - else if card.card_color=="red" then "r" - else if card.card_color=="green" then "g" - else "c" - } - - font_colors_white := { input == "b" or input == "bl" or input == "u" or input == "ul" or input == "r" or input == "rl" or input == "g" or input == "gl" } - - font_white := { - hybrid := chosen(choice:"hybrid") - artifact := chosen(choice:"artifact") - colors := sort_text( order: "(wubrg)" - , (if chosen(choice:"white") then "w") - + (if chosen(choice:"blue") then "u") - + (if chosen(choice:"black") then "b") - + (if chosen(choice:"red") then "r") - + (if chosen(choice:"green") then "g")) - + (if artifact then "a") - font_colors_white( - if chosen(choice:"land") and chosen(choice:"white") then "wl" - else if chosen(choice:"land") and chosen(choice:"blue") then "ul" - else if chosen(choice:"land") and chosen(choice:"black") then "bl" - else if chosen(choice:"land") and chosen(choice:"red") then "rl" - else if chosen(choice:"land") and chosen(choice:"green") then "gl" - else if chosen(choice:"land") then "l" - else if input == "artifact, multicolor" then "a" - else if chosen(choice:"multicolor") then "m" - else if artifact and not hybrid then "a" - else if colors == "" then "c" - else colors[ - font_color_positions[ - if chosen(choice:"horizontal") then "horizontal" - else if chosen(choice:"vertical") then "vertical" - else if chosen(choice:"overlay") then "overlay" - else "radial" - ][number_of_items(in: colors)] - ] - ) - } - - paintbrush_color:= { if contains(card.card_color, match:"land") then "white" - else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"multicolor") or contains(card.card_color, match:"white") then "black" - else "white" - } - - paintbrush_color_2:= { if contains(card.card_color_2, match:"land") then "white" - else if contains(card.card_color_2, match:"artifact") or contains(card.card_color_2, match:"multicolor") or contains(card.card_color_2, match:"white") then "black" - else "white" - } - - typesymbol_type_2 := { typesymbol_for(card.super_type_2) } - - typesymbol_color:= { if contains(frame, match:"artifact") then "black" - else if contains(frame, match:"land") and contains(frame, match:"multicolor") and styling.colored_multicolor_land_name then "black" - else if contains(frame, match:"multicolor") then ( - if card.card_color=="multicolor" then "black" - else if not contains(frame, match:"white") then "white" - else if contains(frame, match:"red") or contains(frame, match:"green") then "white" - else "black" - ) else if frame == "white" then "black" - else if contains(frame, match:"land") then ( - if contains(frame, match:"green") then "white" - else if contains(frame, match:"red") then "white" - else if contains(frame, match:"black") then "white" - else if contains(frame, match:"blue") then "white" - else "black" - ) else if frame == "colorless" then "black" - else "white" - } - - card_shape := { if styling.shifted_sorting then "split, shifted" else "split"} - -############################################################## 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: shifted sorting - description: Should this style of card sort as a shifted card (after other cards of that color)? - initial: no -styling field: - type: boolean - name: grey hybrid name - description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. -styling field: - type: boolean - name: colored multicolor land name - description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. -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: 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: 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: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -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 -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 523 - height: 375 - radius: 18 - left width: 12 - right width: 12 - top width: 12 - bottom width: 12 - mask: bordermask.png - z index: 7 - card color: - left: 18 - top: 18 - width: 236 - height: 338 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - card color 2: - left: 269 - top: 18 - width: 236 - height: 338 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: { if card.card_symbol=="none" then 56 else 65 } - top : 21 - width: { if card.card_symbol=="none" then 190 else 181 } - height: 26 - alignment: middle shrink-overflow - padding bottom: 0 - z index: 4 - font: - name: Matrix - size: 14 - color: - script: - if styling.grey_hybrid_name and contains(card.card_color, match:"land") and - contains(card.card_color, match:"horizontal") or - contains(card.card_color, match:"radial") or - contains(card.card_color, match:"vertical") and - not contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if contains(card.card_color, match:"land") and - contains(card.card_color, match:"multicolor") and - contains(card.card_color, match:"black") and - styling.colored_multicolor_land_name then rgb(255,255,255) - else if contains(card.card_color, match:"land") and - contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0) - else if contains(card.card_color, match:"artifact") then ( - if contains(card.card_color, match:"blue") or - contains(card.card_color, match:"black") or - contains(card.card_color, match:"red") or - contains(card.card_color, match:"green") then rgb(255,255,255) - else rgb(0,0,0) - ) else font_color(card.card_color) - name 2: - left: { if card.card_symbol_2=="none" then 307 else 316 } - top : 21 - width: { if card.card_symbol_2=="none" then 196 else 187 } - height: 26 - alignment: middle shrink-overflow - padding bottom: 0 - z index: 4 - font: - name: Matrix - size: 14 - color: - script: - if styling.grey_hybrid_name and contains(card.card_color_2, match:"land") and - contains(card.card_color_2, match:"horizontal") or - contains(card.card_color_2, match:"radial") or - contains(card.card_color_2, match:"vertical") and - not contains(card.card_color_2, match:"multicolor") then rgb(0,0,0) - else if contains(card.card_color_2, match:"land") and - contains(card.card_color_2, match:"multicolor") and - contains(card.card_color_2, match:"black") and - styling.colored_multicolor_land_name then rgb(255,255,255) - else if contains(card.card_color_2, match:"land") and - contains(card.card_color_2, match:"multicolor") then rgb(0,0,0) - else if styling.grey_hybrid_name and contains(card.card_color_2, match:"hybrid") then rgb(0,0,0) - else if contains(card.card_color_2, match:"artifact") then ( - if contains(card.card_color_2, match:"blue") or - contains(card.card_color_2, match:"black") or - contains(card.card_color_2, match:"red") or - contains(card.card_color_2, match:"green") then rgb(255,255,255) - else rgb(0,0,0) - ) else font_color(card.card_color_2) - casting cost: - left: 9 - top: 33 - height: 174 - width: 52 - alignment: top left - direction: vertical - symbol font: - name: magic-mana-future - size: 16 - scale down to: 16 - alignment: bottom right - always symbol: true - z index: 4 - padding top: 0 - mask: costmask.png - casting cost 2: - left: 260 - top: 33 - height: 174 - width: 52 - alignment: top left - direction: vertical - symbol font: - name: magic-mana-future - size: 16 - scale down to: 16 - alignment: bottom right - always symbol: true - z index: 4 - padding top: 0 - mask: costmask.png - card symbol: - left: {if card.card_symbol=="none" then 34 else 48} - top : 28 - height: 16 - width: 12 - z index: 4 - render style: image - choice images: - tombstone: tombstone.png - card symbol 2: - left: {if card.card_symbol_2=="none" then 285 else 299} - top : 28 - height: 16 - width: 12 - z index: 4 - render style: image - choice images: - tombstone: tombstone.png - type symbol: - left: 22 - top: 22 - width: 15 - height: 14 - z index: 1 - render style: image - choice images: - artifact: { "/magic-future-common.mse-include/artifact_" + typesymbol_color(frame: card.card_color) + ".png" } - creature: { "/magic-future-common.mse-include/creature_" + typesymbol_color(frame: card.card_color) + ".png" } - enchantment: { "/magic-future-common.mse-include/enchantment_" + typesymbol_color(frame: card.card_color) + ".png" } - instant: { "/magic-future-common.mse-include/instant_" + typesymbol_color(frame: card.card_color) + ".png" } - land: { "/magic-future-common.mse-include/land_" + typesymbol_color(frame: card.card_color) + ".png" } - multitype: { "/magic-future-common.mse-include/multitype_" + typesymbol_color(frame: card.card_color) + ".png" } - sorcery: { "/magic-future-common.mse-include/sorcery_" + typesymbol_color(frame: card.card_color) + ".png" } - planeswalker: { "/magic-future-common.mse-include/planeswalker_" + typesymbol_color(frame: card.card_color) + ".png" } - ############################# Image - image: - left: 27 - top: 36 - width: 228 - height: 214 - z index: 1 - mask: mask_image.png - image 2: - left: 278 - top: 36 - width: 228 - height: 214 - z index: 1 - mask: mask_image.png - ############################# Card type - type: - left: 38 - top : 207 - width: { 215 - max(21,card_style.rarity.content_width) } - height: 20 - alignment: middle shrink-overflow - z index: 4 - padding top: 2 - font: - name: Matrix - size: 11 - color: - script: - if styling.grey_hybrid_name and contains(card.card_color, match:"land") and - contains(card.card_color, match:"horizontal") or - contains(card.card_color, match:"radial") or - contains(card.card_color, match:"vertical") and - not contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if contains(card.card_color, match:"land") and - contains(card.card_color, match:"multicolor") and - contains(card.card_color, match:"black") and - styling.colored_multicolor_land_name then rgb(255,255,255) - else if contains(card.card_color, match:"land") and - contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0) - else if contains(card.card_color, match:"artifact") then ( - if contains(card.card_color, match:"blue") or - contains(card.card_color, match:"black") or - contains(card.card_color, match:"red") or - contains(card.card_color, match:"green") then rgb(255,255,255) - else rgb(0,0,0) - ) else font_color(card.card_color) - separator color: rgb(128,128,128) - type 2: - left: 289 - top : 207 - width: { 215 - max(21,card_style.rarity_2.content_width) } - height: 20 - alignment: middle shrink-overflow - z index: 4 - padding top: 2 - font: - name: Matrix - size: 11 - color: - script: - if styling.grey_hybrid_name and contains(card.card_color_2, match:"land") and - contains(card.card_color_2, match:"horizontal") or - contains(card.card_color_2, match:"radial") or - contains(card.card_color_2, match:"vertical") and - not contains(card.card_color_2, match:"multicolor") then rgb(0,0,0) - else if contains(card.card_color_2, match:"land") and - contains(card.card_color_2, match:"multicolor") and - contains(card.card_color_2, match:"black") and - styling.colored_multicolor_land_name then rgb(255,255,255) - else if contains(card.card_color_2, match:"land") and - contains(card.card_color_2, match:"multicolor") then rgb(0,0,0) - else if styling.grey_hybrid_name and contains(card.card_color_2, match:"hybrid") then rgb(0,0,0) - else if contains(card.card_color_2, match:"artifact") then ( - if contains(card.card_color_2, match:"blue") or - contains(card.card_color_2, match:"black") or - contains(card.card_color_2, match:"red") or - contains(card.card_color_2, match:"green") then rgb(255,255,255) - else rgb(0,0,0) - ) else font_color(card.card_color_2) - separator color: rgb(128,128,128) - rarity: - left: 237 - top : 213 - width: 14 - height: 14 - z index: 4 - alignment: middle right - render style: image - choice images: - # Images based on the set symbol - basic land: - script: - if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") - else symbol_variation(symbol: set.symbol, variation: "common") - 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") - rarity 2: - left: 488 - top : 213 - width: 14 - height: 14 - z index: 4 - alignment: middle right - render style: image - choice images: - # Images based on the set symbol - basic land: - script: - if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") - else symbol_variation(symbol: set.symbol, variation: "common") - 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 - text: - left: 30 - top : 232 - width: 219 - height: 95 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 10 - scale down to: 6 - color: - script: - if not contains(card.card_color, match:"land") then rgb(0,0,0) - else if contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else font_color(card.card_color) - symbol font: - name: { styling.text_box_mana_symbols } - size: 11 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 4 - padding left: 6 - padding top: 2 - padding right: 4 - padding bottom: 2 - line height hard: 1.2 - line height soft: 0.9 - line height line: 1.5 - text 2: - left: 281 - top : 232 - width: 219 - height: 95 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 10 - scale down to: 6 - color: - script: - if not contains(card.card_color, match:"land") then rgb(0,0,0) - else if contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else font_color(card.card_color) - symbol font: - name: { styling.text_box_mana_symbols } - size: 11 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 4 - padding left: 6 - padding top: 2 - padding right: 4 - padding bottom: 2 - line height hard: 1.2 - line height soft: 0.9 - line height line: 1.5 - watermark: - left: 90 - top : 229 - width: 92 - height: 100 - z index: 3 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - watermark 2: - left: 341 - top : 229 - width: 92 - height: 100 - z index: 3 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - ############################# PT - pt: - z index: 5 - left: 196 - top: 324 - width: 60 - height: 28 - alignment: center middle shrink-overflow - font: - name: ModMatrix - size: 15 - weight: bold - color: - script: - if styling.grey_hybrid_name and contains(card.card_color, match:"land") and - contains(card.card_color, match:"horizontal") or - contains(card.card_color, match:"radial") or - contains(card.card_color, match:"vertical") and - not contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if contains(card.card_color, match:"land") and - contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if contains(card.card_color, match:"artifact") then ( - if contains(card.card_color, match:"blue") or - contains(card.card_color, match:"black") or - contains(card.card_color, match:"red") or - contains(card.card_color, match:"green") then rgb(255,255,255) - else rgb(0,0,0) - ) else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") and - not contains(card.card_color, match:"red") and not contains(card.card_color, match:"green") then rgb(255,255,255) - else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") then rgb(0,0,0) - else font_color(card.card_color) - separator color: rgb(200,0,0) - pt 2: - z index: 5 - left: 447 - top: 325 - width: 60 - height: 28 - alignment: center middle shrink-overflow - font: - name: ModMatrix - size: 15 - weight: bold - color: - script: - if styling.grey_hybrid_name and contains(card.card_color, match:"land") and - contains(card.card_color, match:"horizontal") or - contains(card.card_color, match:"radial") or - contains(card.card_color, match:"vertical") and - not contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if contains(card.card_color, match:"land") and - contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if contains(card.card_color, match:"artifact") then ( - if contains(card.card_color, match:"blue") or - contains(card.card_color, match:"black") or - contains(card.card_color, match:"red") or - contains(card.card_color, match:"green") then rgb(255,255,255) - else rgb(0,0,0) - ) else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") and - not contains(card.card_color, match:"red") and not contains(card.card_color, match:"green") then rgb(255,255,255) - else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") then rgb(0,0,0) - else font_color(card.card_color) - separator color: rgb(200,0,0) - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - right: { if card.pt != "" then 195 else 242 } - top : 332 - left: 30 - height: 16 - z index: 1 - alignment: middle right - font: - name: Matrix - size: 8 - color: - script: - if contains(card.card_color, match:"land") then rgb(255,255,255) - else if contains(card.card_color, match:"artifact") or - contains(card.card_color, match:"multicolor") or - contains(card.card_color, match:"white") then rgb(0,0,0) - else rgb(255,255,255) - illustrator 2: - right: { if card.pt_2 != "" then 446 else 493 } - top : 332 - left: 281 - height: 16 - z index: 1 - alignment: middle right - font: - name: Matrix - size: 8 - color: - script: - if contains(card.card_color_2, match:"land") then rgb(255,255,255) - else if contains(card.card_color_2, match:"artifact") or - contains(card.card_color_2, match:"multicolor") or - contains(card.card_color_2, match:"white") then rgb(0,0,0) - else rgb(255,255,255) - copyright line: - left: 30 - top : 340 - right: { if card.pt != "" then 195 else 242 } - height: 12 - z index: 1 - alignment: bottom right - font: - name: MPlantin - size: 5 - color: - script: - if contains(card.card_color, match:"land") then rgb(255,255,255) - else if contains(card.card_color, match:"artifact") or - contains(card.card_color, match:"multicolor") or - contains(card.card_color, match:"white") then rgb(0,0,0) - else rgb(255,255,255) - copyright line 2: - left: 281 - top : 340 - right: { if card.pt_2 != "" then 446 else 493 } - height: 12 - z index: 1 - alignment: bottom right - font: - name: MPlantin - size: 5 - color: - script: - if contains(card.card_color_2, match:"land") then rgb(255,255,255) - else if contains(card.card_color_2, match:"artifact") or - contains(card.card_color_2, match:"multicolor") or - contains(card.card_color_2, match:"white") then rgb(0,0,0) - else rgb(255,255,255) -############################################################## Extra card fields -extra card field: - type: choice - name: textbox - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: textbox 2 - script: card.card_color_2 - editable: false - save value: false -extra card field: - type: choice - name: typeline - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: typeline 2 - script: card.card_color_2 - editable: false - save value: false -extra card field: - type: choice - name: pt box - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card field: - type: choice - name: pt box 2 - script: card.card_color_2 - editable: false - save value: false -extra card field: - type: choice - name: paintbrush - script: paintbrush_color(value) - editable: false - save value: false -extra card field: - type: choice - name: paintbrush 2 - script: paintbrush_color_2(value) - editable: false - save value: false -extra card field: - type: choice - name: type symbol 2 - default: typesymbol_type_2(value) - choice: artifact - choice: creature - choice: enchantment - choice: instant - choice: land - choice: multitype - choice: planeswalker - choice: sorcery - choice: none -extra card style: - textbox: - left: 22 - top: 227 - width: 235 - height: 104 - render style: image - popup style: in place - image: { card_textbox() } - z index: 2 - textbox 2: - left: 273 - top: 227 - width: 235 - height: 104 - render style: image - popup style: in place - image: { card_textbox() } - z index: 2 - typeline: - left: 18 - top: 18 - width: 236 - height: 318 - render style: image - popup style: in place - image: { card_typeline() } - z index: 3 - typeline 2: - left: 269 - top: 18 - width: 236 - height: 318 - render style: image - popup style: in place - image: { card_typeline() } - z index: 3 - pt box: - left: 203 - top: 316 - width: 50 - height: 38 - z index: 4 - visible: { card.pt != "" } - render style: image - image: { card_ptbox() } - pt box 2: - left: 454 - top: 316 - width: 50 - height: 38 - z index: 4 - visible: { card.pt_2 != "" } - render style: image - image: { card_ptbox() } - paintbrush - right: { ( if card.pt != "" then 195 else 241 ) - card_style.illustrator.content_width } - top : 334 - width: 25 - height: 12 - z index: 1 - render style: image - visible: { card.illustrator != "" } - choice images: - black: /magic-future-common.mse-include/paintbrush_black.png - white: /magic-future-common.mse-include/paintbrush_white.png - foil layer: - right: 523 - bottom: 0 - width: 375 - height: 523 - z index: 6 - angle: 90 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} - paintbrush 2 - right: { ( if card.pt_2 != "" then 446 else 492 ) - card_style.illustrator_2.content_width } - top : 334 - width: 25 - height: 12 - z index: 1 - render style: image - visible: { card.illustrator_2 != "" } - choice images: - black: /magic-future-common.mse-include/paintbrush_black.png - white: /magic-future-common.mse-include/paintbrush_white.png - type symbol 2: - left: 273 - top: 22 - width: 15 - height: 14 - z index: 1 - render style: image - choice images: - artifact: { "/magic-future-common.mse-include/artifact_" + typesymbol_color(frame: card.card_color_2) + ".png" } - creature: { "/magic-future-common.mse-include/creature_" + typesymbol_color(frame: card.card_color_2) + ".png" } - enchantment: { "/magic-future-common.mse-include/enchantment_" + typesymbol_color(frame: card.card_color_2) + ".png" } - instant: { "/magic-future-common.mse-include/instant_" + typesymbol_color(frame: card.card_color_2) + ".png" } - land: { "/magic-future-common.mse-include/land_" + typesymbol_color(frame: card.card_color_2) + ".png" } - multitype: { "/magic-future-common.mse-include/multitype_" + typesymbol_color(frame: card.card_color_2) + ".png" } - planeswalker: { "/magic-future-common.mse-include/planeswalker_" + typesymbol_color(frame: card.card_color_2) + ".png" } - sorcery: { "/magic-future-common.mse-include/sorcery_" + typesymbol_color(frame: card.card_color_2) + ".png" } +mse version: 0.3.8 +game: magic +short name: Future Splits +full name: Futureshift Splits +installer group: magic/Future/Split cards +icon: card-sample.png +position hint: 053 + +version: 2009-07-22 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-watermarks.mse-include + version: 2007-09-23 +depends on: + package: magic-future-common.mse-include + version: 2008-05-21 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-future.mse-symbol-font + version: 2007-09-23 + +card width: 523 +card height: 375 +card dpi: 150 +#By: Pichoro +#Images by Spiderboy4, Buttock1234, and Artfreakwiu +############################################################## Extra scripts +init script: + mask_hybrid_with_land := { styling.grey_hybrid_name } + + mask_multi_land_with_color := { styling.colored_multicolor_land_name } + + template_suffix := [card: "card.jpg", pt: "pt.png", textbox: "textbox.png", typeline: "typeline.png"] + template := { input + template_suffix[type] } + land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] } + + # 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 } + + colorless_color := { + if card.card_color=="white" then "w" + else if card.card_color=="blue" then "u" + else if card.card_color=="black" then "b" + else if card.card_color=="red" then "r" + else if card.card_color=="green" then "g" + else "c" + } + + font_colors_white := { input == "b" or input == "bl" or input == "u" or input == "ul" or input == "r" or input == "rl" or input == "g" or input == "gl" } + + font_white := { + hybrid := chosen(choice:"hybrid") + artifact := chosen(choice:"artifact") + colors := sort_text( order: "(wubrg)" + , (if chosen(choice:"white") then "w") + + (if chosen(choice:"blue") then "u") + + (if chosen(choice:"black") then "b") + + (if chosen(choice:"red") then "r") + + (if chosen(choice:"green") then "g")) + + (if artifact then "a") + font_colors_white( + if chosen(choice:"land") and chosen(choice:"white") then "wl" + else if chosen(choice:"land") and chosen(choice:"blue") then "ul" + else if chosen(choice:"land") and chosen(choice:"black") then "bl" + else if chosen(choice:"land") and chosen(choice:"red") then "rl" + else if chosen(choice:"land") and chosen(choice:"green") then "gl" + else if chosen(choice:"land") then "l" + else if input == "artifact, multicolor" then "a" + else if chosen(choice:"multicolor") then "m" + else if artifact and not hybrid then "a" + else if colors == "" then "c" + else colors[ + font_color_positions[ + if chosen(choice:"horizontal") then "horizontal" + else if chosen(choice:"vertical") then "vertical" + else if chosen(choice:"overlay") then "overlay" + else "radial" + ][number_of_items(in: colors)] + ] + ) + } + + paintbrush_color:= { if contains(card.card_color, match:"land") then "white" + else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"multicolor") or contains(card.card_color, match:"white") then "black" + else "white" + } + + paintbrush_color_2:= { if contains(card.card_color_2, match:"land") then "white" + else if contains(card.card_color_2, match:"artifact") or contains(card.card_color_2, match:"multicolor") or contains(card.card_color_2, match:"white") then "black" + else "white" + } + + typesymbol_type_2 := { typesymbol_for(card.super_type_2) } + + typesymbol_color:= { if contains(frame, match:"artifact") then "black" + else if contains(frame, match:"land") and contains(frame, match:"multicolor") and styling.colored_multicolor_land_name then "black" + else if contains(frame, match:"multicolor") then ( + if card.card_color=="multicolor" then "black" + else if not contains(frame, match:"white") then "white" + else if contains(frame, match:"red") or contains(frame, match:"green") then "white" + else "black" + ) else if frame == "white" then "black" + else if contains(frame, match:"land") then ( + if contains(frame, match:"green") then "white" + else if contains(frame, match:"red") then "white" + else if contains(frame, match:"black") then "white" + else if contains(frame, match:"blue") then "white" + else "black" + ) else if frame == "colorless" then "black" + else "white" + } + + card_shape := { if styling.shifted_sorting then "split, shifted" else "split"} + +############################################################## 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: shifted sorting + description: Should this style of card sort as a shifted card (after other cards of that color)? + initial: no +styling field: + type: boolean + name: grey hybrid name + description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. +styling field: + type: boolean + name: colored multicolor land name + description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. +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: 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: 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: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +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 +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 523 + height: 375 + radius: 18 + left width: 12 + right width: 12 + top width: 12 + bottom width: 12 + mask: bordermask.png + z index: 7 + card color: + left: 18 + top: 18 + width: 236 + height: 338 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + card color 2: + left: 269 + top: 18 + width: 236 + height: 338 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: { if card.card_symbol=="none" then 56 else 65 } + top : 21 + width: { if card.card_symbol=="none" then 190 else 181 } + height: 26 + alignment: middle shrink-overflow + padding bottom: 0 + z index: 4 + font: + name: Matrix + size: 14 + color: + script: + if styling.grey_hybrid_name and contains(card.card_color, match:"land") and + contains(card.card_color, match:"horizontal") or + contains(card.card_color, match:"radial") or + contains(card.card_color, match:"vertical") and + not contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if contains(card.card_color, match:"land") and + contains(card.card_color, match:"multicolor") and + contains(card.card_color, match:"black") and + styling.colored_multicolor_land_name then rgb(255,255,255) + else if contains(card.card_color, match:"land") and + contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0) + else if contains(card.card_color, match:"artifact") then ( + if contains(card.card_color, match:"blue") or + contains(card.card_color, match:"black") or + contains(card.card_color, match:"red") or + contains(card.card_color, match:"green") then rgb(255,255,255) + else rgb(0,0,0) + ) else font_color(card.card_color) + name 2: + left: { if card.card_symbol_2=="none" then 307 else 316 } + top : 21 + width: { if card.card_symbol_2=="none" then 196 else 187 } + height: 26 + alignment: middle shrink-overflow + padding bottom: 0 + z index: 4 + font: + name: Matrix + size: 14 + color: + script: + if styling.grey_hybrid_name and contains(card.card_color_2, match:"land") and + contains(card.card_color_2, match:"horizontal") or + contains(card.card_color_2, match:"radial") or + contains(card.card_color_2, match:"vertical") and + not contains(card.card_color_2, match:"multicolor") then rgb(0,0,0) + else if contains(card.card_color_2, match:"land") and + contains(card.card_color_2, match:"multicolor") and + contains(card.card_color_2, match:"black") and + styling.colored_multicolor_land_name then rgb(255,255,255) + else if contains(card.card_color_2, match:"land") and + contains(card.card_color_2, match:"multicolor") then rgb(0,0,0) + else if styling.grey_hybrid_name and contains(card.card_color_2, match:"hybrid") then rgb(0,0,0) + else if contains(card.card_color_2, match:"artifact") then ( + if contains(card.card_color_2, match:"blue") or + contains(card.card_color_2, match:"black") or + contains(card.card_color_2, match:"red") or + contains(card.card_color_2, match:"green") then rgb(255,255,255) + else rgb(0,0,0) + ) else font_color(card.card_color_2) + casting cost: + left: 9 + top: 33 + height: 174 + width: 52 + alignment: top left + direction: vertical + symbol font: + name: magic-mana-future + size: 16 + scale down to: 16 + alignment: bottom right + always symbol: true + z index: 4 + padding top: 0 + mask: costmask.png + casting cost 2: + left: 260 + top: 33 + height: 174 + width: 52 + alignment: top left + direction: vertical + symbol font: + name: magic-mana-future + size: 16 + scale down to: 16 + alignment: bottom right + always symbol: true + z index: 4 + padding top: 0 + mask: costmask.png + card symbol: + left: {if card.card_symbol=="none" then 34 else 48} + top : 28 + height: 16 + width: 12 + z index: 4 + render style: image + choice images: + tombstone: tombstone.png + card symbol 2: + left: {if card.card_symbol_2=="none" then 285 else 299} + top : 28 + height: 16 + width: 12 + z index: 4 + render style: image + choice images: + tombstone: tombstone.png + type symbol: + left: 22 + top: 22 + width: 15 + height: 14 + z index: 1 + render style: image + choice images: + artifact: { "/magic-future-common.mse-include/artifact_" + typesymbol_color(frame: card.card_color) + ".png" } + creature: { "/magic-future-common.mse-include/creature_" + typesymbol_color(frame: card.card_color) + ".png" } + enchantment: { "/magic-future-common.mse-include/enchantment_" + typesymbol_color(frame: card.card_color) + ".png" } + instant: { "/magic-future-common.mse-include/instant_" + typesymbol_color(frame: card.card_color) + ".png" } + land: { "/magic-future-common.mse-include/land_" + typesymbol_color(frame: card.card_color) + ".png" } + multitype: { "/magic-future-common.mse-include/multitype_" + typesymbol_color(frame: card.card_color) + ".png" } + sorcery: { "/magic-future-common.mse-include/sorcery_" + typesymbol_color(frame: card.card_color) + ".png" } + planeswalker: { "/magic-future-common.mse-include/planeswalker_" + typesymbol_color(frame: card.card_color) + ".png" } + ############################# Image + image: + left: 27 + top: 36 + width: 228 + height: 214 + z index: 1 + mask: mask_image.png + image 2: + left: 278 + top: 36 + width: 228 + height: 214 + z index: 1 + mask: mask_image.png + ############################# Card type + type: + left: 38 + top : 207 + width: { 215 - max(21,card_style.rarity.content_width) } + height: 20 + alignment: middle shrink-overflow + z index: 4 + padding top: 2 + font: + name: Matrix + size: 11 + color: + script: + if styling.grey_hybrid_name and contains(card.card_color, match:"land") and + contains(card.card_color, match:"horizontal") or + contains(card.card_color, match:"radial") or + contains(card.card_color, match:"vertical") and + not contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if contains(card.card_color, match:"land") and + contains(card.card_color, match:"multicolor") and + contains(card.card_color, match:"black") and + styling.colored_multicolor_land_name then rgb(255,255,255) + else if contains(card.card_color, match:"land") and + contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0) + else if contains(card.card_color, match:"artifact") then ( + if contains(card.card_color, match:"blue") or + contains(card.card_color, match:"black") or + contains(card.card_color, match:"red") or + contains(card.card_color, match:"green") then rgb(255,255,255) + else rgb(0,0,0) + ) else font_color(card.card_color) + separator color: rgb(128,128,128) + type 2: + left: 289 + top : 207 + width: { 215 - max(21,card_style.rarity_2.content_width) } + height: 20 + alignment: middle shrink-overflow + z index: 4 + padding top: 2 + font: + name: Matrix + size: 11 + color: + script: + if styling.grey_hybrid_name and contains(card.card_color_2, match:"land") and + contains(card.card_color_2, match:"horizontal") or + contains(card.card_color_2, match:"radial") or + contains(card.card_color_2, match:"vertical") and + not contains(card.card_color_2, match:"multicolor") then rgb(0,0,0) + else if contains(card.card_color_2, match:"land") and + contains(card.card_color_2, match:"multicolor") and + contains(card.card_color_2, match:"black") and + styling.colored_multicolor_land_name then rgb(255,255,255) + else if contains(card.card_color_2, match:"land") and + contains(card.card_color_2, match:"multicolor") then rgb(0,0,0) + else if styling.grey_hybrid_name and contains(card.card_color_2, match:"hybrid") then rgb(0,0,0) + else if contains(card.card_color_2, match:"artifact") then ( + if contains(card.card_color_2, match:"blue") or + contains(card.card_color_2, match:"black") or + contains(card.card_color_2, match:"red") or + contains(card.card_color_2, match:"green") then rgb(255,255,255) + else rgb(0,0,0) + ) else font_color(card.card_color_2) + separator color: rgb(128,128,128) + rarity: + left: 237 + top : 213 + width: 14 + height: 14 + z index: 4 + alignment: middle right + render style: image + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + 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") + rarity 2: + left: 488 + top : 213 + width: 14 + height: 14 + z index: 4 + alignment: middle right + render style: image + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + 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 + text: + left: 30 + top : 232 + width: 219 + height: 95 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 10 + scale down to: 6 + color: + script: + if not contains(card.card_color, match:"land") then rgb(0,0,0) + else if contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else font_color(card.card_color) + symbol font: + name: { styling.text_box_mana_symbols } + size: 11 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 4 + padding left: 6 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height soft: 0.9 + line height line: 1.5 + text 2: + left: 281 + top : 232 + width: 219 + height: 95 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 10 + scale down to: 6 + color: + script: + if not contains(card.card_color, match:"land") then rgb(0,0,0) + else if contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else font_color(card.card_color) + symbol font: + name: { styling.text_box_mana_symbols } + size: 11 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 4 + padding left: 6 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height soft: 0.9 + line height line: 1.5 + watermark: + left: 90 + top : 229 + width: 92 + height: 100 + z index: 3 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + watermark 2: + left: 341 + top : 229 + width: 92 + height: 100 + z index: 3 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + ############################# PT + pt: + z index: 5 + left: 196 + top: 324 + width: 60 + height: 28 + alignment: center middle shrink-overflow + font: + name: ModMatrix + size: 15 + weight: bold + color: + script: + if styling.grey_hybrid_name and contains(card.card_color, match:"land") and + contains(card.card_color, match:"horizontal") or + contains(card.card_color, match:"radial") or + contains(card.card_color, match:"vertical") and + not contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if contains(card.card_color, match:"land") and + contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if contains(card.card_color, match:"artifact") then ( + if contains(card.card_color, match:"blue") or + contains(card.card_color, match:"black") or + contains(card.card_color, match:"red") or + contains(card.card_color, match:"green") then rgb(255,255,255) + else rgb(0,0,0) + ) else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") and + not contains(card.card_color, match:"red") and not contains(card.card_color, match:"green") then rgb(255,255,255) + else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") then rgb(0,0,0) + else font_color(card.card_color) + separator color: rgb(200,0,0) + pt 2: + z index: 5 + left: 447 + top: 325 + width: 60 + height: 28 + alignment: center middle shrink-overflow + font: + name: ModMatrix + size: 15 + weight: bold + color: + script: + if styling.grey_hybrid_name and contains(card.card_color, match:"land") and + contains(card.card_color, match:"horizontal") or + contains(card.card_color, match:"radial") or + contains(card.card_color, match:"vertical") and + not contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if contains(card.card_color, match:"land") and + contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if contains(card.card_color, match:"artifact") then ( + if contains(card.card_color, match:"blue") or + contains(card.card_color, match:"black") or + contains(card.card_color, match:"red") or + contains(card.card_color, match:"green") then rgb(255,255,255) + else rgb(0,0,0) + ) else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") and + not contains(card.card_color, match:"red") and not contains(card.card_color, match:"green") then rgb(255,255,255) + else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") then rgb(0,0,0) + else font_color(card.card_color) + separator color: rgb(200,0,0) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + right: { if card.pt != "" then 195 else 242 } + top : 332 + left: 30 + height: 16 + z index: 1 + alignment: middle right + font: + name: Matrix + size: 8 + color: + script: + if contains(card.card_color, match:"land") then rgb(255,255,255) + else if contains(card.card_color, match:"artifact") or + contains(card.card_color, match:"multicolor") or + contains(card.card_color, match:"white") then rgb(0,0,0) + else rgb(255,255,255) + illustrator 2: + right: { if card.pt_2 != "" then 446 else 493 } + top : 332 + left: 281 + height: 16 + z index: 1 + alignment: middle right + font: + name: Matrix + size: 8 + color: + script: + if contains(card.card_color_2, match:"land") then rgb(255,255,255) + else if contains(card.card_color_2, match:"artifact") or + contains(card.card_color_2, match:"multicolor") or + contains(card.card_color_2, match:"white") then rgb(0,0,0) + else rgb(255,255,255) + copyright line: + left: 30 + top : 340 + right: { if card.pt != "" then 195 else 242 } + height: 12 + z index: 1 + alignment: bottom right + font: + name: MPlantin + size: 5 + color: + script: + if contains(card.card_color, match:"land") then rgb(255,255,255) + else if contains(card.card_color, match:"artifact") or + contains(card.card_color, match:"multicolor") or + contains(card.card_color, match:"white") then rgb(0,0,0) + else rgb(255,255,255) + copyright line 2: + left: 281 + top : 340 + right: { if card.pt_2 != "" then 446 else 493 } + height: 12 + z index: 1 + alignment: bottom right + font: + name: MPlantin + size: 5 + color: + script: + if contains(card.card_color_2, match:"land") then rgb(255,255,255) + else if contains(card.card_color_2, match:"artifact") or + contains(card.card_color_2, match:"multicolor") or + contains(card.card_color_2, match:"white") then rgb(0,0,0) + else rgb(255,255,255) +############################################################## Extra card fields +extra card field: + type: choice + name: textbox + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: textbox 2 + script: card.card_color_2 + editable: false + save value: false +extra card field: + type: choice + name: typeline + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: typeline 2 + script: card.card_color_2 + editable: false + save value: false +extra card field: + type: choice + name: pt box + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card field: + type: choice + name: pt box 2 + script: card.card_color_2 + editable: false + save value: false +extra card field: + type: choice + name: paintbrush + script: paintbrush_color(value) + editable: false + save value: false +extra card field: + type: choice + name: paintbrush 2 + script: paintbrush_color_2(value) + editable: false + save value: false +extra card field: + type: choice + name: type symbol 2 + default: typesymbol_type_2(value) + choice: artifact + choice: creature + choice: enchantment + choice: instant + choice: land + choice: multitype + choice: planeswalker + choice: sorcery + choice: none +extra card style: + textbox: + left: 22 + top: 227 + width: 235 + height: 104 + render style: image + popup style: in place + image: { card_textbox() } + z index: 2 + textbox 2: + left: 273 + top: 227 + width: 235 + height: 104 + render style: image + popup style: in place + image: { card_textbox() } + z index: 2 + typeline: + left: 18 + top: 18 + width: 236 + height: 318 + render style: image + popup style: in place + image: { card_typeline() } + z index: 3 + typeline 2: + left: 269 + top: 18 + width: 236 + height: 318 + render style: image + popup style: in place + image: { card_typeline() } + z index: 3 + pt box: + left: 203 + top: 316 + width: 50 + height: 38 + z index: 4 + visible: { card.pt != "" } + render style: image + image: { card_ptbox() } + pt box 2: + left: 454 + top: 316 + width: 50 + height: 38 + z index: 4 + visible: { card.pt_2 != "" } + render style: image + image: { card_ptbox() } + paintbrush + right: { ( if card.pt != "" then 195 else 241 ) - card_style.illustrator.content_width } + top : 334 + width: 25 + height: 12 + z index: 1 + render style: image + visible: { card.illustrator != "" } + choice images: + black: /magic-future-common.mse-include/paintbrush_black.png + white: /magic-future-common.mse-include/paintbrush_white.png + foil layer: + right: 523 + bottom: 0 + width: 375 + height: 523 + z index: 6 + angle: 90 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} + paintbrush 2 + right: { ( if card.pt_2 != "" then 446 else 492 ) - card_style.illustrator_2.content_width } + top : 334 + width: 25 + height: 12 + z index: 1 + render style: image + visible: { card.illustrator_2 != "" } + choice images: + black: /magic-future-common.mse-include/paintbrush_black.png + white: /magic-future-common.mse-include/paintbrush_white.png + type symbol 2: + left: 273 + top: 22 + width: 15 + height: 14 + z index: 1 + render style: image + choice images: + artifact: { "/magic-future-common.mse-include/artifact_" + typesymbol_color(frame: card.card_color_2) + ".png" } + creature: { "/magic-future-common.mse-include/creature_" + typesymbol_color(frame: card.card_color_2) + ".png" } + enchantment: { "/magic-future-common.mse-include/enchantment_" + typesymbol_color(frame: card.card_color_2) + ".png" } + instant: { "/magic-future-common.mse-include/instant_" + typesymbol_color(frame: card.card_color_2) + ".png" } + land: { "/magic-future-common.mse-include/land_" + typesymbol_color(frame: card.card_color_2) + ".png" } + multitype: { "/magic-future-common.mse-include/multitype_" + typesymbol_color(frame: card.card_color_2) + ".png" } + planeswalker: { "/magic-future-common.mse-include/planeswalker_" + typesymbol_color(frame: card.card_color_2) + ".png" } + sorcery: { "/magic-future-common.mse-include/sorcery_" + typesymbol_color(frame: card.card_color_2) + ".png" } diff --git a/data/magic-future-textless.mse-style/style b/data/magic-future-textless.mse-style/style index 25098e84..77bc2f68 100644 --- a/data/magic-future-textless.mse-style/style +++ b/data/magic-future-textless.mse-style/style @@ -1,405 +1,405 @@ -mse version: 0.3.8 -game: magic -short name: Future Textless -full name: Futureshift Textless -installer group: magic/Future/Textless cards -icon: card-sample.png -position hint: 055 - -version: 2009-07-22 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-future-common.mse-include - version: 2008-05-21 -depends on: - package: magic-mana-future.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -#By: Pichoro -#Images by Spiderboy4, Buttock1234, and Artfreakwiu -############################################################## Extra scripts -init script: - # Should hybrids have a grey name? - mask_hybrid_with_land := { styling.grey_hybrid_name } - - #Should multicolor lands with basic land types have a colored name? - mask_multi_land_with_color := { styling.colored_multicolor_land_name } - - template := { input + "{type}.jpg" } - land_template := { (if input == "a" then "c" else input) + "l{type}.jpg" } - - # 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 } - - colorless_color := { - if card.card_color=="white" then "w" - else if card.card_color=="blue" then "u" - else if card.card_color=="black" then "b" - else if card.card_color=="red" then "r" - else if card.card_color=="green" then "g" - else "c" - } - - font_colors_white := { input != "w" and input != "c" and input != "a" and input != "l" and input != "m" } - - paintbrush_font:= { if contains(card.card_color, match:"land") then "white" - else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"multicolor") or contains(card.card_color, match:"white") then "black" - else "white" - } - typesymbol_color:= { if contains(card.card_color, match:"artifact") then "black" - else if contains(card.card_color, match:"land") and contains(card.card_color, match:"multicolor") and styling.colored_multicolor_land_name then "black" - else if contains(card.card_color, match:"multicolor") then ( - if card.card_color=="multicolor" then "black" - else if not contains(card.card_color, match:"white") then "white" - else if contains(card.card_color, match:"red") or contains(card.card_color, match:"green") then "white" - else "black" - ) else if card.card_color == "white" then "black" - else if contains(card.card_color, match:"land") then ( - if contains(card.card_color, match:"green") then "white" - else if contains(card.card_color, match:"red") then "white" - else if contains(card.card_color, match:"black") then "white" - else if contains(card.card_color, match:"blue") then "white" - else "black" - ) else if card.card_color == "colorless" then "black" - else "white" - } - - card_shape := { if styling.shifted_sorting then "shifted" else "normal" } - -############################################################## 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: shifted sorting - description: Should this style of card sort as a shifted card (after other cards of that color)? - initial: no -styling field: - type: boolean - name: grey hybrid name - description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. -styling field: - type: boolean - name: colored multicolor land name - description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. -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: inverted common symbol - description: Should the common rarity symbol be inverted, like in Coldsnap? - initial: no -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling style: - use guild mana symbols: - choice images: - yes: /magic-mana-future.mse-symbol-font/mana_guild_rg.png - no: /magic-mana-future.mse-symbol-font/mana_rg.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: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - mask: bordermask.png - z index: 4 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: { if card.card_symbol=="none" then 73 else 88 } - top : 30 - width: { if card.card_symbol=="none" then 269 else 254 } - height: 30 - alignment: middle shrink-overflow - padding bottom: 0 - z index: 2 - font: - name: Matrix - size: 18 - color: - script: - if styling.grey_hybrid_name and contains(card.card_color, match:"land") and - contains(card.card_color, match:"horizontal") or - contains(card.card_color, match:"radial") or - contains(card.card_color, match:"vertical") and - not contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if contains(card.card_color, match:"land") and - contains(card.card_color, match:"multicolor") and - contains(card.card_color, match:"black") and - styling.colored_multicolor_land_name then rgb(255,255,255) - else if contains(card.card_color, match:"land") and - contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0) - else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"land") then ( - if contains(card.card_color, match:"blue") or - contains(card.card_color, match:"black") or - contains(card.card_color, match:"red") or - contains(card.card_color, match:"green") then rgb(255,255,255) - else rgb(0,0,0) - ) else font_color(card.card_color) - casting cost: - left: 18 - top: 57 - height: 422 - width: 75 - alignment: top left - direction: vertical - symbol font: - name: magic-mana-future - size: 22 - scale down to: 22 - alignment: bottom right - always symbol: true - mask: costmask.png - z index: 2 - padding top: 0 - card symbol: - left: {if card.card_symbol=="none" then 50 else 67} - top : 35 - height: 20 - width: 14 - z index: 1 - render style: image - choice images: - tombstone: tombstone.png - type symbol: - left: 23 - top: 25 - width: 21 - height: 20 - z index: 1 - render style: image - choice images: - artifact: { "/magic-future-common.mse-include/artifact_" + typesymbol_color(value) + ".png" } - creature: { "/magic-future-common.mse-include/creature_" + typesymbol_color(value) + ".png" } - enchantment: { "/magic-future-common.mse-include/enchantment_" + typesymbol_color(value) + ".png" } - instant: { "/magic-future-common.mse-include/instant_" + typesymbol_color(value) + ".png" } - land: { "/magic-future-common.mse-include/land_" + typesymbol_color(value) + ".png" } - multitype: { "/magic-future-common.mse-include/multitype_" + typesymbol_color(value) + ".png" } - sorcery: { "/magic-future-common.mse-include/sorcery_" + typesymbol_color(value) + ".png" } - planeswalker: { "/magic-future-common.mse-include/planeswalker_" + typesymbol_color(value) + ".png" } - ############################# Image - image: - left: 37 - top: 46 - width: 322 - height: 418 - z index: 1 - mask: mask_image.png - ############################# Card type - type: - left: 49 - top : 434 - width: { 300 - max(18,card_style.rarity.content_width) } - height: 28 - alignment: middle shrink-overflow - z index: 2 - padding top: 2 - font: - name: Matrix - size: 14 - color: - script: - if styling.grey_hybrid_name and contains(card.card_color, match:"land") and - contains(card.card_color, match:"horizontal") or - contains(card.card_color, match:"radial") or - contains(card.card_color, match:"vertical") and - not contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if contains(card.card_color, match:"land") and - contains(card.card_color, match:"multicolor") and - contains(card.card_color, match:"black") and - styling.colored_multicolor_land_name then rgb(255,255,255) - else if contains(card.card_color, match:"land") and - contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0) - else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"land") then ( - if contains(card.card_color, match:"blue") or - contains(card.card_color, match:"black") or - contains(card.card_color, match:"red") or - contains(card.card_color, match:"green") then rgb(255,255,255) - else rgb(0,0,0) - ) else font_color(card.card_color) - separator color: rgb(128,128,128) - rarity: - right: 352 - top : 439 - width: 19 - height: 19 - z index: 2 - alignment: middle right - render style: image - choice images: - # Images based on the set symbol - basic land: - script: - if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") - else symbol_variation(symbol: set.symbol, variation: "common") - 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") - ############################# PT - pt: - z index: 2 - left: 287 - top: 467 - width: 60 - height: 28 - alignment: center middle shrink-overflow - font: - name: ModMatrix - size: 17 - weight: bold - color: - script: - if styling.grey_hybrid_name and contains(card.card_color, match:"land") and - contains(card.card_color, match:"horizontal") or - contains(card.card_color, match:"radial") or - contains(card.card_color, match:"vertical") and - not contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if contains(card.card_color, match:"land") and - contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if contains(card.card_color, match:"artifact") then ( - if contains(card.card_color, match:"blue") or - contains(card.card_color, match:"black") or - contains(card.card_color, match:"red") or - contains(card.card_color, match:"green") then rgb(255,255,255) - else rgb(0,0,0) - ) else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") and - not contains(card.card_color, match:"red") and not contains(card.card_color, match:"green") then rgb(255,255,255) - else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") then rgb(0,0,0) - else font_color(card.card_color) - separator color: rgb(200,0,0) - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - right: { if card.pt != "" then 281 else 341 } - top : 478 - left: 30 - height: 16 - z index: 1 - alignment: middle right - font: - name: Matrix - size: 10 - color: - script: - if contains(card.card_color, match:"land") then rgb(255,255,255) - else if contains(card.card_color, match:"artifact") or - contains(card.card_color, match:"multicolor") or - contains(card.card_color, match:"white") then rgb(0,0,0) - else rgb(255,255,255) - copyright line: - left: 30 - top : 491 - right: { if card.pt != "" then 281 else 341 } - height: 12 - z index: 1 - alignment: bottom right - font: - name: MPlantin - size: 7 - color: - script: - if contains(card.card_color, match:"land") then rgb(255,255,255) - else if contains(card.card_color, match:"artifact") or - contains(card.card_color, match:"multicolor") or - contains(card.card_color, match:"white") then rgb(0,0,0) - else rgb(255,255,255) -############################################################## Extra card fields -extra card field: - type: choice - name: pt box - script: card.card_color - editable: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card field: - type: choice - name: paintbrush - script: paintbrush_font(value) - editable: false - save value: false -extra card style: - pt box: - right: 357 - bottom: 505 - width: 78 - height: 51 - z index: 1 - visible: { card.pt != "" } - render style: image - image: { card_ptbox() } - mask: mask_pt.png - paintbrush: - right: { ( if card.pt != "" then 281 else 341 ) - card_style.illustrator.content_width } - top : 479 - width: 40 - height: 15 - z index: 1 - render style: image - choice images: - black: /magic-future-common.mse-include/paintbrush_black.png - white: /magic-future-common.mse-include/paintbrush_white.png - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 3 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +short name: Future Textless +full name: Futureshift Textless +installer group: magic/Future/Textless cards +icon: card-sample.png +position hint: 055 + +version: 2009-07-22 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-future-common.mse-include + version: 2008-05-21 +depends on: + package: magic-mana-future.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +#By: Pichoro +#Images by Spiderboy4, Buttock1234, and Artfreakwiu +############################################################## Extra scripts +init script: + # Should hybrids have a grey name? + mask_hybrid_with_land := { styling.grey_hybrid_name } + + #Should multicolor lands with basic land types have a colored name? + mask_multi_land_with_color := { styling.colored_multicolor_land_name } + + template := { input + "{type}.jpg" } + land_template := { (if input == "a" then "c" else input) + "l{type}.jpg" } + + # 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 } + + colorless_color := { + if card.card_color=="white" then "w" + else if card.card_color=="blue" then "u" + else if card.card_color=="black" then "b" + else if card.card_color=="red" then "r" + else if card.card_color=="green" then "g" + else "c" + } + + font_colors_white := { input != "w" and input != "c" and input != "a" and input != "l" and input != "m" } + + paintbrush_font:= { if contains(card.card_color, match:"land") then "white" + else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"multicolor") or contains(card.card_color, match:"white") then "black" + else "white" + } + typesymbol_color:= { if contains(card.card_color, match:"artifact") then "black" + else if contains(card.card_color, match:"land") and contains(card.card_color, match:"multicolor") and styling.colored_multicolor_land_name then "black" + else if contains(card.card_color, match:"multicolor") then ( + if card.card_color=="multicolor" then "black" + else if not contains(card.card_color, match:"white") then "white" + else if contains(card.card_color, match:"red") or contains(card.card_color, match:"green") then "white" + else "black" + ) else if card.card_color == "white" then "black" + else if contains(card.card_color, match:"land") then ( + if contains(card.card_color, match:"green") then "white" + else if contains(card.card_color, match:"red") then "white" + else if contains(card.card_color, match:"black") then "white" + else if contains(card.card_color, match:"blue") then "white" + else "black" + ) else if card.card_color == "colorless" then "black" + else "white" + } + + card_shape := { if styling.shifted_sorting then "shifted" else "normal" } + +############################################################## 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: shifted sorting + description: Should this style of card sort as a shifted card (after other cards of that color)? + initial: no +styling field: + type: boolean + name: grey hybrid name + description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. +styling field: + type: boolean + name: colored multicolor land name + description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. +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: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling style: + use guild mana symbols: + choice images: + yes: /magic-mana-future.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-future.mse-symbol-font/mana_rg.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: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + mask: bordermask.png + z index: 4 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: { if card.card_symbol=="none" then 73 else 88 } + top : 30 + width: { if card.card_symbol=="none" then 269 else 254 } + height: 30 + alignment: middle shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Matrix + size: 18 + color: + script: + if styling.grey_hybrid_name and contains(card.card_color, match:"land") and + contains(card.card_color, match:"horizontal") or + contains(card.card_color, match:"radial") or + contains(card.card_color, match:"vertical") and + not contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if contains(card.card_color, match:"land") and + contains(card.card_color, match:"multicolor") and + contains(card.card_color, match:"black") and + styling.colored_multicolor_land_name then rgb(255,255,255) + else if contains(card.card_color, match:"land") and + contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0) + else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"land") then ( + if contains(card.card_color, match:"blue") or + contains(card.card_color, match:"black") or + contains(card.card_color, match:"red") or + contains(card.card_color, match:"green") then rgb(255,255,255) + else rgb(0,0,0) + ) else font_color(card.card_color) + casting cost: + left: 18 + top: 57 + height: 422 + width: 75 + alignment: top left + direction: vertical + symbol font: + name: magic-mana-future + size: 22 + scale down to: 22 + alignment: bottom right + always symbol: true + mask: costmask.png + z index: 2 + padding top: 0 + card symbol: + left: {if card.card_symbol=="none" then 50 else 67} + top : 35 + height: 20 + width: 14 + z index: 1 + render style: image + choice images: + tombstone: tombstone.png + type symbol: + left: 23 + top: 25 + width: 21 + height: 20 + z index: 1 + render style: image + choice images: + artifact: { "/magic-future-common.mse-include/artifact_" + typesymbol_color(value) + ".png" } + creature: { "/magic-future-common.mse-include/creature_" + typesymbol_color(value) + ".png" } + enchantment: { "/magic-future-common.mse-include/enchantment_" + typesymbol_color(value) + ".png" } + instant: { "/magic-future-common.mse-include/instant_" + typesymbol_color(value) + ".png" } + land: { "/magic-future-common.mse-include/land_" + typesymbol_color(value) + ".png" } + multitype: { "/magic-future-common.mse-include/multitype_" + typesymbol_color(value) + ".png" } + sorcery: { "/magic-future-common.mse-include/sorcery_" + typesymbol_color(value) + ".png" } + planeswalker: { "/magic-future-common.mse-include/planeswalker_" + typesymbol_color(value) + ".png" } + ############################# Image + image: + left: 37 + top: 46 + width: 322 + height: 418 + z index: 1 + mask: mask_image.png + ############################# Card type + type: + left: 49 + top : 434 + width: { 300 - max(18,card_style.rarity.content_width) } + height: 28 + alignment: middle shrink-overflow + z index: 2 + padding top: 2 + font: + name: Matrix + size: 14 + color: + script: + if styling.grey_hybrid_name and contains(card.card_color, match:"land") and + contains(card.card_color, match:"horizontal") or + contains(card.card_color, match:"radial") or + contains(card.card_color, match:"vertical") and + not contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if contains(card.card_color, match:"land") and + contains(card.card_color, match:"multicolor") and + contains(card.card_color, match:"black") and + styling.colored_multicolor_land_name then rgb(255,255,255) + else if contains(card.card_color, match:"land") and + contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0) + else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"land") then ( + if contains(card.card_color, match:"blue") or + contains(card.card_color, match:"black") or + contains(card.card_color, match:"red") or + contains(card.card_color, match:"green") then rgb(255,255,255) + else rgb(0,0,0) + ) else font_color(card.card_color) + separator color: rgb(128,128,128) + rarity: + right: 352 + top : 439 + width: 19 + height: 19 + z index: 2 + alignment: middle right + render style: image + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + 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") + ############################# PT + pt: + z index: 2 + left: 287 + top: 467 + width: 60 + height: 28 + alignment: center middle shrink-overflow + font: + name: ModMatrix + size: 17 + weight: bold + color: + script: + if styling.grey_hybrid_name and contains(card.card_color, match:"land") and + contains(card.card_color, match:"horizontal") or + contains(card.card_color, match:"radial") or + contains(card.card_color, match:"vertical") and + not contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if contains(card.card_color, match:"land") and + contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if contains(card.card_color, match:"artifact") then ( + if contains(card.card_color, match:"blue") or + contains(card.card_color, match:"black") or + contains(card.card_color, match:"red") or + contains(card.card_color, match:"green") then rgb(255,255,255) + else rgb(0,0,0) + ) else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") and + not contains(card.card_color, match:"red") and not contains(card.card_color, match:"green") then rgb(255,255,255) + else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") then rgb(0,0,0) + else font_color(card.card_color) + separator color: rgb(200,0,0) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + right: { if card.pt != "" then 281 else 341 } + top : 478 + left: 30 + height: 16 + z index: 1 + alignment: middle right + font: + name: Matrix + size: 10 + color: + script: + if contains(card.card_color, match:"land") then rgb(255,255,255) + else if contains(card.card_color, match:"artifact") or + contains(card.card_color, match:"multicolor") or + contains(card.card_color, match:"white") then rgb(0,0,0) + else rgb(255,255,255) + copyright line: + left: 30 + top : 491 + right: { if card.pt != "" then 281 else 341 } + height: 12 + z index: 1 + alignment: bottom right + font: + name: MPlantin + size: 7 + color: + script: + if contains(card.card_color, match:"land") then rgb(255,255,255) + else if contains(card.card_color, match:"artifact") or + contains(card.card_color, match:"multicolor") or + contains(card.card_color, match:"white") then rgb(0,0,0) + else rgb(255,255,255) +############################################################## Extra card fields +extra card field: + type: choice + name: pt box + script: card.card_color + editable: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card field: + type: choice + name: paintbrush + script: paintbrush_font(value) + editable: false + save value: false +extra card style: + pt box: + right: 357 + bottom: 505 + width: 78 + height: 51 + z index: 1 + visible: { card.pt != "" } + render style: image + image: { card_ptbox() } + mask: mask_pt.png + paintbrush: + right: { ( if card.pt != "" then 281 else 341 ) - card_style.illustrator.content_width } + top : 479 + width: 40 + height: 15 + z index: 1 + render style: image + choice images: + black: /magic-future-common.mse-include/paintbrush_black.png + white: /magic-future-common.mse-include/paintbrush_white.png + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 3 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-future.mse-style/style b/data/magic-future.mse-style/style index 7887a8f5..2e42759c 100644 --- a/data/magic-future.mse-style/style +++ b/data/magic-future.mse-style/style @@ -1,551 +1,551 @@ -mse version: 0.3.8 -game: magic -short name: Future -full name: Futureshift -installer group: magic/Future/Normal cards -icon: card-sample.png -position hint: 051 - -version: 2009-07-23 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-watermarks.mse-include - version: 2007-09-23 -depends on: - package: magic-future-common.mse-include - version: 2008-05-21 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-mana-future.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -#By: Pichoro -#Images by Spiderboy4, Buttock1234, and Artfreakwiu -############################################################## Extra scripts -init script: - mask_hybrid_with_land := { styling.grey_hybrid_name } - - mask_multi_land_with_color := { styling.colored_multicolor_land_name } - - template_suffix := [card: "card.jpg", pt: "pt.png", textbox: "textbox.png", typeline: "typeline.png"] - template := { input + template_suffix[type] } - land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] } - - # 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 } - - colorless_color := { - if card.card_color=="white" then "w" - else if card.card_color=="blue" then "u" - else if card.card_color=="black" then "b" - else if card.card_color=="red" then "r" - else if card.card_color=="green" then "g" - else "c" - } - - font_colors_white := { input == "b" or input == "bl" or input == "u" or input == "ul" or input == "r" or input == "rl" or input == "g" or input == "gl" } - - font_white := { - hybrid := chosen(choice:"hybrid") - artifact := chosen(choice:"artifact") - colors := sort_text( order: "(wubrg)" - , (if chosen(choice:"white") then "w") - + (if chosen(choice:"blue") then "u") - + (if chosen(choice:"black") then "b") - + (if chosen(choice:"red") then "r") - + (if chosen(choice:"green") then "g")) - + (if artifact then "a") - font_colors_white( - if chosen(choice:"land") and chosen(choice:"white") then "wl" - else if chosen(choice:"land") and chosen(choice:"blue") then "ul" - else if chosen(choice:"land") and chosen(choice:"black") then "bl" - else if chosen(choice:"land") and chosen(choice:"red") then "rl" - else if chosen(choice:"land") and chosen(choice:"green") then "gl" - else if chosen(choice:"land") then "l" - else if input == "artifact, multicolor" then "a" - else if chosen(choice:"multicolor") then "m" - else if artifact and not hybrid then "a" - else if colors == "" then "c" - else colors[ - font_color_positions[ - if chosen(choice:"horizontal") then "horizontal" - else if chosen(choice:"vertical") then "vertical" - else if chosen(choice:"overlay") then "overlay" - else "radial" - ][number_of_items(in: colors)] - ] - ) - } - - paintbrush_color:= { if contains(card.card_color, match:"land") then "white" - else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"multicolor") or contains(card.card_color, match:"white") then "black" - else "white" - } - typesymbol_color:= { if contains(card.card_color, match:"artifact") then "black" - else if contains(card.card_color, match:"land") and contains(card.card_color, match:"multicolor") and styling.colored_multicolor_land_name then "black" - else if contains(card.card_color, match:"multicolor") then ( - if card.card_color=="multicolor" then "black" - else if not contains(card.card_color, match:"white") then "white" - else if contains(card.card_color, match:"red") or contains(card.card_color, match:"green") then "white" - else "black" - ) else if card.card_color == "white" then "black" - else if contains(card.card_color, match:"land") then ( - if contains(card.card_color, match:"green") then "white" - else if contains(card.card_color, match:"red") then "white" - else if contains(card.card_color, match:"black") then "white" - else if contains(card.card_color, match:"blue") then "white" - else "black" - ) else if card.card_color == "colorless" then "black" - else "white" - } - - card_shape := { if styling.shifted_sorting then "shifted" else "normal" } - -############################################################## 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: shifted sorting - description: Should this style of card sort as a shifted card (after other cards of that color)? - initial: no -styling field: - type: boolean - name: grey hybrid name - description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. -styling field: - type: boolean - name: colored multicolor land name - description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. -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: 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: 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: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -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 - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.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: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - mask: bordermask.png - z index: 7 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: { if card.card_symbol=="none" then 73 else 88 } - top : 30 - width: { if card.card_symbol=="none" then 269 else 254 } - height: 26 - alignment: middle shrink-overflow - padding bottom: 0 - z index: 4 - font: - name: Matrix - size: 18 - color: - script: - if styling.grey_hybrid_name and contains(card.card_color, match:"land") and - contains(card.card_color, match:"horizontal") or - contains(card.card_color, match:"radial") or - contains(card.card_color, match:"vertical") and - not contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if contains(card.card_color, match:"land") and - contains(card.card_color, match:"multicolor") and - contains(card.card_color, match:"black") and - styling.colored_multicolor_land_name then rgb(255,255,255) - else if contains(card.card_color, match:"land") and - contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0) - else if contains(card.card_color, match:"artifact") then ( - if contains(card.card_color, match:"blue") or - contains(card.card_color, match:"black") or - contains(card.card_color, match:"red") or - contains(card.card_color, match:"green") then rgb(255,255,255) - else rgb(0,0,0) - ) else font_color(card.card_color) - casting cost: - left: 4 - top: 39 - height: 254 - width: 82 - alignment: top left - direction: vertical - symbol font: - name: magic-mana-future - size: 22 - scale down to: 22 - alignment: bottom right - always symbol: true - z index: 4 - padding top: 0 - mask: costmask.png - card symbol: - left: {if card.card_symbol=="none" then 50 else 67} - top : 31 - height: 20 - width: 14 - z index: 4 - render style: image - choice images: - tombstone: tombstone.png - type symbol: - left: 24 - top: 24 - width: 21 - height: 20 - z index: 1 - render style: image - choice images: - artifact: { "/magic-future-common.mse-include/artifact_" + typesymbol_color(value) + ".png" } - creature: { "/magic-future-common.mse-include/creature_" + typesymbol_color(value) + ".png" } - enchantment: { "/magic-future-common.mse-include/enchantment_" + typesymbol_color(value) + ".png" } - instant: { "/magic-future-common.mse-include/instant_" + typesymbol_color(value) + ".png" } - land: { "/magic-future-common.mse-include/land_" + typesymbol_color(value) + ".png" } - multitype: { "/magic-future-common.mse-include/multitype_" + typesymbol_color(value) + ".png" } - sorcery: { "/magic-future-common.mse-include/sorcery_" + typesymbol_color(value) + ".png" } - planeswalker: { "/magic-future-common.mse-include/planeswalker_" + typesymbol_color(value) + ".png" } - ############################# Image - image: - left: 32 - top: 44 - width: 327 - height: 310 - z index: 1 - mask: mask_image.png - ############################# Card type - type: - left: 49 - top : 300 - width: { 300 - max(21,card_style.rarity.content_width) } - height: 20 - alignment: middle shrink-overflow - z index: 4 - padding top: 2 - font: - name: Matrix - size: 14 - color: - script: - if styling.grey_hybrid_name and contains(card.card_color, match:"land") and - contains(card.card_color, match:"horizontal") or - contains(card.card_color, match:"radial") or - contains(card.card_color, match:"vertical") and - not contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if contains(card.card_color, match:"land") and - contains(card.card_color, match:"multicolor") and - contains(card.card_color, match:"black") and - styling.colored_multicolor_land_name then rgb(255,255,255) - else if contains(card.card_color, match:"land") and - contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0) - else if contains(card.card_color, match:"artifact") then ( - if contains(card.card_color, match:"blue") or - contains(card.card_color, match:"black") or - contains(card.card_color, match:"red") or - contains(card.card_color, match:"green") then rgb(255,255,255) - else rgb(0,0,0) - ) else font_color(card.card_color) - separator color: rgb(128,128,128) - rarity: - right: 353 - top : 302 - width: 22 - height: 22 - z index: 4 - alignment: middle right - render style: image - choice images: - # Images based on the set symbol - basic land: - script: - if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") - else symbol_variation(symbol: set.symbol, variation: "common") - 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 - text: - left: 36 - top : 330 - width: 301 - height: 138 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 13 - scale down to: 6 - color: - script: - if not contains(card.card_color, match:"land") then rgb(0,0,0) - else if contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else font_color(card.card_color) - symbol font: - name: { styling.text_box_mana_symbols } - size: 13 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 4 - padding left: 6 - padding top: 2 - padding right: 4 - padding bottom: 2 - line height hard: 1.2 - line height soft: 0.9 - line height line: 1.5 - watermark: - left: 127 - top : 321 - width: 132 - height: 152 - z index: 3 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - ############################# PT - pt: - z index: 5 - left: 287 - top: 469 - width: 60 - height: 28 - alignment: center middle shrink-overflow - font: - name: ModMatrix - size: 18 - weight: bold - color: - script: - if styling.grey_hybrid_name and contains(card.card_color, match:"land") and - contains(card.card_color, match:"horizontal") or - contains(card.card_color, match:"radial") or - contains(card.card_color, match:"vertical") and - not contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if contains(card.card_color, match:"land") and - contains(card.card_color, match:"multicolor") then rgb(0,0,0) - else if contains(card.card_color, match:"artifact") then ( - if contains(card.card_color, match:"blue") or - contains(card.card_color, match:"black") or - contains(card.card_color, match:"red") or - contains(card.card_color, match:"green") then rgb(255,255,255) - else rgb(0,0,0) - ) else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") and - not contains(card.card_color, match:"red") and not contains(card.card_color, match:"green") then rgb(255,255,255) - else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") then rgb(0,0,0) - else font_color(card.card_color) - separator color: rgb(200,0,0) - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - right: { if card.pt != "" then 275 else 338 } - top : 475 - left: 30 - height: 16 - z index: 1 - alignment: middle right - font: - name: Matrix - size: 10 - color: - script: - if contains(card.card_color, match:"land") then rgb(255,255,255) - else if contains(card.card_color, match:"artifact") or - contains(card.card_color, match:"multicolor") or - contains(card.card_color, match:"white") then rgb(0,0,0) - else rgb(255,255,255) - copyright line: - left: 30 - top : 488 - right: { if card.pt != "" then 275 else 338 } - height: 12 - z index: 1 - alignment: bottom right - font: - name: MPlantin - size: 7 - color: - script: - if contains(card.card_color, match:"land") then rgb(255,255,255) - else if contains(card.card_color, match:"artifact") or - contains(card.card_color, match:"multicolor") or - contains(card.card_color, match:"white") then rgb(0,0,0) - else rgb(255,255,255) -############################################################## Extra card fields -extra card field: - type: choice - name: textbox - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: typeline - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: pt box - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card field: - type: choice - name: paintbrush - script: paintbrush_color(value) - editable: false - save value: false -extra card style: - textbox: - left: 23 - top: 320 - width: 335 - height: 152 - render style: image - popup style: in place - image: { card_textbox() } - z index: 2 - typeline: - left: 18 - top: 17 - width: 339 - height: 464 - render style: image - popup style: in place - image: { card_typeline() } - z index: 3 - pt box: - left: 285 - top: 452 - width: 70 - height: 52 - z index: 4 - visible: { card.pt != "" } - render style: image - image: { card_ptbox() } - paintbrush - right: { ( if card.pt != "" then 275 else 338 ) - card_style.illustrator.content_width } - top : 476 - width: 40 - height: 15 - z index: 1 - render style: image - visible: { card.illustrator != "" } - choice images: - black: /magic-future-common.mse-include/paintbrush_black.png - white: /magic-future-common.mse-include/paintbrush_white.png - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 6 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +short name: Future +full name: Futureshift +installer group: magic/Future/Normal cards +icon: card-sample.png +position hint: 051 + +version: 2009-07-23 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-watermarks.mse-include + version: 2007-09-23 +depends on: + package: magic-future-common.mse-include + version: 2008-05-21 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-future.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +#By: Pichoro +#Images by Spiderboy4, Buttock1234, and Artfreakwiu +############################################################## Extra scripts +init script: + mask_hybrid_with_land := { styling.grey_hybrid_name } + + mask_multi_land_with_color := { styling.colored_multicolor_land_name } + + template_suffix := [card: "card.jpg", pt: "pt.png", textbox: "textbox.png", typeline: "typeline.png"] + template := { input + template_suffix[type] } + land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] } + + # 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 } + + colorless_color := { + if card.card_color=="white" then "w" + else if card.card_color=="blue" then "u" + else if card.card_color=="black" then "b" + else if card.card_color=="red" then "r" + else if card.card_color=="green" then "g" + else "c" + } + + font_colors_white := { input == "b" or input == "bl" or input == "u" or input == "ul" or input == "r" or input == "rl" or input == "g" or input == "gl" } + + font_white := { + hybrid := chosen(choice:"hybrid") + artifact := chosen(choice:"artifact") + colors := sort_text( order: "(wubrg)" + , (if chosen(choice:"white") then "w") + + (if chosen(choice:"blue") then "u") + + (if chosen(choice:"black") then "b") + + (if chosen(choice:"red") then "r") + + (if chosen(choice:"green") then "g")) + + (if artifact then "a") + font_colors_white( + if chosen(choice:"land") and chosen(choice:"white") then "wl" + else if chosen(choice:"land") and chosen(choice:"blue") then "ul" + else if chosen(choice:"land") and chosen(choice:"black") then "bl" + else if chosen(choice:"land") and chosen(choice:"red") then "rl" + else if chosen(choice:"land") and chosen(choice:"green") then "gl" + else if chosen(choice:"land") then "l" + else if input == "artifact, multicolor" then "a" + else if chosen(choice:"multicolor") then "m" + else if artifact and not hybrid then "a" + else if colors == "" then "c" + else colors[ + font_color_positions[ + if chosen(choice:"horizontal") then "horizontal" + else if chosen(choice:"vertical") then "vertical" + else if chosen(choice:"overlay") then "overlay" + else "radial" + ][number_of_items(in: colors)] + ] + ) + } + + paintbrush_color:= { if contains(card.card_color, match:"land") then "white" + else if contains(card.card_color, match:"artifact") or contains(card.card_color, match:"multicolor") or contains(card.card_color, match:"white") then "black" + else "white" + } + typesymbol_color:= { if contains(card.card_color, match:"artifact") then "black" + else if contains(card.card_color, match:"land") and contains(card.card_color, match:"multicolor") and styling.colored_multicolor_land_name then "black" + else if contains(card.card_color, match:"multicolor") then ( + if card.card_color=="multicolor" then "black" + else if not contains(card.card_color, match:"white") then "white" + else if contains(card.card_color, match:"red") or contains(card.card_color, match:"green") then "white" + else "black" + ) else if card.card_color == "white" then "black" + else if contains(card.card_color, match:"land") then ( + if contains(card.card_color, match:"green") then "white" + else if contains(card.card_color, match:"red") then "white" + else if contains(card.card_color, match:"black") then "white" + else if contains(card.card_color, match:"blue") then "white" + else "black" + ) else if card.card_color == "colorless" then "black" + else "white" + } + + card_shape := { if styling.shifted_sorting then "shifted" else "normal" } + +############################################################## 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: shifted sorting + description: Should this style of card sort as a shifted card (after other cards of that color)? + initial: no +styling field: + type: boolean + name: grey hybrid name + description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. +styling field: + type: boolean + name: colored multicolor land name + description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. +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: 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: 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: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +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 + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.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: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + mask: bordermask.png + z index: 7 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: { if card.card_symbol=="none" then 73 else 88 } + top : 30 + width: { if card.card_symbol=="none" then 269 else 254 } + height: 26 + alignment: middle shrink-overflow + padding bottom: 0 + z index: 4 + font: + name: Matrix + size: 18 + color: + script: + if styling.grey_hybrid_name and contains(card.card_color, match:"land") and + contains(card.card_color, match:"horizontal") or + contains(card.card_color, match:"radial") or + contains(card.card_color, match:"vertical") and + not contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if contains(card.card_color, match:"land") and + contains(card.card_color, match:"multicolor") and + contains(card.card_color, match:"black") and + styling.colored_multicolor_land_name then rgb(255,255,255) + else if contains(card.card_color, match:"land") and + contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0) + else if contains(card.card_color, match:"artifact") then ( + if contains(card.card_color, match:"blue") or + contains(card.card_color, match:"black") or + contains(card.card_color, match:"red") or + contains(card.card_color, match:"green") then rgb(255,255,255) + else rgb(0,0,0) + ) else font_color(card.card_color) + casting cost: + left: 4 + top: 39 + height: 254 + width: 82 + alignment: top left + direction: vertical + symbol font: + name: magic-mana-future + size: 22 + scale down to: 22 + alignment: bottom right + always symbol: true + z index: 4 + padding top: 0 + mask: costmask.png + card symbol: + left: {if card.card_symbol=="none" then 50 else 67} + top : 31 + height: 20 + width: 14 + z index: 4 + render style: image + choice images: + tombstone: tombstone.png + type symbol: + left: 24 + top: 24 + width: 21 + height: 20 + z index: 1 + render style: image + choice images: + artifact: { "/magic-future-common.mse-include/artifact_" + typesymbol_color(value) + ".png" } + creature: { "/magic-future-common.mse-include/creature_" + typesymbol_color(value) + ".png" } + enchantment: { "/magic-future-common.mse-include/enchantment_" + typesymbol_color(value) + ".png" } + instant: { "/magic-future-common.mse-include/instant_" + typesymbol_color(value) + ".png" } + land: { "/magic-future-common.mse-include/land_" + typesymbol_color(value) + ".png" } + multitype: { "/magic-future-common.mse-include/multitype_" + typesymbol_color(value) + ".png" } + sorcery: { "/magic-future-common.mse-include/sorcery_" + typesymbol_color(value) + ".png" } + planeswalker: { "/magic-future-common.mse-include/planeswalker_" + typesymbol_color(value) + ".png" } + ############################# Image + image: + left: 32 + top: 44 + width: 327 + height: 310 + z index: 1 + mask: mask_image.png + ############################# Card type + type: + left: 49 + top : 300 + width: { 300 - max(21,card_style.rarity.content_width) } + height: 20 + alignment: middle shrink-overflow + z index: 4 + padding top: 2 + font: + name: Matrix + size: 14 + color: + script: + if styling.grey_hybrid_name and contains(card.card_color, match:"land") and + contains(card.card_color, match:"horizontal") or + contains(card.card_color, match:"radial") or + contains(card.card_color, match:"vertical") and + not contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if contains(card.card_color, match:"land") and + contains(card.card_color, match:"multicolor") and + contains(card.card_color, match:"black") and + styling.colored_multicolor_land_name then rgb(255,255,255) + else if contains(card.card_color, match:"land") and + contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if styling.grey_hybrid_name and contains(card.card_color, match:"hybrid") then rgb(0,0,0) + else if contains(card.card_color, match:"artifact") then ( + if contains(card.card_color, match:"blue") or + contains(card.card_color, match:"black") or + contains(card.card_color, match:"red") or + contains(card.card_color, match:"green") then rgb(255,255,255) + else rgb(0,0,0) + ) else font_color(card.card_color) + separator color: rgb(128,128,128) + rarity: + right: 353 + top : 302 + width: 22 + height: 22 + z index: 4 + alignment: middle right + render style: image + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + 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 + text: + left: 36 + top : 330 + width: 301 + height: 138 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 13 + scale down to: 6 + color: + script: + if not contains(card.card_color, match:"land") then rgb(0,0,0) + else if contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else font_color(card.card_color) + symbol font: + name: { styling.text_box_mana_symbols } + size: 13 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 4 + padding left: 6 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height soft: 0.9 + line height line: 1.5 + watermark: + left: 127 + top : 321 + width: 132 + height: 152 + z index: 3 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + ############################# PT + pt: + z index: 5 + left: 287 + top: 469 + width: 60 + height: 28 + alignment: center middle shrink-overflow + font: + name: ModMatrix + size: 18 + weight: bold + color: + script: + if styling.grey_hybrid_name and contains(card.card_color, match:"land") and + contains(card.card_color, match:"horizontal") or + contains(card.card_color, match:"radial") or + contains(card.card_color, match:"vertical") and + not contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if contains(card.card_color, match:"land") and + contains(card.card_color, match:"multicolor") then rgb(0,0,0) + else if contains(card.card_color, match:"artifact") then ( + if contains(card.card_color, match:"blue") or + contains(card.card_color, match:"black") or + contains(card.card_color, match:"red") or + contains(card.card_color, match:"green") then rgb(255,255,255) + else rgb(0,0,0) + ) else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") and + not contains(card.card_color, match:"red") and not contains(card.card_color, match:"green") then rgb(255,255,255) + else if contains(card.card_color, match:"hybrid") and contains(card.card_color, match:"white") then rgb(0,0,0) + else font_color(card.card_color) + separator color: rgb(200,0,0) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + right: { if card.pt != "" then 275 else 338 } + top : 475 + left: 30 + height: 16 + z index: 1 + alignment: middle right + font: + name: Matrix + size: 10 + color: + script: + if contains(card.card_color, match:"land") then rgb(255,255,255) + else if contains(card.card_color, match:"artifact") or + contains(card.card_color, match:"multicolor") or + contains(card.card_color, match:"white") then rgb(0,0,0) + else rgb(255,255,255) + copyright line: + left: 30 + top : 488 + right: { if card.pt != "" then 275 else 338 } + height: 12 + z index: 1 + alignment: bottom right + font: + name: MPlantin + size: 7 + color: + script: + if contains(card.card_color, match:"land") then rgb(255,255,255) + else if contains(card.card_color, match:"artifact") or + contains(card.card_color, match:"multicolor") or + contains(card.card_color, match:"white") then rgb(0,0,0) + else rgb(255,255,255) +############################################################## Extra card fields +extra card field: + type: choice + name: textbox + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: typeline + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: pt box + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card field: + type: choice + name: paintbrush + script: paintbrush_color(value) + editable: false + save value: false +extra card style: + textbox: + left: 23 + top: 320 + width: 335 + height: 152 + render style: image + popup style: in place + image: { card_textbox() } + z index: 2 + typeline: + left: 18 + top: 17 + width: 339 + height: 464 + render style: image + popup style: in place + image: { card_typeline() } + z index: 3 + pt box: + left: 285 + top: 452 + width: 70 + height: 52 + z index: 4 + visible: { card.pt != "" } + render style: image + image: { card_ptbox() } + paintbrush + right: { ( if card.pt != "" then 275 else 338 ) - card_style.illustrator.content_width } + top : 476 + width: 40 + height: 15 + z index: 1 + render style: image + visible: { card.illustrator != "" } + choice images: + black: /magic-future-common.mse-include/paintbrush_black.png + white: /magic-future-common.mse-include/paintbrush_white.png + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 6 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-mana-beveled.mse-symbol-font/symbol-font b/data/magic-mana-beveled.mse-symbol-font/symbol-font index fe3eaed4..a72e276a 100644 --- a/data/magic-mana-beveled.mse-symbol-font/symbol-font +++ b/data/magic-mana-beveled.mse-symbol-font/symbol-font @@ -1,357 +1,357 @@ -mse version: 0.3.8 -version: 2009-08-10 -short name: beveled style (firepenguinmaster) -installer group: magic/Mana symbols/beveled style (FirePenguinMaster) -position hint: 101 -icon: mana_r.png -# Symbol font in the beveled style used for casting costs on FPM cards -# Note: -# Define small_mana_t:="mana_t(_old)?.png" in the init script of the style -# -# So for example: -# -#init script: -# small_mana_t := "mana_t.png" - -image font size: 135 -horizontal space: 2 -symbol: - code: T - image: mana_t_older.png - enabled: { mana_t() == "older" } -symbol: - code: T - image: mana_t_old.png - enabled: { mana_t() == "old" } -symbol: - code: T - image: mana_t.png -symbol: - code: Q - image: mana_q_older.png - enabled: { mana_t() == "older" } -symbol: - code: Q - image: mana_q_old.png - enabled: { mana_t() == "old" } -symbol: - code: Q - image: mana_q.png -symbol: - code: C - image: mana_chaos.png - image font size: 142.11 -symbol: - code: B/G/W - image: mana_bgw.png -symbol: - code: B/R/G - image: mana_brg.png -symbol: - code: G/U/B - image: mana_gub.png -symbol: - code: G/W/U - image: mana_gwu.png -symbol: - code: R/G/W - image: mana_rgw.png -symbol: - code: R/W/U - image: mana_rwu.png -symbol: - code: U/B/R - image: mana_ubr.png -symbol: - code: U/R/G - image: mana_urg.png -symbol: - code: W/B/R - image: mana_wbr.png -symbol: - code: W/U/B - image: mana_wub.png -symbol: - code: W/U - image: mana_guild_wu.png - enabled: { guild_mana() } -symbol: - code: U/B - image: mana_guild_ub.png - enabled: { guild_mana() } -symbol: - code: B/R - image: mana_guild_br.png - enabled: { guild_mana() } -symbol: - code: R/G - image: mana_guild_rg.png - enabled: { guild_mana() } -symbol: - code: G/W - image: mana_guild_gw.png - enabled: { guild_mana() } -symbol: - code: W/B - image: mana_guild_wb.png - enabled: { guild_mana() } -symbol: - code: U/R - image: mana_guild_ur.png - enabled: { guild_mana() } -symbol: - code: B/G - image: mana_guild_bg.png - enabled: { guild_mana() } -symbol: - code: R/W - image: mana_guild_rw.png - enabled: { guild_mana() } -symbol: - code: G/U - image: mana_guild_gu.png - enabled: { guild_mana() } -symbol: - code: W/U - image: mana_wu.png -symbol: - code: U/B - image: mana_ub.png -symbol: - code: B/R - image: mana_br.png -symbol: - code: R/G - image: mana_rg.png -symbol: - code: G/W - image: mana_gw.png -symbol: - code: W/B - image: mana_wb.png -symbol: - code: U/R - image: mana_ur.png -symbol: - code: B/G - image: mana_bg.png -symbol: - code: R/W - image: mana_rw.png -symbol: - code: G/U - image: mana_gu.png -symbol: - code: 1/2 - image: mana_1_half.png -symbol: - code: |1 - image: mana_1_half.png -symbol: - code: |W - image: mana_w_half.png -symbol: - code: |U - image: mana_u_half.png -symbol: - code: |B - image: mana_b_half.png -symbol: - code: |R - image: mana_r_half.png -symbol: - code: |G - image: mana_g_half.png -symbol: - code: |S - image: mana_s_half.png -symbol: - code: W - image: mana_w.png -symbol: - code: U - image: mana_u.png -symbol: - code: B - image: mana_b.png -symbol: - code: R - image: mana_r.png -symbol: - code: G - image: mana_g.png -symbol: - code: S - image: mana_s.png -symbol: - image: mana_nw.png - code: ([XYZ0-9])/W - regex: yes - draw text: 1 - text margin left: -.05 - text margin right: .2 - text margin top: -.14 - text margin bottom: .35 - text font: - name: MPlantin - size: .5 - color: rgb(0,0,0) - max stretch: 0.5 -symbol: - image: mana_nu.png - code: ([XYZ0-9])/U - regex: yes - draw text: 1 - text margin left: -.05 - text margin right: .2 - text margin top: -.14 - text margin bottom: .35 - text font: - name: MPlantin - size: .5 - color: rgb(0,0,0) - max stretch: 0.5 -symbol: - image: mana_nb.png - code: ([XYZ0-9])/B - regex: yes - draw text: 1 - text margin left: -.05 - text margin right: .2 - text margin top: -.14 - text margin bottom: .35 - text font: - name: MPlantin - size: .5 - color: rgb(0,0,0) - max stretch: 0.5 -symbol: - image: mana_nr.png - code: ([XYZ0-9])/R - regex: yes - draw text: 1 - text margin left: -.05 - text margin right: .2 - text margin top: -.14 - text margin bottom: .35 - text font: - name: MPlantin - size: .5 - color: rgb(0,0,0) - max stretch: 0.5 -symbol: - image: mana_ng.png - code: ([XYZ0-9])/G - regex: yes - draw text: 1 - text margin left: -.05 - text margin right: .2 - text margin top: -.14 - text margin bottom: .35 - text font: - name: MPlantin - size: .5 - color: rgb(0,0,0) - max stretch: 0.5 -symbol: - image: mana_circle.png - code: [XYZ] - regex: yes - draw text: 0 - text font: - name: MPlantin - size: 1 - color: rgb(0,0,0) - text margin left: .32 - text margin right: .26 - text margin top: -.03 - text margin bottom: .00 -symbol: - code: I - image: mana_infinite.png -symbol: - image: mana_circle.png - code: [0-9]+(?!/[WUBRGSTQ2])|. - regex: yes - draw text: 0 - text font: - name: MPlantin - size: 1 - color: rgb(0,0,0) - max stretch: 0.55 - text margin left: .26 - text margin right: .26 - text margin top: -.12 - text margin bottom: -.12 - -############################################################## -# Insert-symbol menu -insert symbol menu: - item: T - item: Q - item: C - item: - type: line - item: X - item: Y - item: Z - item: I - item: - type: custom - name: colorless - item: - type: line - item: W - item: U - item: B - item: R - item: G - item: S - item: - type: line - item: - name: half - item: 1/2 - item: |W - item: |U - item: |B - item: |R - item: |G - item: |S - item: - name: hybrid - item: W/U - item: U/B - item: B/R - item: R/G - item: G/W - item: - type: line - item: W/B - item: U/R - item: B/G - item: R/W - item: G/U - item: - name: hybrid 3 - item: W/U/B - item: U/B/R - item: B/R/G - item: R/G/W - item: G/W/U - item: - type: line - item: W/B/R - item: U/R/G - item: B/G/W - item: R/W/U - item: G/U/B - item: - type: line - item: - name: number hybrids - item: 2/W - item: 2/U - item: 2/B - item: 2/R - item: 2/G +mse version: 0.3.8 +version: 2009-08-10 +short name: beveled style (firepenguinmaster) +installer group: magic/Mana symbols/beveled style (FirePenguinMaster) +position hint: 101 +icon: mana_r.png +# Symbol font in the beveled style used for casting costs on FPM cards +# Note: +# Define small_mana_t:="mana_t(_old)?.png" in the init script of the style +# +# So for example: +# +#init script: +# small_mana_t := "mana_t.png" + +image font size: 135 +horizontal space: 2 +symbol: + code: T + image: mana_t_older.png + enabled: { mana_t() == "older" } +symbol: + code: T + image: mana_t_old.png + enabled: { mana_t() == "old" } +symbol: + code: T + image: mana_t.png +symbol: + code: Q + image: mana_q_older.png + enabled: { mana_t() == "older" } +symbol: + code: Q + image: mana_q_old.png + enabled: { mana_t() == "old" } +symbol: + code: Q + image: mana_q.png +symbol: + code: C + image: mana_chaos.png + image font size: 142.11 +symbol: + code: B/G/W + image: mana_bgw.png +symbol: + code: B/R/G + image: mana_brg.png +symbol: + code: G/U/B + image: mana_gub.png +symbol: + code: G/W/U + image: mana_gwu.png +symbol: + code: R/G/W + image: mana_rgw.png +symbol: + code: R/W/U + image: mana_rwu.png +symbol: + code: U/B/R + image: mana_ubr.png +symbol: + code: U/R/G + image: mana_urg.png +symbol: + code: W/B/R + image: mana_wbr.png +symbol: + code: W/U/B + image: mana_wub.png +symbol: + code: W/U + image: mana_guild_wu.png + enabled: { guild_mana() } +symbol: + code: U/B + image: mana_guild_ub.png + enabled: { guild_mana() } +symbol: + code: B/R + image: mana_guild_br.png + enabled: { guild_mana() } +symbol: + code: R/G + image: mana_guild_rg.png + enabled: { guild_mana() } +symbol: + code: G/W + image: mana_guild_gw.png + enabled: { guild_mana() } +symbol: + code: W/B + image: mana_guild_wb.png + enabled: { guild_mana() } +symbol: + code: U/R + image: mana_guild_ur.png + enabled: { guild_mana() } +symbol: + code: B/G + image: mana_guild_bg.png + enabled: { guild_mana() } +symbol: + code: R/W + image: mana_guild_rw.png + enabled: { guild_mana() } +symbol: + code: G/U + image: mana_guild_gu.png + enabled: { guild_mana() } +symbol: + code: W/U + image: mana_wu.png +symbol: + code: U/B + image: mana_ub.png +symbol: + code: B/R + image: mana_br.png +symbol: + code: R/G + image: mana_rg.png +symbol: + code: G/W + image: mana_gw.png +symbol: + code: W/B + image: mana_wb.png +symbol: + code: U/R + image: mana_ur.png +symbol: + code: B/G + image: mana_bg.png +symbol: + code: R/W + image: mana_rw.png +symbol: + code: G/U + image: mana_gu.png +symbol: + code: 1/2 + image: mana_1_half.png +symbol: + code: |1 + image: mana_1_half.png +symbol: + code: |W + image: mana_w_half.png +symbol: + code: |U + image: mana_u_half.png +symbol: + code: |B + image: mana_b_half.png +symbol: + code: |R + image: mana_r_half.png +symbol: + code: |G + image: mana_g_half.png +symbol: + code: |S + image: mana_s_half.png +symbol: + code: W + image: mana_w.png +symbol: + code: U + image: mana_u.png +symbol: + code: B + image: mana_b.png +symbol: + code: R + image: mana_r.png +symbol: + code: G + image: mana_g.png +symbol: + code: S + image: mana_s.png +symbol: + image: mana_nw.png + code: ([XYZ0-9])/W + regex: yes + draw text: 1 + text margin left: -.05 + text margin right: .2 + text margin top: -.14 + text margin bottom: .35 + text font: + name: MPlantin + size: .5 + color: rgb(0,0,0) + max stretch: 0.5 +symbol: + image: mana_nu.png + code: ([XYZ0-9])/U + regex: yes + draw text: 1 + text margin left: -.05 + text margin right: .2 + text margin top: -.14 + text margin bottom: .35 + text font: + name: MPlantin + size: .5 + color: rgb(0,0,0) + max stretch: 0.5 +symbol: + image: mana_nb.png + code: ([XYZ0-9])/B + regex: yes + draw text: 1 + text margin left: -.05 + text margin right: .2 + text margin top: -.14 + text margin bottom: .35 + text font: + name: MPlantin + size: .5 + color: rgb(0,0,0) + max stretch: 0.5 +symbol: + image: mana_nr.png + code: ([XYZ0-9])/R + regex: yes + draw text: 1 + text margin left: -.05 + text margin right: .2 + text margin top: -.14 + text margin bottom: .35 + text font: + name: MPlantin + size: .5 + color: rgb(0,0,0) + max stretch: 0.5 +symbol: + image: mana_ng.png + code: ([XYZ0-9])/G + regex: yes + draw text: 1 + text margin left: -.05 + text margin right: .2 + text margin top: -.14 + text margin bottom: .35 + text font: + name: MPlantin + size: .5 + color: rgb(0,0,0) + max stretch: 0.5 +symbol: + image: mana_circle.png + code: [XYZ] + regex: yes + draw text: 0 + text font: + name: MPlantin + size: 1 + color: rgb(0,0,0) + text margin left: .32 + text margin right: .26 + text margin top: -.03 + text margin bottom: .00 +symbol: + code: I + image: mana_infinite.png +symbol: + image: mana_circle.png + code: [0-9]+(?!/[WUBRGSTQ2])|. + regex: yes + draw text: 0 + text font: + name: MPlantin + size: 1 + color: rgb(0,0,0) + max stretch: 0.55 + text margin left: .26 + text margin right: .26 + text margin top: -.12 + text margin bottom: -.12 + +############################################################## +# Insert-symbol menu +insert symbol menu: + item: T + item: Q + item: C + item: + type: line + item: X + item: Y + item: Z + item: I + item: + type: custom + name: colorless + item: + type: line + item: W + item: U + item: B + item: R + item: G + item: S + item: + type: line + item: + name: half + item: 1/2 + item: |W + item: |U + item: |B + item: |R + item: |G + item: |S + item: + name: hybrid + item: W/U + item: U/B + item: B/R + item: R/G + item: G/W + item: + type: line + item: W/B + item: U/R + item: B/G + item: R/W + item: G/U + item: + name: hybrid 3 + item: W/U/B + item: U/B/R + item: B/R/G + item: R/G/W + item: G/W/U + item: + type: line + item: W/B/R + item: U/R/G + item: B/G/W + item: R/W/U + item: G/U/B + item: + type: line + item: + name: number hybrids + item: 2/W + item: 2/U + item: 2/B + item: 2/R + item: 2/G diff --git a/data/magic-mana-future.mse-symbol-font/symbol-font b/data/magic-mana-future.mse-symbol-font/symbol-font index 2b71a275..1ac2c255 100644 --- a/data/magic-mana-future.mse-symbol-font/symbol-font +++ b/data/magic-mana-future.mse-symbol-font/symbol-font @@ -1,486 +1,486 @@ -mse version: 0.3.8 -version: 2009-08-11 -# Symbol font in the 'futuristic' style, used for casting costs on futureshift cards -short name: Future Sight style -installer group: magic/Mana symbols/Future Sight style -position hint: 005 -icon: mana_r.png - -image font size: 135 -horizontal space: 2 -symbol: - code: T - image: mana_t.png -symbol: - code: Q - image: mana_q.png -symbol: - code: C - image: mana_chaos.png -symbol: - code: W/U - image: mana_guild_wu.png - enabled: { guild_mana() } -symbol: - code: U/B - image: mana_guild_ub.png - enabled: { guild_mana() } -symbol: - code: B/R - image: mana_guild_br.png - enabled: { guild_mana() } -symbol: - code: R/G - image: mana_guild_rg.png - enabled: { guild_mana() } -symbol: - code: G/W - image: mana_guild_gw.png - enabled: { guild_mana() } -symbol: - code: W/B - image: mana_guild_wb.png - enabled: { guild_mana() } -symbol: - code: U/R - image: mana_guild_ur.png - enabled: { guild_mana() } -symbol: - code: B/G - image: mana_guild_bg.png - enabled: { guild_mana() } -symbol: - code: R/W - image: mana_guild_rw.png - enabled: { guild_mana() } -symbol: - code: G/U - image: mana_guild_gu.png - enabled: { guild_mana() } -symbol: - code: W/U - image: mana_wu.png -symbol: - code: U/B - image: mana_ub.png -symbol: - code: B/R - image: mana_br.png -symbol: - code: R/G - image: mana_rg.png -symbol: - code: G/W - image: mana_gw.png -symbol: - code: W/B - image: mana_wb.png -symbol: - code: U/R - image: mana_ur.png -symbol: - code: B/G - image: mana_bg.png -symbol: - code: R/W - image: mana_rw.png -symbol: - code: G/U - image: mana_gu.png -symbol: - code: 1/2 - enabled: { colorless_color() == "w" } - image: {masked_blend(light: "mana_1_half.png", dark: "mana_circle_w.png", mask:"mana_circle_mask.png")} -symbol: - code: 1/2 - enabled: { colorless_color() == "u" } - image: {masked_blend(light: "mana_1_half.png", dark: "mana_circle_u.png", mask:"mana_circle_mask.png")} -symbol: - code: 1/2 - enabled: { colorless_color() == "b" } - image: {masked_blend(light: "mana_1_half.png", dark: "mana_circle_b.png", mask:"mana_circle_mask.png")} -symbol: - code: 1/2 - enabled: { colorless_color() == "r" } - image: {masked_blend(light: "mana_1_half.png", dark: "mana_circle_r.png", mask:"mana_circle_mask.png")} -symbol: - code: 1/2 - enabled: { colorless_color() == "g" } - image: {masked_blend(light: "mana_1_half.png", dark: "mana_circle_g.png", mask:"mana_circle_mask.png")} -symbol: - code: 1/2 - image: mana_1_half.png -symbol: - code: |1 - image: mana_1_half.png -symbol: - code: |W - image: mana_w_half.png -symbol: - code: |U - image: mana_u_half.png -symbol: - code: |B - image: mana_b_half.png -symbol: - code: |R - image: mana_r_half.png -symbol: - code: |G - image: mana_g_half.png -symbol: - code: |S - image: mana_s_half.png -symbol: - code: W - image: mana_w.png -symbol: - code: U - image: mana_u.png -symbol: - code: B - image: mana_b.png -symbol: - code: R - image: mana_r.png -symbol: - code: G - image: mana_g.png -symbol: - code: S - image: mana_s.png -symbol: - code: I - enabled: { colorless_color() == "w" } - image: {masked_blend(light: "mana_infinite.png", dark: "mana_circle_w.png", mask:"mana_circle_mask.png")} -symbol: - code: I - enabled: { colorless_color() == "u" } - image: {masked_blend(light: "mana_infinite.png", dark: "mana_circle_u.png", mask:"mana_circle_mask.png")} -symbol: - code: I - enabled: { colorless_color() == "b" } - image: {masked_blend(light: "mana_infinite.png", dark: "mana_circle_b.png", mask:"mana_circle_mask.png")} -symbol: - code: I - enabled: { colorless_color() == "r" } - image: {masked_blend(light: "mana_infinite.png", dark: "mana_circle_r.png", mask:"mana_circle_mask.png")} -symbol: - code: I - enabled: { colorless_color() == "g" } - image: {masked_blend(light: "mana_infinite.png", dark: "mana_circle_g.png", mask:"mana_circle_mask.png")} -symbol: - code: I - image: mana_infinite.png -symbol: - image: mana_nw.png - code: ([XYZ0-9])/W - regex: yes - draw text: 1 - text margin left: -.0 - text margin right: .44 - text margin top: -.0 - text margin bottom: .445 - text font: - name: MPlantin - size: .53 - color: rgb(0,0,0) - max stretch: 0.5 -symbol: - image: mana_nu.png - code: ([XYZ0-9])/U - regex: yes - draw text: 1 - text margin left: -.0 - text margin right: .44 - text margin top: -.0 - text margin bottom: .445 - text font: - name: MPlantin - size: .53 - color: rgb(0,0,0) - max stretch: 0.5 -symbol: - image: mana_nb.png - code: ([XYZ0-9])/B - regex: yes - draw text: 1 - text margin left: -.0 - text margin right: .44 - text margin top: -.0 - text margin bottom: .445 - text font: - name: MPlantin - size: .53 - color: rgb(0,0,0) - max stretch: 0.5 -symbol: - image: mana_nr.png - code: ([XYZ0-9])/R - regex: yes - draw text: 1 - text margin left: -.0 - text margin right: .44 - text margin top: -.0 - text margin bottom: .445 - text font: - name: MPlantin - size: .53 - color: rgb(0,0,0) - max stretch: 0.5 -symbol: - image: mana_ng.png - code: ([XYZ0-9])/G - regex: yes - draw text: 1 - text margin left: -.0 - text margin right: .44 - text margin top: -.0 - text margin bottom: .445 - text font: - name: MPlantin - size: .53 - color: rgb(0,0,0) - max stretch: 0.5 -symbol: - image: mana_circle_w.png - enabled: { colorless_color() == "w" } - code: [XYZ] - regex: yes - draw text: 0 - text font: - name: MPlantin - weight: bold - size: 1 - color: rgb(0,0,0) - text margin left: .3 - text margin right: .3 - text margin top: 0.1 - text margin bottom: 0.1 -symbol: - image: mana_circle_w.png - enabled: { colorless_color() == "w" } - code: [0-9]+(?!/[WUBRGSTQ2])|. - regex: yes - draw text: 0 - text font: - name: MPlantin - weight: bold - size: 1 - color: rgb(0,0,0) - max stretch: 0.5 - text margin left: .3 - text margin right: .3 - text margin top: 0.1 - text margin bottom: 0.1 -symbol: - image: mana_circle_u.png - enabled: { colorless_color() == "u" } - code: [XYZ] - regex: yes - draw text: 0 - text font: - name: MPlantin - weight: bold - size: 1 - color: rgb(0,0,0) - text margin left: .3 - text margin right: .3 - text margin top: 0.1 - text margin bottom: 0.1 -symbol: - image: mana_circle_u.png - enabled: { colorless_color() == "u" } - code: [0-9]+(?!/[WUBRGSTQ2])|. - regex: yes - draw text: 0 - text font: - name: MPlantin - weight: bold - size: 1 - color: rgb(0,0,0) - max stretch: 0.5 - text margin left: .3 - text margin right: .3 - text margin top: 0.1 - text margin bottom: 0.1 -symbol: - image: mana_circle_b.png - enabled: { colorless_color() == "b" } - code: [XYZ] - regex: yes - draw text: 0 - text font: - name: MPlantin - weight: bold - size: 1 - color: rgb(0,0,0) - text margin left: .3 - text margin right: .3 - text margin top: 0.1 - text margin bottom: 0.1 -symbol: - image: mana_circle_b.png - enabled: { colorless_color() == "b" } - code: [0-9]+(?!/[WUBRGSTQ2])|. - regex: yes - draw text: 0 - text font: - name: MPlantin - weight: bold - size: 1 - color: rgb(0,0,0) - max stretch: 0.5 - text margin left: .3 - text margin right: .3 - text margin top: 0.1 - text margin bottom: 0.1 -symbol: - image: mana_circle_r.png - enabled: { colorless_color() == "r" } - code: [XYZ] - regex: yes - draw text: 0 - text font: - name: MPlantin - weight: bold - size: 1 - color: rgb(0,0,0) - text margin left: .3 - text margin right: .3 - text margin top: 0.1 - text margin bottom: 0.1 -symbol: - image: mana_circle_r.png - enabled: { colorless_color() == "r" } - code: [0-9]+(?!/[WUBRGSTQ2])|. - regex: yes - draw text: 0 - text font: - name: MPlantin - weight: bold - size: 1 - color: rgb(0,0,0) - max stretch: 0.5 - text margin left: .3 - text margin right: .3 - text margin top: 0.1 - text margin bottom: 0.1 -symbol: - image: mana_circle_g.png - enabled: { colorless_color() == "g" } - code: [XYZ] - regex: yes - draw text: 0 - text font: - name: MPlantin - weight: bold - size: 1 - color: rgb(0,0,0) - text margin left: .3 - text margin right: .3 - text margin top: 0.1 - text margin bottom: 0.1 -symbol: - image: mana_circle_g.png - enabled: { colorless_color() == "g" } - code: [0-9]+(?!/[WUBRGSTQ2])|. - regex: yes - draw text: 0 - text font: - name: MPlantin - weight: bold - size: 1 - color: rgb(0,0,0) - max stretch: 0.5 - text margin left: .3 - text margin right: .3 - text margin top: 0.1 - text margin bottom: 0.1 -symbol: - image: mana_circle.png - code: [XYZ] - regex: yes - draw text: 0 - text font: - name: MPlantin - weight: bold - size: 1 - color: rgb(0,0,0) - text margin left: .3 - text margin right: .3 - text margin top: 0.1 - text margin bottom: 0.1 -symbol: - image: mana_circle.png - code: [0-9]+(?!/[WUBRGSTQ2])|. - regex: yes - draw text: 0 - text font: - name: MPlantin - weight: bold - size: 1 - color: rgb(0,0,0) - max stretch: 0.5 - text margin left: .3 - text margin right: .3 - text margin top: 0.1 - text margin bottom: 0.1 - -############################################################## -# Insert-symbol menu -insert symbol menu: - item: T - item: Q - item: C - item: X - item: Y - item: Z - item: - type: line - item: I - item: - type: custom - name: colorless - item: - type: line - item: W - item: U - item: B - item: R - item: G - item: S - item: - type: line - item: - name: half - item: 1/2 - item: |W - item: |U - item: |B - item: |R - item: |G - item: |S - item: - name: hybrid - item: W/U - item: U/B - item: B/R - item: R/G - item: G/W - item: - type: line - item: W/B - item: U/R - item: B/G - item: R/W - item: G/U - item: - type: line - item: - name: number hybrids - item: 2/W - item: 2/U - item: 2/B - item: 2/R - item: 2/G +mse version: 0.3.8 +version: 2009-08-11 +# Symbol font in the 'futuristic' style, used for casting costs on futureshift cards +short name: Future Sight style +installer group: magic/Mana symbols/Future Sight style +position hint: 005 +icon: mana_r.png + +image font size: 135 +horizontal space: 2 +symbol: + code: T + image: mana_t.png +symbol: + code: Q + image: mana_q.png +symbol: + code: C + image: mana_chaos.png +symbol: + code: W/U + image: mana_guild_wu.png + enabled: { guild_mana() } +symbol: + code: U/B + image: mana_guild_ub.png + enabled: { guild_mana() } +symbol: + code: B/R + image: mana_guild_br.png + enabled: { guild_mana() } +symbol: + code: R/G + image: mana_guild_rg.png + enabled: { guild_mana() } +symbol: + code: G/W + image: mana_guild_gw.png + enabled: { guild_mana() } +symbol: + code: W/B + image: mana_guild_wb.png + enabled: { guild_mana() } +symbol: + code: U/R + image: mana_guild_ur.png + enabled: { guild_mana() } +symbol: + code: B/G + image: mana_guild_bg.png + enabled: { guild_mana() } +symbol: + code: R/W + image: mana_guild_rw.png + enabled: { guild_mana() } +symbol: + code: G/U + image: mana_guild_gu.png + enabled: { guild_mana() } +symbol: + code: W/U + image: mana_wu.png +symbol: + code: U/B + image: mana_ub.png +symbol: + code: B/R + image: mana_br.png +symbol: + code: R/G + image: mana_rg.png +symbol: + code: G/W + image: mana_gw.png +symbol: + code: W/B + image: mana_wb.png +symbol: + code: U/R + image: mana_ur.png +symbol: + code: B/G + image: mana_bg.png +symbol: + code: R/W + image: mana_rw.png +symbol: + code: G/U + image: mana_gu.png +symbol: + code: 1/2 + enabled: { colorless_color() == "w" } + image: {masked_blend(light: "mana_1_half.png", dark: "mana_circle_w.png", mask:"mana_circle_mask.png")} +symbol: + code: 1/2 + enabled: { colorless_color() == "u" } + image: {masked_blend(light: "mana_1_half.png", dark: "mana_circle_u.png", mask:"mana_circle_mask.png")} +symbol: + code: 1/2 + enabled: { colorless_color() == "b" } + image: {masked_blend(light: "mana_1_half.png", dark: "mana_circle_b.png", mask:"mana_circle_mask.png")} +symbol: + code: 1/2 + enabled: { colorless_color() == "r" } + image: {masked_blend(light: "mana_1_half.png", dark: "mana_circle_r.png", mask:"mana_circle_mask.png")} +symbol: + code: 1/2 + enabled: { colorless_color() == "g" } + image: {masked_blend(light: "mana_1_half.png", dark: "mana_circle_g.png", mask:"mana_circle_mask.png")} +symbol: + code: 1/2 + image: mana_1_half.png +symbol: + code: |1 + image: mana_1_half.png +symbol: + code: |W + image: mana_w_half.png +symbol: + code: |U + image: mana_u_half.png +symbol: + code: |B + image: mana_b_half.png +symbol: + code: |R + image: mana_r_half.png +symbol: + code: |G + image: mana_g_half.png +symbol: + code: |S + image: mana_s_half.png +symbol: + code: W + image: mana_w.png +symbol: + code: U + image: mana_u.png +symbol: + code: B + image: mana_b.png +symbol: + code: R + image: mana_r.png +symbol: + code: G + image: mana_g.png +symbol: + code: S + image: mana_s.png +symbol: + code: I + enabled: { colorless_color() == "w" } + image: {masked_blend(light: "mana_infinite.png", dark: "mana_circle_w.png", mask:"mana_circle_mask.png")} +symbol: + code: I + enabled: { colorless_color() == "u" } + image: {masked_blend(light: "mana_infinite.png", dark: "mana_circle_u.png", mask:"mana_circle_mask.png")} +symbol: + code: I + enabled: { colorless_color() == "b" } + image: {masked_blend(light: "mana_infinite.png", dark: "mana_circle_b.png", mask:"mana_circle_mask.png")} +symbol: + code: I + enabled: { colorless_color() == "r" } + image: {masked_blend(light: "mana_infinite.png", dark: "mana_circle_r.png", mask:"mana_circle_mask.png")} +symbol: + code: I + enabled: { colorless_color() == "g" } + image: {masked_blend(light: "mana_infinite.png", dark: "mana_circle_g.png", mask:"mana_circle_mask.png")} +symbol: + code: I + image: mana_infinite.png +symbol: + image: mana_nw.png + code: ([XYZ0-9])/W + regex: yes + draw text: 1 + text margin left: -.0 + text margin right: .44 + text margin top: -.0 + text margin bottom: .445 + text font: + name: MPlantin + size: .53 + color: rgb(0,0,0) + max stretch: 0.5 +symbol: + image: mana_nu.png + code: ([XYZ0-9])/U + regex: yes + draw text: 1 + text margin left: -.0 + text margin right: .44 + text margin top: -.0 + text margin bottom: .445 + text font: + name: MPlantin + size: .53 + color: rgb(0,0,0) + max stretch: 0.5 +symbol: + image: mana_nb.png + code: ([XYZ0-9])/B + regex: yes + draw text: 1 + text margin left: -.0 + text margin right: .44 + text margin top: -.0 + text margin bottom: .445 + text font: + name: MPlantin + size: .53 + color: rgb(0,0,0) + max stretch: 0.5 +symbol: + image: mana_nr.png + code: ([XYZ0-9])/R + regex: yes + draw text: 1 + text margin left: -.0 + text margin right: .44 + text margin top: -.0 + text margin bottom: .445 + text font: + name: MPlantin + size: .53 + color: rgb(0,0,0) + max stretch: 0.5 +symbol: + image: mana_ng.png + code: ([XYZ0-9])/G + regex: yes + draw text: 1 + text margin left: -.0 + text margin right: .44 + text margin top: -.0 + text margin bottom: .445 + text font: + name: MPlantin + size: .53 + color: rgb(0,0,0) + max stretch: 0.5 +symbol: + image: mana_circle_w.png + enabled: { colorless_color() == "w" } + code: [XYZ] + regex: yes + draw text: 0 + text font: + name: MPlantin + weight: bold + size: 1 + color: rgb(0,0,0) + text margin left: .3 + text margin right: .3 + text margin top: 0.1 + text margin bottom: 0.1 +symbol: + image: mana_circle_w.png + enabled: { colorless_color() == "w" } + code: [0-9]+(?!/[WUBRGSTQ2])|. + regex: yes + draw text: 0 + text font: + name: MPlantin + weight: bold + size: 1 + color: rgb(0,0,0) + max stretch: 0.5 + text margin left: .3 + text margin right: .3 + text margin top: 0.1 + text margin bottom: 0.1 +symbol: + image: mana_circle_u.png + enabled: { colorless_color() == "u" } + code: [XYZ] + regex: yes + draw text: 0 + text font: + name: MPlantin + weight: bold + size: 1 + color: rgb(0,0,0) + text margin left: .3 + text margin right: .3 + text margin top: 0.1 + text margin bottom: 0.1 +symbol: + image: mana_circle_u.png + enabled: { colorless_color() == "u" } + code: [0-9]+(?!/[WUBRGSTQ2])|. + regex: yes + draw text: 0 + text font: + name: MPlantin + weight: bold + size: 1 + color: rgb(0,0,0) + max stretch: 0.5 + text margin left: .3 + text margin right: .3 + text margin top: 0.1 + text margin bottom: 0.1 +symbol: + image: mana_circle_b.png + enabled: { colorless_color() == "b" } + code: [XYZ] + regex: yes + draw text: 0 + text font: + name: MPlantin + weight: bold + size: 1 + color: rgb(0,0,0) + text margin left: .3 + text margin right: .3 + text margin top: 0.1 + text margin bottom: 0.1 +symbol: + image: mana_circle_b.png + enabled: { colorless_color() == "b" } + code: [0-9]+(?!/[WUBRGSTQ2])|. + regex: yes + draw text: 0 + text font: + name: MPlantin + weight: bold + size: 1 + color: rgb(0,0,0) + max stretch: 0.5 + text margin left: .3 + text margin right: .3 + text margin top: 0.1 + text margin bottom: 0.1 +symbol: + image: mana_circle_r.png + enabled: { colorless_color() == "r" } + code: [XYZ] + regex: yes + draw text: 0 + text font: + name: MPlantin + weight: bold + size: 1 + color: rgb(0,0,0) + text margin left: .3 + text margin right: .3 + text margin top: 0.1 + text margin bottom: 0.1 +symbol: + image: mana_circle_r.png + enabled: { colorless_color() == "r" } + code: [0-9]+(?!/[WUBRGSTQ2])|. + regex: yes + draw text: 0 + text font: + name: MPlantin + weight: bold + size: 1 + color: rgb(0,0,0) + max stretch: 0.5 + text margin left: .3 + text margin right: .3 + text margin top: 0.1 + text margin bottom: 0.1 +symbol: + image: mana_circle_g.png + enabled: { colorless_color() == "g" } + code: [XYZ] + regex: yes + draw text: 0 + text font: + name: MPlantin + weight: bold + size: 1 + color: rgb(0,0,0) + text margin left: .3 + text margin right: .3 + text margin top: 0.1 + text margin bottom: 0.1 +symbol: + image: mana_circle_g.png + enabled: { colorless_color() == "g" } + code: [0-9]+(?!/[WUBRGSTQ2])|. + regex: yes + draw text: 0 + text font: + name: MPlantin + weight: bold + size: 1 + color: rgb(0,0,0) + max stretch: 0.5 + text margin left: .3 + text margin right: .3 + text margin top: 0.1 + text margin bottom: 0.1 +symbol: + image: mana_circle.png + code: [XYZ] + regex: yes + draw text: 0 + text font: + name: MPlantin + weight: bold + size: 1 + color: rgb(0,0,0) + text margin left: .3 + text margin right: .3 + text margin top: 0.1 + text margin bottom: 0.1 +symbol: + image: mana_circle.png + code: [0-9]+(?!/[WUBRGSTQ2])|. + regex: yes + draw text: 0 + text font: + name: MPlantin + weight: bold + size: 1 + color: rgb(0,0,0) + max stretch: 0.5 + text margin left: .3 + text margin right: .3 + text margin top: 0.1 + text margin bottom: 0.1 + +############################################################## +# Insert-symbol menu +insert symbol menu: + item: T + item: Q + item: C + item: X + item: Y + item: Z + item: + type: line + item: I + item: + type: custom + name: colorless + item: + type: line + item: W + item: U + item: B + item: R + item: G + item: S + item: + type: line + item: + name: half + item: 1/2 + item: |W + item: |U + item: |B + item: |R + item: |G + item: |S + item: + name: hybrid + item: W/U + item: U/B + item: B/R + item: R/G + item: G/W + item: + type: line + item: W/B + item: U/R + item: B/G + item: R/W + item: G/U + item: + type: line + item: + name: number hybrids + item: 2/W + item: 2/U + item: 2/B + item: 2/R + item: 2/G diff --git a/data/magic-mana-large.mse-symbol-font/symbol-font b/data/magic-mana-large.mse-symbol-font/symbol-font index 8d85ed40..5c537a00 100644 --- a/data/magic-mana-large.mse-symbol-font/symbol-font +++ b/data/magic-mana-large.mse-symbol-font/symbol-font @@ -1,385 +1,385 @@ -mse version: 0.3.8 -version: 2009-08-10 -# Symbol font in the 'popup' style, used for casting costs on modern cards -short name: popup style -installer group: magic/Mana symbols/popup style -position hint: 002 -icon: mana_r.png - -image font size: 135 -horizontal space: 2 -symbol: - code: T - image: mana_t_older.png - enabled: { mana_t() == "older" } -symbol: - code: T - image: mana_t_old.png - enabled: { mana_t() == "old" } -symbol: - code: T - image: mana_t.png -symbol: - code: Q - image: mana_q_older.png - enabled: { mana_t() == "older" } -symbol: - code: Q - image: mana_q_old.png - enabled: { mana_t() == "old" } -symbol: - code: Q - image: mana_q.png -symbol: - code: C - image: mana_chaos.png - image font size: 151.69 -symbol: - code: B/G/W - image: mana_bgw.png - image font size: 145 -symbol: - code: B/R/G - image: mana_brg.png - image font size: 145 -symbol: - code: G/U/B - image: mana_gub.png - image font size: 145 -symbol: - code: G/W/U - image: mana_gwu.png - image font size: 145 -symbol: - code: R/G/W - image: mana_rgw.png - image font size: 145 -symbol: - code: R/W/U - image: mana_rwu.png - image font size: 145 -symbol: - code: U/B/R - image: mana_ubr.png - image font size: 145 -symbol: - code: U/R/G - image: mana_urg.png - image font size: 145 -symbol: - code: W/B/R - image: mana_wbr.png - image font size: 145 -symbol: - code: W/U/B - image: mana_wub.png - image font size: 145 -symbol: - code: W/U - image: mana_guild_wu.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: U/B - image: mana_guild_ub.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: B/R - image: mana_guild_br.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: R/G - image: mana_guild_rg.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: G/W - image: mana_guild_gw.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: W/B - image: mana_guild_wb.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: U/R - image: mana_guild_ur.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: B/G - image: mana_guild_bg.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: R/W - image: mana_guild_rw.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: G/U - image: mana_guild_gu.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: W/U - image: mana_wu.png - image font size: 145 -symbol: - code: U/B - image: mana_ub.png - image font size: 145 -symbol: - code: B/R - image: mana_br.png - image font size: 145 -symbol: - code: R/G - image: mana_rg.png - image font size: 145 -symbol: - code: G/W - image: mana_gw.png - image font size: 145 -symbol: - code: W/B - image: mana_wb.png - image font size: 145 -symbol: - code: U/R - image: mana_ur.png - image font size: 145 -symbol: - code: B/G - image: mana_bg.png - image font size: 145 -symbol: - code: R/W - image: mana_rw.png - image font size: 145 -symbol: - code: G/U - image: mana_gu.png - image font size: 145 -symbol: - code: 1/2 - image: mana_1_half.png -symbol: - code: |1 - image: mana_1_half.png -symbol: - code: |W - image: mana_w_half.png -symbol: - code: |U - image: mana_u_half.png -symbol: - code: |B - image: mana_b_half.png -symbol: - code: |R - image: mana_r_half.png -symbol: - code: |G - image: mana_g_half.png -symbol: - code: |S - image: mana_s_half.png -symbol: - code: W - image: mana_w.png -symbol: - code: U - image: mana_u.png -symbol: - code: B - image: mana_b.png -symbol: - code: R - image: mana_r.png -symbol: - code: G - image: mana_g.png -symbol: - code: S - image: mana_s.png -symbol: - image: mana_nw.png - code: ([XYZ0-9])/W - regex: yes - draw text: 1 - text margin left: -.25 - text margin right: .2 - text margin top: -.14 - text margin bottom: .4 - text font: - name: MPlantin - size: .6 - color: rgb(0,0,0) - max stretch: 0.5 - image font size: 145 -symbol: - image: mana_nu.png - code: ([XYZ0-9])/U - regex: yes - draw text: 1 - text margin left: -.25 - text margin right: .2 - text margin top: -.14 - text margin bottom: .4 - text font: - name: MPlantin - size: .6 - color: rgb(0,0,0) - max stretch: 0.5 - image font size: 145 -symbol: - image: mana_nb.png - code: ([XYZ0-9])/B - regex: yes - draw text: 1 - text margin left: -.25 - text margin right: .2 - text margin top: -.14 - text margin bottom: .4 - text font: - name: MPlantin - size: .6 - color: rgb(0,0,0) - max stretch: 0.5 - image font size: 145 -symbol: - image: mana_nr.png - code: ([XYZ0-9])/R - regex: yes - draw text: 1 - text margin left: -.25 - text margin right: .2 - text margin top: -.14 - text margin bottom: .4 - text font: - name: MPlantin - size: .6 - color: rgb(0,0,0) - max stretch: 0.5 - image font size: 145 -symbol: - image: mana_ng.png - code: ([XYZ0-9])/G - regex: yes - draw text: 1 - text margin left: -.25 - text margin right: .2 - text margin top: -.14 - text margin bottom: .4 - text font: - name: MPlantin - size: .6 - color: rgb(0,0,0) - max stretch: 0.5 - image font size: 145 -symbol: - image: mana_circle.png - code: [XYZ] - regex: yes - draw text: 0 - text margin left: .23 - text margin right: .21 - text margin top: -.10 - text margin bottom: -.06 - text font: - name: MPlantin - size: 1 - color: rgb(0,0,0) -symbol: - code: I - image: mana_infinite.png -symbol: - image: mana_circle.png - text margin left: .23 - text margin right: .21 - text margin top: -.15 - text margin bottom: -.06 - code: [0-9]+(?!/[WUBRGSTQ2])|. - regex: yes - draw text: 0 - text font: - name: MPlantin - size: 1 - color: rgb(0,0,0) - max stretch: 0.60 - -############################################################## -# Insert-symbol menu -insert symbol menu: - item: T - item: Q - item: C - item: - type: line - item: X - item: Y - item: Z - item: I - item: - type: custom - name: colorless - item: - type: line - item: W - item: U - item: B - item: R - item: G - item: S - item: - type: line - item: - name: half - item: 1/2 - item: |W - item: |U - item: |B - item: |R - item: |G - item: |S - item: - name: hybrid - item: W/U - item: U/B - item: B/R - item: R/G - item: G/W - item: - type: line - item: W/B - item: U/R - item: B/G - item: R/W - item: G/U - item: - name: hybrid 3 - item: W/U/B - item: U/B/R - item: B/R/G - item: R/G/W - item: G/W/U - item: - type: line - item: W/B/R - item: U/R/G - item: B/G/W - item: R/W/U - item: G/U/B - item: - type: line - item: - name: number hybrids - item: 2/W - item: 2/U - item: 2/B - item: 2/R - item: 2/G +mse version: 0.3.8 +version: 2009-08-10 +# Symbol font in the 'popup' style, used for casting costs on modern cards +short name: popup style +installer group: magic/Mana symbols/popup style +position hint: 002 +icon: mana_r.png + +image font size: 135 +horizontal space: 2 +symbol: + code: T + image: mana_t_older.png + enabled: { mana_t() == "older" } +symbol: + code: T + image: mana_t_old.png + enabled: { mana_t() == "old" } +symbol: + code: T + image: mana_t.png +symbol: + code: Q + image: mana_q_older.png + enabled: { mana_t() == "older" } +symbol: + code: Q + image: mana_q_old.png + enabled: { mana_t() == "old" } +symbol: + code: Q + image: mana_q.png +symbol: + code: C + image: mana_chaos.png + image font size: 151.69 +symbol: + code: B/G/W + image: mana_bgw.png + image font size: 145 +symbol: + code: B/R/G + image: mana_brg.png + image font size: 145 +symbol: + code: G/U/B + image: mana_gub.png + image font size: 145 +symbol: + code: G/W/U + image: mana_gwu.png + image font size: 145 +symbol: + code: R/G/W + image: mana_rgw.png + image font size: 145 +symbol: + code: R/W/U + image: mana_rwu.png + image font size: 145 +symbol: + code: U/B/R + image: mana_ubr.png + image font size: 145 +symbol: + code: U/R/G + image: mana_urg.png + image font size: 145 +symbol: + code: W/B/R + image: mana_wbr.png + image font size: 145 +symbol: + code: W/U/B + image: mana_wub.png + image font size: 145 +symbol: + code: W/U + image: mana_guild_wu.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: U/B + image: mana_guild_ub.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: B/R + image: mana_guild_br.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: R/G + image: mana_guild_rg.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: G/W + image: mana_guild_gw.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: W/B + image: mana_guild_wb.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: U/R + image: mana_guild_ur.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: B/G + image: mana_guild_bg.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: R/W + image: mana_guild_rw.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: G/U + image: mana_guild_gu.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: W/U + image: mana_wu.png + image font size: 145 +symbol: + code: U/B + image: mana_ub.png + image font size: 145 +symbol: + code: B/R + image: mana_br.png + image font size: 145 +symbol: + code: R/G + image: mana_rg.png + image font size: 145 +symbol: + code: G/W + image: mana_gw.png + image font size: 145 +symbol: + code: W/B + image: mana_wb.png + image font size: 145 +symbol: + code: U/R + image: mana_ur.png + image font size: 145 +symbol: + code: B/G + image: mana_bg.png + image font size: 145 +symbol: + code: R/W + image: mana_rw.png + image font size: 145 +symbol: + code: G/U + image: mana_gu.png + image font size: 145 +symbol: + code: 1/2 + image: mana_1_half.png +symbol: + code: |1 + image: mana_1_half.png +symbol: + code: |W + image: mana_w_half.png +symbol: + code: |U + image: mana_u_half.png +symbol: + code: |B + image: mana_b_half.png +symbol: + code: |R + image: mana_r_half.png +symbol: + code: |G + image: mana_g_half.png +symbol: + code: |S + image: mana_s_half.png +symbol: + code: W + image: mana_w.png +symbol: + code: U + image: mana_u.png +symbol: + code: B + image: mana_b.png +symbol: + code: R + image: mana_r.png +symbol: + code: G + image: mana_g.png +symbol: + code: S + image: mana_s.png +symbol: + image: mana_nw.png + code: ([XYZ0-9])/W + regex: yes + draw text: 1 + text margin left: -.25 + text margin right: .2 + text margin top: -.14 + text margin bottom: .4 + text font: + name: MPlantin + size: .6 + color: rgb(0,0,0) + max stretch: 0.5 + image font size: 145 +symbol: + image: mana_nu.png + code: ([XYZ0-9])/U + regex: yes + draw text: 1 + text margin left: -.25 + text margin right: .2 + text margin top: -.14 + text margin bottom: .4 + text font: + name: MPlantin + size: .6 + color: rgb(0,0,0) + max stretch: 0.5 + image font size: 145 +symbol: + image: mana_nb.png + code: ([XYZ0-9])/B + regex: yes + draw text: 1 + text margin left: -.25 + text margin right: .2 + text margin top: -.14 + text margin bottom: .4 + text font: + name: MPlantin + size: .6 + color: rgb(0,0,0) + max stretch: 0.5 + image font size: 145 +symbol: + image: mana_nr.png + code: ([XYZ0-9])/R + regex: yes + draw text: 1 + text margin left: -.25 + text margin right: .2 + text margin top: -.14 + text margin bottom: .4 + text font: + name: MPlantin + size: .6 + color: rgb(0,0,0) + max stretch: 0.5 + image font size: 145 +symbol: + image: mana_ng.png + code: ([XYZ0-9])/G + regex: yes + draw text: 1 + text margin left: -.25 + text margin right: .2 + text margin top: -.14 + text margin bottom: .4 + text font: + name: MPlantin + size: .6 + color: rgb(0,0,0) + max stretch: 0.5 + image font size: 145 +symbol: + image: mana_circle.png + code: [XYZ] + regex: yes + draw text: 0 + text margin left: .23 + text margin right: .21 + text margin top: -.10 + text margin bottom: -.06 + text font: + name: MPlantin + size: 1 + color: rgb(0,0,0) +symbol: + code: I + image: mana_infinite.png +symbol: + image: mana_circle.png + text margin left: .23 + text margin right: .21 + text margin top: -.15 + text margin bottom: -.06 + code: [0-9]+(?!/[WUBRGSTQ2])|. + regex: yes + draw text: 0 + text font: + name: MPlantin + size: 1 + color: rgb(0,0,0) + max stretch: 0.60 + +############################################################## +# Insert-symbol menu +insert symbol menu: + item: T + item: Q + item: C + item: + type: line + item: X + item: Y + item: Z + item: I + item: + type: custom + name: colorless + item: + type: line + item: W + item: U + item: B + item: R + item: G + item: S + item: + type: line + item: + name: half + item: 1/2 + item: |W + item: |U + item: |B + item: |R + item: |G + item: |S + item: + name: hybrid + item: W/U + item: U/B + item: B/R + item: R/G + item: G/W + item: + type: line + item: W/B + item: U/R + item: B/G + item: R/W + item: G/U + item: + name: hybrid 3 + item: W/U/B + item: U/B/R + item: B/R/G + item: R/G/W + item: G/W/U + item: + type: line + item: W/B/R + item: U/R/G + item: B/G/W + item: R/W/U + item: G/U/B + item: + type: line + item: + name: number hybrids + item: 2/W + item: 2/U + item: 2/B + item: 2/R + item: 2/G diff --git a/data/magic-mana-small-grey.mse-symbol-font/symbol-font b/data/magic-mana-small-grey.mse-symbol-font/symbol-font index 99ef5869..b4d5bebd 100644 --- a/data/magic-mana-small-grey.mse-symbol-font/symbol-font +++ b/data/magic-mana-small-grey.mse-symbol-font/symbol-font @@ -1,392 +1,392 @@ -mse version: 0.3.8 -version: 2009-08-10 -short name: normal (colorless) -position hint: 11 -installer group: magic/Mana symbols/colorless normal style -icon: mana_r.png -# Symbol font in the normal, flat, style, used for text boxes and on old style cards -# Note: -# Define mana_t := {"new|old|older"} in the init script of the style -# -# So for example: -# -#init script: -# mana_t := {"new"} - -image font size: 135 -horizontal space: 2 -symbol: - code: T - image: mana_t_older.png - enabled: { mana_t() == "older" } -symbol: - code: T - image: mana_t_old.png - enabled: { mana_t() == "old" } -symbol: - code: T - image: mana_t.png -symbol: - code: Q - image: mana_q_older.png - enabled: { mana_t() == "older" } -symbol: - code: Q - image: mana_q_old.png - enabled: { mana_t() == "old" } -symbol: - code: Q - image: mana_q.png -symbol: - code: C - image: mana_chaos.png - image font size: 168.75 -symbol: - code: B/G/W - image: mana_bgw.png - image font size: 145 -symbol: - code: B/R/G - image: mana_brg.png - image font size: 145 -symbol: - code: G/U/B - image: mana_gub.png - image font size: 145 -symbol: - code: G/W/U - image: mana_gwu.png - image font size: 145 -symbol: - code: R/G/W - image: mana_rgw.png - image font size: 145 -symbol: - code: R/W/U - image: mana_rwu.png - image font size: 145 -symbol: - code: U/B/R - image: mana_ubr.png - image font size: 145 -symbol: - code: U/R/G - image: mana_urg.png - image font size: 145 -symbol: - code: W/B/R - image: mana_wbr.png - image font size: 145 -symbol: - code: W/U/B - image: mana_wub.png - image font size: 145 -symbol: - code: W/U - image: mana_guild_wu.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: U/B - image: mana_guild_ub.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: B/R - image: mana_guild_br.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: R/G - image: mana_guild_rg.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: G/W - image: mana_guild_gw.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: W/B - image: mana_guild_wb.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: U/R - image: mana_guild_ur.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: B/G - image: mana_guild_bg.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: R/W - image: mana_guild_rw.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: G/U - image: mana_guild_gu.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: W/U - image: mana_wu.png - image font size: 145 -symbol: - code: U/B - image: mana_ub.png - image font size: 145 -symbol: - code: B/R - image: mana_br.png - image font size: 145 -symbol: - code: R/G - image: mana_rg.png - image font size: 145 -symbol: - code: G/W - image: mana_gw.png - image font size: 145 -symbol: - code: W/B - image: mana_wb.png - image font size: 145 -symbol: - code: U/R - image: mana_ur.png - image font size: 145 -symbol: - code: B/G - image: mana_bg.png - image font size: 145 -symbol: - code: R/W - image: mana_rw.png - image font size: 145 -symbol: - code: G/U - image: mana_gu.png - image font size: 145 -symbol: - code: 1/2 - image: mana_1_half.png -symbol: - code: |1 - image: mana_1_half.png -symbol: - code: |W - image: mana_w_half.png -symbol: - code: |U - image: mana_u_half.png -symbol: - code: |B - image: mana_b_half.png -symbol: - code: |R - image: mana_r_half.png -symbol: - code: |G - image: mana_g_half.png -symbol: - code: |S - image: mana_s_half.png -symbol: - code: W - image: mana_w.png -symbol: - code: U - image: mana_u.png -symbol: - code: B - image: mana_b.png -symbol: - code: R - image: mana_r.png -symbol: - code: G - image: mana_g.png -symbol: - code: S - image: mana_s.png -symbol: - image: mana_nw.png - code: ([XYZ0-9])/W - regex: yes - draw text: 1 - text margin left: -.30 - text margin right: .2 - text margin top: -.14 - text margin bottom: .34 - text font: - name: MPlantin - size: .6 - color: rgb(0,0,0) - max stretch: 0.5 - image font size: 145 -symbol: - image: mana_nu.png - code: ([XYZ0-9])/U - regex: yes - draw text: 1 - text margin left: -.30 - text margin right: .2 - text margin top: -.14 - text margin bottom: .34 - text font: - name: MPlantin - size: .6 - color: rgb(0,0,0) - max stretch: 0.5 - image font size: 145 -symbol: - image: mana_nb.png - code: ([XYZ0-9])/B - regex: yes - draw text: 1 - text margin left: -.30 - text margin right: .2 - text margin top: -.14 - text margin bottom: .34 - text font: - name: MPlantin - size: .6 - color: rgb(0,0,0) - max stretch: 0.5 - image font size: 145 -symbol: - image: mana_nr.png - code: ([XYZ0-9])/R - regex: yes - draw text: 1 - text margin left: -.30 - text margin right: .2 - text margin top: -.14 - text margin bottom: .34 - text font: - name: MPlantin - size: .6 - color: rgb(0,0,0) - max stretch: 0.5 - image font size: 145 -symbol: - image: mana_ng.png - code: ([XYZ0-9])/G - regex: yes - draw text: 1 - text margin left: -.30 - text margin right: .2 - text margin top: -.14 - text margin bottom: .34 - text font: - name: MPlantin - size: .6 - color: rgb(0,0,0) - max stretch: 0.5 - image font size: 145 -symbol: - image: mana_circle.png - code: [XYZ] - regex: yes - draw text: 0 - text margin left: .23 - text margin right: .23 - text margin top: -.11 - text margin bottom: -.11 - text font: - name: MPlantin - size: 1 - color: rgb(0,0,0) -symbol: - code: I - image: mana_infinite.png -symbol: - image: mana_circle.png - code: [0-9]+(?!/[WUBRGSTQ2])|. - regex: yes - draw text: 0 - text margin left: .2 - text margin right: .2 - text margin top: -.14 - text margin bottom: -.14 - text font: - name: MPlantin - size: 1 - color: rgb(0,0,0) - max stretch: 0.57 - -############################################################## -# Insert-symbol menu -insert symbol menu: - item: T - item: Q - item: C - item: - type: line - item: X - item: Y - item: Z - item: I - item: - type: custom - name: colorless - item: - type: line - item: W - item: U - item: B - item: R - item: G - item: S - item: - type: line - item: - name: half - item: 1/2 - item: |W - item: |U - item: |B - item: |R - item: |G - item: |S - item: - name: hybrid - item: W/U - item: U/B - item: B/R - item: R/G - item: G/W - item: - type: line - item: W/B - item: U/R - item: B/G - item: R/W - item: G/U - item: - name: hybrid 3 - item: W/U/B - item: U/B/R - item: B/R/G - item: R/G/W - item: G/W/U - item: - type: line - item: W/B/R - item: U/R/G - item: B/G/W - item: R/W/U - item: G/U/B - item: - type: line - item: - name: number hybrids - item: 2/W - item: 2/U - item: 2/B - item: 2/R - item: 2/G +mse version: 0.3.8 +version: 2009-08-10 +short name: normal (colorless) +position hint: 11 +installer group: magic/Mana symbols/colorless normal style +icon: mana_r.png +# Symbol font in the normal, flat, style, used for text boxes and on old style cards +# Note: +# Define mana_t := {"new|old|older"} in the init script of the style +# +# So for example: +# +#init script: +# mana_t := {"new"} + +image font size: 135 +horizontal space: 2 +symbol: + code: T + image: mana_t_older.png + enabled: { mana_t() == "older" } +symbol: + code: T + image: mana_t_old.png + enabled: { mana_t() == "old" } +symbol: + code: T + image: mana_t.png +symbol: + code: Q + image: mana_q_older.png + enabled: { mana_t() == "older" } +symbol: + code: Q + image: mana_q_old.png + enabled: { mana_t() == "old" } +symbol: + code: Q + image: mana_q.png +symbol: + code: C + image: mana_chaos.png + image font size: 168.75 +symbol: + code: B/G/W + image: mana_bgw.png + image font size: 145 +symbol: + code: B/R/G + image: mana_brg.png + image font size: 145 +symbol: + code: G/U/B + image: mana_gub.png + image font size: 145 +symbol: + code: G/W/U + image: mana_gwu.png + image font size: 145 +symbol: + code: R/G/W + image: mana_rgw.png + image font size: 145 +symbol: + code: R/W/U + image: mana_rwu.png + image font size: 145 +symbol: + code: U/B/R + image: mana_ubr.png + image font size: 145 +symbol: + code: U/R/G + image: mana_urg.png + image font size: 145 +symbol: + code: W/B/R + image: mana_wbr.png + image font size: 145 +symbol: + code: W/U/B + image: mana_wub.png + image font size: 145 +symbol: + code: W/U + image: mana_guild_wu.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: U/B + image: mana_guild_ub.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: B/R + image: mana_guild_br.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: R/G + image: mana_guild_rg.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: G/W + image: mana_guild_gw.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: W/B + image: mana_guild_wb.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: U/R + image: mana_guild_ur.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: B/G + image: mana_guild_bg.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: R/W + image: mana_guild_rw.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: G/U + image: mana_guild_gu.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: W/U + image: mana_wu.png + image font size: 145 +symbol: + code: U/B + image: mana_ub.png + image font size: 145 +symbol: + code: B/R + image: mana_br.png + image font size: 145 +symbol: + code: R/G + image: mana_rg.png + image font size: 145 +symbol: + code: G/W + image: mana_gw.png + image font size: 145 +symbol: + code: W/B + image: mana_wb.png + image font size: 145 +symbol: + code: U/R + image: mana_ur.png + image font size: 145 +symbol: + code: B/G + image: mana_bg.png + image font size: 145 +symbol: + code: R/W + image: mana_rw.png + image font size: 145 +symbol: + code: G/U + image: mana_gu.png + image font size: 145 +symbol: + code: 1/2 + image: mana_1_half.png +symbol: + code: |1 + image: mana_1_half.png +symbol: + code: |W + image: mana_w_half.png +symbol: + code: |U + image: mana_u_half.png +symbol: + code: |B + image: mana_b_half.png +symbol: + code: |R + image: mana_r_half.png +symbol: + code: |G + image: mana_g_half.png +symbol: + code: |S + image: mana_s_half.png +symbol: + code: W + image: mana_w.png +symbol: + code: U + image: mana_u.png +symbol: + code: B + image: mana_b.png +symbol: + code: R + image: mana_r.png +symbol: + code: G + image: mana_g.png +symbol: + code: S + image: mana_s.png +symbol: + image: mana_nw.png + code: ([XYZ0-9])/W + regex: yes + draw text: 1 + text margin left: -.30 + text margin right: .2 + text margin top: -.14 + text margin bottom: .34 + text font: + name: MPlantin + size: .6 + color: rgb(0,0,0) + max stretch: 0.5 + image font size: 145 +symbol: + image: mana_nu.png + code: ([XYZ0-9])/U + regex: yes + draw text: 1 + text margin left: -.30 + text margin right: .2 + text margin top: -.14 + text margin bottom: .34 + text font: + name: MPlantin + size: .6 + color: rgb(0,0,0) + max stretch: 0.5 + image font size: 145 +symbol: + image: mana_nb.png + code: ([XYZ0-9])/B + regex: yes + draw text: 1 + text margin left: -.30 + text margin right: .2 + text margin top: -.14 + text margin bottom: .34 + text font: + name: MPlantin + size: .6 + color: rgb(0,0,0) + max stretch: 0.5 + image font size: 145 +symbol: + image: mana_nr.png + code: ([XYZ0-9])/R + regex: yes + draw text: 1 + text margin left: -.30 + text margin right: .2 + text margin top: -.14 + text margin bottom: .34 + text font: + name: MPlantin + size: .6 + color: rgb(0,0,0) + max stretch: 0.5 + image font size: 145 +symbol: + image: mana_ng.png + code: ([XYZ0-9])/G + regex: yes + draw text: 1 + text margin left: -.30 + text margin right: .2 + text margin top: -.14 + text margin bottom: .34 + text font: + name: MPlantin + size: .6 + color: rgb(0,0,0) + max stretch: 0.5 + image font size: 145 +symbol: + image: mana_circle.png + code: [XYZ] + regex: yes + draw text: 0 + text margin left: .23 + text margin right: .23 + text margin top: -.11 + text margin bottom: -.11 + text font: + name: MPlantin + size: 1 + color: rgb(0,0,0) +symbol: + code: I + image: mana_infinite.png +symbol: + image: mana_circle.png + code: [0-9]+(?!/[WUBRGSTQ2])|. + regex: yes + draw text: 0 + text margin left: .2 + text margin right: .2 + text margin top: -.14 + text margin bottom: -.14 + text font: + name: MPlantin + size: 1 + color: rgb(0,0,0) + max stretch: 0.57 + +############################################################## +# Insert-symbol menu +insert symbol menu: + item: T + item: Q + item: C + item: + type: line + item: X + item: Y + item: Z + item: I + item: + type: custom + name: colorless + item: + type: line + item: W + item: U + item: B + item: R + item: G + item: S + item: + type: line + item: + name: half + item: 1/2 + item: |W + item: |U + item: |B + item: |R + item: |G + item: |S + item: + name: hybrid + item: W/U + item: U/B + item: B/R + item: R/G + item: G/W + item: + type: line + item: W/B + item: U/R + item: B/G + item: R/W + item: G/U + item: + name: hybrid 3 + item: W/U/B + item: U/B/R + item: B/R/G + item: R/G/W + item: G/W/U + item: + type: line + item: W/B/R + item: U/R/G + item: B/G/W + item: R/W/U + item: G/U/B + item: + type: line + item: + name: number hybrids + item: 2/W + item: 2/U + item: 2/B + item: 2/R + item: 2/G diff --git a/data/magic-mana-small.mse-symbol-font/symbol-font b/data/magic-mana-small.mse-symbol-font/symbol-font index e85b2281..5fb2bee6 100644 --- a/data/magic-mana-small.mse-symbol-font/symbol-font +++ b/data/magic-mana-small.mse-symbol-font/symbol-font @@ -1,392 +1,392 @@ -mse version: 0.3.8 -version: 2009-08-10 -short name: normal -installer group: magic/Mana symbols/normal style -position hint: 001 -icon: mana_r.png -# Symbol font in the normal, flat, style, used for text boxes and on old style cards -# Note: -# Define mana_t := {"new|old|older"} in the init script of the style -# -# So for example: -# -#init script: -# mana_t := {"new"} - -image font size: 135 -horizontal space: 2 -symbol: - code: T - image: mana_t_older.png - enabled: { mana_t() == "older" } -symbol: - code: T - image: mana_t_old.png - enabled: { mana_t() == "old" } -symbol: - code: T - image: mana_t.png -symbol: - code: Q - image: mana_q_older.png - enabled: { mana_t() == "older" } -symbol: - code: Q - image: mana_q_old.png - enabled: { mana_t() == "old" } -symbol: - code: Q - image: mana_q.png -symbol: - code: C - image: mana_chaos.png - image font size: 168.75 -symbol: - code: B/G/W - image: mana_bgw.png - image font size: 145 -symbol: - code: B/R/G - image: mana_brg.png - image font size: 145 -symbol: - code: G/U/B - image: mana_gub.png - image font size: 145 -symbol: - code: G/W/U - image: mana_gwu.png - image font size: 145 -symbol: - code: R/G/W - image: mana_rgw.png - image font size: 145 -symbol: - code: R/W/U - image: mana_rwu.png - image font size: 145 -symbol: - code: U/B/R - image: mana_ubr.png - image font size: 145 -symbol: - code: U/R/G - image: mana_urg.png - image font size: 145 -symbol: - code: W/B/R - image: mana_wbr.png - image font size: 145 -symbol: - code: W/U/B - image: mana_wub.png - image font size: 145 -symbol: - code: W/U - image: mana_guild_wu.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: U/B - image: mana_guild_ub.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: B/R - image: mana_guild_br.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: R/G - image: mana_guild_rg.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: G/W - image: mana_guild_gw.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: W/B - image: mana_guild_wb.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: U/R - image: mana_guild_ur.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: B/G - image: mana_guild_bg.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: R/W - image: mana_guild_rw.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: G/U - image: mana_guild_gu.png - image font size: 145 - enabled: { guild_mana() } -symbol: - code: W/U - image: mana_wu.png - image font size: 145 -symbol: - code: U/B - image: mana_ub.png - image font size: 145 -symbol: - code: B/R - image: mana_br.png - image font size: 145 -symbol: - code: R/G - image: mana_rg.png - image font size: 145 -symbol: - code: G/W - image: mana_gw.png - image font size: 145 -symbol: - code: W/B - image: mana_wb.png - image font size: 145 -symbol: - code: U/R - image: mana_ur.png - image font size: 145 -symbol: - code: B/G - image: mana_bg.png - image font size: 145 -symbol: - code: R/W - image: mana_rw.png - image font size: 145 -symbol: - code: G/U - image: mana_gu.png - image font size: 145 -symbol: - code: 1/2 - image: mana_1_half.png -symbol: - code: |1 - image: mana_1_half.png -symbol: - code: |W - image: mana_w_half.png -symbol: - code: |U - image: mana_u_half.png -symbol: - code: |B - image: mana_b_half.png -symbol: - code: |R - image: mana_r_half.png -symbol: - code: |G - image: mana_g_half.png -symbol: - code: |S - image: mana_s_half.png -symbol: - code: W - image: mana_w.png -symbol: - code: U - image: mana_u.png -symbol: - code: B - image: mana_b.png -symbol: - code: R - image: mana_r.png -symbol: - code: G - image: mana_g.png -symbol: - code: S - image: mana_s.png -symbol: - code: I - image: mana_infinite.png -symbol: - image: mana_nw.png - code: ([XYZ0-9])/W - regex: yes - draw text: 1 - text margin left: -.30 - text margin right: .2 - text margin top: -.14 - text margin bottom: .34 - text font: - name: MPlantin - size: .6 - color: rgb(0,0,0) - max stretch: 0.5 - image font size: 145 -symbol: - image: mana_nu.png - code: ([XYZ0-9])/U - regex: yes - draw text: 1 - text margin left: -.30 - text margin right: .2 - text margin top: -.14 - text margin bottom: .34 - text font: - name: MPlantin - size: .6 - color: rgb(0,0,0) - max stretch: 0.5 - image font size: 145 -symbol: - image: mana_nb.png - code: ([XYZ0-9])/B - regex: yes - draw text: 1 - text margin left: -.30 - text margin right: .2 - text margin top: -.14 - text margin bottom: .34 - text font: - name: MPlantin - size: .6 - color: rgb(0,0,0) - max stretch: 0.5 - image font size: 145 -symbol: - image: mana_nr.png - code: ([XYZ0-9])/R - regex: yes - draw text: 1 - text margin left: -.30 - text margin right: .2 - text margin top: -.14 - text margin bottom: .34 - text font: - name: MPlantin - size: .6 - color: rgb(0,0,0) - max stretch: 0.5 - image font size: 145 -symbol: - image: mana_ng.png - code: ([XYZ0-9])/G - regex: yes - draw text: 1 - text margin left: -.30 - text margin right: .2 - text margin top: -.14 - text margin bottom: .34 - text font: - name: MPlantin - size: .6 - color: rgb(0,0,0) - max stretch: 0.5 - image font size: 145 -symbol: - image: mana_circle.png - code: [XYZ] - regex: yes - draw text: 0 - text margin left: .23 - text margin right: .23 - text margin top: -.11 - text margin bottom: -.11 - text font: - name: MPlantin - size: 1 - color: rgb(0,0,0) -symbol: - image: mana_circle.png - code: [0-9]+(?!/[WUBRGSTQ2])|. - regex: yes - draw text: 0 - text margin left: .2 - text margin right: .2 - text margin top: -.14 - text margin bottom: -.14 - text font: - name: MPlantin - size: 1 - color: rgb(0,0,0) - max stretch: 0.57 - -############################################################## -# Insert-symbol menu -insert symbol menu: - item: T - item: Q - item: C - item: - type: line - item: X - item: Y - item: Z - item: I - item: - type: custom - name: colorless - item: - type: line - item: W - item: U - item: B - item: R - item: G - item: S - item: - type: line - item: - name: half - item: 1/2 - item: |W - item: |U - item: |B - item: |R - item: |G - item: |S - item: - name: hybrid - item: W/U - item: U/B - item: B/R - item: R/G - item: G/W - item: - type: line - item: W/B - item: U/R - item: B/G - item: R/W - item: G/U - item: - name: hybrid 3 - item: W/U/B - item: U/B/R - item: B/R/G - item: R/G/W - item: G/W/U - item: - type: line - item: W/B/R - item: U/R/G - item: B/G/W - item: R/W/U - item: G/U/B - item: - type: line - item: - name: number hybrids - item: 2/W - item: 2/U - item: 2/B - item: 2/R - item: 2/G +mse version: 0.3.8 +version: 2009-08-10 +short name: normal +installer group: magic/Mana symbols/normal style +position hint: 001 +icon: mana_r.png +# Symbol font in the normal, flat, style, used for text boxes and on old style cards +# Note: +# Define mana_t := {"new|old|older"} in the init script of the style +# +# So for example: +# +#init script: +# mana_t := {"new"} + +image font size: 135 +horizontal space: 2 +symbol: + code: T + image: mana_t_older.png + enabled: { mana_t() == "older" } +symbol: + code: T + image: mana_t_old.png + enabled: { mana_t() == "old" } +symbol: + code: T + image: mana_t.png +symbol: + code: Q + image: mana_q_older.png + enabled: { mana_t() == "older" } +symbol: + code: Q + image: mana_q_old.png + enabled: { mana_t() == "old" } +symbol: + code: Q + image: mana_q.png +symbol: + code: C + image: mana_chaos.png + image font size: 168.75 +symbol: + code: B/G/W + image: mana_bgw.png + image font size: 145 +symbol: + code: B/R/G + image: mana_brg.png + image font size: 145 +symbol: + code: G/U/B + image: mana_gub.png + image font size: 145 +symbol: + code: G/W/U + image: mana_gwu.png + image font size: 145 +symbol: + code: R/G/W + image: mana_rgw.png + image font size: 145 +symbol: + code: R/W/U + image: mana_rwu.png + image font size: 145 +symbol: + code: U/B/R + image: mana_ubr.png + image font size: 145 +symbol: + code: U/R/G + image: mana_urg.png + image font size: 145 +symbol: + code: W/B/R + image: mana_wbr.png + image font size: 145 +symbol: + code: W/U/B + image: mana_wub.png + image font size: 145 +symbol: + code: W/U + image: mana_guild_wu.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: U/B + image: mana_guild_ub.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: B/R + image: mana_guild_br.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: R/G + image: mana_guild_rg.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: G/W + image: mana_guild_gw.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: W/B + image: mana_guild_wb.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: U/R + image: mana_guild_ur.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: B/G + image: mana_guild_bg.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: R/W + image: mana_guild_rw.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: G/U + image: mana_guild_gu.png + image font size: 145 + enabled: { guild_mana() } +symbol: + code: W/U + image: mana_wu.png + image font size: 145 +symbol: + code: U/B + image: mana_ub.png + image font size: 145 +symbol: + code: B/R + image: mana_br.png + image font size: 145 +symbol: + code: R/G + image: mana_rg.png + image font size: 145 +symbol: + code: G/W + image: mana_gw.png + image font size: 145 +symbol: + code: W/B + image: mana_wb.png + image font size: 145 +symbol: + code: U/R + image: mana_ur.png + image font size: 145 +symbol: + code: B/G + image: mana_bg.png + image font size: 145 +symbol: + code: R/W + image: mana_rw.png + image font size: 145 +symbol: + code: G/U + image: mana_gu.png + image font size: 145 +symbol: + code: 1/2 + image: mana_1_half.png +symbol: + code: |1 + image: mana_1_half.png +symbol: + code: |W + image: mana_w_half.png +symbol: + code: |U + image: mana_u_half.png +symbol: + code: |B + image: mana_b_half.png +symbol: + code: |R + image: mana_r_half.png +symbol: + code: |G + image: mana_g_half.png +symbol: + code: |S + image: mana_s_half.png +symbol: + code: W + image: mana_w.png +symbol: + code: U + image: mana_u.png +symbol: + code: B + image: mana_b.png +symbol: + code: R + image: mana_r.png +symbol: + code: G + image: mana_g.png +symbol: + code: S + image: mana_s.png +symbol: + code: I + image: mana_infinite.png +symbol: + image: mana_nw.png + code: ([XYZ0-9])/W + regex: yes + draw text: 1 + text margin left: -.30 + text margin right: .2 + text margin top: -.14 + text margin bottom: .34 + text font: + name: MPlantin + size: .6 + color: rgb(0,0,0) + max stretch: 0.5 + image font size: 145 +symbol: + image: mana_nu.png + code: ([XYZ0-9])/U + regex: yes + draw text: 1 + text margin left: -.30 + text margin right: .2 + text margin top: -.14 + text margin bottom: .34 + text font: + name: MPlantin + size: .6 + color: rgb(0,0,0) + max stretch: 0.5 + image font size: 145 +symbol: + image: mana_nb.png + code: ([XYZ0-9])/B + regex: yes + draw text: 1 + text margin left: -.30 + text margin right: .2 + text margin top: -.14 + text margin bottom: .34 + text font: + name: MPlantin + size: .6 + color: rgb(0,0,0) + max stretch: 0.5 + image font size: 145 +symbol: + image: mana_nr.png + code: ([XYZ0-9])/R + regex: yes + draw text: 1 + text margin left: -.30 + text margin right: .2 + text margin top: -.14 + text margin bottom: .34 + text font: + name: MPlantin + size: .6 + color: rgb(0,0,0) + max stretch: 0.5 + image font size: 145 +symbol: + image: mana_ng.png + code: ([XYZ0-9])/G + regex: yes + draw text: 1 + text margin left: -.30 + text margin right: .2 + text margin top: -.14 + text margin bottom: .34 + text font: + name: MPlantin + size: .6 + color: rgb(0,0,0) + max stretch: 0.5 + image font size: 145 +symbol: + image: mana_circle.png + code: [XYZ] + regex: yes + draw text: 0 + text margin left: .23 + text margin right: .23 + text margin top: -.11 + text margin bottom: -.11 + text font: + name: MPlantin + size: 1 + color: rgb(0,0,0) +symbol: + image: mana_circle.png + code: [0-9]+(?!/[WUBRGSTQ2])|. + regex: yes + draw text: 0 + text margin left: .2 + text margin right: .2 + text margin top: -.14 + text margin bottom: -.14 + text font: + name: MPlantin + size: 1 + color: rgb(0,0,0) + max stretch: 0.57 + +############################################################## +# Insert-symbol menu +insert symbol menu: + item: T + item: Q + item: C + item: + type: line + item: X + item: Y + item: Z + item: I + item: + type: custom + name: colorless + item: + type: line + item: W + item: U + item: B + item: R + item: G + item: S + item: + type: line + item: + name: half + item: 1/2 + item: |W + item: |U + item: |B + item: |R + item: |G + item: |S + item: + name: hybrid + item: W/U + item: U/B + item: B/R + item: R/G + item: G/W + item: + type: line + item: W/B + item: U/R + item: B/G + item: R/W + item: G/U + item: + name: hybrid 3 + item: W/U/B + item: U/B/R + item: B/R/G + item: R/G/W + item: G/W/U + item: + type: line + item: W/B/R + item: U/R/G + item: B/G/W + item: R/W/U + item: G/U/B + item: + type: line + item: + name: number hybrids + item: 2/W + item: 2/U + item: 2/B + item: 2/R + item: 2/G diff --git a/data/magic-new-flip.mse-style/style b/data/magic-new-flip.mse-style/style index b4f5d4f2..c0660f7b 100644 --- a/data/magic-new-flip.mse-style/style +++ b/data/magic-new-flip.mse-style/style @@ -1,461 +1,461 @@ -mse version: 0.3.8 -game: magic -short name: Flip Cards -full name: Modern flip cards -installer group: magic/new style/flip cards -icon: card-sample.png -position hint: 002 - -version: 2009-07-09 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-default-image.mse-include - version: 2007-09-23 -depends on: - package: magic-watermarks.mse-include - version: 2007-09-23 -depends on: - package: magic-mana-large.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -# Author: Wolfwood -# Non-creature extension: Guinea Pig and Neko Asakami -# Lots of Improvements by Pichoro -############################################################## Extra scripts -init script: - # Load scripts for image box - include file: /magic-default-image.mse-include/scripts - - # Should hybrids have a grey name? - mask_hybrid_with_land := { styling.grey_hybrid_name } - - #Should multicolor lands with basic land types have a colored name? - mask_multi_land_with_color := { styling.colored_multicolor_land_name } - - # Colored lands are generated by scripting. - land_template := { - masked_blend( - mask: "artifact_blend_{type}.png", - dark: "cl{type}.jpg", - light: ( if input == "c" or input == "a" then "cl{type}.jpg" else input + "{type}.jpg" ), - ) - } - - # 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 } - card_shape := {"flip"} - -############################################################## 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: grey hybrid name - description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. -styling field: - type: boolean - name: colored multicolor land name - description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. -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: modern - choice: modern - choice: old - choice: diagonal T -styling field: - type: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: boolean - name: inverted common symbol - description: Should the common rarity symbol be inverted, like in Coldsnap? - initial: no -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -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-large.mse-symbol-font/mana_t.png - old: /magic-mana-large.mse-symbol-font/mana_t_old.png - diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.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: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - z index: 4 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: {if card.card_symbol=="none" then 32 else 51} - top : 30 - right: { 341 - card_style.casting_cost.content_width } - height: 23 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: Matrix - size: 17 - weight: bold - color: rgb(0,0,0) - name 2: - left: 343 - bottom: 454 - right: { 34 + card_style.casting_cost_2.content_width } - height: 23 - alignment: bottom shrink-overflow - angle: 180 - padding bottom: 0 - z index: 1 - font: - name: Matrix - size: 17 - weight: bold - color: rgb(0,0,0) - casting cost: - right: 343 - top : 31 - width: { max(30, card_style.casting_cost.content_width) + 5 } - height: 23 - alignment: middle right - symbol font: - name: magic-mana-large - size: 15 - alignment: middle right - always symbol: true - z index: 2 - padding top: 0 - casting cost 2: - right: 32 - bottom: 449 - width: { max(30, card_style.casting_cost_2.content_width) + 5 } - height: 23 - alignment: middle right - angle: 180 - symbol font: - name: magic-mana-large - size: 15 - alignment: middle right - always symbol: true - z index: 2 - padding top: 0 - card symbol: - left: {if card.card_symbol=="none" then 20 else 32} - top : 31 - height: 20 - width: 14 - z index: 1 - render style: image - choice images: - tombstone: tombstone.png - ############################# Image - image: - left: 32 - top: 162 - width: 311 - height: 182 - z index: 1 - default: {default_image(card.card_color)} - ############################# Card type - type: - left: 33 - top : 134 - width: { if card.pt !="" then 253 else 310 } - height: 18 - alignment: top shrink-overflow - z index: 1 - font: - name: Matrix - size: 14 - color: rgb(0,0,0) - separator color: rgb(128,128,128) - type 2: - right: { if card.pt_2 != "" then 86 else 34 } - bottom: 353 - width: { if card.pt_2 != "" then 256 else 308 } - height: 18 - alignment: top shrink-overflow - angle: 180 - z index: 1 - font: - name: Matrix - size: 14 - color: rgb(0,0,0) - separator color: rgb(128,128,128) - rarity: - left: 309 - top : 482 - width: 44 - height: 22 - z index: 1 - alignment: middle center - render style: image - choice images: - # Images based on the set symbol - basic land: - script: - if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") - else symbol_variation(symbol: set.symbol, variation: "common") - 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 - text: - left: 33 - top : 60 - width: 310 - height: 65 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 8 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 4 - padding top: -1 - padding right: 4 - padding bottom: -1 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - text 2: - right: 32 - bottom: 380 - width: 310 - height: 65 - angle: 180 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 8 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 4 - padding top: -1 - padding right: 4 - padding bottom: -1 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - watermark: - left: 151 - top : 58 - width: 69 - height: 69 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - watermark 2: - right: 151 - bottom: 378 - width: 69 - height: 69 - angle: 180 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - ############################# PT - pt: - z index: 2 - left: 290 - top: 130 - width: 60 - height: 28 - alignment: center middle shrink-overflow - font: - name: ModMatrix - size: 17 - weight: bold - color: rgb(0,0,0) - separator color: rgb(200,0,0) - pt 2: - z index: 2 - right: 24 - bottom: 349 - width: 60 - height: 28 - alignment: center middle shrink-overflow - angle: 180 - font: - name: ModMatrix - size: 17 - weight: bold - color: rgb(0,0,0) - separator color: rgb(200,0,0) - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 58 - top : 479 - width: 217 - height: 16 - z index: 1 - font: - name: Matrix - size: 10 - color: { font_color(card.card_color) } - copyright line: - left: 26 - top : 493 - width: 247 - height: 12 - z index: 1 - font: - name: MPlantin - size: 6.5 - color: { font_color(card.card_color) } -############################################################## Extra card fields -extra card field: - type: choice - name: pt box - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: pt box 2 - script: card.card_color - save value: false - editable: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card style: - pt box: - left: 285 - top: 123 - width: 70 - height: 38 - z index: 1 - visible: { card.pt != "" } - render style: image - mask: mask_pt.png - image: { flip_ptbox() } - pt box 2: - left: 18 - top: 342 - width: 70 - height: 38 - z index: 1 - visible: { card.pt_2 != "" } - render style: image - mask: mask_pt2.png - image: { flip_ptbox2() } - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 3 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +short name: Flip Cards +full name: Modern flip cards +installer group: magic/new style/flip cards +icon: card-sample.png +position hint: 002 + +version: 2009-07-09 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-default-image.mse-include + version: 2007-09-23 +depends on: + package: magic-watermarks.mse-include + version: 2007-09-23 +depends on: + package: magic-mana-large.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +# Author: Wolfwood +# Non-creature extension: Guinea Pig and Neko Asakami +# Lots of Improvements by Pichoro +############################################################## Extra scripts +init script: + # Load scripts for image box + include file: /magic-default-image.mse-include/scripts + + # Should hybrids have a grey name? + mask_hybrid_with_land := { styling.grey_hybrid_name } + + #Should multicolor lands with basic land types have a colored name? + mask_multi_land_with_color := { styling.colored_multicolor_land_name } + + # Colored lands are generated by scripting. + land_template := { + masked_blend( + mask: "artifact_blend_{type}.png", + dark: "cl{type}.jpg", + light: ( if input == "c" or input == "a" then "cl{type}.jpg" else input + "{type}.jpg" ), + ) + } + + # 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 } + card_shape := {"flip"} + +############################################################## 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: grey hybrid name + description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. +styling field: + type: boolean + name: colored multicolor land name + description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. +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: modern + choice: modern + choice: old + choice: diagonal T +styling field: + type: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +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-large.mse-symbol-font/mana_t.png + old: /magic-mana-large.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.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: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: 4 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: {if card.card_symbol=="none" then 32 else 51} + top : 30 + right: { 341 - card_style.casting_cost.content_width } + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 17 + weight: bold + color: rgb(0,0,0) + name 2: + left: 343 + bottom: 454 + right: { 34 + card_style.casting_cost_2.content_width } + height: 23 + alignment: bottom shrink-overflow + angle: 180 + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 17 + weight: bold + color: rgb(0,0,0) + casting cost: + right: 343 + top : 31 + width: { max(30, card_style.casting_cost.content_width) + 5 } + height: 23 + alignment: middle right + symbol font: + name: magic-mana-large + size: 15 + alignment: middle right + always symbol: true + z index: 2 + padding top: 0 + casting cost 2: + right: 32 + bottom: 449 + width: { max(30, card_style.casting_cost_2.content_width) + 5 } + height: 23 + alignment: middle right + angle: 180 + symbol font: + name: magic-mana-large + size: 15 + alignment: middle right + always symbol: true + z index: 2 + padding top: 0 + card symbol: + left: {if card.card_symbol=="none" then 20 else 32} + top : 31 + height: 20 + width: 14 + z index: 1 + render style: image + choice images: + tombstone: tombstone.png + ############################# Image + image: + left: 32 + top: 162 + width: 311 + height: 182 + z index: 1 + default: {default_image(card.card_color)} + ############################# Card type + type: + left: 33 + top : 134 + width: { if card.pt !="" then 253 else 310 } + height: 18 + alignment: top shrink-overflow + z index: 1 + font: + name: Matrix + size: 14 + color: rgb(0,0,0) + separator color: rgb(128,128,128) + type 2: + right: { if card.pt_2 != "" then 86 else 34 } + bottom: 353 + width: { if card.pt_2 != "" then 256 else 308 } + height: 18 + alignment: top shrink-overflow + angle: 180 + z index: 1 + font: + name: Matrix + size: 14 + color: rgb(0,0,0) + separator color: rgb(128,128,128) + rarity: + left: 309 + top : 482 + width: 44 + height: 22 + z index: 1 + alignment: middle center + render style: image + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + 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 + text: + left: 33 + top : 60 + width: 310 + height: 65 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 8 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 4 + padding top: -1 + padding right: 4 + padding bottom: -1 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + text 2: + right: 32 + bottom: 380 + width: 310 + height: 65 + angle: 180 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 8 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 4 + padding top: -1 + padding right: 4 + padding bottom: -1 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + watermark: + left: 151 + top : 58 + width: 69 + height: 69 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + watermark 2: + right: 151 + bottom: 378 + width: 69 + height: 69 + angle: 180 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + ############################# PT + pt: + z index: 2 + left: 290 + top: 130 + width: 60 + height: 28 + alignment: center middle shrink-overflow + font: + name: ModMatrix + size: 17 + weight: bold + color: rgb(0,0,0) + separator color: rgb(200,0,0) + pt 2: + z index: 2 + right: 24 + bottom: 349 + width: 60 + height: 28 + alignment: center middle shrink-overflow + angle: 180 + font: + name: ModMatrix + size: 17 + weight: bold + color: rgb(0,0,0) + separator color: rgb(200,0,0) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 58 + top : 479 + width: 217 + height: 16 + z index: 1 + font: + name: Matrix + size: 10 + color: { font_color(card.card_color) } + copyright line: + left: 26 + top : 493 + width: 247 + height: 12 + z index: 1 + font: + name: MPlantin + size: 6.5 + color: { font_color(card.card_color) } +############################################################## Extra card fields +extra card field: + type: choice + name: pt box + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: pt box 2 + script: card.card_color + save value: false + editable: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card style: + pt box: + left: 285 + top: 123 + width: 70 + height: 38 + z index: 1 + visible: { card.pt != "" } + render style: image + mask: mask_pt.png + image: { flip_ptbox() } + pt box 2: + left: 18 + top: 342 + width: 70 + height: 38 + z index: 1 + visible: { card.pt_2 != "" } + render style: image + mask: mask_pt2.png + image: { flip_ptbox2() } + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 3 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-new-planeswalker.mse-style/style b/data/magic-new-planeswalker.mse-style/style index f95ad358..c9cc7375 100644 --- a/data/magic-new-planeswalker.mse-style/style +++ b/data/magic-new-planeswalker.mse-style/style @@ -1,517 +1,517 @@ -mse version: 0.3.8 -game: magic -short name: Walkers -full name: Modern Planeswalkers -installer group: magic/new style/planeswalkers -icon: card-sample.png -position hint: 008 - -version: 2009-07-08 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-future-common.mse-include - version: 2007-09-23 -depends on: - package: magic-watermarks.mse-include - version: 2007-09-23 -depends on: - package: magic-mana-large.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -#Code by Pichoro -#Images by Artfreakwiu, Buttock1234, and Twanvl -############################################################## Extra scripts -init script: - # Should hybrids have a grey name? - mask_hybrid_with_land := { styling.grey_hybrid_name } - - # Which artifact template should be used? - template := { input + "{type}.jpg" } - land_template := { "c{type}.jpg" } - # Use land templates for previews because they show more contrast - hybrid_previews := "land,hybrid" - - # 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 } - - paintbrush_color := { - if to_int(card.border_color) < 96 then "white" else "black" - } - - # Loyalty cost arrows - loyalty_image := { - if contains(input, match: "+") then "loyalty up" - else if contains(input, match: "-") then "loyalty down" - else "loyalty naught" - } - - card_shape := {"planeswalker"} - -############################################################## 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: grey hybrid name - description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. -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: modern - choice: modern - choice: old - choice: diagonal T -styling field: - type: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: boolean - name: inverted common symbol - description: Should the common rarity symbol be inverted, like in Coldsnap? - initial: no -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -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-large.mse-symbol-font/mana_t.png - old: /magic-mana-large.mse-symbol-font/mana_t_old.png - diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.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: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - mask: border_mask.png - z index: 5 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: { if card.card_symbol=="none" then 32 else 51 } - top : 22 - right: { 339 - card_style.casting_cost.content_width } - height: 23 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: Matrix - size: 17 - weight: bold - color: rgb(0,0,0) - casting cost: - right: 345 - top : 24 - width: { max(30, card_style.casting_cost.content_width) + 5 } - height: 23 - alignment: middle right - symbol font: - name: magic-mana-large - size: 15 - alignment: middle right - always symbol: true - z index: 2 - padding top: 0 - card symbol: - left: {if card.card_symbol=="none" then 20 else 32} - top : 25 - height: 20 - width: 14 - z index: 1 - render style: image - choice images: - tombstone: tombstone.png - ############################# Image - image: - left: 28 - top: 54 - width: 317 - height: 426 - z index: 1 - mask: image_mask.png - ############################# Card type - type: - left: 36 - top : 307 - width: { 304 - max(22,card_style.rarity.content_width) } - height: 20 - alignment: top shrink-overflow - z index: 2 - padding top: 2 - font: - name: Matrix - size: 14 - color: rgb(0,0,0) - separator color: rgb(128,128,128) - rarity: - right: 342 - top : 308 - width: 42 - height: 21 - z index: 2 - render style: image - alignment: middle right - choice images: - # Images based on the set symbol - basic land: - script: - if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") - else symbol_variation(symbol: set.symbol, variation: "common") - 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 - text: - left: 66 - top : 336 - width: 276 - height: 140 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - paragraph height: 48 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 3 - mask: text_mask.png - padding left: 6 - padding right: 4 - padding bottom: 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 - watermark: - left: 117 - top : 331 - width: 138 - height: 150 - z index: 2 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - ############################# Loyalty - loyalty: - z index: 7 - left: 326 - top: 467 - width: 13.16 - height: 34.63 - alignment: center middle - font: - name: MatrixBoldSmallCaps - size: 16 - weight: bold - color: rgb(255,255,255) - loyalty cost 1: - z index: 7 - left: 32 - top: 342 - width: 13.16 - height: 34.63 - alignment: center middle - font: - name: Mplantin - size: 12 - weight: bold - color: rgb(255,255,255) - loyalty cost 2: - z index: 7 - left: 32 - top: 390 - width: 13.16 - height: 34.63 - alignment: center middle - font: - name: Mplantin - size: 12 - weight: bold - color: rgb(255,255,255) - loyalty cost 3: - z index: 7 - left: 32 - top: 436 - width: 13.16 - height: 34.63 - alignment: center middle - font: - name: Mplantin - size: 12 - weight: bold - color: rgb(255,255,255) - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 63 - bottom : 500 - width: 287 - height: 16 - z index: 6 - alignment: middle center - font: - name: Matrix - size: 10 - weight: bold - color: { paintbrush_color() } - copyright line: - left: 43 - top : 497 - width: 287 - height: 12 - z index: 6 - alignment: middle center - font: - name: MPlantin - size: 7 - color: { paintbrush_color() } -############################################################## Extra card fields -extra card field: - type: choice - name: loyalty box - editable: false - choice: loyalty - save value: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card field: - type: choice - name: loyalty cost box 1 - editable: false - script: loyalty_image(card.loyalty_cost_1) - save value: false -extra card field: - type: choice - name: loyalty cost box 2 - editable: false - script: loyalty_image(card.loyalty_cost_2) - save value: false -extra card field: - type: choice - name: loyalty cost box 3 - editable: false - script: loyalty_image(card.loyalty_cost_3) - save value: false -extra card field: - type: choice - name: paintbrush - script: paintbrush_color(value) - editable: false - save value: false -extra card field: - type: text - name: colon 1 - editable: false - script: ":" - save value: false -extra card field: - type: text - name: colon 2 - editable: false - script: ":" - save value: false -extra card field: - type: text - name: colon 3 - editable: false - script: ":" - save value: false -extra card style: - paintbrush: - right: { 206 + card_style.illustrator.content_width * -0.5 } - top : 486 - width: 30 - height: 12 - z index: 6 - render style: image - choice images: - black: /magic-future-common.mse-include/paintbrush_black.png - white: /magic-future-common.mse-include/paintbrush_white.png - loyalty box: - right: 362 - top: 465 - width: 60 - height: 38 - z index: 6 - render style: image - visible: { card.loyalty !="" } - choice images: - loyalty: loyalty.png - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 4 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} - loyalty cost box 1: - left: 18 - top: 340 - width: 42 - height: 40 - z index: 6 - render style: image - visible: { card.loyalty_cost_1 !="" } - choice images: - loyalty up: loyaltyup.png - loyalty down: loyaltydown.png - loyalty naught: loyaltynaught.png - loyalty cost box 2: - left: 18 - top: 388 - width: 42 - height: 40 - z index: 6 - render style: image - visible: { card.loyalty_cost_2 !="" } - choice images: - loyalty up: loyaltyup.png - loyalty down: loyaltydown.png - loyalty naught: loyaltynaught.png - loyalty cost box 3: - left: 18 - top: 434 - width: 42 - height: 40 - z index: 6 - render style: image - visible: { card.loyalty_cost_3 !="" } - choice images: - loyalty up: loyaltyup.png - loyalty down: loyaltydown.png - loyalty naught: loyaltynaught.png - colon 1: - left: 59 - top: 354 - width: 5 - height: 10 - z index: 6 - font: - name: MPlantin - size: 15 - scale down to: 15 - color: rgb(0,0,0) - alignment: middle center - visible: { card.loyalty_cost_1 !="" } - colon 2: - left: 59 - top: 402 - width: 5 - height: 10 - z index: 6 - font: - name: MPlantin - size: 15 - scale down to: 15 - color: rgb(0,0,0) - alignment: middle center - visible: { card.loyalty_cost_2 !="" } - colon 3: - left: 59 - top: 448 - width: 5 - height: 10 - z index: 6 - font: - name: MPlantin - size: 15 - scale down to: 15 - color: rgb(0,0,0) - alignment: middle center - visible: { card.loyalty_cost_3 !="" } +mse version: 0.3.8 +game: magic +short name: Walkers +full name: Modern Planeswalkers +installer group: magic/new style/planeswalkers +icon: card-sample.png +position hint: 008 + +version: 2009-07-08 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 +depends on: + package: magic-watermarks.mse-include + version: 2007-09-23 +depends on: + package: magic-mana-large.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +#Code by Pichoro +#Images by Artfreakwiu, Buttock1234, and Twanvl +############################################################## Extra scripts +init script: + # Should hybrids have a grey name? + mask_hybrid_with_land := { styling.grey_hybrid_name } + + # Which artifact template should be used? + template := { input + "{type}.jpg" } + land_template := { "c{type}.jpg" } + # Use land templates for previews because they show more contrast + hybrid_previews := "land,hybrid" + + # 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 } + + paintbrush_color := { + if to_int(card.border_color) < 96 then "white" else "black" + } + + # Loyalty cost arrows + loyalty_image := { + if contains(input, match: "+") then "loyalty up" + else if contains(input, match: "-") then "loyalty down" + else "loyalty naught" + } + + card_shape := {"planeswalker"} + +############################################################## 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: grey hybrid name + description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. +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: modern + choice: modern + choice: old + choice: diagonal T +styling field: + type: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +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-large.mse-symbol-font/mana_t.png + old: /magic-mana-large.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.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: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + mask: border_mask.png + z index: 5 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: { if card.card_symbol=="none" then 32 else 51 } + top : 22 + right: { 339 - card_style.casting_cost.content_width } + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 17 + weight: bold + color: rgb(0,0,0) + casting cost: + right: 345 + top : 24 + width: { max(30, card_style.casting_cost.content_width) + 5 } + height: 23 + alignment: middle right + symbol font: + name: magic-mana-large + size: 15 + alignment: middle right + always symbol: true + z index: 2 + padding top: 0 + card symbol: + left: {if card.card_symbol=="none" then 20 else 32} + top : 25 + height: 20 + width: 14 + z index: 1 + render style: image + choice images: + tombstone: tombstone.png + ############################# Image + image: + left: 28 + top: 54 + width: 317 + height: 426 + z index: 1 + mask: image_mask.png + ############################# Card type + type: + left: 36 + top : 307 + width: { 304 - max(22,card_style.rarity.content_width) } + height: 20 + alignment: top shrink-overflow + z index: 2 + padding top: 2 + font: + name: Matrix + size: 14 + color: rgb(0,0,0) + separator color: rgb(128,128,128) + rarity: + right: 342 + top : 308 + width: 42 + height: 21 + z index: 2 + render style: image + alignment: middle right + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + 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 + text: + left: 66 + top : 336 + width: 276 + height: 140 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + paragraph height: 48 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 3 + mask: text_mask.png + padding left: 6 + padding right: 4 + padding bottom: 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 + watermark: + left: 117 + top : 331 + width: 138 + height: 150 + z index: 2 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + ############################# Loyalty + loyalty: + z index: 7 + left: 326 + top: 467 + width: 13.16 + height: 34.63 + alignment: center middle + font: + name: MatrixBoldSmallCaps + size: 16 + weight: bold + color: rgb(255,255,255) + loyalty cost 1: + z index: 7 + left: 32 + top: 342 + width: 13.16 + height: 34.63 + alignment: center middle + font: + name: Mplantin + size: 12 + weight: bold + color: rgb(255,255,255) + loyalty cost 2: + z index: 7 + left: 32 + top: 390 + width: 13.16 + height: 34.63 + alignment: center middle + font: + name: Mplantin + size: 12 + weight: bold + color: rgb(255,255,255) + loyalty cost 3: + z index: 7 + left: 32 + top: 436 + width: 13.16 + height: 34.63 + alignment: center middle + font: + name: Mplantin + size: 12 + weight: bold + color: rgb(255,255,255) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 63 + bottom : 500 + width: 287 + height: 16 + z index: 6 + alignment: middle center + font: + name: Matrix + size: 10 + weight: bold + color: { paintbrush_color() } + copyright line: + left: 43 + top : 497 + width: 287 + height: 12 + z index: 6 + alignment: middle center + font: + name: MPlantin + size: 7 + color: { paintbrush_color() } +############################################################## Extra card fields +extra card field: + type: choice + name: loyalty box + editable: false + choice: loyalty + save value: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card field: + type: choice + name: loyalty cost box 1 + editable: false + script: loyalty_image(card.loyalty_cost_1) + save value: false +extra card field: + type: choice + name: loyalty cost box 2 + editable: false + script: loyalty_image(card.loyalty_cost_2) + save value: false +extra card field: + type: choice + name: loyalty cost box 3 + editable: false + script: loyalty_image(card.loyalty_cost_3) + save value: false +extra card field: + type: choice + name: paintbrush + script: paintbrush_color(value) + editable: false + save value: false +extra card field: + type: text + name: colon 1 + editable: false + script: ":" + save value: false +extra card field: + type: text + name: colon 2 + editable: false + script: ":" + save value: false +extra card field: + type: text + name: colon 3 + editable: false + script: ":" + save value: false +extra card style: + paintbrush: + right: { 206 + card_style.illustrator.content_width * -0.5 } + top : 486 + width: 30 + height: 12 + z index: 6 + render style: image + choice images: + black: /magic-future-common.mse-include/paintbrush_black.png + white: /magic-future-common.mse-include/paintbrush_white.png + loyalty box: + right: 362 + top: 465 + width: 60 + height: 38 + z index: 6 + render style: image + visible: { card.loyalty !="" } + choice images: + loyalty: loyalty.png + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 4 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} + loyalty cost box 1: + left: 18 + top: 340 + width: 42 + height: 40 + z index: 6 + render style: image + visible: { card.loyalty_cost_1 !="" } + choice images: + loyalty up: loyaltyup.png + loyalty down: loyaltydown.png + loyalty naught: loyaltynaught.png + loyalty cost box 2: + left: 18 + top: 388 + width: 42 + height: 40 + z index: 6 + render style: image + visible: { card.loyalty_cost_2 !="" } + choice images: + loyalty up: loyaltyup.png + loyalty down: loyaltydown.png + loyalty naught: loyaltynaught.png + loyalty cost box 3: + left: 18 + top: 434 + width: 42 + height: 40 + z index: 6 + render style: image + visible: { card.loyalty_cost_3 !="" } + choice images: + loyalty up: loyaltyup.png + loyalty down: loyaltydown.png + loyalty naught: loyaltynaught.png + colon 1: + left: 59 + top: 354 + width: 5 + height: 10 + z index: 6 + font: + name: MPlantin + size: 15 + scale down to: 15 + color: rgb(0,0,0) + alignment: middle center + visible: { card.loyalty_cost_1 !="" } + colon 2: + left: 59 + top: 402 + width: 5 + height: 10 + z index: 6 + font: + name: MPlantin + size: 15 + scale down to: 15 + color: rgb(0,0,0) + alignment: middle center + visible: { card.loyalty_cost_2 !="" } + colon 3: + left: 59 + top: 448 + width: 5 + height: 10 + z index: 6 + font: + name: MPlantin + size: 15 + scale down to: 15 + color: rgb(0,0,0) + alignment: middle center + visible: { card.loyalty_cost_3 !="" } diff --git a/data/magic-new-promo.mse-style/style b/data/magic-new-promo.mse-style/style index 512d442c..1669f0cf 100644 --- a/data/magic-new-promo.mse-style/style +++ b/data/magic-new-promo.mse-style/style @@ -1,332 +1,332 @@ -mse version: 0.3.8 -game: magic -short name: Promotional -full name: Large image -installer group: magic/new style/promotional -icon: card-sample.png -position hint: 004 - -version: 2009-07-07 -depends on: - package: magic.mse-game - version: 2007-12-29 -depends on: - package: magic-default-image.mse-include - version: 2007-09-23 -depends on: - package: magic-watermarks.mse-include - version: 2007-09-23 -depends on: - package: magic-mana-large.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -############################################################## Extra scripts -init script: - # Load scripts for image box - include file: /magic-default-image.mse-include/scripts - - # Should hybrids have a grey name? - mask_hybrid_with_land := { styling.grey_hybrid_name } - - #Should multicolor lands with basic land types have a colored name? - mask_multi_land_with_color := { styling.colored_multicolor_land_name } - - # Which artifact template should be used? Which multicolor template should be used? - alternate_template := { - if input == "a" then ( - if not styling.darker_artifacts then "oa" - else "a" - ) else if input == "m" then ( - if styling.saturated_multicolor then "m" - else "om" - ) else input - } - template := { alternate_template() + "{type}.jpg" } - - # 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 } - -############################################################## Extra style options -styling field: - type: boolean - name: darker artifacts - description: Use darker artifacts, as used by Wizards since Fifth Dawn. -styling field: - type: boolean - name: saturated multicolor - description: Should multicolor cards be more saturated? This is done on real cards. - initial: yes -styling field: - type: boolean - name: grey hybrid name - description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. -styling field: - type: boolean - name: colored multicolor land name - description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. -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: modern - choice: modern - choice: old - choice: diagonal T -styling field: - type: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling style: - darker artifacts: - choice images: - yes: acard.jpg - no: oacard.jpg - saturated multicolor: - choice images: - yes: mcard.jpg - no: omcard.jpg - 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-large.mse-symbol-font/mana_t.png - old: /magic-mana-large.mse-symbol-font/mana_t_old.png - diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.png -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - z index: 5 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: { if card.card_symbol=="none" then 32 else 51 } - top : 30 - right: { 341 - card_style.casting_cost.content_width } - height: 23 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: Matrix - size: 17 - weight: bold - color: rgb(0,0,0) - casting cost: - right: 343 - top : 31 - width: { max(30, card_style.casting_cost.content_width) + 5 } - height: 23 - alignment: middle right - symbol font: - name: magic-mana-large - size: 15 - alignment: middle right - always symbol: true - z index: 2 - padding top: 0 - card symbol: - left: { if card.card_symbol=="none" then 20 else 32 } - top : 31 - height: 20 - width: 14 - z index: 1 - render style: image - choice images: - tombstone: tombstone.png - ############################# Image - image: - left: 32 - top: 62 - width: 311 - height: 408 - z index: 1 - default: {default_image(card.card_color)} - ############################# Card type - type: - left: 33 - top : 309 - width: 306 - height: 18 - alignment: top shrink-overflow - z index: 2 - font: - name: Matrix - size: 16 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - separator color: rgb(128,128,128) - ############################# Text box - text: - left: 31 - top : 330 - width: 311 - height: 138 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 8 - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - color: rgb(255,255,255) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center shrink-overflow" - else "middle left shrink-overflow" - z index: 3 - padding left: 4 - padding top: 2 - padding right: 4 - padding bottom: 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 - watermark: - left: 117 - top : 321 - width: 138 - height: 156 - z index: 2 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - ############################# PT - pt: - z index: 3 - left: 284 - top: 466 - width: 60 - height: 28 - alignment: center middle shrink-overflow - font: - name: ModMatrix - size: 17 - weight: bold - color: rgb(0,0,0) - separator color: rgb(200,0,0) - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 56 - top : 477 - width: 217 - height: 16 - z index: 1 - font: - name: Matrix - size: 10 - color: { font_color(card.card_color) } - copyright line: - left: 26 - top : 493 - width: 247 - height: 12 - z index: 1 - font: - name: MPlantin - size: 6.5 - color: { font_color(card.card_color) } -############################################################## Extra card fields -extra card field: - type: choice - name: pt box - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card style: - pt box: - left: 271 - top: 461 - width: 81 - height: 42 - z index: 2 - visible: { card.pt != "" } - render style: image - mask: mask_pt.png - image: { card_ptbox() } - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 4 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +short name: Promotional +full name: Large image +installer group: magic/new style/promotional +icon: card-sample.png +position hint: 004 + +version: 2009-07-07 +depends on: + package: magic.mse-game + version: 2007-12-29 +depends on: + package: magic-default-image.mse-include + version: 2007-09-23 +depends on: + package: magic-watermarks.mse-include + version: 2007-09-23 +depends on: + package: magic-mana-large.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +############################################################## Extra scripts +init script: + # Load scripts for image box + include file: /magic-default-image.mse-include/scripts + + # Should hybrids have a grey name? + mask_hybrid_with_land := { styling.grey_hybrid_name } + + #Should multicolor lands with basic land types have a colored name? + mask_multi_land_with_color := { styling.colored_multicolor_land_name } + + # Which artifact template should be used? Which multicolor template should be used? + alternate_template := { + if input == "a" then ( + if not styling.darker_artifacts then "oa" + else "a" + ) else if input == "m" then ( + if styling.saturated_multicolor then "m" + else "om" + ) else input + } + template := { alternate_template() + "{type}.jpg" } + + # 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 } + +############################################################## Extra style options +styling field: + type: boolean + name: darker artifacts + description: Use darker artifacts, as used by Wizards since Fifth Dawn. +styling field: + type: boolean + name: saturated multicolor + description: Should multicolor cards be more saturated? This is done on real cards. + initial: yes +styling field: + type: boolean + name: grey hybrid name + description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. +styling field: + type: boolean + name: colored multicolor land name + description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. +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: modern + choice: modern + choice: old + choice: diagonal T +styling field: + type: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling style: + darker artifacts: + choice images: + yes: acard.jpg + no: oacard.jpg + saturated multicolor: + choice images: + yes: mcard.jpg + no: omcard.jpg + 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-large.mse-symbol-font/mana_t.png + old: /magic-mana-large.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.png +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: 5 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: { if card.card_symbol=="none" then 32 else 51 } + top : 30 + right: { 341 - card_style.casting_cost.content_width } + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 17 + weight: bold + color: rgb(0,0,0) + casting cost: + right: 343 + top : 31 + width: { max(30, card_style.casting_cost.content_width) + 5 } + height: 23 + alignment: middle right + symbol font: + name: magic-mana-large + size: 15 + alignment: middle right + always symbol: true + z index: 2 + padding top: 0 + card symbol: + left: { if card.card_symbol=="none" then 20 else 32 } + top : 31 + height: 20 + width: 14 + z index: 1 + render style: image + choice images: + tombstone: tombstone.png + ############################# Image + image: + left: 32 + top: 62 + width: 311 + height: 408 + z index: 1 + default: {default_image(card.card_color)} + ############################# Card type + type: + left: 33 + top : 309 + width: 306 + height: 18 + alignment: top shrink-overflow + z index: 2 + font: + name: Matrix + size: 16 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + separator color: rgb(128,128,128) + ############################# Text box + text: + left: 31 + top : 330 + width: 311 + height: 138 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 8 + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + color: rgb(255,255,255) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center shrink-overflow" + else "middle left shrink-overflow" + z index: 3 + padding left: 4 + padding top: 2 + padding right: 4 + padding bottom: 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 + watermark: + left: 117 + top : 321 + width: 138 + height: 156 + z index: 2 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + ############################# PT + pt: + z index: 3 + left: 284 + top: 466 + width: 60 + height: 28 + alignment: center middle shrink-overflow + font: + name: ModMatrix + size: 17 + weight: bold + color: rgb(0,0,0) + separator color: rgb(200,0,0) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 56 + top : 477 + width: 217 + height: 16 + z index: 1 + font: + name: Matrix + size: 10 + color: { font_color(card.card_color) } + copyright line: + left: 26 + top : 493 + width: 247 + height: 12 + z index: 1 + font: + name: MPlantin + size: 6.5 + color: { font_color(card.card_color) } +############################################################## Extra card fields +extra card field: + type: choice + name: pt box + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card style: + pt box: + left: 271 + top: 461 + width: 81 + height: 42 + z index: 2 + visible: { card.pt != "" } + render style: image + mask: mask_pt.png + image: { card_ptbox() } + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 4 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-new-split.mse-style/style b/data/magic-new-split.mse-style/style index d3c5f6dd..ac539a3d 100644 --- a/data/magic-new-split.mse-style/style +++ b/data/magic-new-split.mse-style/style @@ -1,517 +1,517 @@ -mse version: 0.3.8 -game: magic -short name: Split Cards -full name: Modern split cards -installer group: magic/new style/split cards -icon: card-sample.png -position hint: 003 - -version: 2009-07-06 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-default-image.mse-include - version: 2007-09-23 -depends on: - package: magic-watermarks.mse-include - version: 2007-09-23 -depends on: - package: magic-mana-large.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 523 -card height: 375 -card dpi: 150 -# Author: Wolfwood -# Updated by Pichoro -############################################################## Extra scripts -init script: - # Load scripts for image box - include file: /magic-default-image.mse-include/scripts - - # Should hybrids have a grey name? - mask_hybrid_with_land := { styling.grey_hybrid_name } - - #Should multicolor lands with basic land types have a colored name? - mask_multi_land_with_color := { styling.colored_multicolor_land_name } - - # Which artifact template should be used? Which multicolor template should be used? - alternate_template := { - if input == "a" then ( - if not styling.darker_artifacts then "oa" - else "a" - ) else if input == "m" then ( - if styling.saturated_multicolor then "m" - else "om" - ) else input - } - template := { alternate_template() + "{type}.jpg" } - - # 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 } - - card_shape := { "split" } - -############################################################## 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: darker artifacts - description: Use darker artifacts, as used by Wizards since Fifth Dawn. -styling field: - type: boolean - name: saturated multicolor - description: Should multicolor cards be more saturated? This is done on real cards. - initial: yes -styling field: - type: boolean - name: grey hybrid name - description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. -styling field: - type: boolean - name: colored multicolor land name - description: Use a colored background for the name and type on multicolor land cards with colors chosen. This is done on real cards. -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: modern - choice: modern - choice: old - choice: diagonal T -styling field: - type: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: boolean - name: inverted common symbol - description: Should the common rarity symbol be inverted, like in Coldsnap? - initial: no -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling style: - darker artifacts: - choice images: - yes: acard.jpg - no: oacard.jpg - saturated multicolor: - choice images: - yes: mcard.jpg - no: omcard.jpg - 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-large.mse-symbol-font/mana_t.png - old: /magic-mana-large.mse-symbol-font/mana_t_old.png - diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.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: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 523 - height: 375 - radius: 18 - z index: -1 - card color: - left: 18 - top: 18 - width: 236 - height: 338 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - card color 2: - left: 269 - top: 18 - width: 236 - height: 338 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - - ############################# Name line - name: - left: { if card.card_symbol=="none" then 30 else 51 } - top : 27 - right: { 242 - card_style.casting_cost.content_width } - height: 17 - alignment: top shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: Matrix - size: 13 - weight: bold - color: rgb(0,0,0) - name 2: - left: { if card.card_symbol_2=="none" then 282 else 51 } - top : 27 - right: { 493 - card_style.casting_cost_2.content_width } - height: 17 - alignment: top shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: Matrix - size: 13 - weight: bold - color: rgb(0,0,0) - casting cost: - right: 243 - top : 27 - width: { max(19, card_style.casting_cost.content_width) + 3 } - height: 16 - alignment: bottom right - symbol font: - name: magic-mana-large - size: 12 - alignment: middle right - always symbol: true - z index: 2 - padding top: 0 - casting cost 2: - right: 494 - top : 27 - width: { max(19, card_style.casting_cost_2.content_width) + 3 } - height: 16 - alignment: bottom right - symbol font: - name: magic-mana-large - size: 12 - alignment: middle right - always symbol: true - z index: 2 - padding top: 0 - - ############################# Image - image: - left: 28 - top: 49 - width: 216 - height: 159 - z index: 1 - default: {default_image(card.card_color)} - image 2: - left: 279 - top: 49 - width: 216 - height: 159 - z index: 1 - default: {default_image(card.card_color_2)} - ############################# Card type - type: - left: 30 - top : 211 - width: { 210 - max(13,card_style.rarity.content_width) } - height: 17 - alignment: top shrink-overflow - z index: 1 - font: - name: Matrix - size: 12 - color: rgb(0,0,0) - separator color: rgb(128,128,128) - type 2: - left: 282 - top : 211 - width: { 210 - max(13,card_style.rarity.content_width) } - height: 17 - alignment: top shrink-overflow - z index: 1 - font: - name: Matrix - size: 12 - color: rgb(0,0,0) - separator color: rgb(128,128,128) - rarity: - right: 241 - top : 213 - width: 26 - height: 13 - z index: 2 - alignment: middle right - render style: image - choice images: - # Images based on the set symbol - basic land: - script: - if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") - else symbol_variation(symbol: set.symbol, variation: "common") - 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") - rarity 2: - right: 493 - top : 213 - width: 26 - height: 13 - z index: 2 - alignment: middle right - render style: image - choice images: - # Images based on the set symbol - basic land: - script: - if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") - else symbol_variation(symbol: set.symbol, variation: "common") - 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 - text: - left: 29 - top : 233 - width: 214 - height: 99 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 2 - padding right: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - text 2: - left: 279 - top : 233 - width: 214 - height: 99 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 2 - padding right: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - watermark: - left: 87 - top : 228 - width: 92 - height: 108 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - watermark 2: - left: 338 - top : 228 - width: 92 - height: 108 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - ############################# PT - pt: - z index: 2 - left: 200 - top: 327 - width: 48 - height: 25 - alignment: center middle shrink-overflow - font: - name: ModMatrix - size: 14 - weight: bold - color: rgb(0,0,0) - separator color: rgb(200,0,0) - pt 2: - z index: 2 - left: 451 - top: 327 - width: 48 - height: 25 - alignment: center middle shrink-overflow - font: - name: ModMatrix - size: 14 - weight: bold - color: rgb(0,0,0) - separator color: rgb(200,0,0) - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 46 - top : 338 - width: 155 - height: 16 - z index: 1 - font: - name: Matrix - size: 8 - color: { font_color(card.card_color) } - illustrator 2: - left: 298 - top : 338 - width: 155 - height: 16 - z index: 1 - font: - name: Matrix - size: 8 - color: { font_color(card.card_color_2) } - copyright line: - left: 26 - top : 348 - width: 175 - height: 12 - z index: 1 - font: - name: MPlantin - size: 6 - color: { font_color(card.card_color) } - copyright line 2: - left: 278 - top : 348 - width: 175 - height: 12 - z index: 1 - font: - name: MPlantin - size: 6 - color: { font_color(card.card_color_2) } -############################################################## Extra card fields -extra card field: - type: choice - name: pt box - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: pt box 2 - script: card.card_color_2 - editable: false - save value: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card style: - pt box: - left: 194 - top: 326 - width: 56 - height: 29 - z index: 1 - visible: { card.pt != "" } - render style: image - image: { card_ptbox() } - pt box 2: - left: 445 - top: 326 - width: 56 - height: 29 - z index: 1 - visible: { card.pt_2 != "" } - render style: image - image: { card_ptbox() } - foil layer: - right: 523 - bottom: 0 - width: 375 - height: 523 - z index: 3 - angle: 90 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +short name: Split Cards +full name: Modern split cards +installer group: magic/new style/split cards +icon: card-sample.png +position hint: 003 + +version: 2009-07-06 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-default-image.mse-include + version: 2007-09-23 +depends on: + package: magic-watermarks.mse-include + version: 2007-09-23 +depends on: + package: magic-mana-large.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 523 +card height: 375 +card dpi: 150 +# Author: Wolfwood +# Updated by Pichoro +############################################################## Extra scripts +init script: + # Load scripts for image box + include file: /magic-default-image.mse-include/scripts + + # Should hybrids have a grey name? + mask_hybrid_with_land := { styling.grey_hybrid_name } + + #Should multicolor lands with basic land types have a colored name? + mask_multi_land_with_color := { styling.colored_multicolor_land_name } + + # Which artifact template should be used? Which multicolor template should be used? + alternate_template := { + if input == "a" then ( + if not styling.darker_artifacts then "oa" + else "a" + ) else if input == "m" then ( + if styling.saturated_multicolor then "m" + else "om" + ) else input + } + template := { alternate_template() + "{type}.jpg" } + + # 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 } + + card_shape := { "split" } + +############################################################## 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: darker artifacts + description: Use darker artifacts, as used by Wizards since Fifth Dawn. +styling field: + type: boolean + name: saturated multicolor + description: Should multicolor cards be more saturated? This is done on real cards. + initial: yes +styling field: + type: boolean + name: grey hybrid name + description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. +styling field: + type: boolean + name: colored multicolor land name + description: Use a colored background for the name and type on multicolor land cards with colors chosen. This is done on real cards. +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: modern + choice: modern + choice: old + choice: diagonal T +styling field: + type: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling style: + darker artifacts: + choice images: + yes: acard.jpg + no: oacard.jpg + saturated multicolor: + choice images: + yes: mcard.jpg + no: omcard.jpg + 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-large.mse-symbol-font/mana_t.png + old: /magic-mana-large.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.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: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 523 + height: 375 + radius: 18 + z index: -1 + card color: + left: 18 + top: 18 + width: 236 + height: 338 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + card color 2: + left: 269 + top: 18 + width: 236 + height: 338 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + + ############################# Name line + name: + left: { if card.card_symbol=="none" then 30 else 51 } + top : 27 + right: { 242 - card_style.casting_cost.content_width } + height: 17 + alignment: top shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 13 + weight: bold + color: rgb(0,0,0) + name 2: + left: { if card.card_symbol_2=="none" then 282 else 51 } + top : 27 + right: { 493 - card_style.casting_cost_2.content_width } + height: 17 + alignment: top shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 13 + weight: bold + color: rgb(0,0,0) + casting cost: + right: 243 + top : 27 + width: { max(19, card_style.casting_cost.content_width) + 3 } + height: 16 + alignment: bottom right + symbol font: + name: magic-mana-large + size: 12 + alignment: middle right + always symbol: true + z index: 2 + padding top: 0 + casting cost 2: + right: 494 + top : 27 + width: { max(19, card_style.casting_cost_2.content_width) + 3 } + height: 16 + alignment: bottom right + symbol font: + name: magic-mana-large + size: 12 + alignment: middle right + always symbol: true + z index: 2 + padding top: 0 + + ############################# Image + image: + left: 28 + top: 49 + width: 216 + height: 159 + z index: 1 + default: {default_image(card.card_color)} + image 2: + left: 279 + top: 49 + width: 216 + height: 159 + z index: 1 + default: {default_image(card.card_color_2)} + ############################# Card type + type: + left: 30 + top : 211 + width: { 210 - max(13,card_style.rarity.content_width) } + height: 17 + alignment: top shrink-overflow + z index: 1 + font: + name: Matrix + size: 12 + color: rgb(0,0,0) + separator color: rgb(128,128,128) + type 2: + left: 282 + top : 211 + width: { 210 - max(13,card_style.rarity.content_width) } + height: 17 + alignment: top shrink-overflow + z index: 1 + font: + name: Matrix + size: 12 + color: rgb(0,0,0) + separator color: rgb(128,128,128) + rarity: + right: 241 + top : 213 + width: 26 + height: 13 + z index: 2 + alignment: middle right + render style: image + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + 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") + rarity 2: + right: 493 + top : 213 + width: 26 + height: 13 + z index: 2 + alignment: middle right + render style: image + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + 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 + text: + left: 29 + top : 233 + width: 214 + height: 99 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 2 + padding right: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + text 2: + left: 279 + top : 233 + width: 214 + height: 99 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 2 + padding right: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + watermark: + left: 87 + top : 228 + width: 92 + height: 108 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + watermark 2: + left: 338 + top : 228 + width: 92 + height: 108 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + ############################# PT + pt: + z index: 2 + left: 200 + top: 327 + width: 48 + height: 25 + alignment: center middle shrink-overflow + font: + name: ModMatrix + size: 14 + weight: bold + color: rgb(0,0,0) + separator color: rgb(200,0,0) + pt 2: + z index: 2 + left: 451 + top: 327 + width: 48 + height: 25 + alignment: center middle shrink-overflow + font: + name: ModMatrix + size: 14 + weight: bold + color: rgb(0,0,0) + separator color: rgb(200,0,0) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 46 + top : 338 + width: 155 + height: 16 + z index: 1 + font: + name: Matrix + size: 8 + color: { font_color(card.card_color) } + illustrator 2: + left: 298 + top : 338 + width: 155 + height: 16 + z index: 1 + font: + name: Matrix + size: 8 + color: { font_color(card.card_color_2) } + copyright line: + left: 26 + top : 348 + width: 175 + height: 12 + z index: 1 + font: + name: MPlantin + size: 6 + color: { font_color(card.card_color) } + copyright line 2: + left: 278 + top : 348 + width: 175 + height: 12 + z index: 1 + font: + name: MPlantin + size: 6 + color: { font_color(card.card_color_2) } +############################################################## Extra card fields +extra card field: + type: choice + name: pt box + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: pt box 2 + script: card.card_color_2 + editable: false + save value: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card style: + pt box: + left: 194 + top: 326 + width: 56 + height: 29 + z index: 1 + visible: { card.pt != "" } + render style: image + image: { card_ptbox() } + pt box 2: + left: 445 + top: 326 + width: 56 + height: 29 + z index: 1 + visible: { card.pt_2 != "" } + render style: image + image: { card_ptbox() } + foil layer: + right: 523 + bottom: 0 + width: 375 + height: 523 + z index: 3 + angle: 90 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-new-textless-land.mse-style/style b/data/magic-new-textless-land.mse-style/style index 86d7d938..c1954b21 100644 --- a/data/magic-new-textless-land.mse-style/style +++ b/data/magic-new-textless-land.mse-style/style @@ -1,217 +1,217 @@ -mse version: 0.3.8 -game: magic -short name: Textless Land -full name: Textless Land -installer group: magic/new style/textless/land -icon: card-sample.png -position hint: 005 - -version: 2009-08-10 -depends on: - package: magic.mse-game - version: 2009-08-10 -depends on: - package: magic-watermarks.mse-include - version: 2007-09-23 -depends on: - package: magic-future-common.mse-include - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -#By Pichoro -#Images by Art_Freak -############################################################## Extra scripts -init script: - #Should multicolor lands with basic land types have a colored name? - mask_multi_land_with_color := { styling.colored_multicolor_land_name } - - template := { ( if input == "a" then "c" else input ) + "l{type}.jpg" } - -############################################################## 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: colored multicolor land name - description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. -styling field: - type: boolean - name: inverted common symbol - description: Should the common rarity symbol be inverted, like in Coldsnap? - initial: no -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling style: - 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: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - z index: 4 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: { if card.card_symbol=="none" then 32 else 51 } - top : 30 - right: { 341 - card_style.casting_cost.content_width } - height: 23 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: Matrix - size: 17 - weight: bold - color: black - ############################# Image - image: - #left: 30 - #top: 61 - #width: 315 - #height: 372 - left: 30 - top: 60 - width: 316 - height: 373 - z index: 1 - mask: image_mask.png - ############################# Card type - super type: - left: 36 - top : 441 - width: 117 - height: 18 - alignment: top shrink-overflow - z index: 1 - font: - name: Matrix - size: 16 - color: black - watermark: - left: 162 - top : 421 - width: 54 - height: 54 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - sub type: - left: 222 - top : 441 - width: { 117 - max(22,card_style.rarity.content_width) } - height: 18 - alignment: top center shrink-overflow - z index: 1 - font: - name: Matrix - size: 16 - color: black - rarity: - right: 342 - top : 440 - width: 44 - height: 22 - z index: 2 - render style: image - alignment: middle right - choice images: - # Images based on the set symbol - basic land: - script: - if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") - else symbol_variation(symbol: set.symbol, variation: "common") - 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") - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 59 - top : 483 - width: 217 - height: 16 - z index: 1 - font: - name: Matrix - size: 10 - color: white - copyright line: - left: 29 - top : 495 - width: 247 - height: 12 - z index: 1 - font: - name: MPlantin - size: 6.5 - color: white -############################################################## Extra card fields -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card field: - type: choice - name: paintbrush - choice: white - editable: false - save value: false -extra card style: - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 3 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} - paintbrush: - left: 26 - top : 485 - width: 30 - height: 11 - z index: 1 - render style: image - choice images: - white: /magic-future-common.mse-include/paintbrush_white.png +mse version: 0.3.8 +game: magic +short name: Textless Land +full name: Textless Land +installer group: magic/new style/textless/land +icon: card-sample.png +position hint: 005 + +version: 2009-08-10 +depends on: + package: magic.mse-game + version: 2009-08-10 +depends on: + package: magic-watermarks.mse-include + version: 2007-09-23 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +#By Pichoro +#Images by Art_Freak +############################################################## Extra scripts +init script: + #Should multicolor lands with basic land types have a colored name? + mask_multi_land_with_color := { styling.colored_multicolor_land_name } + + template := { ( if input == "a" then "c" else input ) + "l{type}.jpg" } + +############################################################## 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: colored multicolor land name + description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling style: + 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: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: 4 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: { if card.card_symbol=="none" then 32 else 51 } + top : 30 + right: { 341 - card_style.casting_cost.content_width } + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 17 + weight: bold + color: black + ############################# Image + image: + #left: 30 + #top: 61 + #width: 315 + #height: 372 + left: 30 + top: 60 + width: 316 + height: 373 + z index: 1 + mask: image_mask.png + ############################# Card type + super type: + left: 36 + top : 441 + width: 117 + height: 18 + alignment: top shrink-overflow + z index: 1 + font: + name: Matrix + size: 16 + color: black + watermark: + left: 162 + top : 421 + width: 54 + height: 54 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + sub type: + left: 222 + top : 441 + width: { 117 - max(22,card_style.rarity.content_width) } + height: 18 + alignment: top center shrink-overflow + z index: 1 + font: + name: Matrix + size: 16 + color: black + rarity: + right: 342 + top : 440 + width: 44 + height: 22 + z index: 2 + render style: image + alignment: middle right + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + 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") + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 59 + top : 483 + width: 217 + height: 16 + z index: 1 + font: + name: Matrix + size: 10 + color: white + copyright line: + left: 29 + top : 495 + width: 247 + height: 12 + z index: 1 + font: + name: MPlantin + size: 6.5 + color: white +############################################################## Extra card fields +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card field: + type: choice + name: paintbrush + choice: white + editable: false + save value: false +extra card style: + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 3 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} + paintbrush: + left: 26 + top : 485 + width: 30 + height: 11 + z index: 1 + render style: image + choice images: + white: /magic-future-common.mse-include/paintbrush_white.png diff --git a/data/magic-new-token.mse-style/style b/data/magic-new-token.mse-style/style index d1dac970..3301b666 100644 --- a/data/magic-new-token.mse-style/style +++ b/data/magic-new-token.mse-style/style @@ -1,427 +1,427 @@ -mse version: 0.3.8 -game: magic -short name: Tokens -full name: Modern style -installer group: magic/new style/tokens -icon: card-sample.png -position hint: 007 - -version: 2009-07-20 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-future-common.mse-include - version: 2007-09-23 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-embossedletters.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -# By Pichoro -############################################################## Extra scripts -init script: - # Should hybrids have a grey name? - mask_hybrid_with_land := { styling.grey_hybrid_typeline } - - # What should the textbox look like? - text_shape := { - if card.rule_text == "" - and card.flavor_text == "" then "0" # no textbox - else if styling.one_textline_tokens - and card_style.text.content_lines == 2 - and card.flavor_text == "" then "1" # small textbox - else "2" # large textbox - } - - land_template := { "c{type}.jpg" } - colored_lands := false - - # 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 } - - # We have no land template - font_colors_white := { input == "b" } - - # AE replacement shouldn't happen in the title, or else MSE compresses the symbol - name_filter := { input } - - paintbrush_color := { if font_white() then "white" else "black" } - - card_shape := { "token" } - -############################################################## 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 -styling field: - type: boolean - name: grey hybrid typeline - description: Use a grey background for the type line on hybrid cards. This is done on real cards. -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: modern - choice: modern - choice: old - choice: diagonal T -styling field: - type: boolean - name: one textline tokens - description: Should token frames with a single line for text be enabled? - initial: no -styling field: - type: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: short text only -styling field: - type: boolean - name: inverted common symbol - description: Should the common rarity symbol be inverted, like in Coldsnap? - initial: no -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -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 - one textline tokens: - render style: both - choice images: - yes: rcard1.jpg - no: rcard2.jpg - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.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: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - z index: 4 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { color_background(type:"card" + text_shape(), base_hybrid:card_hybrid) } - ###################C######### Name line - name: - left: - { if card_style.name.content_width > 269 then 50 - else card_style.name.content_width * -0.5 + 184.5 } - top: 23 - width: - { if card_style.name.content_width > 269 then 275 - else card_style.name.content_width + 6 } - height: 28 - alignment: bottom center justify-all - padding bottom: -2 - padding top: 2 - z index: 2 - symbol font: - name: magic-embossedletters - size: 22 - alignment: bottom center - always symbol: true - ############################# Image - image: - left: 30 - top: { if text_shape() == 2 or text_shape() == 1 then 58 else 59 } - width: 315 - height: - { if text_shape() == "0" then 366 - else if text_shape() == "1" then 349 - else 288 } - mask: { "imagemask{text_shape()}.png" } - z index: 1 - ################H############ Card type - type: - left: 35 - top: - {if text_shape() == "0" then 432 - else if text_shape() == "1" then 414 - else 353} - width: { 308 - max(22,card_style.rarity.content_width) } - height: 20 - alignment: top shrink-overflow - z index: 1 - padding top: 2 - padding bottom: 4 - padding right: 2 - font: - name: Matrix - size: 15 - color: rgb(0,0,0) - separator color: rgb(128,128,128) - rarity: - right: 342 - top: - { if text_shape() == "0" then 432 - else if text_shape() == "1" then 414 - else 353 } - width: 44 - height: 22 - z index: 2 - alignment: middle right - render style: image - choice images: - # Images based on the set symbol - basic land: - script: - if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") - else symbol_variation(symbol: set.symbol, variation: "common") - 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 - text: - left: 31 - top: - { if text_shape() == "0" then 300 - else if text_shape() == "1" then 443 - else 388} - width: 311 - height: - { if text_shape() == "1" then 27 - else 80 } - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 10 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - card_style.text.content_lines <= 2 and - not contains(match:",", card.rule_text) and - not contains(match: ".", card.rule_text) and - not contains(match: ";", card.rule_text) and - not contains(match: ":", card.rule_text) and - not contains(match: "!", card.rule_text) and - not contains(match: "?", card.rule_text) and - card.flavor_text == "") or - styling.center_text == "always" - then "middle center shrink-overflow" - else "middle left shrink-overflow" - z index: 1 - padding left: 6 - padding top: 2 - padding right: 4 - padding bottom: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - ############################# PT - pt: - z index: 2 - left: - { if text_shape() == "2" then 288 - else 284 } - top: - { if text_shape() == "2" then 471 - else 466 } - width: 60 - height: 28 - alignment: center middle shrink-overflow - font: - name: ModMatrix - size: 17 - weight: bold - color: rgb(0,0,0) - separator color: rgb(200,0,0) - ############################# Copyright stuff - illustrator: - left: 58 - top : 479 - width: 215 - height: 16 - z index: 1 - font: - name: Matrix - size: 11 - weight: bold - color: { font_color(card.card_color) } - copyright line: - left: 30 - top : 493 - width: 247 - height: 12 - z index: 1 - font: - name: MPlantin - size: 6.5 - color: { font_color(card.card_color) } -############################################################## Extra card fields -extra card field: - type: choice - name: pt box - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card field: - type: choice - name: name box - choice: black - editable: false - save value: false -extra card field: - type: choice - name: name box left - choice: black - editable: false - save value: false -extra card field: - type: choice - name: name box right - choice: black - editable: false - save value: false -extra card field: - type: choice - name: paintbrush - script: paintbrush_color(card.card_color) - editable: false - save value: false -extra card style: - pt box: - left: - { if text_shape() == "2" then 275 - else 271 } - top: - { if text_shape() == "2" then 463 - else 461 } - width: 81 - height: 42 - z index: 1 - visible: { card.pt != "" } - render style: image - image: { color_background(type:"pt" + text_shape(), base_hybrid:pt_hybrid) } - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 3 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} - name box: - left: - { if card_style.name.content_width > 275 then 50 - else card_style.name.content_width * -0.5 + 185.5 } - top: 26 - width: - { if card_style.name.content_width > 275 then 275 - else card_style.name.content_width + 3} - height: 35 - z index: 1 - visible: { card.name != "" } - render style: image - image: name-mid.png - name box left: - right: - { if card_style.name.content_width > 275 then 50 - else card_style.name.content_width * -0.5 + 185.5 } - top: 26 - width: 15 - height: 35 - z index: 1 - render style: image - image: name-left.png - name box right: - left: - { if card_style.name.content_width > 275 then 325 - else card_style.name.content_width * 0.5 + 187.5 } - top: 26 - width: 14 - height: 35 - z index: 1 - render style: image - image: name-right.png - paintbrush: - left: 27 - top : 481 - width: 30 - height: 11 - z index: 1 - render style: image - choice images: - black: /magic-future-common.mse-include/paintbrush_black.png - white: /magic-future-common.mse-include/paintbrush_white.png +mse version: 0.3.8 +game: magic +short name: Tokens +full name: Modern style +installer group: magic/new style/tokens +icon: card-sample.png +position hint: 007 + +version: 2009-07-20 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-embossedletters.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +# By Pichoro +############################################################## Extra scripts +init script: + # Should hybrids have a grey name? + mask_hybrid_with_land := { styling.grey_hybrid_typeline } + + # What should the textbox look like? + text_shape := { + if card.rule_text == "" + and card.flavor_text == "" then "0" # no textbox + else if styling.one_textline_tokens + and card_style.text.content_lines == 2 + and card.flavor_text == "" then "1" # small textbox + else "2" # large textbox + } + + land_template := { "c{type}.jpg" } + colored_lands := false + + # 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 } + + # We have no land template + font_colors_white := { input == "b" } + + # AE replacement shouldn't happen in the title, or else MSE compresses the symbol + name_filter := { input } + + paintbrush_color := { if font_white() then "white" else "black" } + + card_shape := { "token" } + +############################################################## 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 +styling field: + type: boolean + name: grey hybrid typeline + description: Use a grey background for the type line on hybrid cards. This is done on real cards. +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: modern + choice: modern + choice: old + choice: diagonal T +styling field: + type: boolean + name: one textline tokens + description: Should token frames with a single line for text be enabled? + initial: no +styling field: + type: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: short text only +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +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 + one textline tokens: + render style: both + choice images: + yes: rcard1.jpg + no: rcard2.jpg + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.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: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: 4 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { color_background(type:"card" + text_shape(), base_hybrid:card_hybrid) } + ###################C######### Name line + name: + left: + { if card_style.name.content_width > 269 then 50 + else card_style.name.content_width * -0.5 + 184.5 } + top: 23 + width: + { if card_style.name.content_width > 269 then 275 + else card_style.name.content_width + 6 } + height: 28 + alignment: bottom center justify-all + padding bottom: -2 + padding top: 2 + z index: 2 + symbol font: + name: magic-embossedletters + size: 22 + alignment: bottom center + always symbol: true + ############################# Image + image: + left: 30 + top: { if text_shape() == 2 or text_shape() == 1 then 58 else 59 } + width: 315 + height: + { if text_shape() == "0" then 366 + else if text_shape() == "1" then 349 + else 288 } + mask: { "imagemask{text_shape()}.png" } + z index: 1 + ################H############ Card type + type: + left: 35 + top: + {if text_shape() == "0" then 432 + else if text_shape() == "1" then 414 + else 353} + width: { 308 - max(22,card_style.rarity.content_width) } + height: 20 + alignment: top shrink-overflow + z index: 1 + padding top: 2 + padding bottom: 4 + padding right: 2 + font: + name: Matrix + size: 15 + color: rgb(0,0,0) + separator color: rgb(128,128,128) + rarity: + right: 342 + top: + { if text_shape() == "0" then 432 + else if text_shape() == "1" then 414 + else 353 } + width: 44 + height: 22 + z index: 2 + alignment: middle right + render style: image + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + 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 + text: + left: 31 + top: + { if text_shape() == "0" then 300 + else if text_shape() == "1" then 443 + else 388} + width: 311 + height: + { if text_shape() == "1" then 27 + else 80 } + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 10 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + card_style.text.content_lines <= 2 and + not contains(match:",", card.rule_text) and + not contains(match: ".", card.rule_text) and + not contains(match: ";", card.rule_text) and + not contains(match: ":", card.rule_text) and + not contains(match: "!", card.rule_text) and + not contains(match: "?", card.rule_text) and + card.flavor_text == "") or + styling.center_text == "always" + then "middle center shrink-overflow" + else "middle left shrink-overflow" + z index: 1 + padding left: 6 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + ############################# PT + pt: + z index: 2 + left: + { if text_shape() == "2" then 288 + else 284 } + top: + { if text_shape() == "2" then 471 + else 466 } + width: 60 + height: 28 + alignment: center middle shrink-overflow + font: + name: ModMatrix + size: 17 + weight: bold + color: rgb(0,0,0) + separator color: rgb(200,0,0) + ############################# Copyright stuff + illustrator: + left: 58 + top : 479 + width: 215 + height: 16 + z index: 1 + font: + name: Matrix + size: 11 + weight: bold + color: { font_color(card.card_color) } + copyright line: + left: 30 + top : 493 + width: 247 + height: 12 + z index: 1 + font: + name: MPlantin + size: 6.5 + color: { font_color(card.card_color) } +############################################################## Extra card fields +extra card field: + type: choice + name: pt box + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card field: + type: choice + name: name box + choice: black + editable: false + save value: false +extra card field: + type: choice + name: name box left + choice: black + editable: false + save value: false +extra card field: + type: choice + name: name box right + choice: black + editable: false + save value: false +extra card field: + type: choice + name: paintbrush + script: paintbrush_color(card.card_color) + editable: false + save value: false +extra card style: + pt box: + left: + { if text_shape() == "2" then 275 + else 271 } + top: + { if text_shape() == "2" then 463 + else 461 } + width: 81 + height: 42 + z index: 1 + visible: { card.pt != "" } + render style: image + image: { color_background(type:"pt" + text_shape(), base_hybrid:pt_hybrid) } + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 3 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} + name box: + left: + { if card_style.name.content_width > 275 then 50 + else card_style.name.content_width * -0.5 + 185.5 } + top: 26 + width: + { if card_style.name.content_width > 275 then 275 + else card_style.name.content_width + 3} + height: 35 + z index: 1 + visible: { card.name != "" } + render style: image + image: name-mid.png + name box left: + right: + { if card_style.name.content_width > 275 then 50 + else card_style.name.content_width * -0.5 + 185.5 } + top: 26 + width: 15 + height: 35 + z index: 1 + render style: image + image: name-left.png + name box right: + left: + { if card_style.name.content_width > 275 then 325 + else card_style.name.content_width * 0.5 + 187.5 } + top: 26 + width: 14 + height: 35 + z index: 1 + render style: image + image: name-right.png + paintbrush: + left: 27 + top : 481 + width: 30 + height: 11 + z index: 1 + render style: image + choice images: + black: /magic-future-common.mse-include/paintbrush_black.png + white: /magic-future-common.mse-include/paintbrush_white.png diff --git a/data/magic-new.mse-style/style b/data/magic-new.mse-style/style index 6735aabc..fabe5fd8 100644 --- a/data/magic-new.mse-style/style +++ b/data/magic-new.mse-style/style @@ -1,386 +1,386 @@ -mse version: 0.3.8 -game: magic -short name: Modern style -full name: After 8th edition -icon: card-sample.png -position hint: 001 -installer group: magic/new style/normal cards - -version: 2009-07-07 -depends on: magic.mse-game 2008-06-02 -depends on: magic-default-image.mse-include 2007-09-23 -depends on: magic-watermarks.mse-include 2007-09-23 -depends on: magic-mana-large.mse-symbol-font 2007-09-23 -depends on: magic-mana-small.mse-symbol-font 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -############################################################## Extra scripts -init script: - # Load scripts for image box - include file: /magic-default-image.mse-include/scripts - - # Should hybrids have a grey name? - mask_hybrid_with_land := { styling.grey_hybrid_name } - - #Should multicolor lands with basic land types have a colored name? - mask_multi_land_with_color := { styling.colored_multicolor_land_name } - - # Which artifact template should be used? Which multicolor template should be used? - alternate_template := { - if input == "a" then ( - if styling.artifact_style == "light" then "oa" - else if styling.artifact_style == "brown" then "ba" - else "a" - ) else if input == "m" then ( - if styling.saturated_multicolor then "m" - else "om" - ) else input - } - template := { alternate_template() + "{type}.jpg" } - land_template := { (if input == "a" then "c" else alternate_template()) + "l{type}.jpg" } - # Use land templates for previews because they show more contrast - hybrid_previews := "land,hybrid" - - # 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: choice - name: artifact style - description: Choose the style of artifacts: light = before Fifth Dawn, dark = used since Fifth Dawn, brown = old rust style. - initial: dark - choice: light - choice: dark - choice: brown -styling field: - type: boolean - name: saturated multicolor - description: Should multicolor cards be more saturated? This is done on real cards. - initial: yes -styling field: - type: boolean - name: grey hybrid name - description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. -styling field: - type: boolean - name: colored multicolor land name - description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. -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: 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: 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: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: boolean - name: inverted common symbol - description: Should the common rarity symbol be inverted, like in Coldsnap? - initial: no -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling field: - type: choice - name: image size - description: Should the art extend into a transparent textbox? - initial: standard - choice: standard - choice: extended -styling style: - artifact style: - render style: both - choice images: - light: oacard.jpg - dark: acard.jpg - brown: bacard.jpg - saturated multicolor: - choice images: - yes: mcard.jpg - no: omcard.jpg - 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-large.mse-symbol-font/mana_t.png - old: /magic-mana-large.mse-symbol-font/mana_t_old.png - diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.png - inverted common symbol: - choice images: - no: { symbol_variation(symbol: set.symbol, variation: "common") } - yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } - image size: - render style: both - choice images: - standard: /magic.mse-game/icons/small-image.png - extended: /magic.mse-game/icons/large-image.png -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - z index: 4 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: { if card.card_symbol=="none" then 32 else 51 } - top : 30 - right: { 341 - card_style.casting_cost.content_width } - height: 23 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: Matrix - size: 17 - weight: bold - color: rgb(0,0,0) - casting cost: - right: 343 - top : 31 - width: { max(30, card_style.casting_cost.content_width) + 5 } - height: 23 - alignment: middle right - font: - name: MPlantin - size: 15 - symbol font: - name: magic-mana-large - size: 15 - alignment: middle right - always symbol: true - z index: 2 - padding top: 0 - card symbol: - left: {if card.card_symbol=="none" then 20 else 32} - top : 31 - height: 20 - width: 14 - z index: 1 - render style: image - choice images: - tombstone: tombstone.png - ############################# Image - image: - left: 32 - top: 62 - width: 311 - height: { if styling.image_size == "extended" then 408 else 228 } - z index: 1 - mask: - script: if styling.image_size == "extended" then "imagemask_extended.png" else "imagemask_standard.png" - default: {default_image(card.card_color)} - ############################# Card type - type: - left: 35 - top : 298 - width: { 308 - max(22,card_style.rarity.content_width) } - height: 20 - alignment: top shrink-overflow - z index: 1 - padding top: 2 - font: - name: Matrix - size: 14 - color: rgb(0,0,0) - separator color: rgb(128,128,128) - rarity: - right: 342 - top : 297 - width: 44 - height: 22 - z index: 2 - render style: image - alignment: middle right - choice images: - # Images based on the set symbol - basic land: - script: - if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") - else symbol_variation(symbol: set.symbol, variation: "common") - 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 - text: - left: 31 - top : 328 - width: 311 - height: 142 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 6 - padding right: 4 - 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 - watermark: - left: 117 - top : 321 - width: 138 - height: 156 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - ############################# PT - pt: - z index: 2 - left: 284 - top: 466 - width: 60 - height: 28 - alignment: center middle shrink-overflow - font: - name: ModMatrix - size: 17 - weight: bold - color: rgb(0,0,0) - separator color: rgb(200,0,0) - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 56 - top : 478 - width: 217 - height: 16 - z index: 1 - font: - name: Matrix - size: 10 - weight: bold - color: { font_color(card.card_color) } - copyright line: - left: 30 - top : 493 - width: 247 - height: 12 - z index: 1 - font: - name: MPlantin - size: 6.5 - color: { font_color(card.card_color) } -############################################################## Extra card fields -extra card field: - type: choice - name: pt box - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card style: - pt box: - left: 271 - top: 461 - width: 81 - height: 42 - z index: 1 - mask: ptmask.png - visible: { card.pt != "" } - render style: image - image: { card_ptbox() } - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 3 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} - +mse version: 0.3.8 +game: magic +short name: Modern style +full name: After 8th edition +icon: card-sample.png +position hint: 001 +installer group: magic/new style/normal cards + +version: 2009-07-07 +depends on: magic.mse-game 2008-06-02 +depends on: magic-default-image.mse-include 2007-09-23 +depends on: magic-watermarks.mse-include 2007-09-23 +depends on: magic-mana-large.mse-symbol-font 2007-09-23 +depends on: magic-mana-small.mse-symbol-font 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +############################################################## Extra scripts +init script: + # Load scripts for image box + include file: /magic-default-image.mse-include/scripts + + # Should hybrids have a grey name? + mask_hybrid_with_land := { styling.grey_hybrid_name } + + #Should multicolor lands with basic land types have a colored name? + mask_multi_land_with_color := { styling.colored_multicolor_land_name } + + # Which artifact template should be used? Which multicolor template should be used? + alternate_template := { + if input == "a" then ( + if styling.artifact_style == "light" then "oa" + else if styling.artifact_style == "brown" then "ba" + else "a" + ) else if input == "m" then ( + if styling.saturated_multicolor then "m" + else "om" + ) else input + } + template := { alternate_template() + "{type}.jpg" } + land_template := { (if input == "a" then "c" else alternate_template()) + "l{type}.jpg" } + # Use land templates for previews because they show more contrast + hybrid_previews := "land,hybrid" + + # 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: choice + name: artifact style + description: Choose the style of artifacts: light = before Fifth Dawn, dark = used since Fifth Dawn, brown = old rust style. + initial: dark + choice: light + choice: dark + choice: brown +styling field: + type: boolean + name: saturated multicolor + description: Should multicolor cards be more saturated? This is done on real cards. + initial: yes +styling field: + type: boolean + name: grey hybrid name + description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. +styling field: + type: boolean + name: colored multicolor land name + description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. +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: 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: 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: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling field: + type: choice + name: image size + description: Should the art extend into a transparent textbox? + initial: standard + choice: standard + choice: extended +styling style: + artifact style: + render style: both + choice images: + light: oacard.jpg + dark: acard.jpg + brown: bacard.jpg + saturated multicolor: + choice images: + yes: mcard.jpg + no: omcard.jpg + 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-large.mse-symbol-font/mana_t.png + old: /magic-mana-large.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.png + inverted common symbol: + choice images: + no: { symbol_variation(symbol: set.symbol, variation: "common") } + yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } + image size: + render style: both + choice images: + standard: /magic.mse-game/icons/small-image.png + extended: /magic.mse-game/icons/large-image.png +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: 4 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: { if card.card_symbol=="none" then 32 else 51 } + top : 30 + right: { 341 - card_style.casting_cost.content_width } + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 17 + weight: bold + color: rgb(0,0,0) + casting cost: + right: 343 + top : 31 + width: { max(30, card_style.casting_cost.content_width) + 5 } + height: 23 + alignment: middle right + font: + name: MPlantin + size: 15 + symbol font: + name: magic-mana-large + size: 15 + alignment: middle right + always symbol: true + z index: 2 + padding top: 0 + card symbol: + left: {if card.card_symbol=="none" then 20 else 32} + top : 31 + height: 20 + width: 14 + z index: 1 + render style: image + choice images: + tombstone: tombstone.png + ############################# Image + image: + left: 32 + top: 62 + width: 311 + height: { if styling.image_size == "extended" then 408 else 228 } + z index: 1 + mask: + script: if styling.image_size == "extended" then "imagemask_extended.png" else "imagemask_standard.png" + default: {default_image(card.card_color)} + ############################# Card type + type: + left: 35 + top : 298 + width: { 308 - max(22,card_style.rarity.content_width) } + height: 20 + alignment: top shrink-overflow + z index: 1 + padding top: 2 + font: + name: Matrix + size: 14 + color: rgb(0,0,0) + separator color: rgb(128,128,128) + rarity: + right: 342 + top : 297 + width: 44 + height: 22 + z index: 2 + render style: image + alignment: middle right + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + 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 + text: + left: 31 + top : 328 + width: 311 + height: 142 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 6 + padding right: 4 + 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 + watermark: + left: 117 + top : 321 + width: 138 + height: 156 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + ############################# PT + pt: + z index: 2 + left: 284 + top: 466 + width: 60 + height: 28 + alignment: center middle shrink-overflow + font: + name: ModMatrix + size: 17 + weight: bold + color: rgb(0,0,0) + separator color: rgb(200,0,0) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 56 + top : 478 + width: 217 + height: 16 + z index: 1 + font: + name: Matrix + size: 10 + weight: bold + color: { font_color(card.card_color) } + copyright line: + left: 30 + top : 493 + width: 247 + height: 12 + z index: 1 + font: + name: MPlantin + size: 6.5 + color: { font_color(card.card_color) } +############################################################## Extra card fields +extra card field: + type: choice + name: pt box + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card style: + pt box: + left: 271 + top: 461 + width: 81 + height: 42 + z index: 1 + mask: ptmask.png + visible: { card.pt != "" } + render style: image + image: { card_ptbox() } + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 3 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} + diff --git a/data/magic-old-promo.mse-style/style b/data/magic-old-promo.mse-style/style index 3b5b0282..3b4839cc 100644 --- a/data/magic-old-promo.mse-style/style +++ b/data/magic-old-promo.mse-style/style @@ -1,326 +1,326 @@ -mse version: 0.3.8 -game: magic -short name: Old Promo -full name: Old Style Promo -installer group: magic/old style/promo cards -icon: card-sample.png -position hint: 104 - -version: 2009-07-09 -depends on: - package: magic.mse-game - version: 2007-12-29 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -#By: Pichoro -############################################################## Extra scripts -init script: - # There is no land template - land_template := { "a{type}.png" } - - # Which artifact template should be used? - colorless_template := { - if input == "c" - then "a" - else input - } - template := { colorless_template() + "{type}.png" } - - # 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 } - - #Did it this way because was getting longer other way, due to redefining color_background parts. - color_combination := { - # The base hybrid, without the outer frame blended over it - base := base_hybrid[shape][color_count]() - - # Put a frame around it? - if land and not colored_lands then - masked_blend( - mask: "multicolor_blend_{type}.png", - dark: land_template("c"), - light: base, - ) - else if multi then - masked_blend( - mask: ( if styling.type_of_gradient_multicolor == "full card" then "multicolor_blend_{type}.png" - else if styling.type_of_gradient_multicolor == "trim only" then "multicolor_blend_{type}2.png" - else "multicolor_blend_{type}.png" ), - dark: template("m"), - light: base, - ) - else if artifact then - masked_blend( - mask: ( if styling.type_of_gradient_artifact== "full card" then "multicolor_blend_{type}.png" - else if styling.type_of_gradient_artifact == "trim only" then "multicolor_blend_{type}2.png" - else "multicolor_blend_{type}.png" ), - dark: template("a"), - light: base, - ) - else base - } - -############################################################## Set info fields -############################################################## Extra style options -styling field: - type: choice - name: type of gradient multicolor - description: What parts of the card should be blended for gradient multicolor? - choice: full card - choice: trim only - initial: full card -styling field: - type: choice - name: type of gradient artifact - description: What parts of the card should be blended for gradient artifact? - choice: full card - choice: trim only - initial: full card -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: 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: 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: color - name: font color - description: The default text and typeline color for cards - choice: - name: black - color: rgb(0,0,0) - choice: - name: white - color: rgb(255,255,255) -styling field: - type: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: boolean - name: left align artist - description: Should the artist and copyright lines be left aligned, as seen in Tempest? - initial: no -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling field: - type: choice - name: pt font - description: Should the font used for p/t be MPlantin or MPlantin-Bold? MPlantin was used until Mirage. - initial: MPlantin-Bold - choice: MPlantin - choice: MPlantin-Bold -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 -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - z index: 5 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: 42 - top : 24 - right: { 341 - card_style.casting_cost.content_width } - height: 23 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: MagicMedieval - size: 15.5 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - casting cost: - right: 343 - top : 22 - width: { max(30, card_style.casting_cost.content_width) + 5 } - height: 23 - alignment: bottom right - symbol font: - name: magic-mana-small - size: 15 - alignment: middle right - always symbol: true - z index: 2 - padding top: 0 - card symbol: - left: 24 - top : 24 - height: 20 - width: 14 - z index: 1 - render style: image - choice images: - tombstone: tombstone.png - ############################# Image - image: - left: 44 - top: 51 - width: 287 - height: 411 - z index: 1 - ############################# Card type - type: - left: 46 - bottom: 312 - width: 284 - height: 18 - alignment: top left shrink-overflow - z index: 2 - font: - name: MPlantin - size: 11 - color: { styling.font_color } - separator color: rgb(128,128,128) - ############################# Textbox - text: - left: 46 - top : 313 - width: 284 - height: 148 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 13 - scale down to: 6 - color: { styling.font_color } - symbol font: - name: { styling.text_box_mana_symbols } - size: 13 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 3 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - ############################# PT - pt: - z index: 2 - left: 295 - top: 470 - width: 47 - height: 27 - alignment: right middle - font: - name: { styling.pt_font } - size: 17 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - separator color: rgb(200,0,0) - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 40 - top : 470 - width: 297 - height: 16 - z index: 1 - alignment: { if styling.left_align_artist then "middle left" else "middle center" } - font: - name: MPlantin - size: 10 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - copyright line: - left: 40 - top : 486 - width: 297 - height: 12 - z index: 1 - alignment: { if styling.left_align_artist then "middle left" else "middle center" } - font: - name: MPlantin - size: 6.5 - color: { font_color(card.card_color) } -############################################################## Extra card fields -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card style: - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 4 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +short name: Old Promo +full name: Old Style Promo +installer group: magic/old style/promo cards +icon: card-sample.png +position hint: 104 + +version: 2009-07-09 +depends on: + package: magic.mse-game + version: 2007-12-29 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +#By: Pichoro +############################################################## Extra scripts +init script: + # There is no land template + land_template := { "a{type}.png" } + + # Which artifact template should be used? + colorless_template := { + if input == "c" + then "a" + else input + } + template := { colorless_template() + "{type}.png" } + + # 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 } + + #Did it this way because was getting longer other way, due to redefining color_background parts. + color_combination := { + # The base hybrid, without the outer frame blended over it + base := base_hybrid[shape][color_count]() + + # Put a frame around it? + if land and not colored_lands then + masked_blend( + mask: "multicolor_blend_{type}.png", + dark: land_template("c"), + light: base, + ) + else if multi then + masked_blend( + mask: ( if styling.type_of_gradient_multicolor == "full card" then "multicolor_blend_{type}.png" + else if styling.type_of_gradient_multicolor == "trim only" then "multicolor_blend_{type}2.png" + else "multicolor_blend_{type}.png" ), + dark: template("m"), + light: base, + ) + else if artifact then + masked_blend( + mask: ( if styling.type_of_gradient_artifact== "full card" then "multicolor_blend_{type}.png" + else if styling.type_of_gradient_artifact == "trim only" then "multicolor_blend_{type}2.png" + else "multicolor_blend_{type}.png" ), + dark: template("a"), + light: base, + ) + else base + } + +############################################################## Set info fields +############################################################## Extra style options +styling field: + type: choice + name: type of gradient multicolor + description: What parts of the card should be blended for gradient multicolor? + choice: full card + choice: trim only + initial: full card +styling field: + type: choice + name: type of gradient artifact + description: What parts of the card should be blended for gradient artifact? + choice: full card + choice: trim only + initial: full card +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: 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: 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: color + name: font color + description: The default text and typeline color for cards + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) +styling field: + type: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: boolean + name: left align artist + description: Should the artist and copyright lines be left aligned, as seen in Tempest? + initial: no +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling field: + type: choice + name: pt font + description: Should the font used for p/t be MPlantin or MPlantin-Bold? MPlantin was used until Mirage. + initial: MPlantin-Bold + choice: MPlantin + choice: MPlantin-Bold +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 +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: 5 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: 42 + top : 24 + right: { 341 - card_style.casting_cost.content_width } + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: MagicMedieval + size: 15.5 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + casting cost: + right: 343 + top : 22 + width: { max(30, card_style.casting_cost.content_width) + 5 } + height: 23 + alignment: bottom right + symbol font: + name: magic-mana-small + size: 15 + alignment: middle right + always symbol: true + z index: 2 + padding top: 0 + card symbol: + left: 24 + top : 24 + height: 20 + width: 14 + z index: 1 + render style: image + choice images: + tombstone: tombstone.png + ############################# Image + image: + left: 44 + top: 51 + width: 287 + height: 411 + z index: 1 + ############################# Card type + type: + left: 46 + bottom: 312 + width: 284 + height: 18 + alignment: top left shrink-overflow + z index: 2 + font: + name: MPlantin + size: 11 + color: { styling.font_color } + separator color: rgb(128,128,128) + ############################# Textbox + text: + left: 46 + top : 313 + width: 284 + height: 148 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 13 + scale down to: 6 + color: { styling.font_color } + symbol font: + name: { styling.text_box_mana_symbols } + size: 13 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 3 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + ############################# PT + pt: + z index: 2 + left: 295 + top: 470 + width: 47 + height: 27 + alignment: right middle + font: + name: { styling.pt_font } + size: 17 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + separator color: rgb(200,0,0) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 40 + top : 470 + width: 297 + height: 16 + z index: 1 + alignment: { if styling.left_align_artist then "middle left" else "middle center" } + font: + name: MPlantin + size: 10 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + copyright line: + left: 40 + top : 486 + width: 297 + height: 12 + z index: 1 + alignment: { if styling.left_align_artist then "middle left" else "middle center" } + font: + name: MPlantin + size: 6.5 + color: { font_color(card.card_color) } +############################################################## Extra card fields +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card style: + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 4 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-old-split.mse-style/style b/data/magic-old-split.mse-style/style index 4efe3f43..7986cf6b 100644 --- a/data/magic-old-split.mse-style/style +++ b/data/magic-old-split.mse-style/style @@ -1,554 +1,554 @@ -mse version: 0.3.8 -game: magic -full name: Magic Old Split Cards -short name: Old Splits -installer group: magic/old style/split cards -icon: card-sample.png -position hint: 103 - -version: 2009-07-09 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-watermarks.mse-include - version: 2007-12-29 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 523 -card height: 375 -card dpi: 150 -# Author: Buttock1234 -############################################################## 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 } - - # Only white cards use a black font - font_colors_white := { input != "w" } - - #Multicolor lands blend differently than hybrids. - #Did it this way because was getting longer other way, due to redefining color_background parts. - color_combination := { - # The base hybrid, without the outer frame blended over it - base := base_hybrid[shape][color_count]() - - # Put a frame around it? - if type == "card" and land and color_count == 2 and shape != "overlay" and styling.alpha_style_blending then - masked_blend( - mask: "alpha_blend.png", - dark: land_template(colors[0]), - light: land_template(colors[1]), - ) - else if land then - masked_blend( - mask: "land_blend_{type}.png", - dark: land_template("c"), - light: base, - ) - else if multi then - masked_blend( - mask: ( if styling.type_of_gradient_multicolor == "full card" then "multicolor_blend_{type}.png" - else if styling.type_of_gradient_multicolor == "trim only" then "multicolor_blend_{type}2.png" - else "multicolor_blend_{type}.png" ), - dark: template("m"), - light: base, - ) - else if artifact then - masked_blend( - mask: ( if styling.type_of_gradient_artifact == "full card" then "multicolor_blend_{type}.png" - else if styling.type_of_gradient_artifact == "trim only" then "multicolor_blend_{type}2.png" - else "multicolor_blend_{type}.png" ), - dark: template("a"), - light: base, - ) - else base - } - - card_shape := { "split" } - -############################################################## Set info fields -set info style: - symbol: - variation: - name: olduncommon - border radius: 0.10 - fill type: linear gradient - fill color 1: rgb(224,224,224) - fill color 2: rgb(84, 84, 84) - border color 1: rgb(255,255,255) - border color 2: rgb(255,255,255) - variation: - name: oldrare - border radius: 0.10 - fill type: linear gradient - fill color 1: rgb(214,196,94) - fill color 2: rgb(95, 84, 40) - border color 1: rgb(255,255,255) - border color 2: rgb(255,255,255) -############################################################## styling style -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: type of gradient multicolor - description: What parts of the card should be blended for gradient multicolor? - choice: full card - choice: trim only - initial: full card -styling field: - type: choice - name: type of gradient artifact - description: What parts of the card should be blended for gradient artifact? - choice: full card - choice: trim only - initial: full card -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: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: boolean - name: colored rarities - description: Should rarity symbols be different colors, such as gold, silver, and purple? - initial: yes -styling field: - type: boolean - name: left align artist - description: Should the artist and copyright lines be left aligned, as seen in Tempest? - initial: no -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling field: - type: choice - name: pt font - description: Should the font used for p/t be MPlantin or MPlantin-Bold? MPlantin was used until Mirage. - initial: MPlantin-Bold - choice: MPlantin - choice: MPlantin-Bold -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 - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.png - colored rarities: - choice images: - no: { symbol_variation(symbol: set.symbol, variation: "common") } - yes: { symbol_variation(symbol: set.symbol, variation: "rare") } -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 523 - height: 375 - radius: 18 - z index: -1 - card color: - left: 18 - top: 18 - width: 236 - height: 338 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - card color 2: - left: 269 - top: 18 - width: 236 - height: 338 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: 32 - top : 20 - right: { 237 - card_style.casting_cost.content_width } - height: 17 - alignment: top shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: MagicMedieval - size: 12 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - name 2: - left: 284 - top : 20 - right: { 489 - card_style.casting_cost.content_width } - height: 17 - alignment: top shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: MagicMedieval - size: 12 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - casting cost: - right: 244 - top : 18.5 - width: { max(30, card_style.casting_cost.content_width) + 5 } - height: 16 - alignment: bottom right - symbol font: - name: magic-mana-small - size: 11 - alignment: bottom right - always symbol: true - z index: 2 - padding top: 0 - casting cost 2: - right: 496 - top : 18.5 - width: { max(30, card_style.casting_cost.content_width) + 5 } - height: 16 - alignment: bottom right - symbol font: - name: magic-mana-small - size: 11 - alignment: bottom right - always symbol: true - z index: 2 - padding top: 0 - ############################# Image - image: - left: 36 - top: 40 - width: 200 - height: 162 - z index: 1 - image 2: - left: 287 - top: 40 - width: 200 - height: 162 - z index: 1 - ############################# Card type - type: - left: 32 - top : 206 - width: { 210 - max(13,card_style.rarity.content_width) } - height: 16 - alignment: middle shrink-overflow - z index: 1 - font: - name: MPlantin - size: 9.5 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - separator color: rgb(128,128,128) - type 2: - left: 284 - top : 206 - width: { 210 - max(13,card_style.rarity.content_width) } - height: 16 - alignment: middle shrink-overflow - z index: 1 - font: - name: MPlantin - size: 9.5 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - separator color: rgb(128,128,128) - rarity: - right: 241 - top : 207 - width: 26 - height: 13 - z index: 2 - alignment: middle right - render style: image - choice images: - # Images based on the set symbol - basic land: script: symbol_variation(symbol: set.symbol, variation: "common") - common: script: symbol_variation(symbol: set.symbol, variation: "common") - uncommon: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "olduncommon") - else symbol_variation(symbol: set.symbol, variation: "common") - rare: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "oldrare") - else symbol_variation(symbol: set.symbol, variation: "common") - mythic rare: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "mythic rare") - else symbol_variation(symbol: set.symbol, variation: "common") - special: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "special") - else symbol_variation(symbol: set.symbol, variation: "common") - rarity 2: - right: 493 - top : 207 - width: 26 - height: 13 - z index: 2 - alignment: middle right - render style: image - choice images: - # Images based on the set symbol - basic land: script: symbol_variation(symbol: set.symbol, variation: "common") - common: script: symbol_variation(symbol: set.symbol, variation: "common") - uncommon: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "olduncommon") - else symbol_variation(symbol: set.symbol, variation: "common") - rare: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "oldrare") - else symbol_variation(symbol: set.symbol, variation: "common") - mythic rare: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "mythic rare") - else symbol_variation(symbol: set.symbol, variation: "common") - special: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "special") - else symbol_variation(symbol: set.symbol, variation: "common") - ############################# Text box - text: - left: 37 - top : 226 - width: 198 - height: 99 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - text 2: - left: 289 - top : 226 - width: 198 - height: 99 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - watermark: - left: 87 - top : 228 - width: 92 - height: 108 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks-old - watermark 2: - left: 338 - top : 228 - width: 92 - height: 108 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks-old - ############################# PT - pt: - z index: 2 - left: 208 - top: 331 - width: 37 - height: 23 - alignment: middle right - font: - name: { styling.pt_font } - size: 14 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - separator color: rgb(200,0,0) - pt 2: - z index: 2 - left: 460 - top: 331 - width: 37 - height: 23 - alignment: middle right - font: - name: { styling.pt_font } - size: 14 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - separator color: rgb(200,0,0) - ############################# Copyright stuff - illustrator: - left: 34 - top : 333 - width: 205 - height: 9 - alignment: { if styling.left_align_artist then "middle left" else "middle center" } - z index: 1 - font: - name: MPlantin - size: 9 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - illustrator 2: - left: 286 - top : 333 - width: 205 - height: 9 - alignment: { if styling.left_align_artist then "middle left" else "middle center" } - z index: 1 - font: - name: MPlantin - size: 9 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - copyright line: - left: 34 - top : 342 - width: 205 - height: 12 - alignment: { if styling.left_align_artist then "middle left" else "middle center" } - z index: 1 - font: - name: MPlantin - size: 6 - color: { font_color(card.card_color) } - copyright line 2: - left: 286 - top : 342 - width: 205 - height: 12 - alignment: { if styling.left_align_artist then "middle left" else "middle center" } - z index: 1 - font: - name: MPlantin - size: 6 - color: { font_color(card.card_color_2) } -############################################################## Extra card fields -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card style: - foil layer: - right: 523 - bottom: 0 - width: 375 - height: 523 - z index: 3 - angle: 90 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +full name: Magic Old Split Cards +short name: Old Splits +installer group: magic/old style/split cards +icon: card-sample.png +position hint: 103 + +version: 2009-07-09 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-watermarks.mse-include + version: 2007-12-29 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 523 +card height: 375 +card dpi: 150 +# Author: Buttock1234 +############################################################## 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 } + + # Only white cards use a black font + font_colors_white := { input != "w" } + + #Multicolor lands blend differently than hybrids. + #Did it this way because was getting longer other way, due to redefining color_background parts. + color_combination := { + # The base hybrid, without the outer frame blended over it + base := base_hybrid[shape][color_count]() + + # Put a frame around it? + if type == "card" and land and color_count == 2 and shape != "overlay" and styling.alpha_style_blending then + masked_blend( + mask: "alpha_blend.png", + dark: land_template(colors[0]), + light: land_template(colors[1]), + ) + else if land then + masked_blend( + mask: "land_blend_{type}.png", + dark: land_template("c"), + light: base, + ) + else if multi then + masked_blend( + mask: ( if styling.type_of_gradient_multicolor == "full card" then "multicolor_blend_{type}.png" + else if styling.type_of_gradient_multicolor == "trim only" then "multicolor_blend_{type}2.png" + else "multicolor_blend_{type}.png" ), + dark: template("m"), + light: base, + ) + else if artifact then + masked_blend( + mask: ( if styling.type_of_gradient_artifact == "full card" then "multicolor_blend_{type}.png" + else if styling.type_of_gradient_artifact == "trim only" then "multicolor_blend_{type}2.png" + else "multicolor_blend_{type}.png" ), + dark: template("a"), + light: base, + ) + else base + } + + card_shape := { "split" } + +############################################################## Set info fields +set info style: + symbol: + variation: + name: olduncommon + border radius: 0.10 + fill type: linear gradient + fill color 1: rgb(224,224,224) + fill color 2: rgb(84, 84, 84) + border color 1: rgb(255,255,255) + border color 2: rgb(255,255,255) + variation: + name: oldrare + border radius: 0.10 + fill type: linear gradient + fill color 1: rgb(214,196,94) + fill color 2: rgb(95, 84, 40) + border color 1: rgb(255,255,255) + border color 2: rgb(255,255,255) +############################################################## styling style +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: type of gradient multicolor + description: What parts of the card should be blended for gradient multicolor? + choice: full card + choice: trim only + initial: full card +styling field: + type: choice + name: type of gradient artifact + description: What parts of the card should be blended for gradient artifact? + choice: full card + choice: trim only + initial: full card +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: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: boolean + name: colored rarities + description: Should rarity symbols be different colors, such as gold, silver, and purple? + initial: yes +styling field: + type: boolean + name: left align artist + description: Should the artist and copyright lines be left aligned, as seen in Tempest? + initial: no +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling field: + type: choice + name: pt font + description: Should the font used for p/t be MPlantin or MPlantin-Bold? MPlantin was used until Mirage. + initial: MPlantin-Bold + choice: MPlantin + choice: MPlantin-Bold +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 + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.png + colored rarities: + choice images: + no: { symbol_variation(symbol: set.symbol, variation: "common") } + yes: { symbol_variation(symbol: set.symbol, variation: "rare") } +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 523 + height: 375 + radius: 18 + z index: -1 + card color: + left: 18 + top: 18 + width: 236 + height: 338 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + card color 2: + left: 269 + top: 18 + width: 236 + height: 338 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: 32 + top : 20 + right: { 237 - card_style.casting_cost.content_width } + height: 17 + alignment: top shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: MagicMedieval + size: 12 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + name 2: + left: 284 + top : 20 + right: { 489 - card_style.casting_cost.content_width } + height: 17 + alignment: top shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: MagicMedieval + size: 12 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + casting cost: + right: 244 + top : 18.5 + width: { max(30, card_style.casting_cost.content_width) + 5 } + height: 16 + alignment: bottom right + symbol font: + name: magic-mana-small + size: 11 + alignment: bottom right + always symbol: true + z index: 2 + padding top: 0 + casting cost 2: + right: 496 + top : 18.5 + width: { max(30, card_style.casting_cost.content_width) + 5 } + height: 16 + alignment: bottom right + symbol font: + name: magic-mana-small + size: 11 + alignment: bottom right + always symbol: true + z index: 2 + padding top: 0 + ############################# Image + image: + left: 36 + top: 40 + width: 200 + height: 162 + z index: 1 + image 2: + left: 287 + top: 40 + width: 200 + height: 162 + z index: 1 + ############################# Card type + type: + left: 32 + top : 206 + width: { 210 - max(13,card_style.rarity.content_width) } + height: 16 + alignment: middle shrink-overflow + z index: 1 + font: + name: MPlantin + size: 9.5 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + separator color: rgb(128,128,128) + type 2: + left: 284 + top : 206 + width: { 210 - max(13,card_style.rarity.content_width) } + height: 16 + alignment: middle shrink-overflow + z index: 1 + font: + name: MPlantin + size: 9.5 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + separator color: rgb(128,128,128) + rarity: + right: 241 + top : 207 + width: 26 + height: 13 + z index: 2 + alignment: middle right + render style: image + choice images: + # Images based on the set symbol + basic land: script: symbol_variation(symbol: set.symbol, variation: "common") + common: script: symbol_variation(symbol: set.symbol, variation: "common") + uncommon: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "olduncommon") + else symbol_variation(symbol: set.symbol, variation: "common") + rare: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "oldrare") + else symbol_variation(symbol: set.symbol, variation: "common") + mythic rare: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "mythic rare") + else symbol_variation(symbol: set.symbol, variation: "common") + special: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "special") + else symbol_variation(symbol: set.symbol, variation: "common") + rarity 2: + right: 493 + top : 207 + width: 26 + height: 13 + z index: 2 + alignment: middle right + render style: image + choice images: + # Images based on the set symbol + basic land: script: symbol_variation(symbol: set.symbol, variation: "common") + common: script: symbol_variation(symbol: set.symbol, variation: "common") + uncommon: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "olduncommon") + else symbol_variation(symbol: set.symbol, variation: "common") + rare: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "oldrare") + else symbol_variation(symbol: set.symbol, variation: "common") + mythic rare: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "mythic rare") + else symbol_variation(symbol: set.symbol, variation: "common") + special: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "special") + else symbol_variation(symbol: set.symbol, variation: "common") + ############################# Text box + text: + left: 37 + top : 226 + width: 198 + height: 99 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + text 2: + left: 289 + top : 226 + width: 198 + height: 99 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + watermark: + left: 87 + top : 228 + width: 92 + height: 108 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks-old + watermark 2: + left: 338 + top : 228 + width: 92 + height: 108 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks-old + ############################# PT + pt: + z index: 2 + left: 208 + top: 331 + width: 37 + height: 23 + alignment: middle right + font: + name: { styling.pt_font } + size: 14 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + separator color: rgb(200,0,0) + pt 2: + z index: 2 + left: 460 + top: 331 + width: 37 + height: 23 + alignment: middle right + font: + name: { styling.pt_font } + size: 14 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + separator color: rgb(200,0,0) + ############################# Copyright stuff + illustrator: + left: 34 + top : 333 + width: 205 + height: 9 + alignment: { if styling.left_align_artist then "middle left" else "middle center" } + z index: 1 + font: + name: MPlantin + size: 9 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + illustrator 2: + left: 286 + top : 333 + width: 205 + height: 9 + alignment: { if styling.left_align_artist then "middle left" else "middle center" } + z index: 1 + font: + name: MPlantin + size: 9 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + copyright line: + left: 34 + top : 342 + width: 205 + height: 12 + alignment: { if styling.left_align_artist then "middle left" else "middle center" } + z index: 1 + font: + name: MPlantin + size: 6 + color: { font_color(card.card_color) } + copyright line 2: + left: 286 + top : 342 + width: 205 + height: 12 + alignment: { if styling.left_align_artist then "middle left" else "middle center" } + z index: 1 + font: + name: MPlantin + size: 6 + color: { font_color(card.card_color_2) } +############################################################## Extra card fields +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card style: + foil layer: + right: 523 + bottom: 0 + width: 375 + height: 523 + z index: 3 + angle: 90 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-old-textless.mse-style/style b/data/magic-old-textless.mse-style/style index 7acaafcf..6b38f53e 100644 --- a/data/magic-old-textless.mse-style/style +++ b/data/magic-old-textless.mse-style/style @@ -1,298 +1,298 @@ -mse version: 0.3.8 -game: magic -short name: Old Textless -full name: Old Style Textless -installer group: magic/old style/textless cards -icon: card-sample.png -position hint: 105 - -version: 2009-07-09 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -#By: Pichoro -############################################################## Extra scripts -init script: - # There is no land template - land_template := { "a{type}.png" } - - # Which artifact template should be used? - colorless_template := { - if input == "c" - then "a" - else input - } - template := { colorless_template() + "{type}.png" } - - # Use the normal tap symbol - mana_t := { "old" } - - # Use guild mana symbols? - guild_mana := { styling.use_guild_mana_symbols } - - #Did it this way because was getting longer other way, due to redefining color_background parts. - color_combination := { - # The base hybrid, without the outer frame blended over it - base := base_hybrid[shape][color_count]() - - # Put a frame around it? - if land and not colored_lands then - masked_blend( - mask: "multicolor_blend_{type}.png", - dark: land_template("c"), - light: base, - ) - else if multi then - masked_blend( - mask: ( if styling.type_of_gradient_multicolor == "full card" then "multicolor_blend_{type}.png" - else if styling.type_of_gradient_multicolor == "trim only" then "multicolor_blend_{type}2.png" - else "multicolor_blend_{type}.png" ), - dark: template("m"), - light: base, - ) - else if artifact then - masked_blend( - mask: ( if styling.type_of_gradient_artifact == "full card" then "multicolor_blend_{type}.png" - else if styling.type_of_gradient_artifact == "trim only" then "multicolor_blend_{type}2.png" - else "multicolor_blend_{type}.png" ), - dark: template("a"), - light: base, - ) - else base - } - -############################################################## Set info fields -set info style: - symbol: - variation: - name: olduncommon - border radius: 0.10 - fill type: linear gradient - fill color 1: rgb(224,224,224) - fill color 2: rgb(84, 84, 84) - border color 1: rgb(255,255,255) - border color 2: rgb(255,255,255) - variation: - name: oldrare - border radius: 0.10 - fill type: linear gradient - fill color 1: rgb(214,196,94) - fill color 2: rgb(95, 84, 40) - border color 1: rgb(255,255,255) - border color 2: rgb(255,255,255) -############################################################## Extra style options -styling field: - type: choice - name: type of gradient multicolor - description: What parts of the card should be blended for gradient multicolor? - choice: full card - choice: trim only - initial: full card -styling field: - type: choice - name: type of gradient artifact - description: What parts of the card should be blended for gradient artifact? - choice: full card - choice: trim only - initial: full card -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: colored rarities - description: Should rarity symbols be different colors, such as gold, silver, and purple? - initial: yes -styling field: - type: boolean - name: left align artist - description: Should the artist and copyright lines be left aligned, as seen in Tempest? - initial: no -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling field: - type: choice - name: pt font - description: Should the font used for p/t be MPlantin or MPlantin-Bold? MPlantin was used until Mirage. - initial: MPlantin-Bold - choice: MPlantin - choice: MPlantin-Bold -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 -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - z index: 4 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: 42 - top : 24 - right: { 341 - card_style.casting_cost.content_width } - height: 23 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: MagicMedieval - size: 15.5 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - casting cost: - right: 343 - top : 22 - width: { max(30, card_style.casting_cost.content_width) + 5 } - height: 23 - alignment: bottom right - symbol font: - name: magic-mana-small - size: 15 - alignment: middle right - always symbol: true - z index: 2 - padding top: 0 - card symbol: - left: 24 - top : 24 - height: 20 - width: 14 - z index: 1 - render style: image - choice images: - tombstone: tombstone.png - ############################# Image - image: - left: 44 - top: 51 - width: 287 - height: 411 - z index: 1 - ############################# Card type - rarity: - right: 66 - top : 472 - width: 44 - height: 22 - z index: 1 - alignment: middle center - render style: image - choice images: - # Images based on the set symbol - basic land: script: symbol_variation(symbol: set.symbol, variation: "common") - common: script: symbol_variation(symbol: set.symbol, variation: "common") - uncommon: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "olduncommon") - else symbol_variation(symbol: set.symbol, variation: "common") - rare: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "oldrare") - else symbol_variation(symbol: set.symbol, variation: "common") - mythic rare: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "mythic rare") - else symbol_variation(symbol: set.symbol, variation: "common") - special: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "special") - else symbol_variation(symbol: set.symbol, variation: "common") - ############################# Textbox - ############################# PT - pt: - z index: 2 - left: 295 - top: 470 - width: 47 - height: 27 - alignment: right middle - font: - name: { styling.pt_font } - size: 17 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - separator color: rgb(200,0,0) - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 65 - top : 470 - width: 247 - height: 16 - z index: 1 - alignment: { if styling.left_align_artist then "middle left" else "middle center" } - font: - name: MPlantin - size: 10 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - copyright line: - left: 65 - top : 486 - width: 247 - height: 12 - z index: 1 - alignment: { if styling.left_align_artist then "middle left" else "middle center" } - font: - name: MPlantin - size: 6.5 - color: { font_color(card.card_color) } -############################################################## Extra card fields -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card style: - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 3 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +short name: Old Textless +full name: Old Style Textless +installer group: magic/old style/textless cards +icon: card-sample.png +position hint: 105 + +version: 2009-07-09 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +#By: Pichoro +############################################################## Extra scripts +init script: + # There is no land template + land_template := { "a{type}.png" } + + # Which artifact template should be used? + colorless_template := { + if input == "c" + then "a" + else input + } + template := { colorless_template() + "{type}.png" } + + # Use the normal tap symbol + mana_t := { "old" } + + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + + #Did it this way because was getting longer other way, due to redefining color_background parts. + color_combination := { + # The base hybrid, without the outer frame blended over it + base := base_hybrid[shape][color_count]() + + # Put a frame around it? + if land and not colored_lands then + masked_blend( + mask: "multicolor_blend_{type}.png", + dark: land_template("c"), + light: base, + ) + else if multi then + masked_blend( + mask: ( if styling.type_of_gradient_multicolor == "full card" then "multicolor_blend_{type}.png" + else if styling.type_of_gradient_multicolor == "trim only" then "multicolor_blend_{type}2.png" + else "multicolor_blend_{type}.png" ), + dark: template("m"), + light: base, + ) + else if artifact then + masked_blend( + mask: ( if styling.type_of_gradient_artifact == "full card" then "multicolor_blend_{type}.png" + else if styling.type_of_gradient_artifact == "trim only" then "multicolor_blend_{type}2.png" + else "multicolor_blend_{type}.png" ), + dark: template("a"), + light: base, + ) + else base + } + +############################################################## Set info fields +set info style: + symbol: + variation: + name: olduncommon + border radius: 0.10 + fill type: linear gradient + fill color 1: rgb(224,224,224) + fill color 2: rgb(84, 84, 84) + border color 1: rgb(255,255,255) + border color 2: rgb(255,255,255) + variation: + name: oldrare + border radius: 0.10 + fill type: linear gradient + fill color 1: rgb(214,196,94) + fill color 2: rgb(95, 84, 40) + border color 1: rgb(255,255,255) + border color 2: rgb(255,255,255) +############################################################## Extra style options +styling field: + type: choice + name: type of gradient multicolor + description: What parts of the card should be blended for gradient multicolor? + choice: full card + choice: trim only + initial: full card +styling field: + type: choice + name: type of gradient artifact + description: What parts of the card should be blended for gradient artifact? + choice: full card + choice: trim only + initial: full card +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: colored rarities + description: Should rarity symbols be different colors, such as gold, silver, and purple? + initial: yes +styling field: + type: boolean + name: left align artist + description: Should the artist and copyright lines be left aligned, as seen in Tempest? + initial: no +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling field: + type: choice + name: pt font + description: Should the font used for p/t be MPlantin or MPlantin-Bold? MPlantin was used until Mirage. + initial: MPlantin-Bold + choice: MPlantin + choice: MPlantin-Bold +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 +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: 4 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: 42 + top : 24 + right: { 341 - card_style.casting_cost.content_width } + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: MagicMedieval + size: 15.5 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + casting cost: + right: 343 + top : 22 + width: { max(30, card_style.casting_cost.content_width) + 5 } + height: 23 + alignment: bottom right + symbol font: + name: magic-mana-small + size: 15 + alignment: middle right + always symbol: true + z index: 2 + padding top: 0 + card symbol: + left: 24 + top : 24 + height: 20 + width: 14 + z index: 1 + render style: image + choice images: + tombstone: tombstone.png + ############################# Image + image: + left: 44 + top: 51 + width: 287 + height: 411 + z index: 1 + ############################# Card type + rarity: + right: 66 + top : 472 + width: 44 + height: 22 + z index: 1 + alignment: middle center + render style: image + choice images: + # Images based on the set symbol + basic land: script: symbol_variation(symbol: set.symbol, variation: "common") + common: script: symbol_variation(symbol: set.symbol, variation: "common") + uncommon: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "olduncommon") + else symbol_variation(symbol: set.symbol, variation: "common") + rare: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "oldrare") + else symbol_variation(symbol: set.symbol, variation: "common") + mythic rare: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "mythic rare") + else symbol_variation(symbol: set.symbol, variation: "common") + special: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "special") + else symbol_variation(symbol: set.symbol, variation: "common") + ############################# Textbox + ############################# PT + pt: + z index: 2 + left: 295 + top: 470 + width: 47 + height: 27 + alignment: right middle + font: + name: { styling.pt_font } + size: 17 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + separator color: rgb(200,0,0) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 65 + top : 470 + width: 247 + height: 16 + z index: 1 + alignment: { if styling.left_align_artist then "middle left" else "middle center" } + font: + name: MPlantin + size: 10 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + copyright line: + left: 65 + top : 486 + width: 247 + height: 12 + z index: 1 + alignment: { if styling.left_align_artist then "middle left" else "middle center" } + font: + name: MPlantin + size: 6.5 + color: { font_color(card.card_color) } +############################################################## Extra card fields +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card style: + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 3 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-old-token.mse-style/style b/data/magic-old-token.mse-style/style index e0721855..3422dea8 100644 --- a/data/magic-old-token.mse-style/style +++ b/data/magic-old-token.mse-style/style @@ -1,362 +1,362 @@ -mse version: 0.3.8 -game: magic -short name: Tokens -full name: Old style -installer group: magic/old style/tokens -icon: card-sample.png -position hint: 107 - -version: 2009-07-09 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -############################################################## Extra scripts -init script: - # There is no land template - land_template := { "c{type}.jpg" } - - # 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 } - - # Only white cards use a black font - font_colors_white := { input != "w" } - - color_combination := { - # The base hybrid, without the outer frame blended over it - base := base_hybrid[shape][color_count]() - - # Put a frame around it? - if land and not colored_lands then - masked_blend( - mask: "multicolor_blend_{type}.png", - dark: land_template("c"), - light: base, - ) - else if multi then - masked_blend( - mask: ( if styling.type_of_gradient_multicolor == "full card" then "multicolor_blend_{type}.png" - else if styling.type_of_gradient_multicolor == "trim only" then "multicolor_blend_{type}2.png" - else "multicolor_blend_{type}.png" ), - dark: template("m"), - light: base, - ) - else if artifact then - masked_blend( - mask: ( if styling.type_of_gradient_artifact == "full card" then "multicolor_blend_{type}.png" - else if styling.type_of_gradient_artifact == "trim only" then "multicolor_blend_{type}2.png" - else "multicolor_blend_{type}.png" ), - dark: template("a"), - light: base, - ) - else base - } - - card_shape := { "token" } - -############################################################## Set info fields -set info style: - symbol: - variation: - name: olduncommon - border radius: 0.10 - fill type: linear gradient - fill color 1: rgb(224,224,224) - fill color 2: rgb(84, 84, 84) - border color 1: rgb(255,255,255) - border color 2: rgb(255,255,255) - variation: - name: oldrare - border radius: 0.10 - fill type: linear gradient - fill color 1: rgb(214,196,94) - fill color 2: rgb(95, 84, 40) - border color 1: rgb(255,255,255) - border color 2: rgb(255,255,255) -############################################################## 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: type of gradient multicolor - description: What parts of the card should be blended for gradient multicolor? - choice: full card - choice: trim only - initial: full card -styling field: - type: choice - name: type of gradient artifact - description: What parts of the card should be blended for gradient artifact? - choice: full card - choice: trim only - initial: full card -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: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: short text only -styling field: - type: boolean - name: colored rarities - description: Should rarity symbols be different colors, such as gold, silver, and purple? - initial: yes -styling field: - type: boolean - name: left align artist - description: Should the artist and copyright lines be left aligned, as seen in Tempest? - initial: no -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling field: - type: choice - name: pt font - description: Should the font used for p/t be MPlantin or MPlantin-Bold? MPlantin was used until Mirage. - initial: MPlantin-Bold - choice: MPlantin - choice: MPlantin-Bold -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 - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.png - colored rarities: - choice images: - no: { symbol_variation(symbol: set.symbol, variation: "common") } - yes: { symbol_variation(symbol: set.symbol, variation: "rare") } -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - z index: 4 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: 40 - top : 23 - width: 295 - height: 25 - alignment: middle center - padding bottom: 0 - z index: 1 - font: - name: MPlantin - size: 17 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - ############################# Image - image: - left: 44 - top: 58 - width: 286 - height: 270 - z index: 1 - ############################# Card type - type: - left: 58 - top : 348 - width: { 262 - max(22,card_style.rarity.content_width) } - height: 18 - alignment: top left shrink-overflow - z index: 1 - font: - name: MPlantin - size: 12 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - separator color: rgb(192,192,192) - rarity: - right: 320 - top : 347 - width: 46 - height: 23 - z index: 2 - alignment: middle right - render style: image - choice images: - # Images based on the set symbol - basic land: script: symbol_variation(symbol: set.symbol, variation: "common") - common: script: symbol_variation(symbol: set.symbol, variation: "common") - uncommon: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "olduncommon") - else symbol_variation(symbol: set.symbol, variation: "common") - rare: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "oldrare") - else symbol_variation(symbol: set.symbol, variation: "common") - mythic rare: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "mythic rare") - else symbol_variation(symbol: set.symbol, variation: "common") - special: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "special") - else symbol_variation(symbol: set.symbol, variation: "common") - ############################# Text box - text: - left: 63 - top : 378 - width: 246 - height: 67 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 13 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 13 - alignment: - script: - if (styling.center_text == "short text only" and - card_style.text.content_lines <= 2 and - not contains(match:",", card.rule_text) and - not contains(match: ".", card.rule_text) and - not contains(match: ";", card.rule_text) and - not contains(match: ":", card.rule_text) and - not contains(match: "!", card.rule_text) and - not contains(match: "?", card.rule_text) and - card.flavor_text == "") or - styling.center_text == "always" - then "middle center shrink-overflow" - else "middle left shrink-overflow" - z index: 1 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - ############################# PT - pt: - z index: 2 - left: 283 - top: 458 - width: 45 - height: 30 - alignment: right top - font: - name: { styling.pt_font } - size: 18 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 2 - shadow displacement y: 2 - separator color: rgb(255,50,50) - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 57 - top : 459 - width: 260 - height: 15 - z index: 1 - alignment: { if styling.left_align_artist then "middle left" else "middle center" } - font: - name: Mplantin - size: 9 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - copyright line: - left: 57 - top : 472 - width: 260 - height: 12 - z index: 1 - alignment: { if styling.left_align_artist then "middle left" else "middle center" } - font: - name: MPlantin - size: 8 - color: { font_color(card.card_color) } -############################################################## Extra card fields -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card style: - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 3 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +short name: Tokens +full name: Old style +installer group: magic/old style/tokens +icon: card-sample.png +position hint: 107 + +version: 2009-07-09 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +############################################################## Extra scripts +init script: + # There is no land template + land_template := { "c{type}.jpg" } + + # 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 } + + # Only white cards use a black font + font_colors_white := { input != "w" } + + color_combination := { + # The base hybrid, without the outer frame blended over it + base := base_hybrid[shape][color_count]() + + # Put a frame around it? + if land and not colored_lands then + masked_blend( + mask: "multicolor_blend_{type}.png", + dark: land_template("c"), + light: base, + ) + else if multi then + masked_blend( + mask: ( if styling.type_of_gradient_multicolor == "full card" then "multicolor_blend_{type}.png" + else if styling.type_of_gradient_multicolor == "trim only" then "multicolor_blend_{type}2.png" + else "multicolor_blend_{type}.png" ), + dark: template("m"), + light: base, + ) + else if artifact then + masked_blend( + mask: ( if styling.type_of_gradient_artifact == "full card" then "multicolor_blend_{type}.png" + else if styling.type_of_gradient_artifact == "trim only" then "multicolor_blend_{type}2.png" + else "multicolor_blend_{type}.png" ), + dark: template("a"), + light: base, + ) + else base + } + + card_shape := { "token" } + +############################################################## Set info fields +set info style: + symbol: + variation: + name: olduncommon + border radius: 0.10 + fill type: linear gradient + fill color 1: rgb(224,224,224) + fill color 2: rgb(84, 84, 84) + border color 1: rgb(255,255,255) + border color 2: rgb(255,255,255) + variation: + name: oldrare + border radius: 0.10 + fill type: linear gradient + fill color 1: rgb(214,196,94) + fill color 2: rgb(95, 84, 40) + border color 1: rgb(255,255,255) + border color 2: rgb(255,255,255) +############################################################## 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: type of gradient multicolor + description: What parts of the card should be blended for gradient multicolor? + choice: full card + choice: trim only + initial: full card +styling field: + type: choice + name: type of gradient artifact + description: What parts of the card should be blended for gradient artifact? + choice: full card + choice: trim only + initial: full card +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: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: short text only +styling field: + type: boolean + name: colored rarities + description: Should rarity symbols be different colors, such as gold, silver, and purple? + initial: yes +styling field: + type: boolean + name: left align artist + description: Should the artist and copyright lines be left aligned, as seen in Tempest? + initial: no +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling field: + type: choice + name: pt font + description: Should the font used for p/t be MPlantin or MPlantin-Bold? MPlantin was used until Mirage. + initial: MPlantin-Bold + choice: MPlantin + choice: MPlantin-Bold +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 + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.png + colored rarities: + choice images: + no: { symbol_variation(symbol: set.symbol, variation: "common") } + yes: { symbol_variation(symbol: set.symbol, variation: "rare") } +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: 4 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: 40 + top : 23 + width: 295 + height: 25 + alignment: middle center + padding bottom: 0 + z index: 1 + font: + name: MPlantin + size: 17 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + ############################# Image + image: + left: 44 + top: 58 + width: 286 + height: 270 + z index: 1 + ############################# Card type + type: + left: 58 + top : 348 + width: { 262 - max(22,card_style.rarity.content_width) } + height: 18 + alignment: top left shrink-overflow + z index: 1 + font: + name: MPlantin + size: 12 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + separator color: rgb(192,192,192) + rarity: + right: 320 + top : 347 + width: 46 + height: 23 + z index: 2 + alignment: middle right + render style: image + choice images: + # Images based on the set symbol + basic land: script: symbol_variation(symbol: set.symbol, variation: "common") + common: script: symbol_variation(symbol: set.symbol, variation: "common") + uncommon: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "olduncommon") + else symbol_variation(symbol: set.symbol, variation: "common") + rare: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "oldrare") + else symbol_variation(symbol: set.symbol, variation: "common") + mythic rare: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "mythic rare") + else symbol_variation(symbol: set.symbol, variation: "common") + special: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "special") + else symbol_variation(symbol: set.symbol, variation: "common") + ############################# Text box + text: + left: 63 + top : 378 + width: 246 + height: 67 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 13 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 13 + alignment: + script: + if (styling.center_text == "short text only" and + card_style.text.content_lines <= 2 and + not contains(match:",", card.rule_text) and + not contains(match: ".", card.rule_text) and + not contains(match: ";", card.rule_text) and + not contains(match: ":", card.rule_text) and + not contains(match: "!", card.rule_text) and + not contains(match: "?", card.rule_text) and + card.flavor_text == "") or + styling.center_text == "always" + then "middle center shrink-overflow" + else "middle left shrink-overflow" + z index: 1 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + ############################# PT + pt: + z index: 2 + left: 283 + top: 458 + width: 45 + height: 30 + alignment: right top + font: + name: { styling.pt_font } + size: 18 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 2 + shadow displacement y: 2 + separator color: rgb(255,50,50) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 57 + top : 459 + width: 260 + height: 15 + z index: 1 + alignment: { if styling.left_align_artist then "middle left" else "middle center" } + font: + name: Mplantin + size: 9 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + copyright line: + left: 57 + top : 472 + width: 260 + height: 12 + z index: 1 + alignment: { if styling.left_align_artist then "middle left" else "middle center" } + font: + name: MPlantin + size: 8 + color: { font_color(card.card_color) } +############################################################## Extra card fields +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card style: + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 3 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-old.mse-style/style b/data/magic-old.mse-style/style index d8772e30..beff858b 100644 --- a/data/magic-old.mse-style/style +++ b/data/magic-old.mse-style/style @@ -1,399 +1,399 @@ -mse version: 0.3.8 -game: magic -short name: Old style -full name: Before 8th edition -installer group: magic/old style/normal cards -icon: card-sample.png -position hint: 101 - -version: 2009-07-09 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-watermarks.mse-include - version: 2007-12-29 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -############################################################## 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 } - - # Only white cards use a black font - font_colors_white := { input != "w" } - - # Alpha style lands? Different blending for multicolored lands. - #Did it this way because was getting longer other way, due to redefining color_background parts. - color_combination := { - # The base hybrid, without the outer frame blended over it - base := base_hybrid[shape][color_count]() - - # Put a frame around it? - if type == "card" and land and color_count == 2 and shape != "overlay" and styling.alpha_style_blending then - masked_blend( - mask: "alpha_blend.png", - dark: land_template(colors[0]), - light: land_template(colors[1]), - ) - else if land and color_count!=1 then - masked_blend( - mask: "land_blend_{type}.png", - dark: land_template("c"), - light: base, - ) - else if multi then - masked_blend( - mask: ( if styling.type_of_gradient_multicolor == "full card" then "multicolor_blend_{type}.png" - else if styling.type_of_gradient_multicolor == "trim only" then "multicolor_blend_{type}2.png" - else "multicolor_blend_{type}.png" ), - dark: template("m"), - light: base, - ) - else if artifact then - masked_blend( - mask: ( if styling.type_of_gradient_artifact == "full card" then "multicolor_blend_{type}.png" - else if styling.type_of_gradient_artifact == "trim only" then "multicolor_blend_{type}2.png" - else "multicolor_blend_{type}.png" ), - dark: template("a"), - light: base, - ) - else base - } -############################################################## Set info fields -set info style: - symbol: - variation: - name: olduncommon - border radius: 0.10 - fill type: linear gradient - fill color 1: rgb(224,224,224) - fill color 2: rgb(84, 84, 84) - border color 1: rgb(255,255,255) - border color 2: rgb(255,255,255) - variation: - name: oldrare - border radius: 0.10 - fill type: linear gradient - fill color 1: rgb(214,196,94) - fill color 2: rgb(95, 84, 40) - border color 1: rgb(255,255,255) - border color 2: rgb(255,255,255) -############################################################## 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: boolean - name: alpha style blending - description: Use Alpha-style dual blending - initial: no -styling field: - type: choice - name: type of gradient multicolor - description: What parts of the card should be blended for gradient multicolor? - choice: full card - choice: trim only - initial: full card -styling field: - type: choice - name: type of gradient artifact - description: What parts of the card should be blended for gradient artifact? - choice: full card - choice: trim only - initial: full card -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: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: boolean - name: colored rarities - description: Should rarity symbols be different colors, such as gold, silver, and purple? - initial: yes -styling field: - type: boolean - name: left align artist - description: Should the artist and copyright lines be left aligned, as seen in Tempest? - initial: no -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling field: - type: choice - name: pt font - description: Should the font used for p/t be MPlantin or MPlantin-Bold? MPlantin was used until Mirage. - initial: MPlantin-Bold - choice: MPlantin - choice: MPlantin-Bold -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 - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.png - colored rarities: - choice images: - no: { symbol_variation(symbol: set.symbol, variation: "common") } - yes: { symbol_variation(symbol: set.symbol, variation: "rare") } -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 19 - right width: 19 - top width: 19 - bottom width: 19 - z index: 4 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: 42 - top: 24 - right: { 341 - card_style.casting_cost.content_width } - height: 23 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: MagicMedieval - size: 15.5 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - casting cost: - right: 341 - top : 22 - width: { max(30, card_style.casting_cost.content_width) + 5 } - height: 24 - alignment: middle right - symbol font: - name: magic-mana-small - size: 16 - alignment: middle right - always symbol: true - z index: 2 - padding top: 0 - card symbol: - left: 24 - top : 24 - height: 20 - width: 14 - z index: 1 - render style: image - choice images: - tombstone: tombstone.png - ############################# Image - image: - left: 45 - top: 51 - width: 286 - height: 233 - z index: 1 - ############################# Card type - type: - left: 39 - top : 291 - width: { 298 - max(22,card_style.rarity.content_width) } - height: 20 - alignment: middle shrink-overflow - z index: 1 - padding top: 2 - font: - name: MPlantin - size: 12 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - separator color: rgb(128,128,128) - rarity: - left: 293 - top : 290 - width: 44 - height: 22 - z index: 2 - alignment: middle right - render style: image - choice images: - # Images based on the set symbol - basic land: script: symbol_variation(symbol: set.symbol, variation: "common") - common: script: symbol_variation(symbol: set.symbol, variation: "common") - uncommon: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "olduncommon") - else symbol_variation(symbol: set.symbol, variation: "common") - rare: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "oldrare") - else symbol_variation(symbol: set.symbol, variation: "common") - mythic rare: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "mythic rare") - else symbol_variation(symbol: set.symbol, variation: "common") - special: - script: - if styling.colored_rarities - then symbol_variation(symbol: set.symbol, variation: "special") - else symbol_variation(symbol: set.symbol, variation: "common") - ############################# Text box - text: - left: 43 - top : 318 - width: 289 - height: 143 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 6 - padding top: 2 - padding right: 4 - padding bottom: 0 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - watermark: - left: 120 - top : 313 - width: 138 - height: 150 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks-old - ############################# PT - pt: - z index: 2 - left: 295 - top: 470 - width: 47 - height: 27 - alignment: right middle - font: - name: { styling.pt_font } - size: 17 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - separator color: rgb(200,0,0) - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 40 - top : 470 - width: 297 - height: 16 - z index: 1 - alignment: { if styling.left_align_artist then "middle left" else "middle center" } - font: - name: MPlantin - size: 10 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: 1 - shadow displacement y: 1 - copyright line: - left: 40 - top : 486 - width: 297 - height: 12 - z index: 1 - alignment: { if styling.left_align_artist then "middle left" else "middle center" } - font: - name: MPlantin - size: 6.5 - color: { font_color(card.card_color) } -############################################################## Extra card fields -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card style: - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 3 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +short name: Old style +full name: Before 8th edition +installer group: magic/old style/normal cards +icon: card-sample.png +position hint: 101 + +version: 2009-07-09 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-watermarks.mse-include + version: 2007-12-29 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +############################################################## 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 } + + # Only white cards use a black font + font_colors_white := { input != "w" } + + # Alpha style lands? Different blending for multicolored lands. + #Did it this way because was getting longer other way, due to redefining color_background parts. + color_combination := { + # The base hybrid, without the outer frame blended over it + base := base_hybrid[shape][color_count]() + + # Put a frame around it? + if type == "card" and land and color_count == 2 and shape != "overlay" and styling.alpha_style_blending then + masked_blend( + mask: "alpha_blend.png", + dark: land_template(colors[0]), + light: land_template(colors[1]), + ) + else if land and color_count!=1 then + masked_blend( + mask: "land_blend_{type}.png", + dark: land_template("c"), + light: base, + ) + else if multi then + masked_blend( + mask: ( if styling.type_of_gradient_multicolor == "full card" then "multicolor_blend_{type}.png" + else if styling.type_of_gradient_multicolor == "trim only" then "multicolor_blend_{type}2.png" + else "multicolor_blend_{type}.png" ), + dark: template("m"), + light: base, + ) + else if artifact then + masked_blend( + mask: ( if styling.type_of_gradient_artifact == "full card" then "multicolor_blend_{type}.png" + else if styling.type_of_gradient_artifact == "trim only" then "multicolor_blend_{type}2.png" + else "multicolor_blend_{type}.png" ), + dark: template("a"), + light: base, + ) + else base + } +############################################################## Set info fields +set info style: + symbol: + variation: + name: olduncommon + border radius: 0.10 + fill type: linear gradient + fill color 1: rgb(224,224,224) + fill color 2: rgb(84, 84, 84) + border color 1: rgb(255,255,255) + border color 2: rgb(255,255,255) + variation: + name: oldrare + border radius: 0.10 + fill type: linear gradient + fill color 1: rgb(214,196,94) + fill color 2: rgb(95, 84, 40) + border color 1: rgb(255,255,255) + border color 2: rgb(255,255,255) +############################################################## 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: boolean + name: alpha style blending + description: Use Alpha-style dual blending + initial: no +styling field: + type: choice + name: type of gradient multicolor + description: What parts of the card should be blended for gradient multicolor? + choice: full card + choice: trim only + initial: full card +styling field: + type: choice + name: type of gradient artifact + description: What parts of the card should be blended for gradient artifact? + choice: full card + choice: trim only + initial: full card +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: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: boolean + name: colored rarities + description: Should rarity symbols be different colors, such as gold, silver, and purple? + initial: yes +styling field: + type: boolean + name: left align artist + description: Should the artist and copyright lines be left aligned, as seen in Tempest? + initial: no +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling field: + type: choice + name: pt font + description: Should the font used for p/t be MPlantin or MPlantin-Bold? MPlantin was used until Mirage. + initial: MPlantin-Bold + choice: MPlantin + choice: MPlantin-Bold +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 + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.png + colored rarities: + choice images: + no: { symbol_variation(symbol: set.symbol, variation: "common") } + yes: { symbol_variation(symbol: set.symbol, variation: "rare") } +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 19 + right width: 19 + top width: 19 + bottom width: 19 + z index: 4 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: 42 + top: 24 + right: { 341 - card_style.casting_cost.content_width } + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: MagicMedieval + size: 15.5 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + casting cost: + right: 341 + top : 22 + width: { max(30, card_style.casting_cost.content_width) + 5 } + height: 24 + alignment: middle right + symbol font: + name: magic-mana-small + size: 16 + alignment: middle right + always symbol: true + z index: 2 + padding top: 0 + card symbol: + left: 24 + top : 24 + height: 20 + width: 14 + z index: 1 + render style: image + choice images: + tombstone: tombstone.png + ############################# Image + image: + left: 45 + top: 51 + width: 286 + height: 233 + z index: 1 + ############################# Card type + type: + left: 39 + top : 291 + width: { 298 - max(22,card_style.rarity.content_width) } + height: 20 + alignment: middle shrink-overflow + z index: 1 + padding top: 2 + font: + name: MPlantin + size: 12 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + separator color: rgb(128,128,128) + rarity: + left: 293 + top : 290 + width: 44 + height: 22 + z index: 2 + alignment: middle right + render style: image + choice images: + # Images based on the set symbol + basic land: script: symbol_variation(symbol: set.symbol, variation: "common") + common: script: symbol_variation(symbol: set.symbol, variation: "common") + uncommon: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "olduncommon") + else symbol_variation(symbol: set.symbol, variation: "common") + rare: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "oldrare") + else symbol_variation(symbol: set.symbol, variation: "common") + mythic rare: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "mythic rare") + else symbol_variation(symbol: set.symbol, variation: "common") + special: + script: + if styling.colored_rarities + then symbol_variation(symbol: set.symbol, variation: "special") + else symbol_variation(symbol: set.symbol, variation: "common") + ############################# Text box + text: + left: 43 + top : 318 + width: 289 + height: 143 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 6 + padding top: 2 + padding right: 4 + padding bottom: 0 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + watermark: + left: 120 + top : 313 + width: 138 + height: 150 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks-old + ############################# PT + pt: + z index: 2 + left: 295 + top: 470 + width: 47 + height: 27 + alignment: right middle + font: + name: { styling.pt_font } + size: 17 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + separator color: rgb(200,0,0) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 40 + top : 470 + width: 297 + height: 16 + z index: 1 + alignment: { if styling.left_align_artist then "middle left" else "middle center" } + font: + name: MPlantin + size: 10 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: 1 + shadow displacement y: 1 + copyright line: + left: 40 + top : 486 + width: 297 + height: 12 + z index: 1 + alignment: { if styling.left_align_artist then "middle left" else "middle center" } + font: + name: MPlantin + size: 6.5 + color: { font_color(card.card_color) } +############################################################## Extra card fields +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card style: + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 3 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-overlay-foil-normal.mse-include/include b/data/magic-overlay-foil-normal.mse-include/include index 0872458c..0051bd78 100644 --- a/data/magic-overlay-foil-normal.mse-include/include +++ b/data/magic-overlay-foil-normal.mse-include/include @@ -1,6 +1,6 @@ -mse version: 0.3.7 -version: 2008-08-31 -short name: normal foil -installer group: magic/overlays/foil/normal -position hint: 001 +mse version: 0.3.7 +version: 2008-08-31 +short name: normal foil +installer group: magic/overlays/foil/normal +position hint: 001 icon: overlay.png \ No newline at end of file diff --git a/data/magic-planeshifted-split.mse-style/style b/data/magic-planeshifted-split.mse-style/style index b08adc5c..e8af1f7e 100644 --- a/data/magic-planeshifted-split.mse-style/style +++ b/data/magic-planeshifted-split.mse-style/style @@ -1,493 +1,493 @@ -mse version: 0.3.8 -game: magic -short name: Planeshifted Splits -full name: Planeshifted Split Cards -installer group: magic/Planeshifted/Split Cards -icon: card-sample.png -position hint: 013 - -version: 2009-07-07 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-watermarks.mse-include - version: 2007-09-23 -depends on: - package: magic-mana-large.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 523 -card height: 375 -card dpi: 150 -# By Pichoro; based on templates by Wolfwood and Buttock1234 -############################################################## Extra scripts -init script: - # Should hybrids have a grey name? - mask_hybrid_with_land := { styling.grey_hybrid_name } - - #Should multicolor lands with basic land types have a colored name? - mask_multi_land_with_color := { styling.colored_multicolor_land_name } - - template_suffix := [card: "card.jpg", pt: "pt.png"] - template := { input + template_suffix[type] } - land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] } - - # 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 } - - card_shape := { if styling.shifted_sorting then "split, shifted" else "split" } - -############################################################## 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: shifted sorting - description: Should this style of card sort as a shifted card (after other cards of that color)? - initial: yes -styling field: - type: boolean - name: grey hybrid name - description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. -styling field: - type: boolean - name: colored multicolor land name - description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. -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: modern - choice: modern - choice: old - choice: diagonal T -styling field: - type: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: boolean - name: inverted common symbol - description: Should the common rarity symbol be inverted, like in Coldsnap? - initial: no -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -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-large.mse-symbol-font/mana_t.png - old: /magic-mana-large.mse-symbol-font/mana_t_old.png - diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top: 0 - width: 523 - height: 375 - radius: 18 - z index: -1 - card color: - left: 18 - top: 18 - width: 236 - height: 338 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - card color 2: - left: 269 - top: 18 - width: 236 - height: 338 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: { if card.card_symbol=="none" then 30 else 51 } - top: 27 - right: { 242 - card_style.casting_cost.content_width } - height: 17 - alignment: top shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: Matrix - size: 13 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: -1 - shadow displacement y: 1 - name 2: - left: { if card.card_symbol_2=="none" then 282 else 51 } - top: 27 - right: { 493 - card_style.casting_cost_2.content_width } - height: 17 - alignment: top shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: Matrix - size: 13 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: -1 - shadow displacement y: 1 - casting cost: - right: 243 - top: 28 - width: { max(19, card_style.casting_cost.content_width) + 3 } - height: 16 - alignment: bottom right - symbol font: - name: magic-mana-large - size: 12 - alignment: middle right - always symbol: true - z index: 2 - padding top: 0 - casting cost 2: - right: 494 - top: 28 - width: { max(19, card_style.casting_cost_2.content_width) + 3 } - height: 16 - alignment: bottom right - symbol font: - name: magic-mana-large - size: 12 - alignment: middle right - always symbol: true - z index: 2 - padding top: 0 - ############################# Image - image: - left: 28 - top: 49 - width: 216 - height: 159 - z index: 1 - image 2: - left: 279 - top: 49 - width: 216 - height: 159 - z index: 1 - ############################# Card type - type: - left: 30 - top : 211 - width: { 210 - max(13,card_style.rarity.content_width) } - height: 17 - alignment: top shrink-overflow - z index: 1 - font: - name: Matrix - size: 12 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: -1 - shadow displacement y: 1 - separator color: rgb(128,128,128) - type 2: - left: 282 - top : 211 - width: { 210 - max(13,card_style.rarity.content_width) } - height: 17 - alignment: top shrink-overflow - z index: 1 - font: - name: Matrix - size: 12 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: -1 - shadow displacement y: 1 - separator color: rgb(128,128,128) - rarity: - right: 241 - top : 213 - width: 26 - height: 13 - z index: 2 - alignment: middle right - render style: image - choice images: - # Images based on the set symbol - basic land: - script: - if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") - else symbol_variation(symbol: set.symbol, variation: "common") - 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") - rarity 2: - right: 493 - top : 213 - width: 26 - height: 13 - z index: 2 - alignment: middle right - render style: image - choice images: - # Images based on the set symbol - basic land: - script: - if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") - else symbol_variation(symbol: set.symbol, variation: "common") - 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") - special: script: symbol_variation(symbol: set.symbol, variation: "special") - ############################# Text box - text: - left: 29 - top : 233 - width: 214 - height: 99 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 2 - padding right: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - text 2: - left: 279 - top : 233 - width: 214 - height: 99 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 2 - padding right: 2 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - watermark: - left: 87 - top : 228 - width: 92 - height: 108 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - watermark 2: - left: 338 - top : 228 - width: 92 - height: 108 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - ############################# PT - pt: - z index: 2 - left: 200 - top: 327 - width: 48 - height: 25 - alignment: center middle shrink-overflow - font: - name: ModMatrix - size: 14 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: -1 - shadow displacement y: 1 - separator color: rgb(200,0,0) - pt 2: - z index: 2 - left: 451 - top: 327 - width: 48 - height: 25 - alignment: center middle shrink-overflow - font: - name: ModMatrix - size: 14 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: -1 - shadow displacement y: 1 - separator color: rgb(200,0,0) - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 46 - top : 338 - width: 155 - height: 16 - z index: 1 - font: - name: Matrix - size: 8 - color: { font_color(card.card_color) } - illustrator 2: - left: 298 - top : 338 - width: 155 - height: 16 - z index: 1 - font: - name: Matrix - size: 8 - color: { font_color(card.card_color_2) } - copyright line: - left: 26 - top : 348 - width: 175 - height: 12 - z index: 1 - font: - name: MPlantin - size: 6 - color: { font_color(card.card_color) } - copyright line 2: - left: 278 - top : 348 - width: 175 - height: 12 - z index: 1 - font: - name: MPlantin - size: 6 - color: { font_color(card.card_color_2) } -############################################################## Extra card fields -extra card field: - type: choice - name: pt box - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: pt box 2 - script: card.card_color_2 - editable: false - save value: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card style: - pt box: - left: 194 - top: 326 - width: 56 - height: 29 - z index: 1 - visible: { card.pt != "" } - render style: image - image: { card_ptbox() } - pt box 2: - left: 445 - top: 326 - width: 56 - height: 29 - z index: 1 - visible: { card.pt_2 != "" } - render style: image - image: { card_ptbox() } - foil layer: - right: 523 - bottom: 0 - width: 375 - height: 523 - z index: 3 - angle: 90 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +short name: Planeshifted Splits +full name: Planeshifted Split Cards +installer group: magic/Planeshifted/Split Cards +icon: card-sample.png +position hint: 013 + +version: 2009-07-07 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-watermarks.mse-include + version: 2007-09-23 +depends on: + package: magic-mana-large.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 523 +card height: 375 +card dpi: 150 +# By Pichoro; based on templates by Wolfwood and Buttock1234 +############################################################## Extra scripts +init script: + # Should hybrids have a grey name? + mask_hybrid_with_land := { styling.grey_hybrid_name } + + #Should multicolor lands with basic land types have a colored name? + mask_multi_land_with_color := { styling.colored_multicolor_land_name } + + template_suffix := [card: "card.jpg", pt: "pt.png"] + template := { input + template_suffix[type] } + land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] } + + # 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 } + + card_shape := { if styling.shifted_sorting then "split, shifted" else "split" } + +############################################################## 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: shifted sorting + description: Should this style of card sort as a shifted card (after other cards of that color)? + initial: yes +styling field: + type: boolean + name: grey hybrid name + description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. +styling field: + type: boolean + name: colored multicolor land name + description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. +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: modern + choice: modern + choice: old + choice: diagonal T +styling field: + type: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +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-large.mse-symbol-font/mana_t.png + old: /magic-mana-large.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top: 0 + width: 523 + height: 375 + radius: 18 + z index: -1 + card color: + left: 18 + top: 18 + width: 236 + height: 338 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + card color 2: + left: 269 + top: 18 + width: 236 + height: 338 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: { if card.card_symbol=="none" then 30 else 51 } + top: 27 + right: { 242 - card_style.casting_cost.content_width } + height: 17 + alignment: top shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 13 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: -1 + shadow displacement y: 1 + name 2: + left: { if card.card_symbol_2=="none" then 282 else 51 } + top: 27 + right: { 493 - card_style.casting_cost_2.content_width } + height: 17 + alignment: top shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 13 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: -1 + shadow displacement y: 1 + casting cost: + right: 243 + top: 28 + width: { max(19, card_style.casting_cost.content_width) + 3 } + height: 16 + alignment: bottom right + symbol font: + name: magic-mana-large + size: 12 + alignment: middle right + always symbol: true + z index: 2 + padding top: 0 + casting cost 2: + right: 494 + top: 28 + width: { max(19, card_style.casting_cost_2.content_width) + 3 } + height: 16 + alignment: bottom right + symbol font: + name: magic-mana-large + size: 12 + alignment: middle right + always symbol: true + z index: 2 + padding top: 0 + ############################# Image + image: + left: 28 + top: 49 + width: 216 + height: 159 + z index: 1 + image 2: + left: 279 + top: 49 + width: 216 + height: 159 + z index: 1 + ############################# Card type + type: + left: 30 + top : 211 + width: { 210 - max(13,card_style.rarity.content_width) } + height: 17 + alignment: top shrink-overflow + z index: 1 + font: + name: Matrix + size: 12 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: -1 + shadow displacement y: 1 + separator color: rgb(128,128,128) + type 2: + left: 282 + top : 211 + width: { 210 - max(13,card_style.rarity.content_width) } + height: 17 + alignment: top shrink-overflow + z index: 1 + font: + name: Matrix + size: 12 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: -1 + shadow displacement y: 1 + separator color: rgb(128,128,128) + rarity: + right: 241 + top : 213 + width: 26 + height: 13 + z index: 2 + alignment: middle right + render style: image + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + 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") + rarity 2: + right: 493 + top : 213 + width: 26 + height: 13 + z index: 2 + alignment: middle right + render style: image + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + 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") + special: script: symbol_variation(symbol: set.symbol, variation: "special") + ############################# Text box + text: + left: 29 + top : 233 + width: 214 + height: 99 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 2 + padding right: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + text 2: + left: 279 + top : 233 + width: 214 + height: 99 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 2 + padding right: 2 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + watermark: + left: 87 + top : 228 + width: 92 + height: 108 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + watermark 2: + left: 338 + top : 228 + width: 92 + height: 108 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + ############################# PT + pt: + z index: 2 + left: 200 + top: 327 + width: 48 + height: 25 + alignment: center middle shrink-overflow + font: + name: ModMatrix + size: 14 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: -1 + shadow displacement y: 1 + separator color: rgb(200,0,0) + pt 2: + z index: 2 + left: 451 + top: 327 + width: 48 + height: 25 + alignment: center middle shrink-overflow + font: + name: ModMatrix + size: 14 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: -1 + shadow displacement y: 1 + separator color: rgb(200,0,0) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 46 + top : 338 + width: 155 + height: 16 + z index: 1 + font: + name: Matrix + size: 8 + color: { font_color(card.card_color) } + illustrator 2: + left: 298 + top : 338 + width: 155 + height: 16 + z index: 1 + font: + name: Matrix + size: 8 + color: { font_color(card.card_color_2) } + copyright line: + left: 26 + top : 348 + width: 175 + height: 12 + z index: 1 + font: + name: MPlantin + size: 6 + color: { font_color(card.card_color) } + copyright line 2: + left: 278 + top : 348 + width: 175 + height: 12 + z index: 1 + font: + name: MPlantin + size: 6 + color: { font_color(card.card_color_2) } +############################################################## Extra card fields +extra card field: + type: choice + name: pt box + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: pt box 2 + script: card.card_color_2 + editable: false + save value: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card style: + pt box: + left: 194 + top: 326 + width: 56 + height: 29 + z index: 1 + visible: { card.pt != "" } + render style: image + image: { card_ptbox() } + pt box 2: + left: 445 + top: 326 + width: 56 + height: 29 + z index: 1 + visible: { card.pt_2 != "" } + render style: image + image: { card_ptbox() } + foil layer: + right: 523 + bottom: 0 + width: 375 + height: 523 + z index: 3 + angle: 90 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-planeshifted.mse-style/style b/data/magic-planeshifted.mse-style/style index 1ad3bc1d..6fb17e21 100644 --- a/data/magic-planeshifted.mse-style/style +++ b/data/magic-planeshifted.mse-style/style @@ -1,364 +1,364 @@ -mse version: 0.3.8 -game: magic -short name: Planeshifted -full name: Planar Chaos Timeshifts -installer group: magic/Planeshifted/Normal Cards -icon: card-sample.png -position hint: 011 - -version: 2009-07-06 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-watermarks.mse-include - version: 2007-09-23 -depends on: - package: magic-mana-large.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -############################################################## Extra scripts -init script: - # Should hybrids have a grey name? - mask_hybrid_with_land := { styling.grey_hybrid_name } - - #Should multicolor lands with basic land types have a colored name? - mask_multi_land_with_color := { styling.colored_multicolor_land_name } - - template_suffix := [card: "card.jpg", pt: "pt.png"] - template := { input + template_suffix[type] } - land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] } - - # 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 } - - card_shape := { if styling.shifted_sorting then "shifted" else "normal" } - -############################################################## 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: shifted sorting - description: Should this style of card sort as a shifted card (after other cards of that color)? - initial: yes -styling field: - type: boolean - name: grey hybrid name - description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. -styling field: - type: boolean - name: colored multicolor land name - description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. -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: modern - choice: modern - choice: old - choice: diagonal T -styling field: - type: choice - name: center text - description: When to center text (short text only means only on one-line cards with no flavor text) - choice: always - choice: short text only - choice: never - initial: never -styling field: - type: boolean - name: inverted common symbol - description: Should the common rarity symbol be inverted, like in Coldsnap? - initial: no -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling field: - type: choice - name: image size - description: Should the art extend into a transparent textbox? - initial: standard - choice: standard - choice: extended -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-large.mse-symbol-font/mana_t.png - old: /magic-mana-large.mse-symbol-font/mana_t_old.png - diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png - center text: - render style: both - choice images: - always: /magic.mse-game/icons/center-all-text.png - short text only: /magic.mse-game/icons/center-short-text.png - never: /magic.mse-game/icons/center-no-text.png - inverted common symbol: - choice images: - no: { symbol_variation(symbol: set.symbol, variation: "common") } - yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } - image size: - render style: both - choice images: - standard: /magic.mse-game/icons/small-image.png - extended: /magic.mse-game/icons/large-image.png -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top: 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - z index: 4 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: { if card.card_symbol=="none" then 32 else 51 } - top: 30 - right: { 341 - card_style.casting_cost.content_width } - height: 23 - alignment: middle shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: Matrix - size: 17 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: -1 - shadow displacement y: 1 - casting cost: - right: 343 - top: 32 - width: { max(30, card_style.casting_cost.content_width) + 5 } - height: 23 - alignment: middle right - symbol font: - name: magic-mana-large - size: 15 - alignment: middle right - always symbol: true - z index: 2 - padding top: 0 - card symbol: - left: {if card.card_symbol=="none" then 20 else 32} - top : 31 - height: 20 - width: 14 - z index: 1 - render style: image - choice images: - tombstone: tombstone.png - ############################# Image - image: - left: 32 - top: 62 - width: 311 - height: { if styling.image_size == "extended" then 408 else 228 } - z index: 1 - mask: - script: if styling.image_size == "extended" then "imagemask_extended.png" else "imagemask_standard.png" - ############################# Card type - type: - left: 35 - top : 298 - width: { 308 - max(22,card_style.rarity.content_width) } - height: 20 - alignment: middle shrink-overflow - z index: 1 - padding top: 2 - font: - name: Matrix - size: 14 - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: -1 - shadow displacement y: 1 - scale down to: 6 - separator color: rgb(192,192,192) - rarity: - right: 342 - top : 297 - width: 44 - height: 22 - z index: 2 - alignment: middle right - render style: image - choice images: - # Images based on the set symbol - basic land: - script: - if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") - else symbol_variation(symbol: set.symbol, variation: "common") - 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 - text: - left: 31 - top : 328 - width: 311 - height: 142 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: - script: - if (styling.center_text == "short text only" and - not contains(match:"\n", card.rule_text) and - card.flavor_text == "" and - card_style.text.content_lines <= 2) or - styling.center_text == "always" - then "middle center" - else "middle left" - z index: 2 - padding left: 6 - padding right: 4 - line height hard: 1.2 - line height line: 1.5 - line height soft: 0.9 - watermark: - left: 117 - top : 321 - width: 138 - height: 156 - z index: 1 - render style: image - alignment: middle center - include file: /magic-watermarks.mse-include/watermarks - ############################# PT - pt: - z index: 2 - left: 284 - top: 466 - width: 60 - height: 28 - alignment: center middle shrink-overflow - font: - name: ModMatrix - size: 17 - weight: bold - color: rgb(255,255,255) - shadow color: rgb(0,0,0) - shadow displacement x: -1 - shadow displacement y: 1 - separator color: rgb(200,0,0) - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 56 - top : 478 - width: 217 - height: 16 - z index: 1 - font: - name: Matrix - size: 10 - weight: bold - color: { font_color(card.card_color) } - copyright line: - left: 30 - top : 493 - width: 247 - height: 12 - z index: 1 - font: - name: MPlantin - size: 6.5 - color: { font_color(card.card_color) } -############################################################## Extra card fields -extra card field: - type: choice - name: pt box - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card style: - pt box: - left: 271 - top: 461 - width: 81 - height: 42 - z index: 1 - visible: { card.pt != "" } - render style: image - image: { card_ptbox() } - mask: ptmask.png - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 3 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} +mse version: 0.3.8 +game: magic +short name: Planeshifted +full name: Planar Chaos Timeshifts +installer group: magic/Planeshifted/Normal Cards +icon: card-sample.png +position hint: 011 + +version: 2009-07-06 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-watermarks.mse-include + version: 2007-09-23 +depends on: + package: magic-mana-large.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +############################################################## Extra scripts +init script: + # Should hybrids have a grey name? + mask_hybrid_with_land := { styling.grey_hybrid_name } + + #Should multicolor lands with basic land types have a colored name? + mask_multi_land_with_color := { styling.colored_multicolor_land_name } + + template_suffix := [card: "card.jpg", pt: "pt.png"] + template := { input + template_suffix[type] } + land_template := { (if input == "a" then "c" else input) + "l" + template_suffix[type] } + + # 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 } + + card_shape := { if styling.shifted_sorting then "shifted" else "normal" } + +############################################################## 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: shifted sorting + description: Should this style of card sort as a shifted card (after other cards of that color)? + initial: yes +styling field: + type: boolean + name: grey hybrid name + description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. +styling field: + type: boolean + name: colored multicolor land name + description: Use a colored background for the name and type on multicolor land cards with a basic land type. This is done on real cards. +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: modern + choice: modern + choice: old + choice: diagonal T +styling field: + type: choice + name: center text + description: When to center text (short text only means only on one-line cards with no flavor text) + choice: always + choice: short text only + choice: never + initial: never +styling field: + type: boolean + name: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling field: + type: choice + name: image size + description: Should the art extend into a transparent textbox? + initial: standard + choice: standard + choice: extended +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-large.mse-symbol-font/mana_t.png + old: /magic-mana-large.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png + center text: + render style: both + choice images: + always: /magic.mse-game/icons/center-all-text.png + short text only: /magic.mse-game/icons/center-short-text.png + never: /magic.mse-game/icons/center-no-text.png + inverted common symbol: + choice images: + no: { symbol_variation(symbol: set.symbol, variation: "common") } + yes: { symbol_variation(symbol: set.symbol, variation: "invertedcommon") } + image size: + render style: both + choice images: + standard: /magic.mse-game/icons/small-image.png + extended: /magic.mse-game/icons/large-image.png +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top: 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: 4 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: { if card.card_symbol=="none" then 32 else 51 } + top: 30 + right: { 341 - card_style.casting_cost.content_width } + height: 23 + alignment: middle shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 17 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: -1 + shadow displacement y: 1 + casting cost: + right: 343 + top: 32 + width: { max(30, card_style.casting_cost.content_width) + 5 } + height: 23 + alignment: middle right + symbol font: + name: magic-mana-large + size: 15 + alignment: middle right + always symbol: true + z index: 2 + padding top: 0 + card symbol: + left: {if card.card_symbol=="none" then 20 else 32} + top : 31 + height: 20 + width: 14 + z index: 1 + render style: image + choice images: + tombstone: tombstone.png + ############################# Image + image: + left: 32 + top: 62 + width: 311 + height: { if styling.image_size == "extended" then 408 else 228 } + z index: 1 + mask: + script: if styling.image_size == "extended" then "imagemask_extended.png" else "imagemask_standard.png" + ############################# Card type + type: + left: 35 + top : 298 + width: { 308 - max(22,card_style.rarity.content_width) } + height: 20 + alignment: middle shrink-overflow + z index: 1 + padding top: 2 + font: + name: Matrix + size: 14 + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: -1 + shadow displacement y: 1 + scale down to: 6 + separator color: rgb(192,192,192) + rarity: + right: 342 + top : 297 + width: 44 + height: 22 + z index: 2 + alignment: middle right + render style: image + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + 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 + text: + left: 31 + top : 328 + width: 311 + height: 142 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: + script: + if (styling.center_text == "short text only" and + not contains(match:"\n", card.rule_text) and + card.flavor_text == "" and + card_style.text.content_lines <= 2) or + styling.center_text == "always" + then "middle center" + else "middle left" + z index: 2 + padding left: 6 + padding right: 4 + line height hard: 1.2 + line height line: 1.5 + line height soft: 0.9 + watermark: + left: 117 + top : 321 + width: 138 + height: 156 + z index: 1 + render style: image + alignment: middle center + include file: /magic-watermarks.mse-include/watermarks + ############################# PT + pt: + z index: 2 + left: 284 + top: 466 + width: 60 + height: 28 + alignment: center middle shrink-overflow + font: + name: ModMatrix + size: 17 + weight: bold + color: rgb(255,255,255) + shadow color: rgb(0,0,0) + shadow displacement x: -1 + shadow displacement y: 1 + separator color: rgb(200,0,0) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 56 + top : 478 + width: 217 + height: 16 + z index: 1 + font: + name: Matrix + size: 10 + weight: bold + color: { font_color(card.card_color) } + copyright line: + left: 30 + top : 493 + width: 247 + height: 12 + z index: 1 + font: + name: MPlantin + size: 6.5 + color: { font_color(card.card_color) } +############################################################## Extra card fields +extra card field: + type: choice + name: pt box + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card style: + pt box: + left: 271 + top: 461 + width: 81 + height: 42 + z index: 1 + visible: { card.pt != "" } + render style: image + image: { card_ptbox() } + mask: ptmask.png + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 3 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} diff --git a/data/magic-spoiler.mse-export-template/export-template b/data/magic-spoiler.mse-export-template/export-template index da1673c4..ff1957c7 100644 --- a/data/magic-spoiler.mse-export-template/export-template +++ b/data/magic-spoiler.mse-export-template/export-template @@ -1,237 +1,237 @@ -# Simple exporter for HTML files -mse version: 0.3.7 -game: magic -short name: Spoiler -full name: List of cards -installer group: magic/Export/Spoiler (list of cards) -icon: preview.png -create directory: true -version: 2008-08-07 -depends on: magic.mse-game 2008-05-18 - -######################################################################################## - -option field: - type: boolean - name: include set file - description: Should a link to the MSE set file be included in the spoiler? - initial: no -option field: - type: choice - name: grouping - description: How should cards be grouped? - choice: no grouping - choice: group by color - initial: group by color -option field: - type: choice - name: images - choice: no - choice: just the image box, linked - choice: just the image box, inline - choice: full card image, linked - choice: full card image, preview - choice: full card image only - initial: full images, preview -option field: - type: boolean - name: mana symbols - description: Should mana symbols be used, or should they be written as text? -option field: - type: boolean - name: rarity symbols - description: Should rarity be shown using a symbol or as text? -#doesn't work yet: -#option field: -# type: boolean -# name: list keywords -# description: Should the keywords be listed? -#option field: -# type: boolean -# name: fancy scripts -# description: Should fancy scripts be used -option field: - type: choice - name: font style - choice: default - choice: serif - choice: sans-serif -option field: - type: color - name: background color - initial: rgb(255,255,255) - choice: - name: white - color: rgb(255,255,255) - choice: - name: black - color: rgb(0,0,0) -option field: - type: color - name: text color - initial: rgb(0,0,0) - choice: - name: white - color: rgb(255,255,255) - choice: - name: black - color: rgb(0,0,0) - -option style: - grouping: - render style: both - choice images: - no grouping: { built_in_image("bool_no") } - group by color: /magic.mse-game/stats/card_color.png - images: - render style: both - choice images: - no: { built_in_image("bool_no") } - font style: - render style: both - choice images: - serif: /magic-spoiler.mse-export-template/serif.png - sans-serif: /magic-spoiler.mse-export-template/sans-serif.png - -script: - if options.mana_symbols then ( - symbol_font := "magic-mana-small" - symbol_font_size := 12 - ) else ( - symbols_to_html := to_html - ) - write_card := { - if contains(options.images, match:"full card image") then - card_image_file := write_image_file(card, file:"card{position(of:card,in:set)}.jpg") - else if contains(options.images, match:"image box") and - card.image != "" then - card_image_file := write_image_file(card.image, file:"card{position(of:card,in:set)}.jpg") - else - card_image_file := "" - if options.images == "full card image, preview" then - card_image_preview := write_image_file(card, file:"card-preview{position(of:card,in:set)}.jpg", height: 100) - else - card_image_preview := card_image_file - if options.images == "full card image only" then - "
  • " - else - "
  • - {if options.images == "full card image, preview" then - " - { to_html(card.name ) }" - else if card_image_file != "" and contains(options.images, match:"linked") then - "{ to_html(card.name) }" - else - "{ to_html(card.name ) }" - }{ symbols_to_html(card.casting_cost ) } - {if card_image_file != "" and contains(options.images, match:"inline") then - "" - } - { to_html(card.type ) } - { - code := if card.rarity == "" then "C" - else if card.rarity == "basic land" then "L" - else to_upper(card.rarity[0]) # L,C,U,R,S - if options.rarity_symbols then - "{code}" - else code - } - { to_html(card.rule_text ) } - { to_html( remove_tag(tag: "", card.flavor_text) ) } - { to_html(card.pt ) } - { to_html(card.card_number ) } -
  • " - } - write_cards := { - "
      { - for each card in sort_list(cards, order_by: {input.card_number}) do - write_card() - }
    " - } - write_group := { - cards := filter_list(cards, filter: - { # The first character of the color_of_card code must be equal to 'code' - substring(color_of_card(card:input), begin:0, end:1) == code - } - ) - count := number_of_items(in:cards) - if count > 0 then - "

    {title} ({count} {if count == 1 then "card" else "cards"})

    " + - write_cards() - } - copy_file("blank.gif") - write_image_file( - file: "set-symbol.png", - width: 200, - symbol_variation(symbol: set.symbol, variation: "rare") - ) - write_image_file( - file: "set-icon.png", - width: 16, - heght: 16 - symbol_variation(symbol: set.symbol, variation: "rare") - ) - # the html page - html := " - - - { to_html(set.title) } - - - - - - - -

    { to_html(set.title) }

    - -
    { to_html(set.description) }
    - { if options.include_set_file then - "" - } - { if options.grouping == "group by color" then - # Codes as by sort_index - write_group(title: "White", code:"A") + - write_group(title: "Blue", code:"B") + - write_group(title: "Black", code:"C") + - write_group(title: "Red", code:"D") + - write_group(title: "Green", code:"E") + - write_group(title: "Multicolor", code:"F") + - write_group(title: "Hybrids", code:"G") + - write_group(title: "Multicolor split cards", code:"H") + - write_group(title: "Colorless", code:"I") + - write_group(title: "Non-basic lands", code:"K") + - write_group(title: "Basic lands", code:"L") - else - write_cards(cards: cards) - } - - - " - write_text_file(html, file:"index.html") - # make sure the urls are relative to the right directory - replace(html, match:"<[^<>]*(href|src)=\'", replace:"&{directory}/") +# Simple exporter for HTML files +mse version: 0.3.7 +game: magic +short name: Spoiler +full name: List of cards +installer group: magic/Export/Spoiler (list of cards) +icon: preview.png +create directory: true +version: 2008-08-07 +depends on: magic.mse-game 2008-05-18 + +######################################################################################## + +option field: + type: boolean + name: include set file + description: Should a link to the MSE set file be included in the spoiler? + initial: no +option field: + type: choice + name: grouping + description: How should cards be grouped? + choice: no grouping + choice: group by color + initial: group by color +option field: + type: choice + name: images + choice: no + choice: just the image box, linked + choice: just the image box, inline + choice: full card image, linked + choice: full card image, preview + choice: full card image only + initial: full images, preview +option field: + type: boolean + name: mana symbols + description: Should mana symbols be used, or should they be written as text? +option field: + type: boolean + name: rarity symbols + description: Should rarity be shown using a symbol or as text? +#doesn't work yet: +#option field: +# type: boolean +# name: list keywords +# description: Should the keywords be listed? +#option field: +# type: boolean +# name: fancy scripts +# description: Should fancy scripts be used +option field: + type: choice + name: font style + choice: default + choice: serif + choice: sans-serif +option field: + type: color + name: background color + initial: rgb(255,255,255) + choice: + name: white + color: rgb(255,255,255) + choice: + name: black + color: rgb(0,0,0) +option field: + type: color + name: text color + initial: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + choice: + name: black + color: rgb(0,0,0) + +option style: + grouping: + render style: both + choice images: + no grouping: { built_in_image("bool_no") } + group by color: /magic.mse-game/stats/card_color.png + images: + render style: both + choice images: + no: { built_in_image("bool_no") } + font style: + render style: both + choice images: + serif: /magic-spoiler.mse-export-template/serif.png + sans-serif: /magic-spoiler.mse-export-template/sans-serif.png + +script: + if options.mana_symbols then ( + symbol_font := "magic-mana-small" + symbol_font_size := 12 + ) else ( + symbols_to_html := to_html + ) + write_card := { + if contains(options.images, match:"full card image") then + card_image_file := write_image_file(card, file:"card{position(of:card,in:set)}.jpg") + else if contains(options.images, match:"image box") and + card.image != "" then + card_image_file := write_image_file(card.image, file:"card{position(of:card,in:set)}.jpg") + else + card_image_file := "" + if options.images == "full card image, preview" then + card_image_preview := write_image_file(card, file:"card-preview{position(of:card,in:set)}.jpg", height: 100) + else + card_image_preview := card_image_file + if options.images == "full card image only" then + "
  • " + else + "
  • + {if options.images == "full card image, preview" then + " + { to_html(card.name ) }" + else if card_image_file != "" and contains(options.images, match:"linked") then + "{ to_html(card.name) }" + else + "{ to_html(card.name ) }" + }{ symbols_to_html(card.casting_cost ) } + {if card_image_file != "" and contains(options.images, match:"inline") then + "" + } + { to_html(card.type ) } + { + code := if card.rarity == "" then "C" + else if card.rarity == "basic land" then "L" + else to_upper(card.rarity[0]) # L,C,U,R,S + if options.rarity_symbols then + "{code}" + else code + } + { to_html(card.rule_text ) } + { to_html( remove_tag(tag: "", card.flavor_text) ) } + { to_html(card.pt ) } + { to_html(card.card_number ) } +
  • " + } + write_cards := { + "
      { + for each card in sort_list(cards, order_by: {input.card_number}) do + write_card() + }
    " + } + write_group := { + cards := filter_list(cards, filter: + { # The first character of the color_of_card code must be equal to 'code' + substring(color_of_card(card:input), begin:0, end:1) == code + } + ) + count := number_of_items(in:cards) + if count > 0 then + "

    {title} ({count} {if count == 1 then "card" else "cards"})

    " + + write_cards() + } + copy_file("blank.gif") + write_image_file( + file: "set-symbol.png", + width: 200, + symbol_variation(symbol: set.symbol, variation: "rare") + ) + write_image_file( + file: "set-icon.png", + width: 16, + heght: 16 + symbol_variation(symbol: set.symbol, variation: "rare") + ) + # the html page + html := " + + + { to_html(set.title) } + + + + + + + +

    { to_html(set.title) }

    + +
    { to_html(set.description) }
    + { if options.include_set_file then + "" + } + { if options.grouping == "group by color" then + # Codes as by sort_index + write_group(title: "White", code:"A") + + write_group(title: "Blue", code:"B") + + write_group(title: "Black", code:"C") + + write_group(title: "Red", code:"D") + + write_group(title: "Green", code:"E") + + write_group(title: "Multicolor", code:"F") + + write_group(title: "Hybrids", code:"G") + + write_group(title: "Multicolor split cards", code:"H") + + write_group(title: "Colorless", code:"I") + + write_group(title: "Non-basic lands", code:"K") + + write_group(title: "Basic lands", code:"L") + else + write_cards(cards: cards) + } + + + " + write_text_file(html, file:"index.html") + # make sure the urls are relative to the right directory + replace(html, match:"<[^<>]*(href|src)=\'", replace:"&{directory}/") diff --git a/data/magic-spoiler.mse-export-template/script.js b/data/magic-spoiler.mse-export-template/script.js index bb8841e9..98beef96 100644 --- a/data/magic-spoiler.mse-export-template/script.js +++ b/data/magic-spoiler.mse-export-template/script.js @@ -1,74 +1,74 @@ -var isIE = navigator.appVersion.indexOf("MSIE") != -1; - -var preview, preview_img; - -function show_preview(url) { - preview.style.display = "block"; - preview_img.style.backgroundImage = "url("+this.href+")"; - return false; -} - -function hide_preview() { - preview.style.display = "none"; -} - -function fix_preview() { - var e = document.documentElement ? document.documentElement : document.body; - preview.style.top = e.scrollTop + "px"; - preview.style.height = e.clientHeight; - preview.style.width = e.clientWidth; -} - -function nice_preview() { - // attach - var links = document.getElementsByTagName("A"); - for (var i in links) { - if (/(.jpg|.png|.gif)$/.test(links[i])) { - links[i].onclick = show_preview; - } - } - // create divs - preview = document.createElement("div"); - var bg = document.createElement("div"); - var img = document.createElement("div"); - preview.id = "preview"; - bg.id = "preview-bg"; - img.id = "preview-img"; - hide_preview(); - preview.onclick = bg.onclick = img.onclick = hide_preview; - preview.appendChild(bg); - preview.appendChild(img); - document.body.appendChild(preview); - preview_img = img; - if (isIE) { - window.onscroll = fix_preview; - fix_preview(); - } -} - -var dir; -function fix_img() { - if (this.currentStyle.width == 'auto' && this.currentStyle.height == 'auto') { - this.style.width = this.offsetWidth + 'px'; - this.style.height = this.offsetHeight + 'px'; - } - this.onload = null; - this.style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+this.src+'",sizingMethod="scale")'; - this.src = dir + "blank.gif"; -} -function fix_png_alpha() { - if (!/MSIE (5\.5|6\.)/.test(navigator.userAgent)) return; // only in ie 5.5 and 6 - dir = document.getElementsByTagName("SCRIPT")[0].src.replace(/[^\/]*$/,''); // dir for blank image - var imgs = document.getElementsByTagName("IMG"); - for (var i in imgs) { - var img = imgs[i]; - if ((/\.png$/i).test(img.src)) { - img.onload = fix_img; - } - } -} - -function init() { - fix_png_alpha(); - nice_preview(); -} +var isIE = navigator.appVersion.indexOf("MSIE") != -1; + +var preview, preview_img; + +function show_preview(url) { + preview.style.display = "block"; + preview_img.style.backgroundImage = "url("+this.href+")"; + return false; +} + +function hide_preview() { + preview.style.display = "none"; +} + +function fix_preview() { + var e = document.documentElement ? document.documentElement : document.body; + preview.style.top = e.scrollTop + "px"; + preview.style.height = e.clientHeight; + preview.style.width = e.clientWidth; +} + +function nice_preview() { + // attach + var links = document.getElementsByTagName("A"); + for (var i in links) { + if (/(.jpg|.png|.gif)$/.test(links[i])) { + links[i].onclick = show_preview; + } + } + // create divs + preview = document.createElement("div"); + var bg = document.createElement("div"); + var img = document.createElement("div"); + preview.id = "preview"; + bg.id = "preview-bg"; + img.id = "preview-img"; + hide_preview(); + preview.onclick = bg.onclick = img.onclick = hide_preview; + preview.appendChild(bg); + preview.appendChild(img); + document.body.appendChild(preview); + preview_img = img; + if (isIE) { + window.onscroll = fix_preview; + fix_preview(); + } +} + +var dir; +function fix_img() { + if (this.currentStyle.width == 'auto' && this.currentStyle.height == 'auto') { + this.style.width = this.offsetWidth + 'px'; + this.style.height = this.offsetHeight + 'px'; + } + this.onload = null; + this.style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+this.src+'",sizingMethod="scale")'; + this.src = dir + "blank.gif"; +} +function fix_png_alpha() { + if (!/MSIE (5\.5|6\.)/.test(navigator.userAgent)) return; // only in ie 5.5 and 6 + dir = document.getElementsByTagName("SCRIPT")[0].src.replace(/[^\/]*$/,''); // dir for blank image + var imgs = document.getElementsByTagName("IMG"); + for (var i in imgs) { + var img = imgs[i]; + if ((/\.png$/i).test(img.src)) { + img.onload = fix_img; + } + } +} + +function init() { + fix_png_alpha(); + nice_preview(); +} diff --git a/data/magic-spoiler.mse-export-template/style.css b/data/magic-spoiler.mse-export-template/style.css index 8046f15f..7580139d 100644 --- a/data/magic-spoiler.mse-export-template/style.css +++ b/data/magic-spoiler.mse-export-template/style.css @@ -1,102 +1,102 @@ -.set-symbol { - float: right; - margin-right: .5em; -} - -ul { - list-style: none; - margin: 0; - padding: 0; -} -.card { - clear: left; - margin-top: 1em; - border: 1px solid rgb(192,192,192); -} - -.card span { - display: block; -} - -.card .name { - font-weight: bold; - display: inline; - font-family: "Matrix"; - font-size: larger; -} -.card .casting-cost { - display: inline; - font-family: "Magic Symbols", "Magic Symbols 2004"; - font-size: larger; - margin-left: .5em; - vertical-align: middle; -} - -.card .flavor-text { - font-style: italic; -} -.card .card-number { - color: rgb(128,128,128); - font-size: smaller; -} - - -.with-previews .card { - margin-top: 1.1em; - min-height: 100px; - margin-left: 90px; - position: relative; -} -.card .card-image { - height: 100px; - position: absolute; - left: -85px; - top: 3px; - border: none; -} -.card .image { - display: block; - border: none; -} - -span.symbol { - display: inline; - vertical-align: middle; -} - -.fullcard { - float: left; -} -h2 { - clear: both; -} - -/* image preview */ -#preview-bg { - background-color: rgb(0,0,0); - width: 100%; - height: 100%; - cursor: pointer; - position: absolute; - opacity: 0.7; - -moz-opacity: 0.7; - filter: alpha(opacity=70); -} -#preview-img { - background-position: 50% 50%; - background-repeat: no-repeat; - width: 100%; - height: 100%; - cursor: pointer; - position: absolute; -} -#preview { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; -} -* html #preview { - position: absolute; +.set-symbol { + float: right; + margin-right: .5em; +} + +ul { + list-style: none; + margin: 0; + padding: 0; +} +.card { + clear: left; + margin-top: 1em; + border: 1px solid rgb(192,192,192); +} + +.card span { + display: block; +} + +.card .name { + font-weight: bold; + display: inline; + font-family: "Matrix"; + font-size: larger; +} +.card .casting-cost { + display: inline; + font-family: "Magic Symbols", "Magic Symbols 2004"; + font-size: larger; + margin-left: .5em; + vertical-align: middle; +} + +.card .flavor-text { + font-style: italic; +} +.card .card-number { + color: rgb(128,128,128); + font-size: smaller; +} + + +.with-previews .card { + margin-top: 1.1em; + min-height: 100px; + margin-left: 90px; + position: relative; +} +.card .card-image { + height: 100px; + position: absolute; + left: -85px; + top: 3px; + border: none; +} +.card .image { + display: block; + border: none; +} + +span.symbol { + display: inline; + vertical-align: middle; +} + +.fullcard { + float: left; +} +h2 { + clear: both; +} + +/* image preview */ +#preview-bg { + background-color: rgb(0,0,0); + width: 100%; + height: 100%; + cursor: pointer; + position: absolute; + opacity: 0.7; + -moz-opacity: 0.7; + filter: alpha(opacity=70); +} +#preview-img { + background-position: 50% 50%; + background-repeat: no-repeat; + width: 100%; + height: 100%; + cursor: pointer; + position: absolute; +} +#preview { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; +} +* html #preview { + position: absolute; } \ No newline at end of file diff --git a/data/magic-textless.mse-style/style b/data/magic-textless.mse-style/style index 235780bb..abce682c 100644 --- a/data/magic-textless.mse-style/style +++ b/data/magic-textless.mse-style/style @@ -1,270 +1,270 @@ -mse version: 0.3.8 -game: magic -short name: Textless -full name: Modern style -installer group: magic/new style/textless -icon: card-sample.png -position hint: 005 - -version: 2009-07-07 -depends on: - package: magic.mse-game - version: 2008-06-02 -depends on: - package: magic-future-common.mse-include - version: 2007-09-23 -depends on: - package: magic-mana-large.mse-symbol-font - version: 2007-09-23 - -card width: 375 -card height: 523 -card dpi: 150 -#By: Wolfwood -############################################################## Extra scripts -init script: - # Should hybrids have a grey name? - mask_hybrid_with_land := { styling.grey_hybrid_name } - - # There is no land template - land_template := { "a{type}.jpg" } - - # Which artifact template should be used? - artifact_template := { - if input == "a" and not styling.darker_artifacts - then "oa" - else input - } - template := { artifact_template() + "{type}.jpg" } - - # Use the normal tap symbol - mana_t := { "old" } - # Use guild mana symbols? - guild_mana := { styling.use_guild_mana_symbols } - - paintbrush_color := { if font_white() then "white" else "black" } - -############################################################## 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: grey hybrid name - description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. - initial: yes -styling field: - type: boolean - name: darker artifacts - description: Use darker artifacts, as used by Wizards since Fifth Dawn. -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: inverted common symbol - description: Should the common rarity symbol be inverted, like in Coldsnap? - initial: no -styling field: - type: package choice - name: overlay - description: Should there be an overlay applied, such as foil? - match: magic-overlay-*.mse-include - required: false -styling style: - darker artifacts: - choice images: - yes: acard.jpg - no: oacard.jpg - use guild mana symbols: - choice images: - yes: /magic-mana-large.mse-symbol-font/mana_guild_rg.png - no: /magic-mana-large.mse-symbol-font/mana_rg.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: - ############################# Background stuff - border color: - left: 0 - top: 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - z index: 4 - card color: - left: 0 - top: 0 - width: 375 - height: 523 - z index: 0 - render style: image - popup style: in place - image: { card_background() } - ############################# Name line - name: - left: - script: if card.card_symbol=="none" then 32 else 51 - top : 30 - right: { 341 - card_style.casting_cost.content_width } - height: 23 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: Matrix - size: 17 - weight: bold - color: rgb(0,0,0) - casting cost: - right: 343 - top : 30 - width: { max(30, card_style.casting_cost.content_width) + 5 } - height: 23 - alignment: middle right - symbol font: - name: magic-mana-large - size: 15 - alignment: middle right - always symbol: true - z index: 2 - padding top: 0 - card symbol: - left: - script: if card.card_symbol=="none" then 20 else 32 - top : 31 - height: 20 - width: 14 - z index: 1 - render style: image - choice images: - tombstone: tombstone.png - ############################# Image - image: - left: 31 - top: 60 - width: 314 - height: 410 - mask: mask_image.png - z index: 1 - ############################# Card type - rarity: - left: 309 - top : 480 - width: 44 - height: 22 - z index: 2 - alignment: middle center - render style: image - choice images: - # Images based on the set symbol - basic land: - script: - if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") - else symbol_variation(symbol: set.symbol, variation: "common") - 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") - ############################# PT - pt: - z index: 2 - left: 290 - top: 447 - width: 60 - height: 28 - alignment: center middle shrink-overflow - font: - name: ModMatrix - size: 17 - weight: bold - color: rgb(0,0,0) - separator color: rgb(200,0,0) - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 54 - top : 477 - width: 219 - height: 16 - z index: 1 - font: - name: Matrix - size: 10 - color: { font_color(card.card_color) } - copyright line: - left: 26 - top : 493 - width: 247 - height: 12 - z index: 1 - font: - name: MPlantin - size: 6.5 - color: { font_color(card.card_color) } -############################################################## Extra card fields -extra card field: - type: choice - name: pt box - script: card.card_color - editable: false - save value: false -extra card field: - type: choice - name: foil layer - choice: foil - save value: false - editable: false -extra card field: - type: choice - name: paintbrush - script: paintbrush_color(card.card_color) - editable: false - save value: false -extra card style: - pt box: - left: 277 - top: 442 - width: 81 - height: 42 - z index: 1 - visible: { card.pt != "" } - render style: image - mask: mask_pt.png - image: { card_ptbox() } - foil layer: - left: 0 - top : 0 - width: 375 - height: 523 - z index: 3 - render style: image - image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} - paintbrush: - left: 23 - top : 480 - width: 30 - height: 11 - z index: 1 - render style: image - choice images: - black: /magic-future-common.mse-include/paintbrush_black.png - white: /magic-future-common.mse-include/paintbrush_white.png +mse version: 0.3.8 +game: magic +short name: Textless +full name: Modern style +installer group: magic/new style/textless +icon: card-sample.png +position hint: 005 + +version: 2009-07-07 +depends on: + package: magic.mse-game + version: 2008-06-02 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 +depends on: + package: magic-mana-large.mse-symbol-font + version: 2007-09-23 + +card width: 375 +card height: 523 +card dpi: 150 +#By: Wolfwood +############################################################## Extra scripts +init script: + # Should hybrids have a grey name? + mask_hybrid_with_land := { styling.grey_hybrid_name } + + # There is no land template + land_template := { "a{type}.jpg" } + + # Which artifact template should be used? + artifact_template := { + if input == "a" and not styling.darker_artifacts + then "oa" + else input + } + template := { artifact_template() + "{type}.jpg" } + + # Use the normal tap symbol + mana_t := { "old" } + # Use guild mana symbols? + guild_mana := { styling.use_guild_mana_symbols } + + paintbrush_color := { if font_white() then "white" else "black" } + +############################################################## 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: grey hybrid name + description: Use a grey background for the name and type line on hybrid cards. This is done on real cards. + initial: yes +styling field: + type: boolean + name: darker artifacts + description: Use darker artifacts, as used by Wizards since Fifth Dawn. +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: inverted common symbol + description: Should the common rarity symbol be inverted, like in Coldsnap? + initial: no +styling field: + type: package choice + name: overlay + description: Should there be an overlay applied, such as foil? + match: magic-overlay-*.mse-include + required: false +styling style: + darker artifacts: + choice images: + yes: acard.jpg + no: oacard.jpg + use guild mana symbols: + choice images: + yes: /magic-mana-large.mse-symbol-font/mana_guild_rg.png + no: /magic-mana-large.mse-symbol-font/mana_rg.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: + ############################# Background stuff + border color: + left: 0 + top: 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: 4 + card color: + left: 0 + top: 0 + width: 375 + height: 523 + z index: 0 + render style: image + popup style: in place + image: { card_background() } + ############################# Name line + name: + left: + script: if card.card_symbol=="none" then 32 else 51 + top : 30 + right: { 341 - card_style.casting_cost.content_width } + height: 23 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 17 + weight: bold + color: rgb(0,0,0) + casting cost: + right: 343 + top : 30 + width: { max(30, card_style.casting_cost.content_width) + 5 } + height: 23 + alignment: middle right + symbol font: + name: magic-mana-large + size: 15 + alignment: middle right + always symbol: true + z index: 2 + padding top: 0 + card symbol: + left: + script: if card.card_symbol=="none" then 20 else 32 + top : 31 + height: 20 + width: 14 + z index: 1 + render style: image + choice images: + tombstone: tombstone.png + ############################# Image + image: + left: 31 + top: 60 + width: 314 + height: 410 + mask: mask_image.png + z index: 1 + ############################# Card type + rarity: + left: 309 + top : 480 + width: 44 + height: 22 + z index: 2 + alignment: middle center + render style: image + choice images: + # Images based on the set symbol + basic land: + script: + if styling.inverted_common_symbol then symbol_variation(symbol: set.symbol, variation: "invertedcommon") + else symbol_variation(symbol: set.symbol, variation: "common") + 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") + ############################# PT + pt: + z index: 2 + left: 290 + top: 447 + width: 60 + height: 28 + alignment: center middle shrink-overflow + font: + name: ModMatrix + size: 17 + weight: bold + color: rgb(0,0,0) + separator color: rgb(200,0,0) + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 54 + top : 477 + width: 219 + height: 16 + z index: 1 + font: + name: Matrix + size: 10 + color: { font_color(card.card_color) } + copyright line: + left: 26 + top : 493 + width: 247 + height: 12 + z index: 1 + font: + name: MPlantin + size: 6.5 + color: { font_color(card.card_color) } +############################################################## Extra card fields +extra card field: + type: choice + name: pt box + script: card.card_color + editable: false + save value: false +extra card field: + type: choice + name: foil layer + choice: foil + save value: false + editable: false +extra card field: + type: choice + name: paintbrush + script: paintbrush_color(card.card_color) + editable: false + save value: false +extra card style: + pt box: + left: 277 + top: 442 + width: 81 + height: 42 + z index: 1 + visible: { card.pt != "" } + render style: image + mask: mask_pt.png + image: { card_ptbox() } + foil layer: + left: 0 + top : 0 + width: 375 + height: 523 + z index: 3 + render style: image + image: {if styling.overlay == "" then nil else styling.overlay + "/overlay.png"} + paintbrush: + left: 23 + top : 480 + width: 30 + height: 11 + z index: 1 + render style: image + choice images: + black: /magic-future-common.mse-include/paintbrush_black.png + white: /magic-future-common.mse-include/paintbrush_white.png diff --git a/data/magic-watermarks.mse-include/include b/data/magic-watermarks.mse-include/include index fb42b426..14fda2a0 100644 --- a/data/magic-watermarks.mse-include/include +++ b/data/magic-watermarks.mse-include/include @@ -1,7 +1,7 @@ -mse version: 0.3.6 -full name: Magic The Gathering, textbox watermarks -version: 2008-05-21 - -# This file doesn't do anything, other files in this directory can be included -# in game/style files: +mse version: 0.3.6 +full name: Magic The Gathering, textbox watermarks +version: 2008-05-21 + +# This file doesn't do anything, other files in this directory can be included +# in game/style files: # watermarks Includes references to the watermark images, to be used in a style file \ No newline at end of file diff --git a/data/magic-watermarks.mse-include/watermark-names b/data/magic-watermarks.mse-include/watermark-names index 1f6a08ce..5b11d319 100644 --- a/data/magic-watermarks.mse-include/watermark-names +++ b/data/magic-watermarks.mse-include/watermark-names @@ -1,69 +1,69 @@ -# The watermark choices -# Included by a game file - -choice: - name: none - line below: true -choice: - name: mana symbol - choice: white - choice: blue - choice: black - choice: red - choice: green - choice: snow -choice: - name: transparent mana symbol - choice: white - choice: blue - choice: black - choice: red - choice: green -choice: - name: guild symbol - choice: The Azorius Senate (W/U) - choice: House Dimir (U/B) - choice: The Cult of Rakdos (B/R) - choice: The Gruul Clans (R/G) - choice: The Selesnya Conclave (G/W) - choice: The Orzhov Syndicate (W/B) - choice: The Izzet (U/R) - choice: The Golgari (B/G) - choice: The Boros Legion (R/W) - choice: The Simic Combine (G/U) -choice: - name: colored xander hybrid mana - choice: B/R - choice: U/B - choice: B/G - choice: R/G - choice: G/U - choice: U/R - choice: W/B - choice: G/W - choice: R/W - choice: W/U -choice: - name: xander hybrid mana - choice: B/R - choice: U/B - choice: B/G - choice: R/G - choice: G/U - choice: U/R - choice: W/B - choice: G/W - choice: R/W - choice: W/U -choice: - name: future sight type symbols - choice: artifact - choice: creature - choice: enchantment - choice: instant - choice: land - choice: multiple - choice: planeswalker - choice: sorcery -choice: - name: set symbol +# The watermark choices +# Included by a game file + +choice: + name: none + line below: true +choice: + name: mana symbol + choice: white + choice: blue + choice: black + choice: red + choice: green + choice: snow +choice: + name: transparent mana symbol + choice: white + choice: blue + choice: black + choice: red + choice: green +choice: + name: guild symbol + choice: The Azorius Senate (W/U) + choice: House Dimir (U/B) + choice: The Cult of Rakdos (B/R) + choice: The Gruul Clans (R/G) + choice: The Selesnya Conclave (G/W) + choice: The Orzhov Syndicate (W/B) + choice: The Izzet (U/R) + choice: The Golgari (B/G) + choice: The Boros Legion (R/W) + choice: The Simic Combine (G/U) +choice: + name: colored xander hybrid mana + choice: B/R + choice: U/B + choice: B/G + choice: R/G + choice: G/U + choice: U/R + choice: W/B + choice: G/W + choice: R/W + choice: W/U +choice: + name: xander hybrid mana + choice: B/R + choice: U/B + choice: B/G + choice: R/G + choice: G/U + choice: U/R + choice: W/B + choice: G/W + choice: R/W + choice: W/U +choice: + name: future sight type symbols + choice: artifact + choice: creature + choice: enchantment + choice: instant + choice: land + choice: multiple + choice: planeswalker + choice: sorcery +choice: + name: set symbol diff --git a/data/magic-watermarks.mse-include/watermarks b/data/magic-watermarks.mse-include/watermarks index c39e1b33..9c37fe66 100644 --- a/data/magic-watermarks.mse-include/watermarks +++ b/data/magic-watermarks.mse-include/watermarks @@ -1,71 +1,71 @@ -# Watermark images - -choice images: - mana symbol white: /magic-watermarks.mse-include/watermark_w.png - mana symbol blue: /magic-watermarks.mse-include/watermark_u.png - mana symbol black: /magic-watermarks.mse-include/watermark_b.png - mana symbol red: /magic-watermarks.mse-include/watermark_r.png - mana symbol green: /magic-watermarks.mse-include/watermark_g.png - mana symbol snow: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_s.png") - - transparent mana symbol white: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_w.png") - transparent mana symbol blue: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_u.png") - transparent mana symbol black: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_b.png") - transparent mana symbol red: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_r.png") - transparent mana symbol green: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_g.png") - - guild symbol The Azorius Senate (W/U): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_azorius.png") - guild symbol House Dimir (U/B): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_dimir.png") - guild symbol The Cult of Rakdos (B/R): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rakados.png") - guild symbol The Gruul Clans (R/G): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gruul.png") - guild symbol The Selesnya Conclave (G/W): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_selesnya.png") - guild symbol The Orzhov Syndicate (W/B): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_orzhov.png") - guild symbol The Izzet (U/R): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_izzet.png") - guild symbol The Golgari (B/G): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_golgari.png") - guild symbol The Boros Legion (R/W): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_boros.png") - guild symbol The Simic Combine (G/U): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_simic.png") - - colored xander hybrid mana B/R: /magic-watermarks.mse-include/watermark_brmana_colored.png - colored xander hybrid mana U/B: /magic-watermarks.mse-include/watermark_ubmana_colored.png - colored xander hybrid mana B/G: /magic-watermarks.mse-include/watermark_bgmana_colored.png - colored xander hybrid mana R/G: /magic-watermarks.mse-include/watermark_rgmana_colored.png - colored xander hybrid mana G/U: /magic-watermarks.mse-include/watermark_gumana_colored.png - colored xander hybrid mana U/R: /magic-watermarks.mse-include/watermark_urmana_colored.png - colored xander hybrid mana W/B: /magic-watermarks.mse-include/watermark_wbmana_colored.png - colored xander hybrid mana G/W: /magic-watermarks.mse-include/watermark_gwmana_colored.png - colored xander hybrid mana R/W: /magic-watermarks.mse-include/watermark_rwmana_colored.png - colored xander hybrid mana W/U: /magic-watermarks.mse-include/watermark_wumana_colored.png - - xander hybrid mana B/R: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_brmana.png") - xander hybrid mana U/B: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_ubmana.png") - xander hybrid mana B/G: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_bgmana.png") - xander hybrid mana R/G: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rgmana.png") - xander hybrid mana G/U: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gumana.png") - xander hybrid mana U/R: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_urmana.png") - xander hybrid mana W/B: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_wbmana.png") - xander hybrid mana G/W: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gwmana.png") - xander hybrid mana R/W: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rwmana.png") - xander hybrid mana W/U: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_wumana.png") - - future sight type symbols artifact: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_artifact.png") - future sight type symbols creature: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_creature.png") - future sight type symbols enchantment: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_enchantment.png") - future sight type symbols instant: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_instant.png") - future sight type symbols land: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_land.png") - future sight type symbols multiple: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_multiple.png") - future sight type symbols planeswalker: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_planeswalker.png") - future sight type symbols sorcery: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_sorcery.png") - - set symbol: - { set_combine(combine:"shadow", - set_alpha( - alpha: 0.5, - #symbol_variation(symbol: set.symbol, variation: "common") - drop_shadow(offset_x: -0.01, offset_y: 0.03, blur_radius: 0.02, alpha: 1, color: rgb(0,0,0), - enlarge(border_size: 0.03, - symbol_variation(symbol: set.symbol, border_radius: 0, fill_color:rgb(255,255,255), border_color:rgb(0,0,0)) - ) - ) - ) - ) - } +# Watermark images + +choice images: + mana symbol white: /magic-watermarks.mse-include/watermark_w.png + mana symbol blue: /magic-watermarks.mse-include/watermark_u.png + mana symbol black: /magic-watermarks.mse-include/watermark_b.png + mana symbol red: /magic-watermarks.mse-include/watermark_r.png + mana symbol green: /magic-watermarks.mse-include/watermark_g.png + mana symbol snow: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_s.png") + + transparent mana symbol white: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_w.png") + transparent mana symbol blue: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_u.png") + transparent mana symbol black: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_b.png") + transparent mana symbol red: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_r.png") + transparent mana symbol green: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_g.png") + + guild symbol The Azorius Senate (W/U): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_azorius.png") + guild symbol House Dimir (U/B): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_dimir.png") + guild symbol The Cult of Rakdos (B/R): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rakados.png") + guild symbol The Gruul Clans (R/G): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gruul.png") + guild symbol The Selesnya Conclave (G/W): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_selesnya.png") + guild symbol The Orzhov Syndicate (W/B): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_orzhov.png") + guild symbol The Izzet (U/R): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_izzet.png") + guild symbol The Golgari (B/G): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_golgari.png") + guild symbol The Boros Legion (R/W): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_boros.png") + guild symbol The Simic Combine (G/U): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_simic.png") + + colored xander hybrid mana B/R: /magic-watermarks.mse-include/watermark_brmana_colored.png + colored xander hybrid mana U/B: /magic-watermarks.mse-include/watermark_ubmana_colored.png + colored xander hybrid mana B/G: /magic-watermarks.mse-include/watermark_bgmana_colored.png + colored xander hybrid mana R/G: /magic-watermarks.mse-include/watermark_rgmana_colored.png + colored xander hybrid mana G/U: /magic-watermarks.mse-include/watermark_gumana_colored.png + colored xander hybrid mana U/R: /magic-watermarks.mse-include/watermark_urmana_colored.png + colored xander hybrid mana W/B: /magic-watermarks.mse-include/watermark_wbmana_colored.png + colored xander hybrid mana G/W: /magic-watermarks.mse-include/watermark_gwmana_colored.png + colored xander hybrid mana R/W: /magic-watermarks.mse-include/watermark_rwmana_colored.png + colored xander hybrid mana W/U: /magic-watermarks.mse-include/watermark_wumana_colored.png + + xander hybrid mana B/R: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_brmana.png") + xander hybrid mana U/B: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_ubmana.png") + xander hybrid mana B/G: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_bgmana.png") + xander hybrid mana R/G: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rgmana.png") + xander hybrid mana G/U: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gumana.png") + xander hybrid mana U/R: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_urmana.png") + xander hybrid mana W/B: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_wbmana.png") + xander hybrid mana G/W: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gwmana.png") + xander hybrid mana R/W: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rwmana.png") + xander hybrid mana W/U: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_wumana.png") + + future sight type symbols artifact: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_artifact.png") + future sight type symbols creature: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_creature.png") + future sight type symbols enchantment: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_enchantment.png") + future sight type symbols instant: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_instant.png") + future sight type symbols land: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_land.png") + future sight type symbols multiple: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_multiple.png") + future sight type symbols planeswalker: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_planeswalker.png") + future sight type symbols sorcery: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_sorcery.png") + + set symbol: + { set_combine(combine:"shadow", + set_alpha( + alpha: 0.5, + #symbol_variation(symbol: set.symbol, variation: "common") + drop_shadow(offset_x: -0.01, offset_y: 0.03, blur_radius: 0.02, alpha: 1, color: rgb(0,0,0), + enlarge(border_size: 0.03, + symbol_variation(symbol: set.symbol, border_radius: 0, fill_color:rgb(255,255,255), border_color:rgb(0,0,0)) + ) + ) + ) + ) + } diff --git a/data/magic-watermarks.mse-include/watermarks-old b/data/magic-watermarks.mse-include/watermarks-old index 47ce0b5d..94460ef9 100644 --- a/data/magic-watermarks.mse-include/watermarks-old +++ b/data/magic-watermarks.mse-include/watermarks-old @@ -1,71 +1,71 @@ -# Old Style Watermark images - -choice images: - mana symbol white: /magic-watermarks.mse-include/watermark_w_old.png - mana symbol blue: /magic-watermarks.mse-include/watermark_u_old.png - mana symbol black: /magic-watermarks.mse-include/watermark_b_old.png - mana symbol red: /magic-watermarks.mse-include/watermark_r_old.png - mana symbol green: /magic-watermarks.mse-include/watermark_g_old.png - mana symbol snow: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_s.png") - - transparent mana symbol white: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_w_old.png") - transparent mana symbol blue: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_u_old.png") - transparent mana symbol black: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_b_old.png") - transparent mana symbol red: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_r_old.png") - transparent mana symbol green: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_g_old.png") - - guild symbol The Azorius Senate (W/U): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_azorius.png") - guild symbol House Dimir (U/B): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_dimir.png") - guild symbol The Cult of Rakdos (B/R): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rakados.png") - guild symbol The Gruul Clans (R/G): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gruul.png") - guild symbol The Selesnya Conclave (G/W): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_selesnya.png") - guild symbol The Orzhov Syndicate (W/B): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_orzhov.png") - guild symbol The Izzet (U/R): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_izzet.png") - guild symbol The Golgari (B/G): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_golgari.png") - guild symbol The Boros Legion (R/W): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_boros.png") - guild symbol The Simic Combine (G/U): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_simic.png") - - colored xander hybrid mana B/R: /magic-watermarks.mse-include/watermark_brmana_colored.png - colored xander hybrid mana U/B: /magic-watermarks.mse-include/watermark_ubmana_colored.png - colored xander hybrid mana B/G: /magic-watermarks.mse-include/watermark_bgmana_colored.png - colored xander hybrid mana R/G: /magic-watermarks.mse-include/watermark_rgmana_colored.png - colored xander hybrid mana G/U: /magic-watermarks.mse-include/watermark_gumana_colored.png - colored xander hybrid mana U/R: /magic-watermarks.mse-include/watermark_urmana_colored.png - colored xander hybrid mana W/B: /magic-watermarks.mse-include/watermark_wbmana_colored.png - colored xander hybrid mana G/W: /magic-watermarks.mse-include/watermark_gwmana_colored.png - colored xander hybrid mana R/W: /magic-watermarks.mse-include/watermark_rwmana_colored.png - colored xander hybrid mana W/U: /magic-watermarks.mse-include/watermark_wumana_colored.png - - xander hybrid mana B/R: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_brmana.png") - xander hybrid mana U/B: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_ubmana.png") - xander hybrid mana B/G: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_bgmana.png") - xander hybrid mana R/G: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rgmana.png") - xander hybrid mana G/U: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gumana.png") - xander hybrid mana U/R: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_urmana.png") - xander hybrid mana W/B: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_wbmana.png") - xander hybrid mana G/W: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gwmana.png") - xander hybrid mana R/W: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rwmana.png") - xander hybrid mana W/U: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_wumana.png") - - future sight type symbols artifact: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_artifact.png") - future sight type symbols creature: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_creature.png") - future sight type symbols enchantment: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_enchantment.png") - future sight type symbols instant: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_instant.png") - future sight type symbols land: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_land.png") - future sight type symbols multiple: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_multiple.png") - future sight type symbols planeswalker: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_planeswalker.png") - future sight type symbols sorcery: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_sorcery.png") - - set symbol: - { set_combine(combine:"shadow", - set_alpha( - alpha: 0.5, - #symbol_variation(symbol: set.symbol, variation: "common") - drop_shadow(offset_x: -0.01, offset_y: 0.03, blur_radius: 0.02, alpha: 1, color: rgb(0,0,0), - enlarge(border_size: 0.03, - symbol_variation(symbol: set.symbol, border_radius: 0, fill_color:rgb(255,255,255), border_color:rgb(0,0,0)) - ) - ) - ) - ) - } +# Old Style Watermark images + +choice images: + mana symbol white: /magic-watermarks.mse-include/watermark_w_old.png + mana symbol blue: /magic-watermarks.mse-include/watermark_u_old.png + mana symbol black: /magic-watermarks.mse-include/watermark_b_old.png + mana symbol red: /magic-watermarks.mse-include/watermark_r_old.png + mana symbol green: /magic-watermarks.mse-include/watermark_g_old.png + mana symbol snow: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_s.png") + + transparent mana symbol white: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_w_old.png") + transparent mana symbol blue: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_u_old.png") + transparent mana symbol black: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_b_old.png") + transparent mana symbol red: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_r_old.png") + transparent mana symbol green: script: set_alpha(alpha: 0.4, input:"/magic-watermarks.mse-include/watermark_g_old.png") + + guild symbol The Azorius Senate (W/U): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_azorius.png") + guild symbol House Dimir (U/B): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_dimir.png") + guild symbol The Cult of Rakdos (B/R): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rakados.png") + guild symbol The Gruul Clans (R/G): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gruul.png") + guild symbol The Selesnya Conclave (G/W): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_selesnya.png") + guild symbol The Orzhov Syndicate (W/B): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_orzhov.png") + guild symbol The Izzet (U/R): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_izzet.png") + guild symbol The Golgari (B/G): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_golgari.png") + guild symbol The Boros Legion (R/W): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_boros.png") + guild symbol The Simic Combine (G/U): script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_simic.png") + + colored xander hybrid mana B/R: /magic-watermarks.mse-include/watermark_brmana_colored.png + colored xander hybrid mana U/B: /magic-watermarks.mse-include/watermark_ubmana_colored.png + colored xander hybrid mana B/G: /magic-watermarks.mse-include/watermark_bgmana_colored.png + colored xander hybrid mana R/G: /magic-watermarks.mse-include/watermark_rgmana_colored.png + colored xander hybrid mana G/U: /magic-watermarks.mse-include/watermark_gumana_colored.png + colored xander hybrid mana U/R: /magic-watermarks.mse-include/watermark_urmana_colored.png + colored xander hybrid mana W/B: /magic-watermarks.mse-include/watermark_wbmana_colored.png + colored xander hybrid mana G/W: /magic-watermarks.mse-include/watermark_gwmana_colored.png + colored xander hybrid mana R/W: /magic-watermarks.mse-include/watermark_rwmana_colored.png + colored xander hybrid mana W/U: /magic-watermarks.mse-include/watermark_wumana_colored.png + + xander hybrid mana B/R: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_brmana.png") + xander hybrid mana U/B: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_ubmana.png") + xander hybrid mana B/G: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_bgmana.png") + xander hybrid mana R/G: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rgmana.png") + xander hybrid mana G/U: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gumana.png") + xander hybrid mana U/R: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_urmana.png") + xander hybrid mana W/B: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_wbmana.png") + xander hybrid mana G/W: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_gwmana.png") + xander hybrid mana R/W: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_rwmana.png") + xander hybrid mana W/U: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/watermark_wumana.png") + + future sight type symbols artifact: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_artifact.png") + future sight type symbols creature: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_creature.png") + future sight type symbols enchantment: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_enchantment.png") + future sight type symbols instant: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_instant.png") + future sight type symbols land: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_land.png") + future sight type symbols multiple: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_multiple.png") + future sight type symbols planeswalker: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_planeswalker.png") + future sight type symbols sorcery: script: set_combine(combine:"shadow", input:"/magic-watermarks.mse-include/futsymbol_sorcery.png") + + set symbol: + { set_combine(combine:"shadow", + set_alpha( + alpha: 0.5, + #symbol_variation(symbol: set.symbol, variation: "common") + drop_shadow(offset_x: -0.01, offset_y: 0.03, blur_radius: 0.02, alpha: 1, color: rgb(0,0,0), + enlarge(border_size: 0.03, + symbol_variation(symbol: set.symbol, border_radius: 0, fill_color:rgb(255,255,255), border_color:rgb(0,0,0)) + ) + ) + ) + ) + } diff --git a/data/magic.mse-game/add_cards_scripts b/data/magic.mse-game/add_cards_scripts index 87aa42d1..df27ad11 100644 --- a/data/magic.mse-game/add_cards_scripts +++ b/data/magic.mse-game/add_cards_scripts @@ -1,50 +1,50 @@ - -add cards script: - name: &Basic Lands - description: Adds 5 basic lands to the set (Plains, Island, Swamp, Mountain, Forest) - script: - # TODO: - #show_yes_no_dialog("This set already contains basic lands, do you want to add more?") - [ new_card([name: "Plains", super_type: "Basic Land", sub_type: "Plains", rarity: "basic land", watermark: "mana symbol white"]) - , new_card([name: "Island", super_type: "Basic Land", sub_type: "Island", rarity: "basic land", watermark: "mana symbol blue"]) - , new_card([name: "Swamp", super_type: "Basic Land", sub_type: "Swamp", rarity: "basic land", watermark: "mana symbol black"]) - , new_card([name: "Mountain", super_type: "Basic Land", sub_type: "Mountain", rarity: "basic land", watermark: "mana symbol red"]) - , new_card([name: "Forest", super_type: "Basic Land", sub_type: "Forest", rarity: "basic land", watermark: "mana symbol green"]) - ] - -add cards script: - name: &Basic Snow-Covered Lands - description: Adds 5 basic snow-covered lands to the set (Plains, Island, Swamp, Mountain, Forest) - script: - # TODO: - #show_yes_no_dialog("This set already contains basic snow-covered lands, do you want to add more?") - [ new_card([name: "Snow-Covered Plains", super_type: "Basic Snow Land", sub_type: "Plains", rarity: "common", watermark: "mana symbol white"]) - , new_card([name: "Snow-Covered Island", super_type: "Basic Snow Land", sub_type: "Island", rarity: "common", watermark: "mana symbol blue"]) - , new_card([name: "Snow-Covered Swamp", super_type: "Basic Snow Land", sub_type: "Swamp", rarity: "common", watermark: "mana symbol black"]) - , new_card([name: "Snow-Covered Mountain", super_type: "Basic Snow Land", sub_type: "Mountain", rarity: "common", watermark: "mana symbol red"]) - , new_card([name: "Snow-Covered Forest", super_type: "Basic Snow Land", sub_type: "Forest", rarity: "common", watermark: "mana symbol green"]) - ] - -#add cards script: -# name: &Many Empty Cards -# script: -# # TODO: -# #count := show_number_dialog("How many cards should be added?") -# count := 1 -# for _ from 1 to count do [new_card()] - -add cards script: - name: &Horizontal Cycle - description: Add 1 card of each color to the set - script: - # TODO: - #rarity := show_text_dialog("What rarity should the cards be?") - [ new_card([card_color: "white"]) - , new_card([card_color: "blue"]) - , new_card([card_color: "black"]) - , new_card([card_color: "red"]) - , new_card([card_color: "green"]) - ] - -#TODO: Vertical Cycle; needs text dialog for setting color - + +add cards script: + name: &Basic Lands + description: Adds 5 basic lands to the set (Plains, Island, Swamp, Mountain, Forest) + script: + # TODO: + #show_yes_no_dialog("This set already contains basic lands, do you want to add more?") + [ new_card([name: "Plains", super_type: "Basic Land", sub_type: "Plains", rarity: "basic land", watermark: "mana symbol white"]) + , new_card([name: "Island", super_type: "Basic Land", sub_type: "Island", rarity: "basic land", watermark: "mana symbol blue"]) + , new_card([name: "Swamp", super_type: "Basic Land", sub_type: "Swamp", rarity: "basic land", watermark: "mana symbol black"]) + , new_card([name: "Mountain", super_type: "Basic Land", sub_type: "Mountain", rarity: "basic land", watermark: "mana symbol red"]) + , new_card([name: "Forest", super_type: "Basic Land", sub_type: "Forest", rarity: "basic land", watermark: "mana symbol green"]) + ] + +add cards script: + name: &Basic Snow-Covered Lands + description: Adds 5 basic snow-covered lands to the set (Plains, Island, Swamp, Mountain, Forest) + script: + # TODO: + #show_yes_no_dialog("This set already contains basic snow-covered lands, do you want to add more?") + [ new_card([name: "Snow-Covered Plains", super_type: "Basic Snow Land", sub_type: "Plains", rarity: "common", watermark: "mana symbol white"]) + , new_card([name: "Snow-Covered Island", super_type: "Basic Snow Land", sub_type: "Island", rarity: "common", watermark: "mana symbol blue"]) + , new_card([name: "Snow-Covered Swamp", super_type: "Basic Snow Land", sub_type: "Swamp", rarity: "common", watermark: "mana symbol black"]) + , new_card([name: "Snow-Covered Mountain", super_type: "Basic Snow Land", sub_type: "Mountain", rarity: "common", watermark: "mana symbol red"]) + , new_card([name: "Snow-Covered Forest", super_type: "Basic Snow Land", sub_type: "Forest", rarity: "common", watermark: "mana symbol green"]) + ] + +#add cards script: +# name: &Many Empty Cards +# script: +# # TODO: +# #count := show_number_dialog("How many cards should be added?") +# count := 1 +# for _ from 1 to count do [new_card()] + +add cards script: + name: &Horizontal Cycle + description: Add 1 card of each color to the set + script: + # TODO: + #rarity := show_text_dialog("What rarity should the cards be?") + [ new_card([card_color: "white"]) + , new_card([card_color: "blue"]) + , new_card([card_color: "black"]) + , new_card([card_color: "red"]) + , new_card([card_color: "green"]) + ] + +#TODO: Vertical Cycle; needs text dialog for setting color + diff --git a/data/magic.mse-game/auto_replace b/data/magic.mse-game/auto_replace index cff00fc3..0a3732ea 100644 --- a/data/magic.mse-game/auto_replace +++ b/data/magic.mse-game/auto_replace @@ -1,42 +1,42 @@ - -############################################################## Auto replace - -# Do we need categories? -#auto replace category: text box -#auto replace category: copyright -#auto replace category: everywhere -auto replace: - match: (C) - replace: © -auto replace: - match: AE - replace: Æ - whole word: false -auto replace: - match: TM - replace: ™ - whole word: false -auto replace: - match: -- - replace: — -auto replace: - # note the spaces - match: - - - replace: - — -auto replace: - match: CIP - replace: enters the battlefield -auto replace: - match: AAA - replace: as an additional cost to cast -auto replace: - match: @ - replace: LEGENDNAME -auto replace: - match: ~ - replace: CARDNAME -auto replace: - match: ' + +############################################################## Auto replace + +# Do we need categories? +#auto replace category: text box +#auto replace category: copyright +#auto replace category: everywhere +auto replace: + match: (C) + replace: © +auto replace: + match: AE + replace: Æ + whole word: false +auto replace: + match: TM + replace: ™ + whole word: false +auto replace: + match: -- + replace: — +auto replace: + # note the spaces + match: + - + replace: + — +auto replace: + match: CIP + replace: enters the battlefield +auto replace: + match: AAA + replace: as an additional cost to cast +auto replace: + match: @ + replace: LEGENDNAME +auto replace: + match: ~ + replace: CARDNAME +auto replace: + match: ' replace: ’ \ No newline at end of file diff --git a/data/magic.mse-game/card_fields b/data/magic.mse-game/card_fields index a5a6e021..2b3356aa 100644 --- a/data/magic.mse-game/card_fields +++ b/data/magic.mse-game/card_fields @@ -1,544 +1,544 @@ - -############################################################## Card fields - -############################# Automatic fields - -# The 'shape' of the card (flip, split, etc.) -card field: - type: choice - name: shape - save value: false - show statistics: false - editable: false - choice: normal - choice: token - choice: flip - choice: split - choice: planeswalker - choice: shifted - choice: rulestip - script: - stylesheet # indicate that this value should be updated when the stylesheet changes - card_shape() # determined by the style -card field: - type: text - name: full name - save value: false - show statistics: false - editable: false - card list visible: true - card list name: Name - card list column: 1 - card list width: 150 - description: The name of the card - script: if contains(card.shape, match:"split") then card.name + " // " + card.name_2 else card.name - -############################# Background stuff -card field: - type: color - name: border color - default: set.border_color - choice: - name: black - color: rgb(0,0,0) - choice: - name: white - color: rgb(255,255,255) - choice: - name: silver - color: rgb(128,128,128) - choice: - name: gold - color: rgb(200,180,0) - show statistics: false - description: The border of the card; can be any solid color. -card field: - type: multiple choice - name: card color - empty choice: colorless - choice: white - choice: blue - choice: black - choice: red - choice: - name: green - line below: true - choice: artifact - choice: land - choice: multicolor - choice: - name: hybrid - enabled: { card_color_color_count(card.card_color) >= 2 } - line below: true - choice: - name: horizontal - enabled: { card_color_color_count(card.card_color) >= 2 } - type: radio - choice: - name: vertical - enabled: { card_color_color_count(card.card_color) >= 2 } - type: radio - choice: - name: radial - enabled: { card_color_color_count(card.card_color) >= 2 } - type: radio - choice: - name: overlay - enabled: { card_color_color_count(card.card_color) == 2 and chosen(choice:"hybrid",card.card_color) } - type: radio - choice: - name: reversed - enabled: { card_color_color_count(card.card_color) >= 2 and not chosen(choice:"overlay",card.card_color) } - script: card_color_filter(value) - default: card_color(casting_cost: card.casting_cost, rules_text: card.rule_text, type: card.super_type, watermark: card.watermark, card_name: card.name) - show statistics: false - description: The frame of the card, used to indicate card color. - -############################# Name line -card field: - type: text - name: name - card list visible: false - identifying: true - show statistics: false - description: The name of the card -card field: - type: text - name: casting cost - icon: stats/casting_cost.png - position hint: 1 - script: mana_filter(value) - card list visible: true - card list column: 2 - card list alignment: right - card list width: 50 - card list name: CC - description: The casting cost of the card -card field: - type: choice - name: card symbol - position hint: 10 - icon: stats/card_symbol.png - choice: none - choice: tombstone - description: Symbol for this card (tombstone) -card field: - type: choice - name: type symbol - default: typesymbol_type(value) - card list visible: false - show statistics: false - choice: artifact - choice: creature - choice: enchantment - choice: instant - choice: land - choice: multitype - choice: planeswalker - choice: sorcery - choice: none - description: The card type symbol for this card - -############################# Image -card field: - type: image - name: image - show statistics: false - description: The image of the card - -############################# Card type -card field: - type: text - name: super type - icon: stats/card_type.png - position hint: 30 - script: super_type_filter(value) -card field: - type: text - name: sub type - icon: stats/creature_type.png - position hint: 31 - script: sub_type_filter(value, type:card.super_type) -card field: - type: text - name: type - show statistics: false - save value: false - script: - # Either just supertype, or subtype - supertype - combined_editor( - field1: card.super_type, - separator: language().type_separator, - field2: card.sub_type, - soft_before_empty: true, - hide_when_empty: true - ) - card list visible: true - card list column:4 - description: The type of this card, type - to go the sub type -card field: - type: choice - name: rarity - icon: stats/rarity.png - position hint: 100 - choice: basic land - choice: common - choice: uncommon - choice: rare - choice: mythic rare - choice: special - initial: common - card list visible: true - card list column: 6 - description: The rarity of the card, to edit the symbol switch to the 'set info' tab - choice colors: - basic land: rgb(109,62,39) - common: rgb(33,33,33) - uncommon: rgb(224,224,224) - mythic rare: rgb(202, 49, 35) - rare: rgb(255,207,52) - special: rgb(190,0,255) - -############################# Text box -card field: - type: text - name: rule text - script: text_filter(input: value, card_name: card.name) - show statistics: false - multi line: true - description: The rules text for the card -card field: - type: text - name: flavor text - script: flavor_text_filter(value) - show statistics: false - multi line: true - description: The flavor text for the card -card field: - type: text - name: text - multi line: true - save value: false - show statistics: false - script: - combined_editor(field1: card.rule_text, separator: "\n", field2: card.flavor_text) - description: The rules and flavor text for the card; use up and down arrows to switch -card field: - type: choice - name: watermark - icon: stats/watermark.png - position hint: 200 - include file: /magic-watermarks.mse-include/watermark-names - description: A watermark for below the textbox, this can be a big mana symbol used on basic lands, or a guild symbol - -############################# Loyalty -card field: - type: text - name: loyalty - icon: stats/toughness.png - position hint: 59 - description: The initial loyalty of a planeswalker -card field: - type: text - name: loyalty cost 1 - show statistics: false - description: The loyalty cost for the first ability of a planeswalker -card field: - type: text - name: loyalty cost 2 - show statistics: false - description: The loyalty cost for the second ability of a planeswalker -card field: - type: text - name: loyalty cost 3 - show statistics: false - description: The loyalty cost for the third ability of a planeswalker -card field: - type: text - name: loyalty cost 4 - show statistics: false - description: The loyalty cost for the fourth ability of a planeswalker - default: if card.power_2 !="" then card.power_2 else card.power #For back compatibility with past templates. Take out a couple versions after 0.3.8 -card field: - type: text - name: loyalty cost 5 - show statistics: false - description: The loyalty cost for the fifth ability of a planeswalker - default: card.toughness_2 #For back compatibility with past templates. Take out a couple versions after 0.3.8 -############################# PT -card field: - type: text - name: power - icon: stats/power.png - show statistics: false - script: type_over_pt(value) - description: The power of a creature -card field: - type: text - name: toughness - show statistics: false - icon: stats/toughness.png - description: The toughness of a creature -card field: - type: text - name: pt - save value: false - script: - combined_editor( - field1: card.power, - separator: language().pt_separator, - field2: card.toughness, - soft_before_empty: true, - hide_when_empty: true - ) - card list visible: true - card list column: 5 - card list width: 50 - card list name: P/T - description: Power/toughness of a creature - show statistics: false - -############################# Card sorting / numbering -card field: - type: text - name: card number - save value: false - script: card_number() + "/" + card_count() - sort script: rarity_sort() + card.card_number - card list visible: true - card list column: 10 - card list width: 50 - card list name: # - card list alignment: right - editable: false - show statistics: false - -############################# Copyright stuff -card field: - type: text - name: illustrator - icon: stats/illustrator.png - position hint: 210 - default: set.artist - description: Illustrator of this card, the default value can be changed on the 'set info' tab -card field: - type: text - name: copyright - default: set.copyright - show statistics: false -card field: - type: text - name: copyright line - save value: false - show statistics: false - script: - if set.automatic_card_numbers then - combined_editor(field1: card.copyright, separator: " ", field2: card.card_number) - else - forward_editor(field: card.copyright) - description: Copyright of this card and cardnumber, the default value can be changed on the 'set info' tab - -############################################################## Duplicate fields (split/flip cards) -# Based on flip templates by Wolfwood -# These are a direct copy of the fields above, only with a 2 - - -card field: - type: multiple choice - name: card color 2 - icon: stats/card_color.png - empty choice: colorless - choice: white - choice: blue - choice: black - choice: red - choice: - name: green - line below: true - choice: artifact - choice: land - choice: multicolor - choice: - name: hybrid - enabled: { card_color_color_count(card.card_color_2) >= 2 } - line below: true - choice: - name: horizontal - enabled: { card_color_color_count(card.card_color_2) >= 2 } - type: radio - choice: - name: vertical - enabled: { card_color_color_count(card.card_color_2) >= 2 } - type: radio - choice: - name: radial - enabled: { card_color_color_count(card.card_color_2) >= 2 } - type: radio - choice: - name: overlay - enabled: { card_color_color_count(card.card_color_2) == 2 and chosen(choice:"hybrid",card.card_color_2) } - type: radio - choice: - name: reversed - enabled: { card_color_color_count(card.card_color) >= 2 and not chosen(choice:"overlay",card.card_color_2) } - script: card_color_filter(value) - default: card_color(casting_cost: card.casting_cost_2, type: card.super_type_2, rules_text: card.rule_text_2, watermark: card.watermark_2, card_name: card.name_2) - show statistics: false - description: The frame of a card -card field: - type: text - name: name 2 - identifying: true - show statistics: false - description: The name of a card -card field: - type: text - name: casting cost 2 - icon: stats/casting_cost.png - script: mana_filter(value) - card list alignment: right - card list width: 50 - card list name: CC - show statistics: false - description: The casting cost of a card -card field: - type: choice - name: card symbol 2 - icon: stats/card_symbol.png - choice: none - choice: tombstone - show statistics: false - description: The card symbol of the card (Tombstone) -card field: - type: image - name: image 2 - show statistics: false - description: The image of the card -card field: - type: text - name: super type 2 - icon: stats/creature_type.png - show statistics: false - script: super_type_filter(value) -card field: - type: text - name: sub type 2 - icon: stats/creature_type.png - show statistics: false - script: sub_type_filter(value, type:card.super_type_2) -card field: - type: text - name: type 2 - save value: false - script: - combined_editor( - field1: card.super_type_2, - separator: language().type_separator, - field2: card.sub_type_2, - soft_before_empty: true, - hide_when_empty: true - ) - show statistics: false - description: The type of the card; type "-" to go from type to subtype -card field: - type: choice - name: rarity 2 - icon: stats/rarity.png - choice: basic land - choice: common - choice: uncommon - choice: rare - choice: mythic rare - choice: special - initial: common - # Both rarities will be the same - script: card.rarity - editable: false - show statistics: false -card field: - type: text - name: rule text 2 - script: text_filter(input: value, card_name: card.name_2) - show statistics: false - multi line: true - description: The rules text of the card -card field: - type: text - name: flavor text 2 - script: flavor_text_filter(value) - multi line: true - show statistics: false -card field: - type: text - name: text 2 - multi line: true - save value: false - show statistics: false - script: - combined_editor(field1: card.rule_text_2, separator: "\n", field2: card.flavor_text_2) - description: The rules and flavor text of the card -card field: - type: choice - name: watermark 2 - include file: /magic-watermarks.mse-include/watermark-names - icon: stats/watermark.png - show statistics: false - description: A watermark for below the textbox, this can be a big mana symbol used on basic lands, a special symbol, or a guild symbol -card field: - type: text - name: loyalty 2 - icon: stats/toughness.png - show statistics: false - description: The initial loyalty of a planeswalker -card field: - type: text - name: power 2 - icon: stats/power.png - show statistics: false - script: type_over_pt(value) - description: The power of a creature -card field: - type: text - name: toughness 2 - icon: stats/toughness.png - show statistics: false - description: The toughness of a creature -card field: - type: text - name: pt 2 - save value: false - script: - combined_editor( - field1: card.power_2, - separator: language().pt_separator, - field2: card.toughness_2, - soft_before_empty: true, - hide_when_empty: true - ) - card list width: 50 - card list name: P/T2 - show statistics: false - description: Power/Toughness of a creature -card field: - type: text - name: illustrator 2 - icon: stats/illustrator.png - default: set.artist - show statistics: false - description: The illustrator of the image -card field: - type: text - name: copyright 2 - default: set.copyright - show statistics: false -card field: - type: text - name: copyright line 2 - save value: false - show statistics: false - script: - if set.automatic_card_numbers then - combined_editor(field1: card.copyright_2, separator: " ", field2: card.card_number) - else - forward_editor(field: card.copyright_2) - description: The copyright and card number of the card + +############################################################## Card fields + +############################# Automatic fields + +# The 'shape' of the card (flip, split, etc.) +card field: + type: choice + name: shape + save value: false + show statistics: false + editable: false + choice: normal + choice: token + choice: flip + choice: split + choice: planeswalker + choice: shifted + choice: rulestip + script: + stylesheet # indicate that this value should be updated when the stylesheet changes + card_shape() # determined by the style +card field: + type: text + name: full name + save value: false + show statistics: false + editable: false + card list visible: true + card list name: Name + card list column: 1 + card list width: 150 + description: The name of the card + script: if contains(card.shape, match:"split") then card.name + " // " + card.name_2 else card.name + +############################# Background stuff +card field: + type: color + name: border color + default: set.border_color + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + choice: + name: silver + color: rgb(128,128,128) + choice: + name: gold + color: rgb(200,180,0) + show statistics: false + description: The border of the card; can be any solid color. +card field: + type: multiple choice + name: card color + empty choice: colorless + choice: white + choice: blue + choice: black + choice: red + choice: + name: green + line below: true + choice: artifact + choice: land + choice: multicolor + choice: + name: hybrid + enabled: { card_color_color_count(card.card_color) >= 2 } + line below: true + choice: + name: horizontal + enabled: { card_color_color_count(card.card_color) >= 2 } + type: radio + choice: + name: vertical + enabled: { card_color_color_count(card.card_color) >= 2 } + type: radio + choice: + name: radial + enabled: { card_color_color_count(card.card_color) >= 2 } + type: radio + choice: + name: overlay + enabled: { card_color_color_count(card.card_color) == 2 and chosen(choice:"hybrid",card.card_color) } + type: radio + choice: + name: reversed + enabled: { card_color_color_count(card.card_color) >= 2 and not chosen(choice:"overlay",card.card_color) } + script: card_color_filter(value) + default: card_color(casting_cost: card.casting_cost, rules_text: card.rule_text, type: card.super_type, watermark: card.watermark, card_name: card.name) + show statistics: false + description: The frame of the card, used to indicate card color. + +############################# Name line +card field: + type: text + name: name + card list visible: false + identifying: true + show statistics: false + description: The name of the card +card field: + type: text + name: casting cost + icon: stats/casting_cost.png + position hint: 1 + script: mana_filter(value) + card list visible: true + card list column: 2 + card list alignment: right + card list width: 50 + card list name: CC + description: The casting cost of the card +card field: + type: choice + name: card symbol + position hint: 10 + icon: stats/card_symbol.png + choice: none + choice: tombstone + description: Symbol for this card (tombstone) +card field: + type: choice + name: type symbol + default: typesymbol_type(value) + card list visible: false + show statistics: false + choice: artifact + choice: creature + choice: enchantment + choice: instant + choice: land + choice: multitype + choice: planeswalker + choice: sorcery + choice: none + description: The card type symbol for this card + +############################# Image +card field: + type: image + name: image + show statistics: false + description: The image of the card + +############################# Card type +card field: + type: text + name: super type + icon: stats/card_type.png + position hint: 30 + script: super_type_filter(value) +card field: + type: text + name: sub type + icon: stats/creature_type.png + position hint: 31 + script: sub_type_filter(value, type:card.super_type) +card field: + type: text + name: type + show statistics: false + save value: false + script: + # Either just supertype, or subtype - supertype + combined_editor( + field1: card.super_type, + separator: language().type_separator, + field2: card.sub_type, + soft_before_empty: true, + hide_when_empty: true + ) + card list visible: true + card list column:4 + description: The type of this card, type - to go the sub type +card field: + type: choice + name: rarity + icon: stats/rarity.png + position hint: 100 + choice: basic land + choice: common + choice: uncommon + choice: rare + choice: mythic rare + choice: special + initial: common + card list visible: true + card list column: 6 + description: The rarity of the card, to edit the symbol switch to the 'set info' tab + choice colors: + basic land: rgb(109,62,39) + common: rgb(33,33,33) + uncommon: rgb(224,224,224) + mythic rare: rgb(202, 49, 35) + rare: rgb(255,207,52) + special: rgb(190,0,255) + +############################# Text box +card field: + type: text + name: rule text + script: text_filter(input: value, card_name: card.name) + show statistics: false + multi line: true + description: The rules text for the card +card field: + type: text + name: flavor text + script: flavor_text_filter(value) + show statistics: false + multi line: true + description: The flavor text for the card +card field: + type: text + name: text + multi line: true + save value: false + show statistics: false + script: + combined_editor(field1: card.rule_text, separator: "\n", field2: card.flavor_text) + description: The rules and flavor text for the card; use up and down arrows to switch +card field: + type: choice + name: watermark + icon: stats/watermark.png + position hint: 200 + include file: /magic-watermarks.mse-include/watermark-names + description: A watermark for below the textbox, this can be a big mana symbol used on basic lands, or a guild symbol + +############################# Loyalty +card field: + type: text + name: loyalty + icon: stats/toughness.png + position hint: 59 + description: The initial loyalty of a planeswalker +card field: + type: text + name: loyalty cost 1 + show statistics: false + description: The loyalty cost for the first ability of a planeswalker +card field: + type: text + name: loyalty cost 2 + show statistics: false + description: The loyalty cost for the second ability of a planeswalker +card field: + type: text + name: loyalty cost 3 + show statistics: false + description: The loyalty cost for the third ability of a planeswalker +card field: + type: text + name: loyalty cost 4 + show statistics: false + description: The loyalty cost for the fourth ability of a planeswalker + default: if card.power_2 !="" then card.power_2 else card.power #For back compatibility with past templates. Take out a couple versions after 0.3.8 +card field: + type: text + name: loyalty cost 5 + show statistics: false + description: The loyalty cost for the fifth ability of a planeswalker + default: card.toughness_2 #For back compatibility with past templates. Take out a couple versions after 0.3.8 +############################# PT +card field: + type: text + name: power + icon: stats/power.png + show statistics: false + script: type_over_pt(value) + description: The power of a creature +card field: + type: text + name: toughness + show statistics: false + icon: stats/toughness.png + description: The toughness of a creature +card field: + type: text + name: pt + save value: false + script: + combined_editor( + field1: card.power, + separator: language().pt_separator, + field2: card.toughness, + soft_before_empty: true, + hide_when_empty: true + ) + card list visible: true + card list column: 5 + card list width: 50 + card list name: P/T + description: Power/toughness of a creature + show statistics: false + +############################# Card sorting / numbering +card field: + type: text + name: card number + save value: false + script: card_number() + "/" + card_count() + sort script: rarity_sort() + card.card_number + card list visible: true + card list column: 10 + card list width: 50 + card list name: # + card list alignment: right + editable: false + show statistics: false + +############################# Copyright stuff +card field: + type: text + name: illustrator + icon: stats/illustrator.png + position hint: 210 + default: set.artist + description: Illustrator of this card, the default value can be changed on the 'set info' tab +card field: + type: text + name: copyright + default: set.copyright + show statistics: false +card field: + type: text + name: copyright line + save value: false + show statistics: false + script: + if set.automatic_card_numbers then + combined_editor(field1: card.copyright, separator: " ", field2: card.card_number) + else + forward_editor(field: card.copyright) + description: Copyright of this card and cardnumber, the default value can be changed on the 'set info' tab + +############################################################## Duplicate fields (split/flip cards) +# Based on flip templates by Wolfwood +# These are a direct copy of the fields above, only with a 2 + + +card field: + type: multiple choice + name: card color 2 + icon: stats/card_color.png + empty choice: colorless + choice: white + choice: blue + choice: black + choice: red + choice: + name: green + line below: true + choice: artifact + choice: land + choice: multicolor + choice: + name: hybrid + enabled: { card_color_color_count(card.card_color_2) >= 2 } + line below: true + choice: + name: horizontal + enabled: { card_color_color_count(card.card_color_2) >= 2 } + type: radio + choice: + name: vertical + enabled: { card_color_color_count(card.card_color_2) >= 2 } + type: radio + choice: + name: radial + enabled: { card_color_color_count(card.card_color_2) >= 2 } + type: radio + choice: + name: overlay + enabled: { card_color_color_count(card.card_color_2) == 2 and chosen(choice:"hybrid",card.card_color_2) } + type: radio + choice: + name: reversed + enabled: { card_color_color_count(card.card_color) >= 2 and not chosen(choice:"overlay",card.card_color_2) } + script: card_color_filter(value) + default: card_color(casting_cost: card.casting_cost_2, type: card.super_type_2, rules_text: card.rule_text_2, watermark: card.watermark_2, card_name: card.name_2) + show statistics: false + description: The frame of a card +card field: + type: text + name: name 2 + identifying: true + show statistics: false + description: The name of a card +card field: + type: text + name: casting cost 2 + icon: stats/casting_cost.png + script: mana_filter(value) + card list alignment: right + card list width: 50 + card list name: CC + show statistics: false + description: The casting cost of a card +card field: + type: choice + name: card symbol 2 + icon: stats/card_symbol.png + choice: none + choice: tombstone + show statistics: false + description: The card symbol of the card (Tombstone) +card field: + type: image + name: image 2 + show statistics: false + description: The image of the card +card field: + type: text + name: super type 2 + icon: stats/creature_type.png + show statistics: false + script: super_type_filter(value) +card field: + type: text + name: sub type 2 + icon: stats/creature_type.png + show statistics: false + script: sub_type_filter(value, type:card.super_type_2) +card field: + type: text + name: type 2 + save value: false + script: + combined_editor( + field1: card.super_type_2, + separator: language().type_separator, + field2: card.sub_type_2, + soft_before_empty: true, + hide_when_empty: true + ) + show statistics: false + description: The type of the card; type "-" to go from type to subtype +card field: + type: choice + name: rarity 2 + icon: stats/rarity.png + choice: basic land + choice: common + choice: uncommon + choice: rare + choice: mythic rare + choice: special + initial: common + # Both rarities will be the same + script: card.rarity + editable: false + show statistics: false +card field: + type: text + name: rule text 2 + script: text_filter(input: value, card_name: card.name_2) + show statistics: false + multi line: true + description: The rules text of the card +card field: + type: text + name: flavor text 2 + script: flavor_text_filter(value) + multi line: true + show statistics: false +card field: + type: text + name: text 2 + multi line: true + save value: false + show statistics: false + script: + combined_editor(field1: card.rule_text_2, separator: "\n", field2: card.flavor_text_2) + description: The rules and flavor text of the card +card field: + type: choice + name: watermark 2 + include file: /magic-watermarks.mse-include/watermark-names + icon: stats/watermark.png + show statistics: false + description: A watermark for below the textbox, this can be a big mana symbol used on basic lands, a special symbol, or a guild symbol +card field: + type: text + name: loyalty 2 + icon: stats/toughness.png + show statistics: false + description: The initial loyalty of a planeswalker +card field: + type: text + name: power 2 + icon: stats/power.png + show statistics: false + script: type_over_pt(value) + description: The power of a creature +card field: + type: text + name: toughness 2 + icon: stats/toughness.png + show statistics: false + description: The toughness of a creature +card field: + type: text + name: pt 2 + save value: false + script: + combined_editor( + field1: card.power_2, + separator: language().pt_separator, + field2: card.toughness_2, + soft_before_empty: true, + hide_when_empty: true + ) + card list width: 50 + card list name: P/T2 + show statistics: false + description: Power/Toughness of a creature +card field: + type: text + name: illustrator 2 + icon: stats/illustrator.png + default: set.artist + show statistics: false + description: The illustrator of the image +card field: + type: text + name: copyright 2 + default: set.copyright + show statistics: false +card field: + type: text + name: copyright line 2 + save value: false + show statistics: false + script: + if set.automatic_card_numbers then + combined_editor(field1: card.copyright_2, separator: " ", field2: card.card_number) + else + forward_editor(field: card.copyright_2) + description: The copyright and card number of the card diff --git a/data/magic.mse-game/game b/data/magic.mse-game/game index b492c8bd..1926a194 100644 --- a/data/magic.mse-game/game +++ b/data/magic.mse-game/game @@ -1,46 +1,46 @@ -mse version: 0.3.8 -short name: Magic -full name: Magic the Gathering -installer group: magic/game files -icon: card-back.png -position hint: 01 - -version: 2009-08-10 -depends on: magic-blends.mse-include 2007-09-23 -depends on: magic-watermarks.mse-include 2007-09-23 - -############################################################## The script - -init script: include file: script - -############################################################## Lots of lists - -include file: card_fields -include file: set_fields -include file: statistics -include file: packs -include file: keywords -include file: word_lists -include file: add_cards_scripts -include file: auto_replace - -############################################################## Other stuff - -card list color script: - input := card.card_color - if input == "white" then rgb(156,130,90) - else if input == "blue" then rgb(0,64,168) - else if input == "black" then rgb(0,0,0) - else if input == "red" then rgb(168,0,0) - else if input == "green" then rgb(0,168,0) - else ( - artifact := chosen(choice:"artifact") - land := chosen(choice:"land") - multi := chosen(choice:"multicolor") - hybrid := chosen(choice:"hybrid") - if land then rgb(109,62,39) # land - else if multi and input != "artifact, multicolor" then rgb(130,110,0) # multicolor - else if hybrid then rgb(115,0,160) # hybrid - else if artifact then rgb(72,90,100) # artifact - else rgb(119,83,83) # colorless - ) +mse version: 0.3.8 +short name: Magic +full name: Magic the Gathering +installer group: magic/game files +icon: card-back.png +position hint: 01 + +version: 2009-08-10 +depends on: magic-blends.mse-include 2007-09-23 +depends on: magic-watermarks.mse-include 2007-09-23 + +############################################################## The script + +init script: include file: script + +############################################################## Lots of lists + +include file: card_fields +include file: set_fields +include file: statistics +include file: packs +include file: keywords +include file: word_lists +include file: add_cards_scripts +include file: auto_replace + +############################################################## Other stuff + +card list color script: + input := card.card_color + if input == "white" then rgb(156,130,90) + else if input == "blue" then rgb(0,64,168) + else if input == "black" then rgb(0,0,0) + else if input == "red" then rgb(168,0,0) + else if input == "green" then rgb(0,168,0) + else ( + artifact := chosen(choice:"artifact") + land := chosen(choice:"land") + multi := chosen(choice:"multicolor") + hybrid := chosen(choice:"hybrid") + if land then rgb(109,62,39) # land + else if multi and input != "artifact, multicolor" then rgb(130,110,0) # multicolor + else if hybrid then rgb(115,0,160) # hybrid + else if artifact then rgb(72,90,100) # artifact + else rgb(119,83,83) # colorless + ) diff --git a/data/magic.mse-game/keywords b/data/magic.mse-game/keywords index d571fe30..9974443d 100644 --- a/data/magic.mse-game/keywords +++ b/data/magic.mse-game/keywords @@ -1,647 +1,647 @@ - -############################################################## We have keywords - -has keywords: true - -############################################################## Keyword mode - -keyword mode: - name: old - description: Old keywords (Banding, Phasing, etc.) -keyword mode: - name: core - description: Core set keywords (Flying, Haste, etc.) -keyword mode: - name: expert - description: Expert set keywords (Cycling, Vanishing, etc.) -keyword mode: - name: pseudo - description: Pseudo keyword / Ability words (Hellbent, Threshold, etc.) -keyword mode: - name: action - description: Keyword actions, reminder text at end of line (Scry, Regenerate, etc.) -keyword mode: - is default: true - name: custom - description: Custom keywords - -############################################################## Keyword parameter types - -keyword parameter type: - name: mana - match: [SCTQXYZI0-9WUBRG/|]+ - refer script: - name: normal - description: No changes made - script: \{{input}\} - refer script: - name: converted mana cost - description: Converts mana to number - # "0" left in so users can easily see how to edit script. - script: \{cmc({input})\} - refer script: - name: colored mana cost - description: Converts mana to number of colored mana - # "0" left in so users can easily see how to edit script. - script: \{colored_mana({input})\} - -# By pichoro and bunnierein -keyword parameter type: - name: cost - match: [ ][SCTQXYZI0-9WUBRG/|]*|[-—][^(\n]* - separator before is: [ —-] - separator after is: [.] - optional: false - # note: the separator is part of match - refer script: - name: normal - description: When using mana only costs, doesn't include anything extra in the reminder text - script: \{{input}\} - refer script: - name: add "pay an additional " for mana costs - description: When using mana only costs, words the reminder text as "pay an additional " - script: \{for_mana_costs(add:"pay an additional ", {input})\} - refer script: - name: add "pay " for mana costs - description: When using mana only costs, words the reminder text as "pay " - script: \{for_mana_costs(add:"pay ", {input})\} - separator script: long_dash() - -keyword parameter type: - name: number - match: [XYZ0-9]+ - refer script: - name: normal - description: (1,2,3) - script: \{{input}\} - refer script: - name: as words - description: (one, two, three) - script: \{english_number({input})\} - refer script: - name: as words, use "a" for 1 - description: (a, two, three) - script: \{english_number_a({input})\} - refer script: - name: as words, use "" for 1 - description: (, two, three) - script: \{english_number_multiple({input})\} - refer script: - name: as ordinal words - description: (first, second, third) - script: \{english_number_ordinal({input})\} - -keyword parameter type: - name: action - match: [^(:\n]+ - separator after is: [.] - reminder script: alternative_cost() - -keyword parameter type: - name: name - match: [^(.:;\n—]+ - refer script: - name: normal - description: No changes made. - script: \{{input}\} - refer script: - name: singular - description: Removes plurality from words. - script: \{english_singular({input})\} - refer script: - name: separate words with "and/or" - description: Changes spaces to " and/or ". "Elf Warrior" becomes "Elf and/or Warrior". - script: \{separate_words(spacer: " and/or ", {input})\} - refer script: - name: separate words with "or" - description: Changes spaces to " or ". "Elf Warrior" becomes "Elf or Warrior". - script: \{separate_words(spacer: " or ", {input})\} - -keyword parameter type: - name: prefix - description: Prefix for things like "walk" - optional: false -# match: [A-Z][a-z, ]*([A-Z][a-z, ]*\xEB00) # commented out because it stopped prefix param from working, version below allows all "walks", including "Dame Judi Denchwalk", doesn't trigger #in middle of sentences, and doesn't trigger in chains of keywords. - match: [A-Z][A-Z,a-z’ ]* - example: Forest - -keyword parameter type: - name: a - match: [ ]*|[ ][an?]* - -############################# All Magic keywords -# By JrEye and Neko_Asakami, Updated by Pichoro and Buttock1234 - -keyword: - keyword: Flying - match: Flying - mode: core - reminder: This creature can’t be blocked except by creatures with flying or reach. -keyword: - keyword: First strike - match: First strike - mode: core - reminder: This creature deals combat damage before creatures without first strike. -keyword: - keyword: Trample - match: Trample - mode: core - reminder: If this creature would deal enough damage to its blockers to destroy them, you may have it deal the rest of its damage to defending player or planeswalker. -keyword: - keyword: Banding - match: Banding - mode: old - reminder: Any creatures with banding, and up to one without, can attack in a band. Bands are blocked as a group. If any creatures with banding you control are blocking or being blocked by a creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. -keyword: - keyword: Landwalk - match: prefixwalk - mode: core - reminder: This creature is unblockable as long as defending player controls a {if match(param1.value, match: " land$") or contains(param1.value, match: "Snow") or contains(param1.value, match:"Basic") or contains(param1.value, match:"Legendary") then "{to_lower(param1)}" else "{param1}"}. -keyword: - keyword: Protection from - match: Protection from name - mode: core - reminder: {if has_pt() then "This creature" else "This permanent"} can’t be blocked, targeted, dealt damage, or enchanted by anything {english_singular(param1)}. -keyword: - keyword: Regeneration - match: Regenerate - mode: action - reminder: The next time {if has_pt() then "this creature" else "this"} would be destroyed this turn, it isn’t.{if has_pt() then " Instead tap it, remove all damage from it, and remove it from combat." else " Instead tap it."} -keyword: - keyword: Bands with other - match: Bands with other name - mode: old - reminder: Any {param1} can attack in a band as long as at least one has “bands with other {param1}.” Bands are blocked as a group. If at least two {param1} you control, one of which has “bands with other {param1},” are blocking or being blocked by the same creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. -keyword: - keyword: Rampage - match: Rampage number - mode: old - reminder: Whenever this creature becomes blocked, it gets +{param1}/+{param1} until end of turn for each creature blocking it beyond the first. -keyword: - keyword: Cumulative upkeep - match: Cumulative upkeep cost - mode: old - reminder: At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it. -keyword: - keyword: Phasing - match: Phasing - mode: old - reminder: This phases in or out before you untap during each of your untap steps. While it’s phased out, it’s treated as though it doesn’t exist. -keyword: - keyword: Flanking - match: Flanking - mode: expert - reminder: Whenever a creature without flanking blocks this creature, the blocking creature gets -1/-1 until end of turn. -keyword: - keyword: Shadow - match: Shadow - mode: expert - reminder: This creature can block or be blocked by only creatures with shadow. -keyword: - keyword: Denimwalk - match: Denimwalk - mode: old - reminder: If defending player is wearing any clothing made of denim, this creature is unblockable. -keyword: - keyword: Buyback - match: Buyback cost - mode: expert - reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast this spell. If you do, put this card into your hand as it resolves. -keyword: - keyword: Echo - match: Echo cost - mode: expert - reminder: At the beginning of your upkeep, if this came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost. -keyword: - keyword: Cycling - match: Cycling cost - mode: expert - reminder: {param1}, Discard this card: Draw a card. -keyword: - keyword: Haste - match: Haste - mode: core - reminder: This creature can attack and T as soon as it comes under your control. -keyword: - keyword: Horsemanship - match: Horsemanship - mode: old - reminder: This creature can’t be blocked except by creatures with horsemanship. -keyword: - keyword: Fading - match: Fading number - mode: expert - reminder: This {if has_pt() then "creature" else "permanent"} enters the battlefield with {english_number_a(param1)} fade counter(s) on it. At the beginning of your upkeep, remove a fade counter from it. If you can’t, sacrifice it. -keyword: - keyword: Kicker - match: Kicker cost - mode: expert - reminder: You may {for_mana_costs(add:"pay an additional ", param1)} as you cast this spell. -keyword: - keyword: Flashback - match: Flashback cost - mode: expert - reminder: You may cast this card from your graveyard for its flashback cost. Then exile it. -keyword: - keyword: Threshold - match: Threshold - mode: pseudo - rules: Threshold — [effect] as long as seven or more cards are in your graveyard. -keyword: - keyword: Madness - match: Madness cost - mode: expert - reminder: If you discard this card, you may cast it for its madness cost instead of putting it into your graveyard. -keyword: - keyword: Morph - match: Morph cost - mode: expert - reminder: You may cast this face down as a 2/2 creature for 3. Turn it face up any time for its morph cost. -keyword: - keyword: Fear - match: Fear - mode: old - reminder: This creature can’t be blocked except by artifact creatures and/or black creatures. -keyword: - keyword: Amplify - match: Amplify number - mode: expert - reminder: As this card enters the battlefield, put {english_number_a(param1)} +1/+1 counter(s) on it for each {separate_words(spacer: " and/or ", card.sub_type)} card you reveal in your hand. -keyword: - keyword: Double strike - match: Double strike - mode: core - reminder: This creature deals both first-strike and regular combat damage. -keyword: - keyword: Provoke - match: Provoke - mode: expert - reminder: When this attacks, you may have target creature defending player controls untap and block it if able. -keyword: - keyword: Typecycling - match: prefixcycling cost - mode: expert - reminder: {param2}, Discard this card: Search your library for a {param1} card, reveal it, and put it into your hand. Then shuffle your library. -keyword: - keyword: Storm - match: Storm - mode: expert - reminder: When you cast this spell, copy it for each spell cast before it this turn.{ if is_targeted() then " You may choose new targets for the copies." } -keyword: - keyword: Affinity for - match: Affinity for name - mode: expert - reminder: This spell costs 1 less to cast for each {english_singular(param1)} you control. -keyword: - keyword: Entwine - match: Entwine cost - mode: expert - reminder: Choose both if you pay the entwine cost. -keyword: - keyword: Equip - match: Equip cost - mode: core - reminder: {param1}: Attach to target creature you control. Equip only as a sorcery. -keyword: - keyword: Imprint - match: Imprint - mode: pseudo - rules: When ~ enters the battlefield, you may exile a [something] from [somewhere]. -keyword: - keyword: Modular - match: Modular number - mode: expert - reminder: This enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. When it’s put into a graveyard, you may put its +1/+1 counters on target artifact creature. -keyword: - keyword: Scry - match: Scry number - mode: action - 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 - mode: expert - reminder: This enters the battlefield with a {if has_pt() then "+1/+1" else "charge"} counter on it for each color of mana spent to cast it. -keyword: - keyword: Art rampage - match: Art rampage number - mode: expert - reminder: Whenever this becomes blocked by a creature, it gets +{param1}/+{param1} for each creature in the blocker’s art beyond the first. -keyword: - keyword: Super haste - match: Super haste - mode: expert - reminder: This may attack the turn before you cast it. (You may have this card enter the battlefield from your hand, tapped and attacking, during your declare attackers step. If you do, you lose the game at the end of your next turn unless you pay this card’s mana cost during that turn.) -keyword: - keyword: Gotcha - match: Gotcha - mode: pseudo - rules: Gotcha — Whenever an opponent [does something], you may say “Gotcha!”. If you do, return [something] from your graveyard to your hand. -keyword: - keyword: Splice - match: Splice onto name cost - mode: expert - reminder: As you cast a {param1} spell, you may reveal this card from your hand and pay its splice cost. If you do, add this card’s effects to that spell. -keyword: - keyword: Bushido - match: Bushido number - mode: expert - reminder: When this blocks or becomes blocked, it gets +{param1}/+{param1} until end of turn. -keyword: - keyword: Soulshift - match: Soulshift number - mode: expert - reminder: When this is put into a graveyard from the battlefield, you may return target Spirit card with converted mana cost {param1} or less from your graveyard to your hand. -keyword: - keyword: Enchant - match: Enchant name - mode: core - reminder: Target a {param1} as you cast this. This card enters the battlefield attached to that {param1}. -keyword: - keyword: Vigilance - match: Vigilance - mode: core - reminder: Attacking doesn’t cause this creature to tap. -keyword: - keyword: Defender - match: Defender - mode: core - reminder: This creature can’t attack. -keyword: - keyword: Offering - match: prefix offering - mode: expert - reminder: You may cast this card any time you could cast an instant by sacrificing a {param1} and paying the difference in mana costs between this and the sacrificed {param1}. Mana cost includes color. -keyword: - keyword: Ninjutsu - match: Ninjutsu cost - mode: expert - reminder: {param1}, Return an unblocked attacker you control to hand: This card enters the battlefield from your hand tapped and attacking. -keyword: - keyword: Epic - match: Epic - mode: expert - reminder: For the rest of the game, you can’t cast spells. At the beginning of each of your upkeeps, copy this spell except for its epic ability.{ if is_targeted() then " You may choose a new target for the copy." } -keyword: - keyword: Channel - match: Channel - mode: pseudo - rules: Channel — [cost], Discard ~: [effect]. -keyword: - keyword: Sweep - match: Sweep - mode: pseudo - rules: Sweep — Return any number of [basic land type] you control to their owner’s hand. [effect based on number of lands returned]. -keyword: - keyword: Convoke - match: Convoke - mode: expert - reminder: Each creature you tap while casting this spell reduces its cost by 1 or by one mana of that creature’s color. -keyword: - keyword: Transmute - match: Transmute cost - mode: expert - reminder: {param1}, Discard this card: Search your library for a card with the same converted mana cost as this card, reveal it, and put it into your hand. Then shuffle your library. Activate only as a sorcery. -keyword: - keyword: Dredge - match: Dredge number - mode: expert - reminder: If you would draw a card, instead you may put exactly {english_number(param1)} card(s) from the top of your library into your graveyard. If you do, return this card from your graveyard to your hand. Otherwise, draw a card. -keyword: - keyword: Radiance - match: Radiance - mode: pseudo - rules: Radiance — [effect to target permanent or spell and all cards of same card type that share a color with it] -keyword: - keyword: Haunt - match: Haunt - mode: expert - reminder: When this { if contains(card.type,match:"Instant") or contains(card.type,match:"Sorcery") then "spell card is put into a graveyard after resolving," else "card is put into a graveyard from the battlefield," } exile it haunting target creature. -keyword: - keyword: Bloodthirst - match: Bloodthirst number - mode: expert - reminder: If an opponent was dealt damage this turn, this {if has_pt() then "creature" else "permanent"} enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. -keyword: - keyword: Replicate - match: Replicate cost - mode: expert - reminder: When you cast this spell, copy it for each time you paid its replicate cost.{ if is_targeted() then " You may choose new targets for the copies." } -keyword: - keyword: Graft - match: Graft number - mode: expert - reminder: {if has_pt() then "This creature" else "This permanent"} enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. Whenever {if has_pt() then "another" else "a"} creature enters the battlefield, you may move a +1/+1 counter from {if has_pt() then "this creature" else "this permanent"} onto it. -keyword: - keyword: Forecast - match: Forecast — action, Reveal name from your hand: action - mode: expert - reminder: Activate this ability only during your upkeep and only once each turn. -keyword: - keyword: Hellbent - match: Hellbent - mode: pseudo - rules: Hellbent — [effect] if you have no cards in hand. -keyword: - keyword: Recover - match: Recover cost - mode: expert - reminder: When a creature is put into your graveyard from the battlefield, you may {for_mana_costs(add:"pay ",param1)}. If you do, return this card from your graveyard to your hand. Otherwise, exile this card. -keyword: - keyword: Ripple - match: Ripple number - mode: expert - reminder: When you cast this spell, you may reveal the top {english_number_multiple(param1)} card(s) of your library. You may cast any revealed cards with the same name as this spell without paying their mana costs. Put the rest on the bottom of your library. -keyword: - keyword: Flash - match: Flash - mode: core - reminder: You may cast this spell any time you could cast an instant. -keyword: - keyword: Split second - match: Split second - mode: expert - reminder: As long as this spell is on the stack, players can’t cast spells or activate abilities that aren’t mana abilities. -keyword: - keyword: Suspend - match: Suspend numbercost - mode: expert - reminder: Rather than cast this card from your hand,{if has_cc() then " you may" else ""} {for_mana_costs(add:"pay ", param2)} and exile it with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.{if has_pt() then " It has haste." } -keyword: - keyword: Vanishing - match: Vanishing number - mode: expert - reminder: This permanent enters the battlefield with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it. -keyword: - keyword: Deathtouch - match: Deathtouch - mode: core - reminder: Creatures dealt damage by this creature are destroyed. You can divide this creature’s combat damage among any of the creatures blocking or blocked by it. -keyword: - keyword: Reach - match: Reach - mode: core - reminder: This creature can block creatures with flying. -keyword: - keyword: Gravestorm - match: Gravestorm - mode: expert - reminder: When you cast this spell, copy it for each permanent put into a graveyard this turn.{ if is_targeted() then " You may choose new targets for the copies." } -keyword: - keyword: Lifelink - match: Lifelink - mode: core - reminder: Damage dealt by this creature also causes you to gain that much life. -keyword: - keyword: Absorb - match: Absorb number - mode: expert - reminder: If a source would deal damage to this creature, prevent {param1} of that damage. -keyword: - keyword: Fateseal - match: Fateseal number - mode: action - reminder: - Look at the top { - if param1.value==1 then "card of an opponent’s library, then you may put it on the bottom of that player’s library." - else "{english_number(param1)} cards of an opponent’s library, then put any number of them on the bottom of that player’s library and the rest on top in any order." - } -keyword: - keyword: Transfigure - match: Transfigure cost - mode: expert - reminder: {param1}, Sacrifice this creature: Search your library for a creature card with the same converted mana cost as this creature and have that card enter the battlefield. Then shuffle your library. Activate only as a sorcery. -keyword: - keyword: Aura swap - match: Aura swap cost - mode: expert - reminder: {param1}: Exchange this Aura with an Aura card in your hand. -keyword: - keyword: Frenzy - match: Frenzy number - mode: expert - reminder: Whenever this creature attacks and isn’t blocked, it gets +{param1}/+0 until end of turn. -keyword: - keyword: Delve - match: Delve - mode: expert - reminder: You may exile any number of cards in your graveyard as you cast this spell. It costs 1 less to cast for each card exiled this way. -keyword: - keyword: Poisonous - match: Poisonous number - mode: expert - reminder: Whenever this creature deals combat damage to a player, that player gets {english_number_a(param1)} poison counter(s). A player with ten or more poison counters loses the game. -keyword: - keyword: Shroud - match: Shroud - mode: core - reminder: This permanent can’t be the target of spells or abilities. -keyword: - keyword: Fortify - match: Fortify cost - mode: expert - reminder: {param1}: Attach to target land you control. Fortify only as a sorcery. This card enters the battlefield unattached and stays in the battlefield if the land exits the battlefield. -keyword: - keyword: Grandeur - match: Grandeur - mode: pseudo - rules: Grandeur — Discard another card named ~: [effect]. -keyword: - keyword: Evoke - match: Evoke cost - mode: expert - reminder: You may cast this spell for its evoke cost. If you do, it’s sacrificed when it enters the battlefield. -keyword: - keyword: Champion - match: Championaname - mode: expert - reminder: When this enters the battlefield, sacrifice it unless you exile another{param2} you control. When this exits the battlefield, return that card to the battlefield. -keyword: - keyword: Clash - match: Clash - mode: action - reminder: Each clashing player reveals the top card of his or her library, then puts that card on the top or bottom. A player wins if his or her card had a higher converted mana cost. -keyword: - keyword: Changeling - match: Changeling - mode: expert - reminder: This card is every creature type at all times. -keyword: - keyword: Hideaway - match: Hideaway - mode: expert - reminder: This land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library. -keyword: - keyword: Prowl - match: Prowl cost - mode: expert - reminder: You may cast this for its prowl cost if you dealt combat damage to a player this turn with a {separate_words(spacer: " or ", card.sub_type)}. -keyword: - keyword: Reinforce - match: Reinforce numbercost - mode: expert - reminder: {param2}, Discard this card: Put {english_number_a(param1)} +1/+1 counter(s) on target creature. -keyword: - keyword: Kinship - match: Kinship - mode: pseudo - rules: Kinship — At the beginning of your upkeep, you may look at the top card of your library. If that card shares a creature type with ~, you may reveal it. If you do, [effect]. -keyword: - keyword: Persist - match: Persist - mode: expert - reminder: When this creature is put into a graveyard from the battlefield, if it had no -1/-1 counters on it, return it to the battlefield under its owner’s control with a -1/-1 counter on it. -keyword: - keyword: Wither - match: Wither - mode: expert - reminder: This deals damage to creatures in the form of -1/-1 counters. -keyword: - keyword: Conspire - match: Conspire - mode: expert - reminder: As you cast this spell, you may tap two untapped creatures you control that share a color with it. When you do, copy it{ if is_targeted() then " and you may choose a new target for the copy" }. -keyword: - keyword: Retrace - match: Retrace - mode: expert - reminder: You may cast this card from your graveyard by discarding a land card in addition to paying its other costs. -keyword: - keyword: Chroma - match: Chroma - mode: pseudo - rules: Chroma — [effect] based on the number of [color] mana symbols [in graveyard, under your control, in cards you discard]. -keyword: - keyword: Unearth - match: Unearth cost - mode: expert - reminder: {param1}: Return this card from your graveyard to the battlefield. {if has_pt() then "It gains haste. " else "" }Exile it at the beginning of the end step or if it would exit the battlefield. Unearth only as a sorcery. -keyword: - keyword: Devour - match: Devour number - mode: expert - reminder: As this creature enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with { if param1.value == 1 then "" else if param1.value == 2 then "twice " else english_number(param1) + " times " }that many +1/+1 counters on it. -keyword: - keyword: Exalted - match: Exalted - mode: expert - reminder: Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn. -keyword: - keyword: Domain - match: Domain - mode: pseudo - rules: Domain — [effect] for each basic land type among lands you control. -keyword: - keyword: Cascade - match: Cascade - mode: expert - reminder: When you cast this spell, exile the top card of your library until you exile a nonland card that costs less. You may cast that card without paying its mana cost. Put the exiled cards on the bottom of your library at random. -keyword: - keyword: Intimidate - match: Intimidate - mode: core - reminder: This creature can’t be blocked except by artifact creatures and/or creatures that share a color with it. + +############################################################## We have keywords + +has keywords: true + +############################################################## Keyword mode + +keyword mode: + name: old + description: Old keywords (Banding, Phasing, etc.) +keyword mode: + name: core + description: Core set keywords (Flying, Haste, etc.) +keyword mode: + name: expert + description: Expert set keywords (Cycling, Vanishing, etc.) +keyword mode: + name: pseudo + description: Pseudo keyword / Ability words (Hellbent, Threshold, etc.) +keyword mode: + name: action + description: Keyword actions, reminder text at end of line (Scry, Regenerate, etc.) +keyword mode: + is default: true + name: custom + description: Custom keywords + +############################################################## Keyword parameter types + +keyword parameter type: + name: mana + match: [SCTQXYZI0-9WUBRG/|]+ + refer script: + name: normal + description: No changes made + script: \{{input}\} + refer script: + name: converted mana cost + description: Converts mana to number + # "0" left in so users can easily see how to edit script. + script: \{cmc({input})\} + refer script: + name: colored mana cost + description: Converts mana to number of colored mana + # "0" left in so users can easily see how to edit script. + script: \{colored_mana({input})\} + +# By pichoro and bunnierein +keyword parameter type: + name: cost + match: [ ][SCTQXYZI0-9WUBRG/|]*|[-—][^(\n]* + separator before is: [ —-] + separator after is: [.] + optional: false + # note: the separator is part of match + refer script: + name: normal + description: When using mana only costs, doesn't include anything extra in the reminder text + script: \{{input}\} + refer script: + name: add "pay an additional " for mana costs + description: When using mana only costs, words the reminder text as "pay an additional " + script: \{for_mana_costs(add:"pay an additional ", {input})\} + refer script: + name: add "pay " for mana costs + description: When using mana only costs, words the reminder text as "pay " + script: \{for_mana_costs(add:"pay ", {input})\} + separator script: long_dash() + +keyword parameter type: + name: number + match: [XYZ0-9]+ + refer script: + name: normal + description: (1,2,3) + script: \{{input}\} + refer script: + name: as words + description: (one, two, three) + script: \{english_number({input})\} + refer script: + name: as words, use "a" for 1 + description: (a, two, three) + script: \{english_number_a({input})\} + refer script: + name: as words, use "" for 1 + description: (, two, three) + script: \{english_number_multiple({input})\} + refer script: + name: as ordinal words + description: (first, second, third) + script: \{english_number_ordinal({input})\} + +keyword parameter type: + name: action + match: [^(:\n]+ + separator after is: [.] + reminder script: alternative_cost() + +keyword parameter type: + name: name + match: [^(.:;\n—]+ + refer script: + name: normal + description: No changes made. + script: \{{input}\} + refer script: + name: singular + description: Removes plurality from words. + script: \{english_singular({input})\} + refer script: + name: separate words with "and/or" + description: Changes spaces to " and/or ". "Elf Warrior" becomes "Elf and/or Warrior". + script: \{separate_words(spacer: " and/or ", {input})\} + refer script: + name: separate words with "or" + description: Changes spaces to " or ". "Elf Warrior" becomes "Elf or Warrior". + script: \{separate_words(spacer: " or ", {input})\} + +keyword parameter type: + name: prefix + description: Prefix for things like "walk" + optional: false +# match: [A-Z][a-z, ]*([A-Z][a-z, ]*\xEB00) # commented out because it stopped prefix param from working, version below allows all "walks", including "Dame Judi Denchwalk", doesn't trigger #in middle of sentences, and doesn't trigger in chains of keywords. + match: [A-Z][A-Z,a-z’ ]* + example: Forest + +keyword parameter type: + name: a + match: [ ]*|[ ][an?]* + +############################# All Magic keywords +# By JrEye and Neko_Asakami, Updated by Pichoro and Buttock1234 + +keyword: + keyword: Flying + match: Flying + mode: core + reminder: This creature can’t be blocked except by creatures with flying or reach. +keyword: + keyword: First strike + match: First strike + mode: core + reminder: This creature deals combat damage before creatures without first strike. +keyword: + keyword: Trample + match: Trample + mode: core + reminder: If this creature would deal enough damage to its blockers to destroy them, you may have it deal the rest of its damage to defending player or planeswalker. +keyword: + keyword: Banding + match: Banding + mode: old + reminder: Any creatures with banding, and up to one without, can attack in a band. Bands are blocked as a group. If any creatures with banding you control are blocking or being blocked by a creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. +keyword: + keyword: Landwalk + match: prefixwalk + mode: core + reminder: This creature is unblockable as long as defending player controls a {if match(param1.value, match: " land$") or contains(param1.value, match: "Snow") or contains(param1.value, match:"Basic") or contains(param1.value, match:"Legendary") then "{to_lower(param1)}" else "{param1}"}. +keyword: + keyword: Protection from + match: Protection from name + mode: core + reminder: {if has_pt() then "This creature" else "This permanent"} can’t be blocked, targeted, dealt damage, or enchanted by anything {english_singular(param1)}. +keyword: + keyword: Regeneration + match: Regenerate + mode: action + reminder: The next time {if has_pt() then "this creature" else "this"} would be destroyed this turn, it isn’t.{if has_pt() then " Instead tap it, remove all damage from it, and remove it from combat." else " Instead tap it."} +keyword: + keyword: Bands with other + match: Bands with other name + mode: old + reminder: Any {param1} can attack in a band as long as at least one has “bands with other {param1}.” Bands are blocked as a group. If at least two {param1} you control, one of which has “bands with other {param1},” are blocking or being blocked by the same creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. +keyword: + keyword: Rampage + match: Rampage number + mode: old + reminder: Whenever this creature becomes blocked, it gets +{param1}/+{param1} until end of turn for each creature blocking it beyond the first. +keyword: + keyword: Cumulative upkeep + match: Cumulative upkeep cost + mode: old + reminder: At the beginning of your upkeep, put an age counter on this permanent, then sacrifice it unless you pay its upkeep cost for each age counter on it. +keyword: + keyword: Phasing + match: Phasing + mode: old + reminder: This phases in or out before you untap during each of your untap steps. While it’s phased out, it’s treated as though it doesn’t exist. +keyword: + keyword: Flanking + match: Flanking + mode: expert + reminder: Whenever a creature without flanking blocks this creature, the blocking creature gets -1/-1 until end of turn. +keyword: + keyword: Shadow + match: Shadow + mode: expert + reminder: This creature can block or be blocked by only creatures with shadow. +keyword: + keyword: Denimwalk + match: Denimwalk + mode: old + reminder: If defending player is wearing any clothing made of denim, this creature is unblockable. +keyword: + keyword: Buyback + match: Buyback cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast this spell. If you do, put this card into your hand as it resolves. +keyword: + keyword: Echo + match: Echo cost + mode: expert + reminder: At the beginning of your upkeep, if this came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost. +keyword: + keyword: Cycling + match: Cycling cost + mode: expert + reminder: {param1}, Discard this card: Draw a card. +keyword: + keyword: Haste + match: Haste + mode: core + reminder: This creature can attack and T as soon as it comes under your control. +keyword: + keyword: Horsemanship + match: Horsemanship + mode: old + reminder: This creature can’t be blocked except by creatures with horsemanship. +keyword: + keyword: Fading + match: Fading number + mode: expert + reminder: This {if has_pt() then "creature" else "permanent"} enters the battlefield with {english_number_a(param1)} fade counter(s) on it. At the beginning of your upkeep, remove a fade counter from it. If you can’t, sacrifice it. +keyword: + keyword: Kicker + match: Kicker cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ", param1)} as you cast this spell. +keyword: + keyword: Flashback + match: Flashback cost + mode: expert + reminder: You may cast this card from your graveyard for its flashback cost. Then exile it. +keyword: + keyword: Threshold + match: Threshold + mode: pseudo + rules: Threshold — [effect] as long as seven or more cards are in your graveyard. +keyword: + keyword: Madness + match: Madness cost + mode: expert + reminder: If you discard this card, you may cast it for its madness cost instead of putting it into your graveyard. +keyword: + keyword: Morph + match: Morph cost + mode: expert + reminder: You may cast this face down as a 2/2 creature for 3. Turn it face up any time for its morph cost. +keyword: + keyword: Fear + match: Fear + mode: old + reminder: This creature can’t be blocked except by artifact creatures and/or black creatures. +keyword: + keyword: Amplify + match: Amplify number + mode: expert + reminder: As this card enters the battlefield, put {english_number_a(param1)} +1/+1 counter(s) on it for each {separate_words(spacer: " and/or ", card.sub_type)} card you reveal in your hand. +keyword: + keyword: Double strike + match: Double strike + mode: core + reminder: This creature deals both first-strike and regular combat damage. +keyword: + keyword: Provoke + match: Provoke + mode: expert + reminder: When this attacks, you may have target creature defending player controls untap and block it if able. +keyword: + keyword: Typecycling + match: prefixcycling cost + mode: expert + reminder: {param2}, Discard this card: Search your library for a {param1} card, reveal it, and put it into your hand. Then shuffle your library. +keyword: + keyword: Storm + match: Storm + mode: expert + reminder: When you cast this spell, copy it for each spell cast before it this turn.{ if is_targeted() then " You may choose new targets for the copies." } +keyword: + keyword: Affinity for + match: Affinity for name + mode: expert + reminder: This spell costs 1 less to cast for each {english_singular(param1)} you control. +keyword: + keyword: Entwine + match: Entwine cost + mode: expert + reminder: Choose both if you pay the entwine cost. +keyword: + keyword: Equip + match: Equip cost + mode: core + reminder: {param1}: Attach to target creature you control. Equip only as a sorcery. +keyword: + keyword: Imprint + match: Imprint + mode: pseudo + rules: When ~ enters the battlefield, you may exile a [something] from [somewhere]. +keyword: + keyword: Modular + match: Modular number + mode: expert + reminder: This enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. When it’s put into a graveyard, you may put its +1/+1 counters on target artifact creature. +keyword: + keyword: Scry + match: Scry number + mode: action + 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 + mode: expert + reminder: This enters the battlefield with a {if has_pt() then "+1/+1" else "charge"} counter on it for each color of mana spent to cast it. +keyword: + keyword: Art rampage + match: Art rampage number + mode: expert + reminder: Whenever this becomes blocked by a creature, it gets +{param1}/+{param1} for each creature in the blocker’s art beyond the first. +keyword: + keyword: Super haste + match: Super haste + mode: expert + reminder: This may attack the turn before you cast it. (You may have this card enter the battlefield from your hand, tapped and attacking, during your declare attackers step. If you do, you lose the game at the end of your next turn unless you pay this card’s mana cost during that turn.) +keyword: + keyword: Gotcha + match: Gotcha + mode: pseudo + rules: Gotcha — Whenever an opponent [does something], you may say “Gotcha!”. If you do, return [something] from your graveyard to your hand. +keyword: + keyword: Splice + match: Splice onto name cost + mode: expert + reminder: As you cast a {param1} spell, you may reveal this card from your hand and pay its splice cost. If you do, add this card’s effects to that spell. +keyword: + keyword: Bushido + match: Bushido number + mode: expert + reminder: When this blocks or becomes blocked, it gets +{param1}/+{param1} until end of turn. +keyword: + keyword: Soulshift + match: Soulshift number + mode: expert + reminder: When this is put into a graveyard from the battlefield, you may return target Spirit card with converted mana cost {param1} or less from your graveyard to your hand. +keyword: + keyword: Enchant + match: Enchant name + mode: core + reminder: Target a {param1} as you cast this. This card enters the battlefield attached to that {param1}. +keyword: + keyword: Vigilance + match: Vigilance + mode: core + reminder: Attacking doesn’t cause this creature to tap. +keyword: + keyword: Defender + match: Defender + mode: core + reminder: This creature can’t attack. +keyword: + keyword: Offering + match: prefix offering + mode: expert + reminder: You may cast this card any time you could cast an instant by sacrificing a {param1} and paying the difference in mana costs between this and the sacrificed {param1}. Mana cost includes color. +keyword: + keyword: Ninjutsu + match: Ninjutsu cost + mode: expert + reminder: {param1}, Return an unblocked attacker you control to hand: This card enters the battlefield from your hand tapped and attacking. +keyword: + keyword: Epic + match: Epic + mode: expert + reminder: For the rest of the game, you can’t cast spells. At the beginning of each of your upkeeps, copy this spell except for its epic ability.{ if is_targeted() then " You may choose a new target for the copy." } +keyword: + keyword: Channel + match: Channel + mode: pseudo + rules: Channel — [cost], Discard ~: [effect]. +keyword: + keyword: Sweep + match: Sweep + mode: pseudo + rules: Sweep — Return any number of [basic land type] you control to their owner’s hand. [effect based on number of lands returned]. +keyword: + keyword: Convoke + match: Convoke + mode: expert + reminder: Each creature you tap while casting this spell reduces its cost by 1 or by one mana of that creature’s color. +keyword: + keyword: Transmute + match: Transmute cost + mode: expert + reminder: {param1}, Discard this card: Search your library for a card with the same converted mana cost as this card, reveal it, and put it into your hand. Then shuffle your library. Activate only as a sorcery. +keyword: + keyword: Dredge + match: Dredge number + mode: expert + reminder: If you would draw a card, instead you may put exactly {english_number(param1)} card(s) from the top of your library into your graveyard. If you do, return this card from your graveyard to your hand. Otherwise, draw a card. +keyword: + keyword: Radiance + match: Radiance + mode: pseudo + rules: Radiance — [effect to target permanent or spell and all cards of same card type that share a color with it] +keyword: + keyword: Haunt + match: Haunt + mode: expert + reminder: When this { if contains(card.type,match:"Instant") or contains(card.type,match:"Sorcery") then "spell card is put into a graveyard after resolving," else "card is put into a graveyard from the battlefield," } exile it haunting target creature. +keyword: + keyword: Bloodthirst + match: Bloodthirst number + mode: expert + reminder: If an opponent was dealt damage this turn, this {if has_pt() then "creature" else "permanent"} enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. +keyword: + keyword: Replicate + match: Replicate cost + mode: expert + reminder: When you cast this spell, copy it for each time you paid its replicate cost.{ if is_targeted() then " You may choose new targets for the copies." } +keyword: + keyword: Graft + match: Graft number + mode: expert + reminder: {if has_pt() then "This creature" else "This permanent"} enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. Whenever {if has_pt() then "another" else "a"} creature enters the battlefield, you may move a +1/+1 counter from {if has_pt() then "this creature" else "this permanent"} onto it. +keyword: + keyword: Forecast + match: Forecast — action, Reveal name from your hand: action + mode: expert + reminder: Activate this ability only during your upkeep and only once each turn. +keyword: + keyword: Hellbent + match: Hellbent + mode: pseudo + rules: Hellbent — [effect] if you have no cards in hand. +keyword: + keyword: Recover + match: Recover cost + mode: expert + reminder: When a creature is put into your graveyard from the battlefield, you may {for_mana_costs(add:"pay ",param1)}. If you do, return this card from your graveyard to your hand. Otherwise, exile this card. +keyword: + keyword: Ripple + match: Ripple number + mode: expert + reminder: When you cast this spell, you may reveal the top {english_number_multiple(param1)} card(s) of your library. You may cast any revealed cards with the same name as this spell without paying their mana costs. Put the rest on the bottom of your library. +keyword: + keyword: Flash + match: Flash + mode: core + reminder: You may cast this spell any time you could cast an instant. +keyword: + keyword: Split second + match: Split second + mode: expert + reminder: As long as this spell is on the stack, players can’t cast spells or activate abilities that aren’t mana abilities. +keyword: + keyword: Suspend + match: Suspend numbercost + mode: expert + reminder: Rather than cast this card from your hand,{if has_cc() then " you may" else ""} {for_mana_costs(add:"pay ", param2)} and exile it with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost.{if has_pt() then " It has haste." } +keyword: + keyword: Vanishing + match: Vanishing number + mode: expert + reminder: This permanent enters the battlefield with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it. +keyword: + keyword: Deathtouch + match: Deathtouch + mode: core + reminder: Creatures dealt damage by this creature are destroyed. You can divide this creature’s combat damage among any of the creatures blocking or blocked by it. +keyword: + keyword: Reach + match: Reach + mode: core + reminder: This creature can block creatures with flying. +keyword: + keyword: Gravestorm + match: Gravestorm + mode: expert + reminder: When you cast this spell, copy it for each permanent put into a graveyard this turn.{ if is_targeted() then " You may choose new targets for the copies." } +keyword: + keyword: Lifelink + match: Lifelink + mode: core + reminder: Damage dealt by this creature also causes you to gain that much life. +keyword: + keyword: Absorb + match: Absorb number + mode: expert + reminder: If a source would deal damage to this creature, prevent {param1} of that damage. +keyword: + keyword: Fateseal + match: Fateseal number + mode: action + reminder: + Look at the top { + if param1.value==1 then "card of an opponent’s library, then you may put it on the bottom of that player’s library." + else "{english_number(param1)} cards of an opponent’s library, then put any number of them on the bottom of that player’s library and the rest on top in any order." + } +keyword: + keyword: Transfigure + match: Transfigure cost + mode: expert + reminder: {param1}, Sacrifice this creature: Search your library for a creature card with the same converted mana cost as this creature and have that card enter the battlefield. Then shuffle your library. Activate only as a sorcery. +keyword: + keyword: Aura swap + match: Aura swap cost + mode: expert + reminder: {param1}: Exchange this Aura with an Aura card in your hand. +keyword: + keyword: Frenzy + match: Frenzy number + mode: expert + reminder: Whenever this creature attacks and isn’t blocked, it gets +{param1}/+0 until end of turn. +keyword: + keyword: Delve + match: Delve + mode: expert + reminder: You may exile any number of cards in your graveyard as you cast this spell. It costs 1 less to cast for each card exiled this way. +keyword: + keyword: Poisonous + match: Poisonous number + mode: expert + reminder: Whenever this creature deals combat damage to a player, that player gets {english_number_a(param1)} poison counter(s). A player with ten or more poison counters loses the game. +keyword: + keyword: Shroud + match: Shroud + mode: core + reminder: This permanent can’t be the target of spells or abilities. +keyword: + keyword: Fortify + match: Fortify cost + mode: expert + reminder: {param1}: Attach to target land you control. Fortify only as a sorcery. This card enters the battlefield unattached and stays in the battlefield if the land exits the battlefield. +keyword: + keyword: Grandeur + match: Grandeur + mode: pseudo + rules: Grandeur — Discard another card named ~: [effect]. +keyword: + keyword: Evoke + match: Evoke cost + mode: expert + reminder: You may cast this spell for its evoke cost. If you do, it’s sacrificed when it enters the battlefield. +keyword: + keyword: Champion + match: Championaname + mode: expert + reminder: When this enters the battlefield, sacrifice it unless you exile another{param2} you control. When this exits the battlefield, return that card to the battlefield. +keyword: + keyword: Clash + match: Clash + mode: action + reminder: Each clashing player reveals the top card of his or her library, then puts that card on the top or bottom. A player wins if his or her card had a higher converted mana cost. +keyword: + keyword: Changeling + match: Changeling + mode: expert + reminder: This card is every creature type at all times. +keyword: + keyword: Hideaway + match: Hideaway + mode: expert + reminder: This land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library. +keyword: + keyword: Prowl + match: Prowl cost + mode: expert + reminder: You may cast this for its prowl cost if you dealt combat damage to a player this turn with a {separate_words(spacer: " or ", card.sub_type)}. +keyword: + keyword: Reinforce + match: Reinforce numbercost + mode: expert + reminder: {param2}, Discard this card: Put {english_number_a(param1)} +1/+1 counter(s) on target creature. +keyword: + keyword: Kinship + match: Kinship + mode: pseudo + rules: Kinship — At the beginning of your upkeep, you may look at the top card of your library. If that card shares a creature type with ~, you may reveal it. If you do, [effect]. +keyword: + keyword: Persist + match: Persist + mode: expert + reminder: When this creature is put into a graveyard from the battlefield, if it had no -1/-1 counters on it, return it to the battlefield under its owner’s control with a -1/-1 counter on it. +keyword: + keyword: Wither + match: Wither + mode: expert + reminder: This deals damage to creatures in the form of -1/-1 counters. +keyword: + keyword: Conspire + match: Conspire + mode: expert + reminder: As you cast this spell, you may tap two untapped creatures you control that share a color with it. When you do, copy it{ if is_targeted() then " and you may choose a new target for the copy" }. +keyword: + keyword: Retrace + match: Retrace + mode: expert + reminder: You may cast this card from your graveyard by discarding a land card in addition to paying its other costs. +keyword: + keyword: Chroma + match: Chroma + mode: pseudo + rules: Chroma — [effect] based on the number of [color] mana symbols [in graveyard, under your control, in cards you discard]. +keyword: + keyword: Unearth + match: Unearth cost + mode: expert + reminder: {param1}: Return this card from your graveyard to the battlefield. {if has_pt() then "It gains haste. " else "" }Exile it at the beginning of the end step or if it would exit the battlefield. Unearth only as a sorcery. +keyword: + keyword: Devour + match: Devour number + mode: expert + reminder: As this creature enters the battlefield, you may sacrifice any number of creatures. This creature enters the battlefield with { if param1.value == 1 then "" else if param1.value == 2 then "twice " else english_number(param1) + " times " }that many +1/+1 counters on it. +keyword: + keyword: Exalted + match: Exalted + mode: expert + reminder: Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn. +keyword: + keyword: Domain + match: Domain + mode: pseudo + rules: Domain — [effect] for each basic land type among lands you control. +keyword: + keyword: Cascade + match: Cascade + mode: expert + reminder: When you cast this spell, exile the top card of your library until you exile a nonland card that costs less. You may cast that card without paying its mana cost. Put the exiled cards on the bottom of your library at random. +keyword: + keyword: Intimidate + match: Intimidate + mode: core + reminder: This creature can’t be blocked except by artifact creatures and/or creatures that share a color with it. diff --git a/data/magic.mse-game/language b/data/magic.mse-game/language index 03f6b558..d95f8472 100644 --- a/data/magic.mse-game/language +++ b/data/magic.mse-game/language @@ -1,35 +1,35 @@ - - -# Language specific strings -languages := [ - English: [ - code : "en", - spellcheck_code : "en_us", - pt_separator : "/", - type_separator : " — ", - subtype_separator : " ", - is_creature : match@(match: "(?i)Creature") - is_tribal : match@(match: "(?i)Tribal") - is_artifact : match@(match: "(?i)Artifact") - is_land : match@(match: "(?i)Land") - is_enchantment : match@(match: "(?i)Enchantment") - is_spell : match@(match: "(?i)Instant|Sorcery") - ], - - Français: [ - code : "fr", - spellcheck_code : "", # TODO: get dictionary - pt_separator : "/", - type_separator : " : " - subtype_separator : " et ", - is_creature : match@(match: "(?i)Creature|Créature") - is_tribal : match@(match: "(?i)Tribal") - is_artifact : match@(match: "(?i)Artifact") - is_land : match@(match: "(?i)Land") - is_enchantment : match@(match: "(?i)Enchantment") - is_spell : match@(match: "(?i)Instant|Sorcery") - ] -] - -# The selected language -language := { languages[set.card_language] or else language.English } + + +# Language specific strings +languages := [ + English: [ + code : "en", + spellcheck_code : "en_us", + pt_separator : "/", + type_separator : " — ", + subtype_separator : " ", + is_creature : match@(match: "(?i)Creature") + is_tribal : match@(match: "(?i)Tribal") + is_artifact : match@(match: "(?i)Artifact") + is_land : match@(match: "(?i)Land") + is_enchantment : match@(match: "(?i)Enchantment") + is_spell : match@(match: "(?i)Instant|Sorcery") + ], + + Français: [ + code : "fr", + spellcheck_code : "", # TODO: get dictionary + pt_separator : "/", + type_separator : " : " + subtype_separator : " et ", + is_creature : match@(match: "(?i)Creature|Créature") + is_tribal : match@(match: "(?i)Tribal") + is_artifact : match@(match: "(?i)Artifact") + is_land : match@(match: "(?i)Land") + is_enchantment : match@(match: "(?i)Enchantment") + is_spell : match@(match: "(?i)Instant|Sorcery") + ] +] + +# The selected language +language := { languages[set.card_language] or else language.English } diff --git a/data/magic.mse-game/magic-words.en_us.dic b/data/magic.mse-game/magic-words.en_us.dic index 576352fd..2b2897b1 100644 --- a/data/magic.mse-game/magic-words.en_us.dic +++ b/data/magic.mse-game/magic-words.en_us.dic @@ -1,149 +1,149 @@ -148 -mana -untap/MSDRJZG -unblockable -planeswalker -noncreature -nonland -nonenchantment -nonartifact -nonwhite -nonblue -nonblack -nonred -nongreen -unblock/USDG -precombat -postcombat -scry -plainswalk -islandwalk -swampwalk -mountainwalk -forestwalk -landwalk -desertwalk -plainshome -islandhome -swamphome -mountainhome -foresthome -landhome -soulshift -ninjitsu -bushido -lifelink -gravestorm -fateseal -bloodthirst -djinn -unattach -face-down -face-up -spell's -guerrilas -mages -exit-the-battlefield -enter-the-battlefield -havok -spectre -gargadon -gargadons -Crovax -evincar -and/or -20/20 -planeswalkers -Merfolk -deathtouch -noncombat -Urza -Karn -Ajani -Goldmane -Jace -Beleren -Liliana -Vess -Chandra -Nalaar -Garruk -Wildspeaker -Tezzeret -Elspeth -Tirel -Nicol -Bolas -Sarkhan -Vol -Nissa -Revane -Baltrice -Crucius -scryers -+1 -etherium --1 -Kothophed -wurm -Tolaria -Weatherlight -Ertai -Barrin -Dominaria -Benalish -Benalia -Sisay -golem -Keld -Maraxus -Volrath -Mirri -Multani -maro-sorcerer -Squee -Tahngarth -Crovax -Selenia -Greven -il-Vec -Argive -Samite -Orim -Argivian -Rath -Starke -Sidar -Kondo -evincar -multiverse -Eladamri -Skyshroud -guerilla -Soltari -Lyna -Rofellos -spellcasting -Korvecdal -Vuel -Takara -self-interest -Ashnod -Mishra -Fallaji -Gix -Phyrexia -Phyrexian -supremacy -Tawnos -Argoth -Xantcha -Saproling -nontoken -mage -Ashling -Jaya -Maralen -Mornsong -non-Sliver -non-Shapeshifter +148 +mana +untap/MSDRJZG +unblockable +planeswalker +noncreature +nonland +nonenchantment +nonartifact +nonwhite +nonblue +nonblack +nonred +nongreen +unblock/USDG +precombat +postcombat +scry +plainswalk +islandwalk +swampwalk +mountainwalk +forestwalk +landwalk +desertwalk +plainshome +islandhome +swamphome +mountainhome +foresthome +landhome +soulshift +ninjitsu +bushido +lifelink +gravestorm +fateseal +bloodthirst +djinn +unattach +face-down +face-up +spell's +guerrilas +mages +exit-the-battlefield +enter-the-battlefield +havok +spectre +gargadon +gargadons +Crovax +evincar +and/or +20/20 +planeswalkers +Merfolk +deathtouch +noncombat +Urza +Karn +Ajani +Goldmane +Jace +Beleren +Liliana +Vess +Chandra +Nalaar +Garruk +Wildspeaker +Tezzeret +Elspeth +Tirel +Nicol +Bolas +Sarkhan +Vol +Nissa +Revane +Baltrice +Crucius +scryers ++1 +etherium +-1 +Kothophed +wurm +Tolaria +Weatherlight +Ertai +Barrin +Dominaria +Benalish +Benalia +Sisay +golem +Keld +Maraxus +Volrath +Mirri +Multani +maro-sorcerer +Squee +Tahngarth +Crovax +Selenia +Greven +il-Vec +Argive +Samite +Orim +Argivian +Rath +Starke +Sidar +Kondo +evincar +multiverse +Eladamri +Skyshroud +guerilla +Soltari +Lyna +Rofellos +spellcasting +Korvecdal +Vuel +Takara +self-interest +Ashnod +Mishra +Fallaji +Gix +Phyrexia +Phyrexian +supremacy +Tawnos +Argoth +Xantcha +Saproling +nontoken +mage +Ashling +Jaya +Maralen +Mornsong +non-Sliver +non-Shapeshifter diff --git a/data/magic.mse-game/packs b/data/magic.mse-game/packs index 26fc5569..37b950c2 100644 --- a/data/magic.mse-game/packs +++ b/data/magic.mse-game/packs @@ -1,186 +1,186 @@ - -############################################################## Card pack types - -pack type: - name: basic land - select: equal - filter: card.rarity == "basic land" and not is_token_card() # can be shifted -pack type: - name: common - filter: card.rarity == "common" and not is_token_card() and not is_shifted_card() -pack type: - name: uncommon - filter: card.rarity == "uncommon" and not is_token_card() and not is_shifted_card() -pack type: - name: rare - filter: card.rarity == "rare" and not is_token_card() and not is_shifted_card() -pack type: - name: mythic rare - filter: card.rarity == "mythic rare" and not is_token_card() and not is_shifted_card() -pack type: - name: special - filter: card.rarity == "special" and not is_token_card() # can be shifted - -pack type: - name: shifted common - filter: card.rarity == "common" and not is_token_card() and is_shifted_card() -pack type: - name: shifted uncommon - filter: card.rarity == "uncommon" and not is_token_card() and is_shifted_card() -pack type: - name: shifted rare - filter: - ( card.rarity == "rare" or - card.rarity == "mythic rare" # We've got to put shifted mythic rares somewhere - ) and not is_token_card() and is_shifted_card() - -pack type: - name: token / rulestip - filter: is_token_card() - -############################################################## shifted/special if possible - -# shifted common if they exist, otherwise a normal common -pack type: - name: shifted common or else common - selectable: false - select: first - item: shifted common - item: common - -# basic land if it exist, otherwise a common -pack type: - name: basic land or else common - selectable: false - select: first - item: basic land - item: common - -# special if it exist, otherwise a common -pack type: - name: special or else common - selectable: false - select: first - item: special - item: common - -# shifted uncommon/rare if they exist, otherwise a normal uncommon -pack type: - name: shifted uncommon or rare or else uncommon - selectable: false - select: first - item: shifted uncommon or rare - item: uncommon - -############################################################## Randomized selections - -pack type: - name: mythic rare or rare - selectable: false - # In Shards of Alara there are 15 mythic rares and 53 rares. - # Each booster has a 1/8 chance of containing a mythic rare. - # This means that looking at single mythics : rares, the proportion is - # 1*53 : 7*15 = 53 : 105 - # this is almost exactly 1 : 2, - # So, a a single mythic is 2 times as rare as a single normal rare. - # - # We use this proportional system instead of a fixed 1:7 system, - # because it copes better with cases where there are few mythics. - # For example, if a set has 1 mythic and 20 rares, you would actually - # be MORE likely to find the mythic card with the 1:7 system! - select: proportional - item: - name: mythic rare - weight: 1 - item: - name: rare - weight: 2 - -pack type: - name: shifted uncommon or rare - selectable: false - select: nonempty - item: - name: shifted uncommon - weight: 3 - item: - name: shifted rare - weight: 1 - -############################################################## Common proportions of cards - -# of the common slots, 3/10 will be shifted, 1/10 will be special -pack type: - name: common sometimes shifted or special - selectable: false - # TODO: Perhaps use some kind of proportional system here as well? - select: equal - item: - name: common - weight: 6 - item: - name: shifted common or else common - weight: 3 - item: - name: special or else common - weight: 1 - -# of the uncommon slots, 1/3 will be shifted, 1/4 of that will be shifted rares instead -pack type: - name: uncommon sometimes shifted - selectable: false - select: equal - item: uncommon - item: uncommon - item: shifted uncommon or rare or else uncommon - -############################################################## Card packs - -pack type: - name: tournament pack - item: - name: mythic rare or rare - amount: 3 - item: - name: uncommon sometimes shifted - amount: 9 - item: - name: common sometimes shifted or special - amount: 33 - item: - name: basic land - amount: 30 - item: - name: token / rulestip -pack type: - name: booster pack - item: - name: mythic rare or rare - amount: 1 - item: - name: uncommon sometimes shifted - amount: 3 - # a total of 11 common-likes - item: - name: common sometimes shifted or special - amount: 10 - item: - name: basic land or else common - item: - name: token / rulestip - -pack type: - name: additional land - item: basic land -pack type: - name: additional common - item: common sometimes shifted or special -pack type: - name: additional uncommon - item: uncommon sometimes shifted -pack type: - name: additional rare - item: mythic rare or rare -pack type: - name: additional token / rulestip - item: token / rulestip + +############################################################## Card pack types + +pack type: + name: basic land + select: equal + filter: card.rarity == "basic land" and not is_token_card() # can be shifted +pack type: + name: common + filter: card.rarity == "common" and not is_token_card() and not is_shifted_card() +pack type: + name: uncommon + filter: card.rarity == "uncommon" and not is_token_card() and not is_shifted_card() +pack type: + name: rare + filter: card.rarity == "rare" and not is_token_card() and not is_shifted_card() +pack type: + name: mythic rare + filter: card.rarity == "mythic rare" and not is_token_card() and not is_shifted_card() +pack type: + name: special + filter: card.rarity == "special" and not is_token_card() # can be shifted + +pack type: + name: shifted common + filter: card.rarity == "common" and not is_token_card() and is_shifted_card() +pack type: + name: shifted uncommon + filter: card.rarity == "uncommon" and not is_token_card() and is_shifted_card() +pack type: + name: shifted rare + filter: + ( card.rarity == "rare" or + card.rarity == "mythic rare" # We've got to put shifted mythic rares somewhere + ) and not is_token_card() and is_shifted_card() + +pack type: + name: token / rulestip + filter: is_token_card() + +############################################################## shifted/special if possible + +# shifted common if they exist, otherwise a normal common +pack type: + name: shifted common or else common + selectable: false + select: first + item: shifted common + item: common + +# basic land if it exist, otherwise a common +pack type: + name: basic land or else common + selectable: false + select: first + item: basic land + item: common + +# special if it exist, otherwise a common +pack type: + name: special or else common + selectable: false + select: first + item: special + item: common + +# shifted uncommon/rare if they exist, otherwise a normal uncommon +pack type: + name: shifted uncommon or rare or else uncommon + selectable: false + select: first + item: shifted uncommon or rare + item: uncommon + +############################################################## Randomized selections + +pack type: + name: mythic rare or rare + selectable: false + # In Shards of Alara there are 15 mythic rares and 53 rares. + # Each booster has a 1/8 chance of containing a mythic rare. + # This means that looking at single mythics : rares, the proportion is + # 1*53 : 7*15 = 53 : 105 + # this is almost exactly 1 : 2, + # So, a a single mythic is 2 times as rare as a single normal rare. + # + # We use this proportional system instead of a fixed 1:7 system, + # because it copes better with cases where there are few mythics. + # For example, if a set has 1 mythic and 20 rares, you would actually + # be MORE likely to find the mythic card with the 1:7 system! + select: proportional + item: + name: mythic rare + weight: 1 + item: + name: rare + weight: 2 + +pack type: + name: shifted uncommon or rare + selectable: false + select: nonempty + item: + name: shifted uncommon + weight: 3 + item: + name: shifted rare + weight: 1 + +############################################################## Common proportions of cards + +# of the common slots, 3/10 will be shifted, 1/10 will be special +pack type: + name: common sometimes shifted or special + selectable: false + # TODO: Perhaps use some kind of proportional system here as well? + select: equal + item: + name: common + weight: 6 + item: + name: shifted common or else common + weight: 3 + item: + name: special or else common + weight: 1 + +# of the uncommon slots, 1/3 will be shifted, 1/4 of that will be shifted rares instead +pack type: + name: uncommon sometimes shifted + selectable: false + select: equal + item: uncommon + item: uncommon + item: shifted uncommon or rare or else uncommon + +############################################################## Card packs + +pack type: + name: tournament pack + item: + name: mythic rare or rare + amount: 3 + item: + name: uncommon sometimes shifted + amount: 9 + item: + name: common sometimes shifted or special + amount: 33 + item: + name: basic land + amount: 30 + item: + name: token / rulestip +pack type: + name: booster pack + item: + name: mythic rare or rare + amount: 1 + item: + name: uncommon sometimes shifted + amount: 3 + # a total of 11 common-likes + item: + name: common sometimes shifted or special + amount: 10 + item: + name: basic land or else common + item: + name: token / rulestip + +pack type: + name: additional land + item: basic land +pack type: + name: additional common + item: common sometimes shifted or special +pack type: + name: additional uncommon + item: uncommon sometimes shifted +pack type: + name: additional rare + item: mythic rare or rare +pack type: + name: additional token / rulestip + item: token / rulestip diff --git a/data/magic.mse-game/script b/data/magic.mse-game/script index b314bcfd..fb8cb7c5 100644 --- a/data/magic.mse-game/script +++ b/data/magic.mse-game/script @@ -1,635 +1,635 @@ - -############################################################## Localization - -include file: language - -############################################################## Sorting mana symbols - -# correctly sort a mana symbol (no guild mana) -mana_sort := sort_text@(order: "XYZI[0123456789]S(WUBRG)") -# correctly sort guild mana -mana_sort_guild := sort_text@(order: "[XYZI01234567890SWUBRG/|]") + - replace@( - # No lookbehind :( - #match: "(?($|[^/])", - replace: {sort_text(order:"in_place((WUBRG)")} - ) -mana_has_guild := match@(match: "[/|]") # Is there guild or half mana in the input? -# A mana cost can contain both normal and guild mana -mana_filter := to_upper + { - if mana_has_guild() then mana_sort_guild() - else mana_sort() -} -# Like mana filter, only also allow tap symbols: -tap_filter := sort_text@(order: "") -mana_filter_t := replace@( # Remove [] used for forcing mana symbols - match: "[\\[\\]]", - replace: "" - ) + { tap_filter() + mana_filter() } - - -############################################################## Determine card color - -# Names of colors -color_name := { - if input = "W" then "white" - else if input = "U" then "blue" - else if input = "B" then "black" - else if input = "R" then "red" - else if input = "G" then "green" - else "" -} -color_names_1 := { color_name(colors.0) } -color_names_2 := { color_name(colors.0) + ", " + color_name(colors.1) } -color_names_3 := { color_name(colors.0) + ", " + color_name(colors.1) + ", " + color_name(colors.2) } -color_names_4 := { color_name(colors.0) + ", " + color_name(colors.1) + ", " + color_name(colors.2) + ", " + color_name(colors.3) } -color_names_5 := { color_name(colors.0) + ", " + color_name(colors.1) + ", " + color_name(colors.2) + ", " + color_name(colors.3) + ", " + color_name(colors.4) } -# color based on mana cost, input = a mana cost -color_filter := sort_text@(order: "") -color_filterH := sort_text@(order: "") -mana_to_color := { - count := number_of_items(in: colors) - if hybrid == "" and contains(type, match:"Artifact") then - # not a hybrid, but artifact - if count == 0 then "artifact" - else if count == 1 then color_names_1() + ", artifact" - else if set.set_info.use_gradient_multicolor == "no" then "artifact, multicolor" # stop here - else if count == 2 then color_names_2() + ", artifact, multicolor" - else if set.set_info.use_gradient_multicolor != "yes" then "artifact, multicolor" # stop here - else if count == 3 then color_names_3() + ", artifact, multicolor" - else if count == 4 then color_names_4() + ", artifact, multicolor" - else if count == 5 then color_names_5() + ", artifact, multicolor" - else "artifact, multicolor" - else if hybrid == "" then - # not a hybrid, not artifact - if count == 0 then "colorless" - else if count == 1 then color_names_1() - else if set.set_info.use_gradient_multicolor == "no" then "multicolor" # stop here - else if count == 2 then color_names_2() + ", multicolor" - else if set.set_info.use_gradient_multicolor != "yes" then "multicolor" # stop here - else if count == 3 then color_names_3() + ", multicolor" - else if count == 4 then color_names_4() + ", multicolor" - else if count == 5 then color_names_5() + ", multicolor" - else "multicolor" - else if contains(type, match:"Artifact") then - # hybrid, but artifact - if count == 0 then "artifact" - else if count == 1 then color_names_1() + ", artifact" - else if count == 2 then color_names_2() + ", artifact" - else "artifact, multicolor" - else - # hybrid, not artifact - if count == 0 then "colorless" - else if count == 1 then color_names_1() - else if count == 2 then color_names_2() + ", hybrid" - else "multicolor" -} - -# color based on land text box, input = textbox contents -color_text_filter := - # remove activation costs - replace@( - match: "]*>[^<]+]*>" - in_context: "(?ix) (\\n|^)[^:]*(,|:) | (pays?|additional|costs?)[ ]", - replace: "" - ) + - # keep only mana - filter_text@(match: "]*>([^<]+)") + color_filter; -# get the land frame for a "WUBRG"-style input. -land_multicolor := { - count := number_of_items(in: colors) - if count == 0 then "land" - else if count == 1 then color_names_1() + ", land" - else if count == 2 then color_names_2() + ", land" - else "land, multicolor" -} -land_to_color := { - # Based on watermark - if watermark = "mana symbol white" then "white, land" - else if watermark = "mana symbol blue" then "blue, land" - else if watermark = "mana symbol black" then "black, land" - else if watermark = "mana symbol red" then "red, land" - else if watermark = "mana symbol green" then "green, land" - else land_multicolor(colors:color_text_filter(input: card.rule_text)) -}; - -# Look for a CDA that defines colors -text_to_color := { - # Note: running filter_text is quite slow, do a quick 'contains' check first - if contains(match: card_name) then ( - text := filter_text(match: "is (colorless|all colors|((blue|white|green|red|black)((,|,? and) (blue|white|green|red|black))*))", in_context: regex_escape(card_name)+"()* \\.") - if text != "" then ( - if contains(text, match: "all colors") then ( - colors := "WUBRG" - if land = "land" then land_multicolor() - else mana_to_color(hybrid: "") - ) else ( - colors := "" - if contains(text, match: "white") then colors := colors + "W" - if contains(text, match: "blue") then colors := colors + "U" - if contains(text, match: "black") then colors := colors + "B" - if contains(text, match: "red") then colors := colors + "R" - if contains(text, match: "green") then colors := colors + "G" - if land = "land" then land_multicolor() - else mana_to_color(hybrid: "") - ) - ) - ) -} - -# The color of a card -is_creature := match@(match: "(?i)Creature") -is_tribal := match@(match: "(?i)Tribal") -is_artifact := match@(match: "(?i)Artifact") -is_land := match@(match: "(?i)Land") -is_enchantment := match@(match: "(?i)Enchantment") -is_spell := match@(match: "(?i)Instant|Sorcery") -card_color := { - # usually the color of mana - text_color := text_to_color(rules_text, land: is_land(type)); - if text_color == "" then ( - mana_color := mana_to_color(colors: color_filter(casting_cost), hybrid: color_filterH(casting_cost)) - if mana_color == "colorless" and is_land (type) then land_to_color(watermark) - else if mana_color == "colorless" and is_artifact(type) then "artifact" - else mana_color - ) - else text_color -}; - -# Number of colors in a card_color -card_color_color_count := count_chosen@(choices: "white,blue,black,red,green,artifact") -# Clean up color field -card_color_filter := { - colors := card_color_color_count() - if colors > 2 then - input := remove_choice(choice: "overlay") - if colors > 1 then ( - input := require_choice(choices: "multicolor, hybrid, land, artifact") - input := exclusive_choice(choices: "multicolor, hybrid") - input := require_exclusive_choice(choices: "horizontal, vertical, radial, overlay") - ) else - input := remove_choice(choices: "radial, horizontal, vertical, overlay, hybrid, reversed") - if chosen(choice:"overlay") then - input := remove_choice(choice: "reversed") - input -} - -# needed by all style files anyway -include file: /magic-blends.mse-include/new-blends - - -############################################################## Card number - -# Index for sorting, white cards are first, so white->A, blue->B, .. , -# The code consists of 3 parts: -# color, shifted, split -sort_index := { - color_of_card() + - (if contains(card.shape, match:"shifted") then "S" else " ") + # planeshifted cards come after normal ones - (if contains(card.shape, match:"split") then "S" else " ") + # split cards come after normal ones - ":" -} -# Process the name for sorting rules -sort_name := - # Remove "The", "A", and "And" at the beginning - replace@(match: "^(The|An?) ", replace: "") + - # Remove commas and apostrophes - replace@(match: "(,|'|’)", replace: "") + - # Remove bold and italic tags - replace@(match: "(|||)", replace: "") + - # Make lowercase - to_lower - -is_multicolor := { chosen(choice: "multicolor") and input != "artifact, multicolor" } -is_null_cost := { input == "" or input == "0" } -is_hybrid_cost := { contains(card.casting_cost, match: "W/") or contains(card.casting_cost, match: "U/") or contains(card.casting_cost, match: "B/") or contains(card.casting_cost, match: "R/") or contains(card.casting_cost, match: "G/") } -basic_land_sort := { - if contains(card.name, match:"Plains") then "LB" # Plains - else if contains(card.name, match:"Island") then "LC" # Islands - else if contains(card.name, match:"Swamp") then "LD" # Swamps - else if contains(card.name, match:"Mountain") then "LE" # Mountains - else if contains(card.name, match:"Forest") then "LF" # Forests - else "LA" # other basic lands -} -hybrid_color_pair_sort := { - colors := sort_text(casting_cost, order: "") - if colors = "WU" then "GA" - else if colors = "UB" then "GB" - else if colors = "BR" then "GC" - else if colors = "RG" then "GD" - else if colors = "GW" then "GE" - else if colors = "WB" then "GF" - else if colors = "UR" then "GG" - else if colors = "BG" then "GH" - else if colors = "RW" then "GI" - else if colors = "GU" then "GJ" - else "GK" -} -multi_color_pair_sort := { - colors := sort_text(casting_cost, order: "") - if colors = "WU" then "FA" - else if colors = "UB" then "FB" - else if colors = "BR" then "FC" - else if colors = "RG" then "FD" - else if colors = "GW" then "FE" - else if colors = "WB" then "FF" - else if colors = "UR" then "FG" - else if colors = "BG" then "FH" - else if colors = "RW" then "FI" - else if colors = "GU" then "FJ" - else if contains(card.casting_cost, match:"/") then "FL" - else "FK" -} -# A code for the color of the card -color_of_card := { - card_color := card.card_color - casting_cost := card.casting_cost - if card.shape == "split" and - card_color != card.card_color_2 then "H" # Diff Color Splits - else if chosen(choice: "land", card_color) then ( - if card.rarity != "basic land" then "K" # Nonbasic Land - else basic_land_sort() - ) else if is_null_cost(casting_cost) then ( - if chosen(choice: "hybrid", card_color) then "GK" # Hybrids - else if is_multicolor(card_color) then "F" # Multicolor - else if chosen(choice:"white", card_color) then "A" # White - else if chosen(choice:"blue", card_color) then "B" # Blue - else if chosen(choice:"black", card_color) then "C" # Black - else if chosen(choice:"red", card_color) then "D" # Red - else if chosen(choice:"green", card_color) then "E" # Green - else "I" # Colorless / Artifact - ) else ( - # use the casting cost - colors := sort_text(casting_cost, order: "") - if colors == "" then "I" # Colorless / Artifact - else if colors == "W" then "A" # White - else if colors == "U" then "B" # Blue - else if colors == "B" then "C" # Black - else if colors == "R" then "D" # Red - else if colors == "G" then "E" # Green - else if is_hybrid_cost() then hybrid_color_pair_sort() #Hybrid (by pairs) - else if contains(casting_cost, match:"/") and contains(card_color, match:"artifact") then "I" # Colorless/Artifact - else multi_color_pair_sort() # Multicolor (by pairs) - ) -} - -rarity_sort := { - if card.shape == "token" then "T" - else if card.shape == "rulestip" then "U" - else if set.sort_special_rarity == "with the rest" or card.rarity != "special" then " " - else "S" -} -set_filter := { - # TODO: what about rulestips? - if card.shape == "token" then - { card.shape == "token" } - else if card.shape == "rulestip" then - { card.shape == "rulestip" } - else if set.sort_special_rarity != "separate numbering" then - { card.shape != "token" and card.shape != "rulestip" } - else if card.rarity == "special" then - { card.shape != "token" and card.shape != "rulestip" and card.rarity == "special" } - else - { card.shape != "token" and card.shape != "rulestip" and card.rarity != "special" } -} - -card_number := { - position ( - of: card - in: set - order_by: { rarity_sort() + sort_index() + sort_name(card.name) } - filter: set_filter() - ) + 1 -} -card_count := { - number_of_items(in: set, filter: set_filter()) -} - -# used by pack scripts -is_token_card := { card.shape == "token" or card.shape == "rulestip" } -is_shifted_card := { contains(card.shape, match:"shifted") } - - -############################################################## Utilities for keywords - -# Replace spaces by a spacer -separate_words := remove_tags + trim + replace@(match:" ", replace: {spacer}) - -# replaces — correctly -add := "" # default is nothing -# If the 'input' parameter is a mana costs, then adds 'add' -for_mana_costs := format_cost := { - if input.separator_before == "—" and contains(input.param, match: " ") then ( - if contains(input.param, match:",") then ( - if match(match: "^[SCTQXYZIWUBRG0-9/|]+,", input.param) then - "{add}{combined_cost(input.param)}" - else "{combined_cost(input.param)}" - ) else - "{alternative_cost(input.param)}" - ) else - "{add}{input.param}" -} -# Convert first character to lower case -alternative_cost := replace@(match:"^[A-Z]", replace: { to_lower() }) -# -combined_cost := replace@(match:", [A-Z]", replace: { to_lower() })+ - replace@(match:",", replace:" and")+ - replace@(match:"^[SCTQXYZIWUBRG0-9/|]", in_context: "(^|[[:space:]])", replace: "&")+ - replace@(match:"^[A-Z]", replace: { to_lower() }) -long_dash := replace@(match:"-", replace:"—") - -# Utilities for keywords -has_cc := { card.casting_cost != "" } -has_pt := { card.pt != "" } - -contains_target := match@(match:"(?i)([^a-z]|^)target([^a-z]|$)") -is_targeted := { contains_target(card.rule_text) } - - -############################################################## The text box - -# Filters for the text box -# context in which mana symbols are found -mana_context := - "(?ix) # case insensitive, ignore whitespace - (^|[[:space:]\"(“']) # start of a word - ( : # G: something - | , # G, tap: something - | [ ]can[ ]be[ ]pay - | (pays?|additional|costs?|the # pay X. creatures cost 1 less. pay an additional G. - |adds?|pay(ed)?[ ](with|using) - ) - ([ ]either)? # pay either X or Y - ([ ](]*>)?[SCTQXYZIWUBRG0-9/|]+(]*>)?,)* # pay X, Y or Z - ([ ](]*>)?[SCTQXYZIWUBRG0-9/|]+(]*>)?[ ](and|or|and/or))* # pay X or Y - [ ] - ([,.)]|$ # (end of word) - |[ ][^ .,]*$ # still typing... - |[ ]( or | and | in | less | more | to ) # or next word is ... - ) - ) - | # keyword argument that is declared as mana - | [ ]* # keyword argument that is declared as cost - | , # keyword argument that is declared as cost - "; - -# truncates the name of legends -legend_filter := replace@(match:"(, | of | the ).*", replace: "" ) - -# these are considered a correct 'word' for spellchecking in the text box: -additional_text_words := match@(match: - "(?ix)^(?: # match whole word - ]*>.*?]*> # cardnames and stuff - | [+-]?[0-9X]+ / [+-]?[0-9X]+ # '3/3', '+X/+X' - )$") - -# the rule text filter -# - adds mana symbols -# - makes text in parentheses italic -text_filter := - # step 1 : remove all automatic tags - remove_tag@(tag: "") + - remove_tag@(tag: "") + - remove_tag@(tag: "") + - remove_tag@(tag: "{keyword}" - else keyword + if expand then " ({reminder})" - }) + - # step 2b : move action keywords' reminder text to the end of the line - replace@( - match: "((?:(?!]*>)(((?!]*>[^)]+[)]]*>)([^\n]+)\\1" - replace: "\\2\\1" - ) + - # step 3a : expand shortcut word CARDNAME - replace@( - match: "CARDNAME", - in_context: "(^|[[:space:]]|\\()", # TODO: Allow any punctuation before - replace: "" - ) + - # step 3b : expand shortcut word LEGENDNAME - replace@( - match: "LEGENDNAME", - in_context: "(^|[[:space:]]|\\()", # TODO: Allow any punctuation before - replace: "" - ) + - # step 3c : fill in atom fields - tag_contents@( - tag: "", - contents: { "" + (if card_name=="" then "CARDNAME" else card_name) + "" } - ) + - tag_contents@( - tag: "", - contents: { "" + (if card_name=="" then "LEGENDNAME" else legend_filter(card_name)) + "" } - ) + - # step 4 : explict non mana symbols - replace@( - match: "\\][SCTQXYZIWUBRG0-9/|]+\\[", - replace: {"" + mana_filter_t() + ""} ) + - # step 5 : add mana & tap symbols - replace@( - match: "\\b[SCTQXYZIWUBRG0-9/|]+\\b", - in_context: mana_context, - replace: {"" + mana_filter_t() + ""} ) + - # step 5b : add explict mana symbols - replace@( - match: "\\[[SCTQXYZIWUBRG0-9/|]+\\]", - replace: {"" + mana_filter_t() + ""} ) + - # step 6a : curly double quotes - replace@( - match: "[[.quotation-mark.]]|“", - in_context: "[“][A-Za-z,.!?+$<>:;-— 0-9\\\\]*", - replace: "”" )+ - replace@( - match: "[[.quotation-mark.]]", - replace: "“" )+ - # step 6b : curly single quotes - replace@( - match: "' |‘ ", - in_context: "[‘][A-Za-z,.!?+$<>:;-— 0-9\\\\]*", - replace: "’ " )+ - replace@( - match: " '", - replace: " ‘" )+ - # step 7 : ??? - replace@( - match: "[(]([^)\n]|[(][^)\n]*[)])*[)]?", - in_context: "(^|[[:space:]])|&") + - # step 8 : automatic capitalization, but not after "(" - replace@( - match: "([ ]*: |—| — )" # preceded by this - + "([[:lower:]])" # match this - + "(?![)])", # not followed by this - replace: { _1 + to_upper(_2) }) + - #curly_quotes + - # step 9 : spellcheck - { if set.mark_errors then - check_spelling( - language: language().spellcheck_code, - extra_dictionary: "/magic.mse-game/magic-words", - extra_match: additional_text_words - ) - else input - } - - -############################################################## Other boxes - -# the flavor text filter -# - makes all text italic -flavor_text_filter := - # step 1 : remove italic tags - remove_tag@(tag: "") + - # step 2 : surround by tags - { "" + input + "" } + - # curly quotes - curly_quotes + - # spellcheck - { if set.mark_errors - then check_spelling(language:language().spellcheck_code) - else input - } - -# Move the cursor past the separator in the p/t and type boxes -type_over_pt := replace@(match:"/$", replace:"") -type_over_type := replace@(match:" ?[-:]$", replace:"") - -super_type_filter := { - input := remove_tag(tag: "{input}" -} - -break_subtypes := split_text@(match: " +|[^<]*", include_empty:false) -sub_type_filter := { - input := remove_tag(tag: "{part}" - else - lang.subtype_separator + "{part}" - ) + - (if length(parts) > 0 then - # Add a new box at the end - "{lang.subtype_separator}" - else - "" - ) - ) else input # do nothing -} - -# all sub types, for word list -space_to_comma := replace@(match:" ", replace:",") -only_first := replace@(match:" .*", replace:"") -only_next := replace@(match:"^[^ ]* ?", replace:"") -all_sub_types := { - for each card in set do - if contains(card.super_type) then "," + space_to_comma(to_text(card.sub_type)) -} -all_races := { - for each card in set do - if is_creature(card.super_type) or is_tribal(card.super_type) then - "," + only_first(to_text(card.sub_type)) -} -all_classes := { - for each card in set do - if contains(card.super_type, match:"Creature") then - "," + space_to_comma(only_next(to_text(card.sub_type))) -} - -# Shape of cards, can be changed in style files -card_shape := { "normal" } - -typesymbol_for := - to_text + - replace@(match: "(Legendary|Basic|Snow|World| )", replace: "") + - { if input == "Creature" then "creature" - else if input == "Sorcery" then "sorcery" - else if input == "Instant" then "instant" - else if input == "Artifact" then "artifact" - else if input == "Enchantment" then "enchantment" - else if input == "Land" then "land" - else if input == "Planeswalker" then "planeswalker" - else "multitype" - } -typesymbol_type := { typesymbol_for(card.super_type) } - -#Script to make magic-mana-future compatible w/ other templates -colorless_color := { "c" } - - -############################################################## Statistics utilities - -# Converted mana cost -is_half_mana := match@(match: "1/2|[|][WUBRGS]") -is_colored_mana := match@(match: "[WUBRG]") -only_numbers := filter_text@(match: "^[0123456789]+") -cmc_split := break_text@(match: "(?ix) 1/2 | [|][WUBRG] | [0-9]+(?!/[WUBRGSCTQ2]) | [WUBRGS0-9](/[WUBRGS])\{0,4} ") -cmc := {to_number( - for each sym in cmc_split(to_text()) do ( - numbers := only_numbers(sym) - if is_half_mana(sym) then 0.5 - else if numbers != "" then to_int(numbers) - else 1 # all other symbols are 1 - )) -} - -colored_mana := {to_number( - for each sym in cmc_split(to_text()) do ( - numbers := only_numbers(sym) - if is_colored_mana(sym) then - if is_half_mana(sym) then 0.5 else 1 - else 0 - )) -} - -primary_card_color := { - artifact := chosen(choice:"artifact") - land := chosen(choice:"land") - multi := chosen(choice:"multicolor") - hybrid := chosen(choice:"hybrid") - if land then "land" - else if multi and input != "artifact, multicolor" then "multicolor" - else if hybrid then "hybrid" - else if artifact then "artifact" - else input -} - -word_count := break_text@(match:"[^[:space:]]+") + length -line_count := split_text@(match:"\n+",include_empty:false) + length + +############################################################## Localization + +include file: language + +############################################################## Sorting mana symbols + +# correctly sort a mana symbol (no guild mana) +mana_sort := sort_text@(order: "XYZI[0123456789]S(WUBRG)") +# correctly sort guild mana +mana_sort_guild := sort_text@(order: "[XYZI01234567890SWUBRG/|]") + + replace@( + # No lookbehind :( + #match: "(?($|[^/])", + replace: {sort_text(order:"in_place((WUBRG)")} + ) +mana_has_guild := match@(match: "[/|]") # Is there guild or half mana in the input? +# A mana cost can contain both normal and guild mana +mana_filter := to_upper + { + if mana_has_guild() then mana_sort_guild() + else mana_sort() +} +# Like mana filter, only also allow tap symbols: +tap_filter := sort_text@(order: "") +mana_filter_t := replace@( # Remove [] used for forcing mana symbols + match: "[\\[\\]]", + replace: "" + ) + { tap_filter() + mana_filter() } + + +############################################################## Determine card color + +# Names of colors +color_name := { + if input = "W" then "white" + else if input = "U" then "blue" + else if input = "B" then "black" + else if input = "R" then "red" + else if input = "G" then "green" + else "" +} +color_names_1 := { color_name(colors.0) } +color_names_2 := { color_name(colors.0) + ", " + color_name(colors.1) } +color_names_3 := { color_name(colors.0) + ", " + color_name(colors.1) + ", " + color_name(colors.2) } +color_names_4 := { color_name(colors.0) + ", " + color_name(colors.1) + ", " + color_name(colors.2) + ", " + color_name(colors.3) } +color_names_5 := { color_name(colors.0) + ", " + color_name(colors.1) + ", " + color_name(colors.2) + ", " + color_name(colors.3) + ", " + color_name(colors.4) } +# color based on mana cost, input = a mana cost +color_filter := sort_text@(order: "") +color_filterH := sort_text@(order: "") +mana_to_color := { + count := number_of_items(in: colors) + if hybrid == "" and contains(type, match:"Artifact") then + # not a hybrid, but artifact + if count == 0 then "artifact" + else if count == 1 then color_names_1() + ", artifact" + else if set.set_info.use_gradient_multicolor == "no" then "artifact, multicolor" # stop here + else if count == 2 then color_names_2() + ", artifact, multicolor" + else if set.set_info.use_gradient_multicolor != "yes" then "artifact, multicolor" # stop here + else if count == 3 then color_names_3() + ", artifact, multicolor" + else if count == 4 then color_names_4() + ", artifact, multicolor" + else if count == 5 then color_names_5() + ", artifact, multicolor" + else "artifact, multicolor" + else if hybrid == "" then + # not a hybrid, not artifact + if count == 0 then "colorless" + else if count == 1 then color_names_1() + else if set.set_info.use_gradient_multicolor == "no" then "multicolor" # stop here + else if count == 2 then color_names_2() + ", multicolor" + else if set.set_info.use_gradient_multicolor != "yes" then "multicolor" # stop here + else if count == 3 then color_names_3() + ", multicolor" + else if count == 4 then color_names_4() + ", multicolor" + else if count == 5 then color_names_5() + ", multicolor" + else "multicolor" + else if contains(type, match:"Artifact") then + # hybrid, but artifact + if count == 0 then "artifact" + else if count == 1 then color_names_1() + ", artifact" + else if count == 2 then color_names_2() + ", artifact" + else "artifact, multicolor" + else + # hybrid, not artifact + if count == 0 then "colorless" + else if count == 1 then color_names_1() + else if count == 2 then color_names_2() + ", hybrid" + else "multicolor" +} + +# color based on land text box, input = textbox contents +color_text_filter := + # remove activation costs + replace@( + match: "]*>[^<]+]*>" + in_context: "(?ix) (\\n|^)[^:]*(,|:) | (pays?|additional|costs?)[ ]", + replace: "" + ) + + # keep only mana + filter_text@(match: "]*>([^<]+)") + color_filter; +# get the land frame for a "WUBRG"-style input. +land_multicolor := { + count := number_of_items(in: colors) + if count == 0 then "land" + else if count == 1 then color_names_1() + ", land" + else if count == 2 then color_names_2() + ", land" + else "land, multicolor" +} +land_to_color := { + # Based on watermark + if watermark = "mana symbol white" then "white, land" + else if watermark = "mana symbol blue" then "blue, land" + else if watermark = "mana symbol black" then "black, land" + else if watermark = "mana symbol red" then "red, land" + else if watermark = "mana symbol green" then "green, land" + else land_multicolor(colors:color_text_filter(input: card.rule_text)) +}; + +# Look for a CDA that defines colors +text_to_color := { + # Note: running filter_text is quite slow, do a quick 'contains' check first + if contains(match: card_name) then ( + text := filter_text(match: "is (colorless|all colors|((blue|white|green|red|black)((,|,? and) (blue|white|green|red|black))*))", in_context: regex_escape(card_name)+"()* \\.") + if text != "" then ( + if contains(text, match: "all colors") then ( + colors := "WUBRG" + if land = "land" then land_multicolor() + else mana_to_color(hybrid: "") + ) else ( + colors := "" + if contains(text, match: "white") then colors := colors + "W" + if contains(text, match: "blue") then colors := colors + "U" + if contains(text, match: "black") then colors := colors + "B" + if contains(text, match: "red") then colors := colors + "R" + if contains(text, match: "green") then colors := colors + "G" + if land = "land" then land_multicolor() + else mana_to_color(hybrid: "") + ) + ) + ) +} + +# The color of a card +is_creature := match@(match: "(?i)Creature") +is_tribal := match@(match: "(?i)Tribal") +is_artifact := match@(match: "(?i)Artifact") +is_land := match@(match: "(?i)Land") +is_enchantment := match@(match: "(?i)Enchantment") +is_spell := match@(match: "(?i)Instant|Sorcery") +card_color := { + # usually the color of mana + text_color := text_to_color(rules_text, land: is_land(type)); + if text_color == "" then ( + mana_color := mana_to_color(colors: color_filter(casting_cost), hybrid: color_filterH(casting_cost)) + if mana_color == "colorless" and is_land (type) then land_to_color(watermark) + else if mana_color == "colorless" and is_artifact(type) then "artifact" + else mana_color + ) + else text_color +}; + +# Number of colors in a card_color +card_color_color_count := count_chosen@(choices: "white,blue,black,red,green,artifact") +# Clean up color field +card_color_filter := { + colors := card_color_color_count() + if colors > 2 then + input := remove_choice(choice: "overlay") + if colors > 1 then ( + input := require_choice(choices: "multicolor, hybrid, land, artifact") + input := exclusive_choice(choices: "multicolor, hybrid") + input := require_exclusive_choice(choices: "horizontal, vertical, radial, overlay") + ) else + input := remove_choice(choices: "radial, horizontal, vertical, overlay, hybrid, reversed") + if chosen(choice:"overlay") then + input := remove_choice(choice: "reversed") + input +} + +# needed by all style files anyway +include file: /magic-blends.mse-include/new-blends + + +############################################################## Card number + +# Index for sorting, white cards are first, so white->A, blue->B, .. , +# The code consists of 3 parts: +# color, shifted, split +sort_index := { + color_of_card() + + (if contains(card.shape, match:"shifted") then "S" else " ") + # planeshifted cards come after normal ones + (if contains(card.shape, match:"split") then "S" else " ") + # split cards come after normal ones + ":" +} +# Process the name for sorting rules +sort_name := + # Remove "The", "A", and "And" at the beginning + replace@(match: "^(The|An?) ", replace: "") + + # Remove commas and apostrophes + replace@(match: "(,|'|’)", replace: "") + + # Remove bold and italic tags + replace@(match: "(|||)", replace: "") + + # Make lowercase + to_lower + +is_multicolor := { chosen(choice: "multicolor") and input != "artifact, multicolor" } +is_null_cost := { input == "" or input == "0" } +is_hybrid_cost := { contains(card.casting_cost, match: "W/") or contains(card.casting_cost, match: "U/") or contains(card.casting_cost, match: "B/") or contains(card.casting_cost, match: "R/") or contains(card.casting_cost, match: "G/") } +basic_land_sort := { + if contains(card.name, match:"Plains") then "LB" # Plains + else if contains(card.name, match:"Island") then "LC" # Islands + else if contains(card.name, match:"Swamp") then "LD" # Swamps + else if contains(card.name, match:"Mountain") then "LE" # Mountains + else if contains(card.name, match:"Forest") then "LF" # Forests + else "LA" # other basic lands +} +hybrid_color_pair_sort := { + colors := sort_text(casting_cost, order: "") + if colors = "WU" then "GA" + else if colors = "UB" then "GB" + else if colors = "BR" then "GC" + else if colors = "RG" then "GD" + else if colors = "GW" then "GE" + else if colors = "WB" then "GF" + else if colors = "UR" then "GG" + else if colors = "BG" then "GH" + else if colors = "RW" then "GI" + else if colors = "GU" then "GJ" + else "GK" +} +multi_color_pair_sort := { + colors := sort_text(casting_cost, order: "") + if colors = "WU" then "FA" + else if colors = "UB" then "FB" + else if colors = "BR" then "FC" + else if colors = "RG" then "FD" + else if colors = "GW" then "FE" + else if colors = "WB" then "FF" + else if colors = "UR" then "FG" + else if colors = "BG" then "FH" + else if colors = "RW" then "FI" + else if colors = "GU" then "FJ" + else if contains(card.casting_cost, match:"/") then "FL" + else "FK" +} +# A code for the color of the card +color_of_card := { + card_color := card.card_color + casting_cost := card.casting_cost + if card.shape == "split" and + card_color != card.card_color_2 then "H" # Diff Color Splits + else if chosen(choice: "land", card_color) then ( + if card.rarity != "basic land" then "K" # Nonbasic Land + else basic_land_sort() + ) else if is_null_cost(casting_cost) then ( + if chosen(choice: "hybrid", card_color) then "GK" # Hybrids + else if is_multicolor(card_color) then "F" # Multicolor + else if chosen(choice:"white", card_color) then "A" # White + else if chosen(choice:"blue", card_color) then "B" # Blue + else if chosen(choice:"black", card_color) then "C" # Black + else if chosen(choice:"red", card_color) then "D" # Red + else if chosen(choice:"green", card_color) then "E" # Green + else "I" # Colorless / Artifact + ) else ( + # use the casting cost + colors := sort_text(casting_cost, order: "") + if colors == "" then "I" # Colorless / Artifact + else if colors == "W" then "A" # White + else if colors == "U" then "B" # Blue + else if colors == "B" then "C" # Black + else if colors == "R" then "D" # Red + else if colors == "G" then "E" # Green + else if is_hybrid_cost() then hybrid_color_pair_sort() #Hybrid (by pairs) + else if contains(casting_cost, match:"/") and contains(card_color, match:"artifact") then "I" # Colorless/Artifact + else multi_color_pair_sort() # Multicolor (by pairs) + ) +} + +rarity_sort := { + if card.shape == "token" then "T" + else if card.shape == "rulestip" then "U" + else if set.sort_special_rarity == "with the rest" or card.rarity != "special" then " " + else "S" +} +set_filter := { + # TODO: what about rulestips? + if card.shape == "token" then + { card.shape == "token" } + else if card.shape == "rulestip" then + { card.shape == "rulestip" } + else if set.sort_special_rarity != "separate numbering" then + { card.shape != "token" and card.shape != "rulestip" } + else if card.rarity == "special" then + { card.shape != "token" and card.shape != "rulestip" and card.rarity == "special" } + else + { card.shape != "token" and card.shape != "rulestip" and card.rarity != "special" } +} + +card_number := { + position ( + of: card + in: set + order_by: { rarity_sort() + sort_index() + sort_name(card.name) } + filter: set_filter() + ) + 1 +} +card_count := { + number_of_items(in: set, filter: set_filter()) +} + +# used by pack scripts +is_token_card := { card.shape == "token" or card.shape == "rulestip" } +is_shifted_card := { contains(card.shape, match:"shifted") } + + +############################################################## Utilities for keywords + +# Replace spaces by a spacer +separate_words := remove_tags + trim + replace@(match:" ", replace: {spacer}) + +# replaces — correctly +add := "" # default is nothing +# If the 'input' parameter is a mana costs, then adds 'add' +for_mana_costs := format_cost := { + if input.separator_before == "—" and contains(input.param, match: " ") then ( + if contains(input.param, match:",") then ( + if match(match: "^[SCTQXYZIWUBRG0-9/|]+,", input.param) then + "{add}{combined_cost(input.param)}" + else "{combined_cost(input.param)}" + ) else + "{alternative_cost(input.param)}" + ) else + "{add}{input.param}" +} +# Convert first character to lower case +alternative_cost := replace@(match:"^[A-Z]", replace: { to_lower() }) +# +combined_cost := replace@(match:", [A-Z]", replace: { to_lower() })+ + replace@(match:",", replace:" and")+ + replace@(match:"^[SCTQXYZIWUBRG0-9/|]", in_context: "(^|[[:space:]])", replace: "&")+ + replace@(match:"^[A-Z]", replace: { to_lower() }) +long_dash := replace@(match:"-", replace:"—") + +# Utilities for keywords +has_cc := { card.casting_cost != "" } +has_pt := { card.pt != "" } + +contains_target := match@(match:"(?i)([^a-z]|^)target([^a-z]|$)") +is_targeted := { contains_target(card.rule_text) } + + +############################################################## The text box + +# Filters for the text box +# context in which mana symbols are found +mana_context := + "(?ix) # case insensitive, ignore whitespace + (^|[[:space:]\"(“']) # start of a word + ( : # G: something + | , # G, tap: something + | [ ]can[ ]be[ ]pay + | (pays?|additional|costs?|the # pay X. creatures cost 1 less. pay an additional G. + |adds?|pay(ed)?[ ](with|using) + ) + ([ ]either)? # pay either X or Y + ([ ](]*>)?[SCTQXYZIWUBRG0-9/|]+(]*>)?,)* # pay X, Y or Z + ([ ](]*>)?[SCTQXYZIWUBRG0-9/|]+(]*>)?[ ](and|or|and/or))* # pay X or Y + [ ] + ([,.)]|$ # (end of word) + |[ ][^ .,]*$ # still typing... + |[ ]( or | and | in | less | more | to ) # or next word is ... + ) + ) + | # keyword argument that is declared as mana + | [ ]* # keyword argument that is declared as cost + | , # keyword argument that is declared as cost + "; + +# truncates the name of legends +legend_filter := replace@(match:"(, | of | the ).*", replace: "" ) + +# these are considered a correct 'word' for spellchecking in the text box: +additional_text_words := match@(match: + "(?ix)^(?: # match whole word + ]*>.*?]*> # cardnames and stuff + | [+-]?[0-9X]+ / [+-]?[0-9X]+ # '3/3', '+X/+X' + )$") + +# the rule text filter +# - adds mana symbols +# - makes text in parentheses italic +text_filter := + # step 1 : remove all automatic tags + remove_tag@(tag: "") + + remove_tag@(tag: "") + + remove_tag@(tag: "") + + remove_tag@(tag: "{keyword}" + else keyword + if expand then " ({reminder})" + }) + + # step 2b : move action keywords' reminder text to the end of the line + replace@( + match: "((?:(?!]*>)(((?!]*>[^)]+[)]]*>)([^\n]+)\\1" + replace: "\\2\\1" + ) + + # step 3a : expand shortcut word CARDNAME + replace@( + match: "CARDNAME", + in_context: "(^|[[:space:]]|\\()", # TODO: Allow any punctuation before + replace: "" + ) + + # step 3b : expand shortcut word LEGENDNAME + replace@( + match: "LEGENDNAME", + in_context: "(^|[[:space:]]|\\()", # TODO: Allow any punctuation before + replace: "" + ) + + # step 3c : fill in atom fields + tag_contents@( + tag: "", + contents: { "" + (if card_name=="" then "CARDNAME" else card_name) + "" } + ) + + tag_contents@( + tag: "", + contents: { "" + (if card_name=="" then "LEGENDNAME" else legend_filter(card_name)) + "" } + ) + + # step 4 : explict non mana symbols + replace@( + match: "\\][SCTQXYZIWUBRG0-9/|]+\\[", + replace: {"" + mana_filter_t() + ""} ) + + # step 5 : add mana & tap symbols + replace@( + match: "\\b[SCTQXYZIWUBRG0-9/|]+\\b", + in_context: mana_context, + replace: {"" + mana_filter_t() + ""} ) + + # step 5b : add explict mana symbols + replace@( + match: "\\[[SCTQXYZIWUBRG0-9/|]+\\]", + replace: {"" + mana_filter_t() + ""} ) + + # step 6a : curly double quotes + replace@( + match: "[[.quotation-mark.]]|“", + in_context: "[“][A-Za-z,.!?+$<>:;-— 0-9\\\\]*", + replace: "”" )+ + replace@( + match: "[[.quotation-mark.]]", + replace: "“" )+ + # step 6b : curly single quotes + replace@( + match: "' |‘ ", + in_context: "[‘][A-Za-z,.!?+$<>:;-— 0-9\\\\]*", + replace: "’ " )+ + replace@( + match: " '", + replace: " ‘" )+ + # step 7 : ??? + replace@( + match: "[(]([^)\n]|[(][^)\n]*[)])*[)]?", + in_context: "(^|[[:space:]])|&") + + # step 8 : automatic capitalization, but not after "(" + replace@( + match: "([ ]*: |—| — )" # preceded by this + + "([[:lower:]])" # match this + + "(?![)])", # not followed by this + replace: { _1 + to_upper(_2) }) + + #curly_quotes + + # step 9 : spellcheck + { if set.mark_errors then + check_spelling( + language: language().spellcheck_code, + extra_dictionary: "/magic.mse-game/magic-words", + extra_match: additional_text_words + ) + else input + } + + +############################################################## Other boxes + +# the flavor text filter +# - makes all text italic +flavor_text_filter := + # step 1 : remove italic tags + remove_tag@(tag: "") + + # step 2 : surround by tags + { "" + input + "" } + + # curly quotes + curly_quotes + + # spellcheck + { if set.mark_errors + then check_spelling(language:language().spellcheck_code) + else input + } + +# Move the cursor past the separator in the p/t and type boxes +type_over_pt := replace@(match:"/$", replace:"") +type_over_type := replace@(match:" ?[-:]$", replace:"") + +super_type_filter := { + input := remove_tag(tag: "{input}" +} + +break_subtypes := split_text@(match: " +|[^<]*", include_empty:false) +sub_type_filter := { + input := remove_tag(tag: "{part}" + else + lang.subtype_separator + "{part}" + ) + + (if length(parts) > 0 then + # Add a new box at the end + "{lang.subtype_separator}" + else + "" + ) + ) else input # do nothing +} + +# all sub types, for word list +space_to_comma := replace@(match:" ", replace:",") +only_first := replace@(match:" .*", replace:"") +only_next := replace@(match:"^[^ ]* ?", replace:"") +all_sub_types := { + for each card in set do + if contains(card.super_type) then "," + space_to_comma(to_text(card.sub_type)) +} +all_races := { + for each card in set do + if is_creature(card.super_type) or is_tribal(card.super_type) then + "," + only_first(to_text(card.sub_type)) +} +all_classes := { + for each card in set do + if contains(card.super_type, match:"Creature") then + "," + space_to_comma(only_next(to_text(card.sub_type))) +} + +# Shape of cards, can be changed in style files +card_shape := { "normal" } + +typesymbol_for := + to_text + + replace@(match: "(Legendary|Basic|Snow|World| )", replace: "") + + { if input == "Creature" then "creature" + else if input == "Sorcery" then "sorcery" + else if input == "Instant" then "instant" + else if input == "Artifact" then "artifact" + else if input == "Enchantment" then "enchantment" + else if input == "Land" then "land" + else if input == "Planeswalker" then "planeswalker" + else "multitype" + } +typesymbol_type := { typesymbol_for(card.super_type) } + +#Script to make magic-mana-future compatible w/ other templates +colorless_color := { "c" } + + +############################################################## Statistics utilities + +# Converted mana cost +is_half_mana := match@(match: "1/2|[|][WUBRGS]") +is_colored_mana := match@(match: "[WUBRG]") +only_numbers := filter_text@(match: "^[0123456789]+") +cmc_split := break_text@(match: "(?ix) 1/2 | [|][WUBRG] | [0-9]+(?!/[WUBRGSCTQ2]) | [WUBRGS0-9](/[WUBRGS])\{0,4} ") +cmc := {to_number( + for each sym in cmc_split(to_text()) do ( + numbers := only_numbers(sym) + if is_half_mana(sym) then 0.5 + else if numbers != "" then to_int(numbers) + else 1 # all other symbols are 1 + )) +} + +colored_mana := {to_number( + for each sym in cmc_split(to_text()) do ( + numbers := only_numbers(sym) + if is_colored_mana(sym) then + if is_half_mana(sym) then 0.5 else 1 + else 0 + )) +} + +primary_card_color := { + artifact := chosen(choice:"artifact") + land := chosen(choice:"land") + multi := chosen(choice:"multicolor") + hybrid := chosen(choice:"hybrid") + if land then "land" + else if multi and input != "artifact, multicolor" then "multicolor" + else if hybrid then "hybrid" + else if artifact then "artifact" + else input +} + +word_count := break_text@(match:"[^[:space:]]+") + length +line_count := split_text@(match:"\n+",include_empty:false) + length diff --git a/data/magic.mse-game/set_fields b/data/magic.mse-game/set_fields index 4a7631cb..bce102e8 100644 --- a/data/magic.mse-game/set_fields +++ b/data/magic.mse-game/set_fields @@ -1,158 +1,158 @@ - -############################################################## Set fields - -set field: - type: info - name: Set Information -set field: - type: text - name: title - identifying: true -set field: - type: text - name: description - multi line: true -set field: - type: text - name: artist -set field: - type: text - name: copyright -set field: - type: symbol - name: symbol - description: The symbol for this set, double click to edit -set field: - type: info - name: Defaults and Automation -set field: - type: color - name: border color - description: The default border color for cards - choice: - name: black - color: rgb(0,0,0) - choice: - name: white - color: rgb(255,255,255) - choice: - name: silver - color: rgb(128,128,128) - choice: - name: gold - color: rgb(200,180,0) -set field: - type: multiple choice - name: automatic reminder text - choice: old - choice: core - choice: expert - choice: pseudo - choice: action - choice: custom - choice: lower case - initial: old, expert, pseudo, action, custom - # Convert from older mse versions - script: - if value = "yes" then "old, core, expert, custom" - else if value = "no" then "" - else value - description: For which kinds of keywords should reminder text be added by default? Note: you can enable/disable reminder text by right clicking the keyword. -set field: - type: boolean - name: automatic card numbers - description: Should card numbers be shown on the cards? -set field: - type: choice - name: sort special rarity - description: Determines how cards with special rarity are sorted. - choice: with the rest - choice: after other cards - choice: separate numbering - initial: after other cards -set field: - type: choice - name: card language - description: Language for the cards - choice: English - choice: Français - initial: English -set field: - type: boolean - name: mark errors - description: Marks errors on cards, for example wording and spelling errors, non unique card names, etc. -set field: - type: choice - name: use gradient multicolor - choice: yes - choice: only for two color cards - choice: no - description: Use gradients on multicolor cards by default, you can always change it be clicking on the card border. - initial: only for two color cards - -############################# Default style - -default set style: - title: - padding left: 2 - font: - size: 16 - symbol: - max aspect ratio: 2.5 - variation: - name: common - border radius: 0.10 - fill type: solid - fill color: rgb(0,0,0) - border color: rgb(255,255,255) - variation: - name: uncommon - border radius: 0.07 - fill type: linear gradient - fill color 1: rgb(224,224,224) - fill color 2: rgb(84, 84, 84) - border color 1: rgb(0, 0, 0) - border color 2: rgb(0, 0, 0) - variation: - name: rare - border radius: 0.07 - fill type: linear gradient - fill color 1: rgb(214,196,94) - fill color 2: rgb(95, 84, 40) - border color 1: rgb(0, 0, 0) - border color 2: rgb(0, 0, 0) - variation: - name: mythic rare - border radius: 0.07 - fill type: linear gradient - fill color 1: rgb(245,148,31) - fill color 2: rgb(186,45,38) - border color 1: rgb(0, 0, 0) - border color 2: rgb(0, 0, 0) - variation: - name: special - border radius: 0.10 - fill type: linear gradient - fill color 1: rgb(224,170,247) - fill color 2: rgb(58,7,80) - border color 1: rgb(255,255,255) - border color 2: rgb(255,255,255) - automatic reminder text: - render style: checklist - direction: vertical - sort special rarity: - render style: both - choice images: - with the rest: /magic.mse-game/icons/number_cards_mixed.png - after other cards: /magic.mse-game/icons/number_cards_after.png - separate numbering: /magic.mse-game/icons/number_cards_separate.png - use gradient multicolor: - render style: both - choice images: - yes: script: built_in_image("bool_yes") - no: script: built_in_image("bool_no") - card language: - render style: both - choice images: - English: /magic.mse-game/icons/language-en.png - Français: /magic.mse-game/icons/language-fr.png + +############################################################## Set fields + +set field: + type: info + name: Set Information +set field: + type: text + name: title + identifying: true +set field: + type: text + name: description + multi line: true +set field: + type: text + name: artist +set field: + type: text + name: copyright +set field: + type: symbol + name: symbol + description: The symbol for this set, double click to edit +set field: + type: info + name: Defaults and Automation +set field: + type: color + name: border color + description: The default border color for cards + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + choice: + name: silver + color: rgb(128,128,128) + choice: + name: gold + color: rgb(200,180,0) +set field: + type: multiple choice + name: automatic reminder text + choice: old + choice: core + choice: expert + choice: pseudo + choice: action + choice: custom + choice: lower case + initial: old, expert, pseudo, action, custom + # Convert from older mse versions + script: + if value = "yes" then "old, core, expert, custom" + else if value = "no" then "" + else value + description: For which kinds of keywords should reminder text be added by default? Note: you can enable/disable reminder text by right clicking the keyword. +set field: + type: boolean + name: automatic card numbers + description: Should card numbers be shown on the cards? +set field: + type: choice + name: sort special rarity + description: Determines how cards with special rarity are sorted. + choice: with the rest + choice: after other cards + choice: separate numbering + initial: after other cards +set field: + type: choice + name: card language + description: Language for the cards + choice: English + choice: Français + initial: English +set field: + type: boolean + name: mark errors + description: Marks errors on cards, for example wording and spelling errors, non unique card names, etc. +set field: + type: choice + name: use gradient multicolor + choice: yes + choice: only for two color cards + choice: no + description: Use gradients on multicolor cards by default, you can always change it be clicking on the card border. + initial: only for two color cards + +############################# Default style + +default set style: + title: + padding left: 2 + font: + size: 16 + symbol: + max aspect ratio: 2.5 + variation: + name: common + border radius: 0.10 + fill type: solid + fill color: rgb(0,0,0) + border color: rgb(255,255,255) + variation: + name: uncommon + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(224,224,224) + fill color 2: rgb(84, 84, 84) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: rare + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(214,196,94) + fill color 2: rgb(95, 84, 40) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: mythic rare + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(245,148,31) + fill color 2: rgb(186,45,38) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: special + border radius: 0.10 + fill type: linear gradient + fill color 1: rgb(224,170,247) + fill color 2: rgb(58,7,80) + border color 1: rgb(255,255,255) + border color 2: rgb(255,255,255) + automatic reminder text: + render style: checklist + direction: vertical + sort special rarity: + render style: both + choice images: + with the rest: /magic.mse-game/icons/number_cards_mixed.png + after other cards: /magic.mse-game/icons/number_cards_after.png + separate numbering: /magic.mse-game/icons/number_cards_separate.png + use gradient multicolor: + render style: both + choice images: + yes: script: built_in_image("bool_yes") + no: script: built_in_image("bool_no") + card language: + render style: both + choice images: + English: /magic.mse-game/icons/language-en.png + Français: /magic.mse-game/icons/language-fr.png diff --git a/data/magic.mse-game/statistics b/data/magic.mse-game/statistics index 31878360..8a712af6 100644 --- a/data/magic.mse-game/statistics +++ b/data/magic.mse-game/statistics @@ -1,167 +1,167 @@ - -############################################################## Statistics dimensions - -statistics dimension: - name: card color - position hint: 0 - script: primary_card_color(card.card_color) - icon: stats/card_color.png - colors: - white : rgb(255,237,202) - blue : rgb(42,141,255) - black : rgb(33,33,33) - red : rgb(255,52,0) - green : rgb(118,230,0) - colorless : rgb(120,90,90) - artifact : rgb(185,192,199) - multicolor : rgb(255,188,14) - land : rgb(109,62,39) - hybrid : rgb(201,12,230) - group: white - group: blue - group: black - group: red - group: green - group: colorless - group: artifact - group: multicolor - group: land - group: hybrid - -statistics dimension: - position hint: 2 - name: converted mana cost - script: cmc(card.casting_cost) - numeric: true - icon: stats/casting_cost.png - -statistics dimension: - position hint: 3 - name: colored mana cost - script: colored_mana(card.casting_cost) - numeric: true - icon: stats/colored_casting_cost.png - -statistics dimension: - position hint: 50 - name: power - script: card.power - numeric: true - icon: stats/power.png - -statistics dimension: - position hint: 51 - name: toughness - script: card.toughness - numeric: true - icon: stats/toughness.png - -statistics dimension: - name: keywords - position hint: 1000 - script: keyword_usage(unique:true) - show empty: false - split list: true - icon: stats/keywords.png - -statistics dimension: - name: style - position hint: 1001 - script: stylesheet.short_name - icon: stats/stylesheet.png - -statistics dimension: - name: text length (words) - position hint: 100 - script: word_count(to_text(card.rule_text)) - numeric: true - bin size: 5 - icon: stats/text_length.png - -statistics dimension: - name: text length (lines) - position hint: 101 - script: line_count(to_text(card.rule_text)) - numeric: true - icon: stats/text_length.png - -statistics dimension: - name: race - position hint: 32 - icon: stats/creature_race.png - description: Race of creatures and tribal cards - script: - if is_creature(card.super_type) or is_tribal(card.super_type) then - only_first(card.sub_type) - show empty: false - -statistics dimension: - name: creature class - position hint: 33 - icon: stats/creature_class.png - description: Class of creature cards - script: - if is_creature(card.super_type) then - space_to_comma(trim(remove_tags(only_next(card.sub_type)))) - show empty: false - split list: true - -############################################################## Statistics categories (OLD) - -statistics category: - name: color / rarity - position hint: 101 - type: stack - icon: stats/color_rarity.png - dimension: card color - dimension: rarity - -statistics category: - name: power / toughness - position hint: 52 - type: scatter pie - icon: stats/pt.png - dimension: power - dimension: toughness - dimension: rarity - -#statistics category: -# name: color / cost -# type: scatter -# dimension: card color -# dimension: converted mana cost - -statistics category: - name: color / cost - position hint: 4 - type: scatter pie - icon: stats/color_cost.png - dimension: card color - dimension: converted mana cost - dimension: rarity - -statistics category: - name: color / colored cost - position hint: 5 - icon: stats/color_colored_cost.png - type: scatter - dimension: card color - dimension: colored mana cost - -statistics category: - name: cost / colored cost - position hint: 6 - icon: stats/cost_colored_cost.png - type: scatter pie - dimension: converted mana cost - dimension: colored mana cost - dimension: card color - -statistics category: - name: creature race / class - position hint: 34 - icon: stats/creature_type.png - type: scatter pie - dimension: race - dimension: creature class - dimension: card color + +############################################################## Statistics dimensions + +statistics dimension: + name: card color + position hint: 0 + script: primary_card_color(card.card_color) + icon: stats/card_color.png + colors: + white : rgb(255,237,202) + blue : rgb(42,141,255) + black : rgb(33,33,33) + red : rgb(255,52,0) + green : rgb(118,230,0) + colorless : rgb(120,90,90) + artifact : rgb(185,192,199) + multicolor : rgb(255,188,14) + land : rgb(109,62,39) + hybrid : rgb(201,12,230) + group: white + group: blue + group: black + group: red + group: green + group: colorless + group: artifact + group: multicolor + group: land + group: hybrid + +statistics dimension: + position hint: 2 + name: converted mana cost + script: cmc(card.casting_cost) + numeric: true + icon: stats/casting_cost.png + +statistics dimension: + position hint: 3 + name: colored mana cost + script: colored_mana(card.casting_cost) + numeric: true + icon: stats/colored_casting_cost.png + +statistics dimension: + position hint: 50 + name: power + script: card.power + numeric: true + icon: stats/power.png + +statistics dimension: + position hint: 51 + name: toughness + script: card.toughness + numeric: true + icon: stats/toughness.png + +statistics dimension: + name: keywords + position hint: 1000 + script: keyword_usage(unique:true) + show empty: false + split list: true + icon: stats/keywords.png + +statistics dimension: + name: style + position hint: 1001 + script: stylesheet.short_name + icon: stats/stylesheet.png + +statistics dimension: + name: text length (words) + position hint: 100 + script: word_count(to_text(card.rule_text)) + numeric: true + bin size: 5 + icon: stats/text_length.png + +statistics dimension: + name: text length (lines) + position hint: 101 + script: line_count(to_text(card.rule_text)) + numeric: true + icon: stats/text_length.png + +statistics dimension: + name: race + position hint: 32 + icon: stats/creature_race.png + description: Race of creatures and tribal cards + script: + if is_creature(card.super_type) or is_tribal(card.super_type) then + only_first(card.sub_type) + show empty: false + +statistics dimension: + name: creature class + position hint: 33 + icon: stats/creature_class.png + description: Class of creature cards + script: + if is_creature(card.super_type) then + space_to_comma(trim(remove_tags(only_next(card.sub_type)))) + show empty: false + split list: true + +############################################################## Statistics categories (OLD) + +statistics category: + name: color / rarity + position hint: 101 + type: stack + icon: stats/color_rarity.png + dimension: card color + dimension: rarity + +statistics category: + name: power / toughness + position hint: 52 + type: scatter pie + icon: stats/pt.png + dimension: power + dimension: toughness + dimension: rarity + +#statistics category: +# name: color / cost +# type: scatter +# dimension: card color +# dimension: converted mana cost + +statistics category: + name: color / cost + position hint: 4 + type: scatter pie + icon: stats/color_cost.png + dimension: card color + dimension: converted mana cost + dimension: rarity + +statistics category: + name: color / colored cost + position hint: 5 + icon: stats/color_colored_cost.png + type: scatter + dimension: card color + dimension: colored mana cost + +statistics category: + name: cost / colored cost + position hint: 6 + icon: stats/cost_colored_cost.png + type: scatter pie + dimension: converted mana cost + dimension: colored mana cost + dimension: card color + +statistics category: + name: creature race / class + position hint: 34 + icon: stats/creature_type.png + type: scatter pie + dimension: race + dimension: creature class + dimension: card color diff --git a/data/magic.mse-game/word_lists b/data/magic.mse-game/word_lists index 1896d618..9f2dce6c 100644 --- a/data/magic.mse-game/word_lists +++ b/data/magic.mse-game/word_lists @@ -1,413 +1,413 @@ - -############################################################## Magic word lists - -word list: - name: type - word: - name: Basic - is prefix: true - word: - name: Legendary - is prefix: true - word: - name: Tribal - is prefix: true - word: - name: Snow - is prefix: true - word: - name: World - is prefix: true - line below: true - word: Creature - word: Artifact - word: Artifact Creature - word: Enchantment - word: Instant - word: Sorcery - word: Land - word: Planeswalker - -word list: - name: race - word: - script: all_races() - line below: true - word: Angel - word: Beast - word: Bird - word: Construct - word: Demon - word: Dragon - word: Drake - word: Elemental - word: Elf - word: Faerie - word: Giant - word: Goblin - word: Golem - word: Human - word: Illusion - word: Merfolk - word: Treefolk - word: Zombie - word: - name: All Races - word: - name: A - word: Angel - word: Anteater - word: Antelope - word: Ape - word: Archon - word: Assembly-Worker - word: Atog - word: Aurochs - word: Avatar - word: - name: B - word: Badger - word: Basilisk - word: Bat - word: Bear - word: Beast - word: Beeble - word: Bird - word: Blinkmoth - word: Boar - word: Bringer - word: Brushwagg - word: - name: C - word: Camarid - word: Camel - word: Caribou - word: Cat - word: Centaur - word: Cephalid - word: Chimera - word: Cockatrice - word: Construct - word: Crab - word: Crocodile - word: Cyclops - word: - name: D - word: Dauthi - word: Demon - word: Devil - word: Djinn - word: Dragon - word: Drake - word: Dreadnought - word: Dryad - word: Dwarf - word: - name: E - word: Efreet - word: Egg - word: Elemental - word: Elephant - word: Elf - word: Elk - word: Eye - word: - name: F - word: Faerie - word: Ferret - word: Fish - word: Fox - word: Frog - word: Fungus - word: - name: G - word: Gargoyle - word: Giant - word: Gnome - word: Goat - word: Goblin - word: Golem - word: Gorgon - word: Graveborn - word: Griffin - word: - name: H - word: Hag - word: Harpy - word: Hellion - word: Hippo - word: Homarid - word: Homunculus - word: Horror - word: Horse - word: Hound - word: Human - word: Hydra - word: Hyena - word: - name: I - word: Illusion - word: Imp - word: Incarnation - word: Insect - word: - name: J - word: Jellyfish - word: Juggernaut - word: - name: K - word: Kavu - word: Kirin - word: Kithkin - word: Kobold - word: Kor - word: Kraken - word: - name: L - word: Lammasu - word: Leech - word: Leviathan - word: Lhurgoyf - word: Licid - word: Lizard - word: - name: M - word: Manticore - word: Masticore - word: Merfolk - word: Metathran - word: Minotaur - word: Mongoose - word: Moonfolk - word: Mutant - word: Myr - word: - name: N - word: Nautilus - word: Nephilim - word: Nightmare - word: Nightstalker - word: Noggle - word: - name: O - word: Octopus - word: Ogre - word: Ooze - word: Orb - word: Orc - word: Orgg - word: Ouphe - word: Ox - word: Oyster - word: - name: P - word: Pegasus - word: Pentavite - word: Pest - word: Phelddagrif - word: Phoenix - word: Pincher - word: Plant - word: Prism - word: - name: R - word: Rabbit - word: Rat - word: Reflection - word: Rhino - word: - name: S - word: - name: Sa-Sl - word: Salamander - word: Sand - word: Saproling - word: Satyr - word: Scarecrow - word: Scorpion - word: Serpent - word: Shade - word: Shapeshifter - word: Sheep - word: Skeleton - word: Slith - word: Sliver - word: Slug - word: - name: Sn-Sz - word: Snake - word: Soltari - word: Spawn - word: Specter - word: Sphinx - word: Spider - word: Spike - word: Spirit - word: Splinter - word: Sponge - word: Squid - word: Squirrel - word: Starfish - word: - name: T - word: Tetravite - word: Thalakos - word: Thopter - word: Thrull - word: Treefolk - word: Triskelavite - word: Troll - word: Turtle - word: - name: U - word: Unicorn - word: - name: V - word: Vampire - word: Vedalken - word: Viashino - word: Volver - word: - name: W - word: Wall - word: Weird - word: Whale - word: Wolf - word: Wolverine - word: Wombat - word: Worm - word: Wraith - word: Wurm - word: - name: Y - word: Yeti - word: - name: Z - word: Zombie - word: Zubera - -word list: - name: class - word: - script: all_classes() - line below: true - word: Advisor - word: Archer - word: Artificer - word: Assassin - word: Beast - word: Cleric - word: Druid - word: Knight - word: Mutant - word: Rogue - word: Scout - word: Shaman - word: Soldier - word: Warrior - word: Wizard - word: Zombie - word: - name: All Classes - word: - name: A-C - word: Advisor - word: Archer - word: Archon - word: Artificer - word: Assassin - word: Barbarian - word: Beast - word: Berserker - word: Bringer - word: Carrier - word: Citizen - word: Cleric - word: Coward - word: - name: D-I - word: Deserter - word: Dreadnought - word: Drone - word: Druid - word: Elder - word: Flagbearer - word: Horror - word: Incarnation - word: - name: J-P - word: Juggernaut - word: Knight - word: Leviathan - word: Mercenary - word: Minion - word: Monger - word: Monk - word: Mutant - word: Mystic - word: Ninja - word: Nomad - word: Pirate - word: - name: R-S - word: Rebel - word: Reflection - word: Rigger - word: Rogue - word: Samurai - word: Scout - word: Serf - word: Shaman - word: Skeleton - word: Soldier - word: Spellshaper - word: Survivor - word: - name: T-Z - word: Thopter - word: Vampire - word: Warrior - word: Wizard - word: Zombie - -word list: - name: artifact - word: - name: - line below: true - word: Contraption - word: Equipment - word: Fortification - -word list: - name: land - word: - script: all_sub_types(match: "Land") - line below: true - word: Plains - word: Island - word: Swamp - word: Mountain - word: Forest - word: Desert - word: Lair - word: Locus - word: Mine - word: Power-Plant - word: Tower - word: Urza's - -word list: - name: enchantment - word: - name: - line below: true - word: Aura - word: Shrine - -word list: - name: spell - word: - name: - line below: true - word: Arcane + +############################################################## Magic word lists + +word list: + name: type + word: + name: Basic + is prefix: true + word: + name: Legendary + is prefix: true + word: + name: Tribal + is prefix: true + word: + name: Snow + is prefix: true + word: + name: World + is prefix: true + line below: true + word: Creature + word: Artifact + word: Artifact Creature + word: Enchantment + word: Instant + word: Sorcery + word: Land + word: Planeswalker + +word list: + name: race + word: + script: all_races() + line below: true + word: Angel + word: Beast + word: Bird + word: Construct + word: Demon + word: Dragon + word: Drake + word: Elemental + word: Elf + word: Faerie + word: Giant + word: Goblin + word: Golem + word: Human + word: Illusion + word: Merfolk + word: Treefolk + word: Zombie + word: + name: All Races + word: + name: A + word: Angel + word: Anteater + word: Antelope + word: Ape + word: Archon + word: Assembly-Worker + word: Atog + word: Aurochs + word: Avatar + word: + name: B + word: Badger + word: Basilisk + word: Bat + word: Bear + word: Beast + word: Beeble + word: Bird + word: Blinkmoth + word: Boar + word: Bringer + word: Brushwagg + word: + name: C + word: Camarid + word: Camel + word: Caribou + word: Cat + word: Centaur + word: Cephalid + word: Chimera + word: Cockatrice + word: Construct + word: Crab + word: Crocodile + word: Cyclops + word: + name: D + word: Dauthi + word: Demon + word: Devil + word: Djinn + word: Dragon + word: Drake + word: Dreadnought + word: Dryad + word: Dwarf + word: + name: E + word: Efreet + word: Egg + word: Elemental + word: Elephant + word: Elf + word: Elk + word: Eye + word: + name: F + word: Faerie + word: Ferret + word: Fish + word: Fox + word: Frog + word: Fungus + word: + name: G + word: Gargoyle + word: Giant + word: Gnome + word: Goat + word: Goblin + word: Golem + word: Gorgon + word: Graveborn + word: Griffin + word: + name: H + word: Hag + word: Harpy + word: Hellion + word: Hippo + word: Homarid + word: Homunculus + word: Horror + word: Horse + word: Hound + word: Human + word: Hydra + word: Hyena + word: + name: I + word: Illusion + word: Imp + word: Incarnation + word: Insect + word: + name: J + word: Jellyfish + word: Juggernaut + word: + name: K + word: Kavu + word: Kirin + word: Kithkin + word: Kobold + word: Kor + word: Kraken + word: + name: L + word: Lammasu + word: Leech + word: Leviathan + word: Lhurgoyf + word: Licid + word: Lizard + word: + name: M + word: Manticore + word: Masticore + word: Merfolk + word: Metathran + word: Minotaur + word: Mongoose + word: Moonfolk + word: Mutant + word: Myr + word: + name: N + word: Nautilus + word: Nephilim + word: Nightmare + word: Nightstalker + word: Noggle + word: + name: O + word: Octopus + word: Ogre + word: Ooze + word: Orb + word: Orc + word: Orgg + word: Ouphe + word: Ox + word: Oyster + word: + name: P + word: Pegasus + word: Pentavite + word: Pest + word: Phelddagrif + word: Phoenix + word: Pincher + word: Plant + word: Prism + word: + name: R + word: Rabbit + word: Rat + word: Reflection + word: Rhino + word: + name: S + word: + name: Sa-Sl + word: Salamander + word: Sand + word: Saproling + word: Satyr + word: Scarecrow + word: Scorpion + word: Serpent + word: Shade + word: Shapeshifter + word: Sheep + word: Skeleton + word: Slith + word: Sliver + word: Slug + word: + name: Sn-Sz + word: Snake + word: Soltari + word: Spawn + word: Specter + word: Sphinx + word: Spider + word: Spike + word: Spirit + word: Splinter + word: Sponge + word: Squid + word: Squirrel + word: Starfish + word: + name: T + word: Tetravite + word: Thalakos + word: Thopter + word: Thrull + word: Treefolk + word: Triskelavite + word: Troll + word: Turtle + word: + name: U + word: Unicorn + word: + name: V + word: Vampire + word: Vedalken + word: Viashino + word: Volver + word: + name: W + word: Wall + word: Weird + word: Whale + word: Wolf + word: Wolverine + word: Wombat + word: Worm + word: Wraith + word: Wurm + word: + name: Y + word: Yeti + word: + name: Z + word: Zombie + word: Zubera + +word list: + name: class + word: + script: all_classes() + line below: true + word: Advisor + word: Archer + word: Artificer + word: Assassin + word: Beast + word: Cleric + word: Druid + word: Knight + word: Mutant + word: Rogue + word: Scout + word: Shaman + word: Soldier + word: Warrior + word: Wizard + word: Zombie + word: + name: All Classes + word: + name: A-C + word: Advisor + word: Archer + word: Archon + word: Artificer + word: Assassin + word: Barbarian + word: Beast + word: Berserker + word: Bringer + word: Carrier + word: Citizen + word: Cleric + word: Coward + word: + name: D-I + word: Deserter + word: Dreadnought + word: Drone + word: Druid + word: Elder + word: Flagbearer + word: Horror + word: Incarnation + word: + name: J-P + word: Juggernaut + word: Knight + word: Leviathan + word: Mercenary + word: Minion + word: Monger + word: Monk + word: Mutant + word: Mystic + word: Ninja + word: Nomad + word: Pirate + word: + name: R-S + word: Rebel + word: Reflection + word: Rigger + word: Rogue + word: Samurai + word: Scout + word: Serf + word: Shaman + word: Skeleton + word: Soldier + word: Spellshaper + word: Survivor + word: + name: T-Z + word: Thopter + word: Vampire + word: Warrior + word: Wizard + word: Zombie + +word list: + name: artifact + word: + name: + line below: true + word: Contraption + word: Equipment + word: Fortification + +word list: + name: land + word: + script: all_sub_types(match: "Land") + line below: true + word: Plains + word: Island + word: Swamp + word: Mountain + word: Forest + word: Desert + word: Lair + word: Locus + word: Mine + word: Power-Plant + word: Tower + word: Urza's + +word list: + name: enchantment + word: + name: + line below: true + word: Aura + word: Shrine + +word list: + name: spell + word: + name: + line below: true + word: Arcane diff --git a/data/planechase-standard.mse-style/style b/data/planechase-standard.mse-style/style index 13367c13..8e250eef 100644 --- a/data/planechase-standard.mse-style/style +++ b/data/planechase-standard.mse-style/style @@ -1,237 +1,237 @@ -mse version: 0.3.8 -game: planechase -short name: Standard -installer group: Magic Planechase/normal style -icon: card-sample.png -position hint: 01 - -version: 2009-08-12 -depends on: - package: planechase.mse-game - version: 2009-08-11 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-future-common.mse-include - version: 2007-09-23 - -card width: 523 -card height: 375 -card dpi: 111.7142857 -#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: 84 - top : 20 - width: 354 - height: 23 - alignment: bottom center shrink-overflow - padding bottom: 0 - z index: 2 - font: - name: Matrix - size: 17 - weight: bold - color: rgb(0,0,0) - ############################# Image - image: - left: 16 - top: 15 - width: 492 - height: 343 - z index: 1 - mask: image_mask.png - ############################# Card type - type: - left: 114 - top : 243 - width: 294 - height: 23 - alignment: bottom center shrink-overflow - padding bottom: 0 - z index: 2 - font: - name: Matrix - size: 13.5 - color: black - rarity: - right: 408 - top : 253 - width: 28 - height: 14 - 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: 168 - top : 351 - width: 214 - height: 13 - z index: 2 - alignment: middle center - font: - name: Matrix - size: 8 - weight: bold - color: white - copyright line: - left: 154 - top : 361 - width: 214 - height: 13 - z index: 2 - alignment: middle center - font: - name: MPlantin - size: 6 - 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: "\n", 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: 523 - height: 375 - z index: 0 - render style: image - choice images: - frame: card.png - chaos symbol: - left: 62 - top: 318 - width: 25 - height: 22 - z index: 2 - render style: image - choice images: - chaos: /magic-mana-small.mse-symbol-font/mana_chaos.png - paintbrush: - left: { 245 - card_style.illustrator.content_width * 0.5 } - top : 352 - width: 30 - height: 12 - z index: 6 - render style: image - choice images: - white: /magic-future-common.mse-include/paintbrush_white.png - text: - left: 61 - width: 402 - top: 270 - height: 78 - paragraph height: 39 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 10.5 - scale down to: 0.5 - color: black - symbol font: - name: { styling.text_box_mana_symbols } - size: 10.5 - alignment: middle left - z index: 2 - line height hard: 1.1 - mask: textbox_mask.png +mse version: 0.3.8 +game: planechase +short name: Standard +installer group: Magic Planechase/normal style +icon: card-sample.png +position hint: 01 + +version: 2009-08-12 +depends on: + package: planechase.mse-game + version: 2009-08-11 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-future-common.mse-include + version: 2007-09-23 + +card width: 523 +card height: 375 +card dpi: 111.7142857 +#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: 84 + top : 20 + width: 354 + height: 23 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Matrix + size: 17 + weight: bold + color: rgb(0,0,0) + ############################# Image + image: + left: 16 + top: 15 + width: 492 + height: 343 + z index: 1 + mask: image_mask.png + ############################# Card type + type: + left: 114 + top : 243 + width: 294 + height: 23 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: Matrix + size: 13.5 + color: black + rarity: + right: 408 + top : 253 + width: 28 + height: 14 + 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: 168 + top : 351 + width: 214 + height: 13 + z index: 2 + alignment: middle center + font: + name: Matrix + size: 8 + weight: bold + color: white + copyright line: + left: 154 + top : 361 + width: 214 + height: 13 + z index: 2 + alignment: middle center + font: + name: MPlantin + size: 6 + 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: "\n", 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: 523 + height: 375 + z index: 0 + render style: image + choice images: + frame: card.png + chaos symbol: + left: 62 + top: 318 + width: 25 + height: 22 + z index: 2 + render style: image + choice images: + chaos: /magic-mana-small.mse-symbol-font/mana_chaos.png + paintbrush: + left: { 245 - card_style.illustrator.content_width * 0.5 } + top : 352 + width: 30 + height: 12 + z index: 6 + render style: image + choice images: + white: /magic-future-common.mse-include/paintbrush_white.png + text: + left: 61 + width: 402 + top: 270 + height: 78 + paragraph height: 39 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 10.5 + scale down to: 0.5 + color: black + symbol font: + name: { styling.text_box_mana_symbols } + size: 10.5 + alignment: middle left + z index: 2 + line height hard: 1.1 + mask: textbox_mask.png diff --git a/data/planechase.mse-game/game b/data/planechase.mse-game/game index 02d1427b..0706b1b0 100644 --- a/data/planechase.mse-game/game +++ b/data/planechase.mse-game/game @@ -1,1204 +1,1204 @@ -mse version: 0.3.8 -short name: Planes -full name: Magic Plane Cards -installer group: Magic Planes/game files -icon: card-sample.png -position hint: 02 - -version: 2009-08-11 - -#By Pichoro -############################################################## Functions & filters -# General functions -init script: - ############################################################## Sorting mana symbols - - # correctly sort a mana symbol (no guild mana) - mana_sort := sort_text@(order: "XYZI[0123456789]S(WUBRG)") - # correctly sort guild mana - mana_sort_guild := sort_text@(order: "[XYZI01234567890SWUBRG/|]") + - replace@( - match: "./.|././.|./././.|.[|]", - in_context: "(^|[^/])($|[^/])", - replace: {sort_text(order:"in_place((WUBRG)")} - ) - mana_has_guild := match@(match: "[/|]") # Is there guild or half mana in the input? - # A mana cost can contain both normal and guild mana - mana_filter := to_upper + { - if mana_has_guild() then mana_sort_guild() - else mana_sort() - } - # Like mana filter, only also allow tap symbols: - tap_filter := sort_text@(order: "") - mana_filter_t := replace@( # Remove [] used for forcing mana symbols - match: "[\\[\\]]", - replace: "" - ) + { tap_filter() + mana_filter() } - - ############################################################## Utilities for keywords - - # replaces — correctly - add := "" # default is nothing - for_mana_costs := format_cost := { - if input.separator_before == "—" and contains(input.param, " ") then ( - if contains(input.param, match:",") then ( - if match(match: "^[SCTQXYZIWUBRG0-9/|]+,", input.param) then - "{add}{combined_cost(input.param)}" - else "{combined_cost(input.param)}" - ) else - "{alternative_cost(input.param)}" - ) else - "{add}{input.param}" - } - alternative_cost := replace@(match:"^[A-Z]", replace: { to_lower() }) - combined_cost := replace@(match:", [A-Z]", replace: { to_lower() })+ - replace@(match:",", replace:" and")+ - replace@(match:"^[SCTQXYZIWUBRG0-9/|]", in_context: "(^|[[:space:]])", replace: "&")+ - replace@(match:"^[A-Z]", replace: { to_lower() }) - long_dash := replace@(match:"-", replace:"—") - - # Converted mana cost - is_half_mana := match@(match: "1/2|[|][WUBRGS]") - is_colored_mana := match@(match: "[WUBRG]") - only_numbers := filter_text@(match: "^[0123456789]+") - cmc_split := break_text@(match: "(?ix) 1/2 | [|][WUBRG] | [0-9]+(?!/[WUBRGSCTQ2]) | [WUBRGS0-9](/[WUBRGS])\{0,4} ") - cmc := {to_number( - for each sym in cmc_split() do ( - numbers := only_numbers(sym) - if is_half_mana(sym) then 0.5 - else if numbers != "" then max(1, to_int(numbers)) - else 1 # all other symbols are 1 - )) - } - - colored_mana := {to_number( - for each sym in cmc_split() do ( - numbers := only_numbers(sym) - if is_colored_mana(sym) then - if is_half_mana(sym) then 0.5 else 1 - else 0 - )) - } - - ############################################################## The text box - - # Filters for the text box - # context in which mana symbols are found - mana_context := - "(?ix) # case insensitive, ignore whitespace - (^|[[:space:]\"(]) # start of a word - ( : # G: something - | , # G, tap: something - | [ ]can[ ]be[ ]pay - | (pays?|additional|costs?|the # pay X. creatures cost 1 less. pay an additional G. - |adds?|pay(ed)?[ ](with|using) - ) - ([ ]either)? # pay either X or Y - ([ ]]*>[CTQSXYZIWUBRG0-9/|]+]*>[ ](and|or))* # pay X or Y - [ ] - ([,.)]|$ # (end of word) - |[ ][^ .,]*$ # still typing... - |[ ]( or | and | in | less | more | to ) # or next word is ... - ) - ) - | # keyword argument that is declared as mana - | [ ]* # keyword argument that is declared as cost - | , # keyword argument that is declared as cost - "; - # the rule text filter - # - adds mana symbols - # - makes text in parentheses italic - text_filter := - # step 1 : remove all automatic tags - remove_tag@(tag: "") + - remove_tag@(tag: "") + - remove_tag@(tag: "{keyword}" - else keyword + if expand then " ({reminder})" } - ) + - # step 2b : move inline keywords' reminder text to the end of the line - replace@( - match: "(.*]*>)([^\n(]+)", - replace: "\\2\\1" - ) + - replace@( - match: "(.*]*>)([^\n(]+)", - replace: "\\2\\1" - ) + - replace@( - match: "(.*]*>)([^\n(]+)", - replace: "\\2\\1" - ) + - # step 3 : expand shortcut words ~ and CARDNAME - replace@( - match: "CARDNAME", - in_context: "(^|[[:space:]]|\\()", - replace: "" - ) + - # step 4 : fill in atom fields - tag_contents@( - tag: "", - contents: { if card.name=="" then "CARDNAME" else card.name } - ) + - # step 4.5 : explict non mana symbols - replace@( - match: "\\][SCTQXYZIWUBRG0-9/|]+\\[", - replace: {"" + mana_filter_t() + ""} ) + - # step 5 : add mana & tap symbols - replace@( - match: "[SCTQXYZIWUBRG0-9/|]+", - in_context: mana_context, - replace: {"" + mana_filter_t() + ""} ) + - # step 5b : add explict mana symbols - replace@( - match: "\\[[SCTQXYZIWUBRG0-9/|]+\\]", - replace: {"" + mana_filter_t() + ""} ) + - # step 7 : italic reminder text - replace@( - match: "[(][^)\n]*[)]?", - in_context: "(^|[[:space:]])|", - replace: "&") + - # step 8 : automatic capitalization, but not after "(" - replace@( - match: "[a-z]", - in_context: "[ ]*: |—| — ", - replace: { to_upper() }) - curly_quotes - - ############################################################## Other boxes - # the flavor text filter - # - makes all text italic - flavor_text_filter := - # step 1 : remove italic tags - remove_tag@(tag: "") + - # step 2 : surround by tags - { "" + input + "" } + - # curly quotes - curly_quotes - - # Process the name for sorting rules - sort_name := - # Remove "The", "A", and "And" at the beginning - replace@(match: "^(The|An?) ", replace: "") + - # Remove commas and apostrophes - replace@(match: "(,|'|’)", replace: "") + - # Remove bold and italic tags - replace@(match: "(|||)", replace: "") + - # Make lowercase - to_lower - - #Necessary to make magic-mana-future play nicely - colorless_color := { "c" } - - word_count := break_text@(match:"[^[:space:]]+") + length - - space_to_comma := replace@(match:"^[A-Z]", replace:",&") - remove_first_comma := replace@(match:"^[,]", replace:"") - all_planes := { - remove_first_comma( - for each card in set do - space_to_comma(to_text(card.subtype)) - ) - } - type_over_type := replace_rule(match:" ?-", replace:"") - plane_type_filter := - tag_remove_rule(tag: "{input}" } - -############################################################## Set fields -set field: - type: info - name: Set Information -set field: - type: text - name: title -set field: - type: text - name: description - multi line: true -set field: - type: text - name: artist -set field: - type: text - name: copyright -set field: - type: symbol - name: symbol - description: The symbol for this set, double click to edit -set field: - type: info - name: Defaults and Automation -set field: - type: color - name: border color - description: The default border color for cards - choice: - name: black - color: rgb(0,0,0) - choice: - name: white - color: rgb(255,255,255) - choice: - name: silver - color: rgb(128,128,128) - choice: - name: gold - color: rgb(200,180,0) -set field: - type: multiple choice - name: automatic reminder text - choice: old - choice: core - choice: expert - choice: pseudo - choice: custom - initial: old, pseudo, custom - # Convert from older mse versions - script: - if value = "yes" then "old, core, expert, custom" - else if value = "no" then "" - else value - description: For which kinds of keywords should reminder text be added by default? Note: you can enable/disable reminder text by right clicking the keyword. -set field: - type: boolean - name: automatic card numbers - initial: yes - description: Should card numbers be shown on the cards? -############################# Default style -default set style: - title: - padding left: 2 - font: - size: 16 - symbol: - max aspect ratio: 2.5 - variation: - name: common - border radius: 0.10 - fill type: solid - fill color: rgb(0,0,0) - border color: rgb(255,255,255) - variation: - name: uncommon - border radius: 0.07 - fill type: linear gradient - fill color 1: rgb(224,224,224) - fill color 2: rgb(84, 84, 84) - border color 1: rgb(0, 0, 0) - border color 2: rgb(0, 0, 0) - variation: - name: rare - border radius: 0.07 - fill type: linear gradient - fill color 1: rgb(214,196,94) - fill color 2: rgb(95, 84, 40) - border color 1: rgb(0, 0, 0) - border color 2: rgb(0, 0, 0) - variation: - name: mythic rare - border radius: 0.07 - fill type: linear gradient - fill color 1: rgb(245,148,31) - fill color 2: rgb(186,45,38) - border color 1: rgb(0, 0, 0) - border color 2: rgb(0, 0, 0) - variation: - name: special - border radius: 0.10 - fill type: linear gradient - fill color 1: rgb(224,170,247) - fill color 2: rgb(58,7,80) - border color 1: rgb(255,255,255) - border color 2: rgb(255,255,255) - automatic reminder text: - render style: checklist - direction: vertical -############################################################## Card fields -############################# Background stuff -card field: - type: color - name: border color - default: set.border_color - choice: - name: black - color: rgb(0,0,0) - choice: - name: white - color: rgb(255,255,255) - choice: - name: silver - color: rgb(128,128,128) - choice: - name: gold - color: rgb(200,180,0) - show statistics: false - description: The border of the card; can be any solid color -############################# Name line -card field: - type: text - name: name - identifying: true - show statistics: false - card list visible: true - card list column: 1 - card list width: 150 - description: The name of the card -############################# Image -card field: - type: image - name: image - show statistics: false - description: The image of the card -############################# Card type -card field: - type: text - name: supertype - description: The supertype of the card - default: "Plane" - script: type_over_type(value) -card field: - type: text - name: subtype - description: The subtype of the card - script: plane_type_filter(value) -card field: - type: text - name: type - show statistics: false - save value: false - script: - # Either just supertype, or subtype - supertype - combined_editor( - field1: card.supertype, - separator: " — ", - field2: card.subtype, - soft_before_empty: true, - hide_when_empty: true - ) - card list visible: true - card list column:2 - description: The type of this card, type - to go the subtype -card field: - type: choice - name: rarity - position hint: 100 - choice: common - choice: uncommon - choice: rare - choice: mythic rare - choice: special - initial: common - card list visible: true - card list column: 6 - description: The rarity of the card, to edit the symbol switch to the 'set info' tab - choice colors: - common: rgb(33,33,33) - uncommon: rgb(224,224,224) - mythic rare: rgb(202, 49, 35) - rare: rgb(255,207,52) - special: rgb(190,0,255) -############################# Text box -card field: - type: text - name: rule text - script: text_filter(value) - show statistics: false - multi line: true - description: The rules text of the card -card field: - type: text - name: flavor text - script: flavor_text_filter(value) - show statistics: false - multi line: true - description: The flavor text of the card -############################# PT -############################# Card sorting / numbering -card field: - type: text - name: card number - save value: false - script: - position( - of: card - in: set - order_by: { sort_name(card.name) } - ) + 1 - + "/" + - number_of_items(in: set) - card list visible: true - card list column: 10 - card list width: 50 - card list name: # - editable: false - show statistics: false -############################# Copyright stuff -card field: - type: text - name: illustrator - default: set.artist - description: The illustrator of the image - icon: stats/illustrator.png -card field: - type: text - name: copyright - default: set.copyright - show statistics: false - editable: false -card field: - type: text - name: copyright line - save value: false - show statistics: false - script: - if set.automatic_card_numbers then - combined_editor(field1: card.copyright, separator: " ", field2: card.card_number) - else - forward_editor(field: card.copyright) - description: The copyright and card number of the card -############################################################### Extra Statistics -statistics dimension: - name: keywords - position hint: 1000 - script: keyword_usage(unique:true) - show empty: false - split list: true - icon: stats/keywords.png -statistics dimension: - name: style - position hint: 1001 - script: stylesheet.short_name - icon: stats/stylesheet.png -statistics dimension: - name: text length (words) - position hint: 100 - script: word_count(to_text(card.rule_text)) - numeric: true - bin size: 5 - icon: stats/text_length.png -############################################################## Auto replace -# Do we need categories? -#auto replace category: text box -#auto replace category: copyright -#auto replace category: everywhere -auto replace: - match: (C) - replace: © -auto replace: - match: AE - replace: Æ - whole word: false -auto replace: - match: TM - replace: ™ - whole word: false -auto replace: - match: -- - replace: — -auto replace: - # note the spaces - match: - - - replace: - — -auto replace: - match: CIP - replace: enters the battlefield -auto replace: - match: AAA - replace: as an additional cost to cast -auto replace: - match: ~ - replace: CARDNAME -auto replace: - match: ' - replace: ’ -############################################################## Card pack items -pack type: - name: card - filter: card.name != "" -############################################################## Card packs -pack type: - name: booster pack - item: - name: card - amount: 1 -############################################################## Word lists -word list: - name: plane - word: - script: all_planes() - line below: true - word: - name: Main Planes - word: Alara - word: Dominaria - word: Kamigawa - word: Lorwyn - word: Meditation Plane - word: Mercadia - word: Mirrodin - word: Phyrexia - word: Rabiah - word: Rath - word: Ravnica - word: Serra's Realm - word: Shadowmoor - word: Shandalar - word: Ulgrotha - word: Wildfire - word: Zendikar - word: - name: Novel Planes - word: Aranzhur - word: Diraden - word: Kephalai - word: Regatha - word: Tavelia - word: - name: Pre-Revisionist - word: Azoria - word: Cabralin - word: Cridhe - word: Equilor - word: Ergamon - word: Gastal - word: Ilcae - word: Moag - word: Nether Void - word: Pyrulea - word: Segovia - word: Vatraquaz -############################################################## Keywords -############################# Keyword rules - -has keywords: true - -#keyword preview: {keyword} ({reminder}) - -keyword mode: - name: old - description: Old keywords (Banding, Phasing, etc.) -keyword mode: - name: core - description: Core set keywords (Flying, Regenerate, etc.) -keyword mode: - name: expert - description: Expert level keywords (Scry, Vanishing, etc.) -keyword mode: - name: pseudo - description: Pseudo keyword / named ability (Hellbent, Threshold, etc.) -keyword mode: - is default: true - name: custom - description: Custom keywords - -keyword parameter type: - name: mana - match: [SCTQXYZI0-9WUBRG/|]+ - refer script: - name: normal - description: No changes made - script: \{{input}\} - refer script: - name: converted mana cost - description: Converts mana to number - # "0" left in so users can easily see how to edit script. - script: \{cmc({input}) + 0\} - refer script: - name: colored mana cost - description: Converts mana to number of colored mana - # "0" left in so users can easily see how to edit script. - script: \{colored_mana({input}) + 0\} -# By pichoro and bunnierein -keyword parameter type: - name: cost - match: [ ][SCTQXYZI0-9WUBRG/|]*|[-—][^(\n]* - separator before is: [ —-] - separator after is: [.] - optional: false - # note: the separator is part of match - refer script: - name: normal - description: When using mana only costs, doesn't include anything extra in the reminder text - script: \{{input}\} - refer script: - name: add "pay an additional " for mana costs - description: When using mana only costs, words the reminder text as "pay an additional " - script: \{for_mana_costs(add:"pay an additional ",{input})\} - refer script: - name: add "pay " for mana costs - description: When using mana only costs, words the reminder text as "pay " - script: \{for_mana_costs(add:"pay ",{input})\} - separator script: long_dash() -keyword parameter type: - name: number - match: [XYZ0-9]+ - refer script: - name: normal - description: (1,2,3) - script: \{{input}\} - refer script: - name: as words - description: (one, two, three) - script: \{english_number({input})\} - refer script: - name: as words, use "a" for 1 - description: (a, two, three) - script: \{english_number_a({input})\} - refer script: - name: as words, use "" for 1 - description: (, two, three) - script: \{english_number_multiple({input})\} -keyword parameter type: - name: action - match: [^(:\n]+ - separator after is: [.] - reminder script: alternative_cost() -keyword parameter type: - name: name - match: [^(.:;\n—]+ - refer script: - name: normal - description: No changes made. - script: \{{input}\} - refer script: - name: singular - description: Removes plurality from words. - script: \{english_singular({input})\} -keyword parameter type: - name: prefix - description: Prefix for things like "walk" - optional: false - match: [A-Z][A-Z,a-z’ ]* - example: Forest -keyword parameter type: - name: a - match: [ ]*|[ an?]* -############################# All Magic keywords -# By JrEye and Neko_Asakami, Updated by Pichoro and Buttock1234 -keyword: - keyword: Flying - match: flying - mode: core - reminder: It can’t be blocked except by creatures with flying or reach. -keyword: - keyword: First strike - match: first strike - mode: core - reminder: It deals combat damage before creatures without first strike. -keyword: - keyword: Trample - match: trample - mode: core - reminder: If it would deal enough combat damage to its blockers to destroy them, you may have it deal the rest of its damage to defending player or planeswalker. -keyword: - keyword: Banding - match: banding - mode: old - reminder: Any creatures with banding, and up to one without, can attack in a band. Bands are blocked as a group. If any creatures with banding you control are blocking or being blocked by a creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. -keyword: - keyword: Landwalk - match: prefixwalk - mode: core - reminder: This creature is unblockable as long as defending player controls a {if match(param1.value, match: " land$") or contains(param1.value, match: "Snow") or contains(param1.value, match:"Basic") or contains(param1.value, match:"Legendary") then "{to_lower(param1)}" else "{param1}"}. -keyword: - keyword: Protection from - match: protection from name - mode: core - reminder: It can’t be blocked, targeted, dealt damage, enchanted, or equipped by anything {english_singular(param1)}. -keyword: - keyword: Regeneration - match: Regenerate - mode: core - reminder: The next time it would be destroyed this turn, it isn’t. If it is a creature, instead tap it, remove all damage from it, and remove it from combat. -keyword: - keyword: Bands with other - match: bands with other name - mode: old - reminder: Any {param1} can attack in a band as long as at least one has “bands with other {param1}.” Bands are blocked as a group. If at least two {param1} you control, one of which has “bands with other {param1},” are blocking or being blocked by the same creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. -keyword: - keyword: Rampage - match: rampage number - mode: old - reminder: Whenever it becomes blocked, it gets +{param1}/+{param1} until end of turn for each creature blocking it beyond the first. -keyword: - keyword: Cumulative upkeep - match: cumulative upkeep cost - mode: old - reminder: At the beginning of your upkeep, put an age counter on it, then sacrifice it unless you pay its upkeep cost for each age counter on it. -keyword: - keyword: Phasing - match: phasing - mode: old - reminder: It phases in or out before you untap during each of your untap steps. While it’s phased out, it’s treated as though it doesn’t exist. -keyword: - keyword: Flanking - match: flanking - mode: expert - reminder: Whenever a creature without flanking blocks the creature, the blocking creature gets -1/-1 until end of turn. -keyword: - keyword: Shadow - match: shadow - mode: expert - reminder: It can block or be blocked by only creatures with shadow. -keyword: - keyword: Denimwalk - match: denimwalk - mode: old - reminder: If defending player is wearing any clothing made of denim, the creature is unblockable. -keyword: - keyword: Buyback - match: buyback cost - mode: expert - reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast it. If you do, put it into your hand as it resolves. -keyword: - keyword: Echo - match: echo cost - mode: expert - reminder: At the beginning of your upkeep, if the permanent came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost. -keyword: - keyword: Cycling - match: cycling cost - mode: expert - reminder: {param1}, Discard it: Draw a card. -keyword: - keyword: Haste - match: haste - mode: core - reminder: It can attack and T as soon as it comes under your control. -keyword: - keyword: Horsemanship - match: horsemanship - mode: old - reminder: It can’t be blocked except by creatures with horsemanship. -keyword: - keyword: Fading - match: fading number - mode: expert - reminder: It enters the battlefield with {english_number_a(param1)} fade counter(s) on it. At the beginning of your upkeep, remove a fade counter from it. If you can’t, sacrifice it. -keyword: - keyword: Kicker - match: kicker cost - mode: expert - reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast the card. -keyword: - keyword: Flashback - match: flashback cost - mode: expert - reminder: You may cast it from your graveyard for its flashback cost. Then exile it. -keyword: - keyword: Threshold - match: Threshold - mode: pseudo - rules: Threshold — [effect] as long as seven or more cards are in your graveyard. -keyword: - keyword: Madness - match: madness cost - mode: expert - reminder: If you discard it, you may cast it for its madness cost instead of putting it into your graveyard. -keyword: - keyword: Morph - match: morph cost - mode: expert - reminder: You may cast it face down as a 2/2 creature for 3. Turn it face up any time for its morph cost. -keyword: - keyword: Fear - match: fear - mode: old - reminder: It can’t be blocked except by artifact creatures and/or black creatures. -keyword: - keyword: Amplify - match: amplify number - mode: expert - reminder: As it enters the battlefield, put {english_number_a(param1)} +1/+1 counter(s) on it for each creature that shares a type with it that you reveal in your hand. -keyword: - keyword: Double strike - match: double strike - mode: core - reminder: It deals both first-strike and regular combat damage. -keyword: - keyword: Provoke - match: provoke - mode: expert - reminder: When it attacks, you may have target creature defending player controls untap and block it if able. -keyword: - keyword: Typecycling - match: prefixcycling cost - mode: expert - reminder: {param2}, Discard it: Search your library for a {param1} card, reveal it, and put it into your hand. Then shuffle your library. -keyword: - keyword: Storm - match: storm - mode: expert - reminder: When you cast it, copy it for each spell cast before it this turn. You may choose new targets for the copies. -keyword: - keyword: Affinity for - match: affinity for name - mode: expert - reminder: It costs 1 less to cast for each {english_singular(param1)} you control. -keyword: - keyword: Entwine - match: entwine cost - mode: expert - reminder: Choose both if you pay the entwine cost. -keyword: - keyword: Equip - match: equip cost - mode: core - reminder: {param1}: Attach to target creature you control. Equip only as a sorcery. -keyword: - keyword: Imprint - match: Imprint - mode: pseudo - rules: Imprint — When it enters the battlefield, you may exile a [something] from [somewhere]. -keyword: - keyword: Modular - match: modular number - mode: expert - reminder: It enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. When it’s put into a graveyard, you may put its +1/+1 counters on target artifact creature. -keyword: - keyword: Scry - match: Scry number - mode: expert - 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 - mode: expert - reminder: It enters the battlefield with a +1/+1 counter on it for each color of mana spent to cast it. If it isn’t a creature, use charge counters instead. -keyword: - keyword: Art rampage - match: art rampage number - mode: expert - reminder: Whenever it blocked by a creature, it gets +{param1}/+{param1} for each creature in the blocker’s art beyond the first. -keyword: - keyword: Super haste - match: Super haste - mode: expert - reminder: It may attack the turn before you cast it. (You may have it enter the battlefield from your hand, tapped and attacking, during your declare attackers step. If you do, you lose the game at the end of your next turn unless you pay its mana cost during that turn.) -keyword: - keyword: Gotcha - match: Gotcha - mode: pseudo - rules: Gotcha — Whenever an opponent [does something], you may say “Gotcha!”. If you do, return [something] from your graveyard to your hand. -keyword: - keyword: Splice - match: splice onto name cost - mode: expert - reminder: As you cast a {param1} spell, you may reveal the card from your hand and pay its splice cost. If you do, add its effects to that spell. -keyword: - keyword: Bushido - match: bushido number - mode: expert - reminder: When it blocks or becomes blocked, it gets +{param1}/+{param1} until end of turn. -keyword: - keyword: Soulshift - match: soulshift number - mode: expert - reminder: When it is put into a graveyard from the battlefield, you may return target Spirit card with converted mana cost {param1} or less from your graveyard to your hand. -keyword: - keyword: Enchant - match: enchant name - mode: core - reminder: Target a {param1} as you cast the card. The card enters the battlefield attached to that {param1}. -keyword: - keyword: Vigilance - match: vigilance - mode: core - reminder: Attacking doesn’t cause it to tap. -keyword: - keyword: Defender - match: defender - mode: core - reminder: It can’t attack. -keyword: - keyword: Offering - match: prefix offering - mode: expert - reminder: You may cast it any time you could cast an instant by sacrificing a {param1} and paying the difference in mana costs between it and the sacrificed {param1}. Mana cost includes color. -keyword: - keyword: Ninjutsu - match: ninjutsu cost - mode: expert - reminder: {param1}, Return an unblocked attacker you control to hand: That card enters the battlefield from your hand tapped and attacking. -keyword: - keyword: Epic - match: epic - mode: expert - reminder: For the rest of the game, you can’t cast spells. At the beginning of each of your upkeeps, copy the card except for its epic ability. If it has any targets, you may choose new targets for the copy. -keyword: - keyword: Channel - match: Channel - mode: pseudo - rules: Channel — [cost], Discard a card: [effect]. -keyword: - keyword: Sweep - match: Sweep - mode: pseudo - rules: Sweep — Return any number of [basic land type] you control to their owner’s hand. [effect based on number of lands returned]. -keyword: - keyword: Convoke - match: convoke - mode: expert - reminder: Each creature you tap while casting the card reduces its cost by 1 or by one mana of that creature’s color. -keyword: - keyword: Transmute - match: transmute cost - mode: expert - reminder: {param1}, Discard it: Search your library for a card with the same converted mana cost as the discarded card, reveal it, and put it into your hand. Then shuffle your library. Activate only as a sorcery. -keyword: - keyword: Dredge - match: dredge number - mode: expert - reminder: If you would draw a card, instead you may put exactly {english_number(param1)} card(s) from the top of your library into your graveyard. If you do, return the card from your graveyard to your hand. Otherwise, draw a card. -keyword: - keyword: Radiance - match: Radiance - mode: pseudo - rules: Radiance — [effect to target permanent or spell and all cards of same card type that share a color with it]. -keyword: - keyword: Haunt - match: haunt - mode: expert - reminder: When it is put into a graveyard from the battlefield, or when it resolves if it is not a permanent, exile it haunting target creature. -keyword: - keyword: Bloodthirst - match: bloodthirst number - mode: expert - reminder: If an opponent was dealt damage this turn, the permanent enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. -keyword: - keyword: Replicate - match: replicate cost - mode: expert - reminder: When you cast it, copy it for each time you paid its replicate cost. You may choose new targets for the copies. -keyword: - keyword: Graft - match: graft number - mode: expert - reminder: It enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. Whenever a creature enters the battlefield, you may move a +1/+1 counter from the permanent onto it. -keyword: - keyword: Forecast - match: forecast — action, Reveal name from your hand: action - mode: expert - reminder: Activate the ability only during your upkeep and only once each turn. -keyword: - keyword: Hellbent - match: Hellbent - mode: pseudo - rules: Hellbent — [effect] if you have no cards in hand. -keyword: - keyword: Recover - match: recover cost - mode: expert - reminder: When a creature is put into your graveyard from the battlefield, you may {for_mana_costs(add:"pay ",param1)}. If you do, return the card from your graveyard to your hand. Otherwise, exile this card. -keyword: - keyword: Ripple - match: ripple number - mode: expert - reminder: When you cast it, you may reveal the top {english_number_multiple(param1)} card(s) of your library. You may cast any revealed cards with the same name as the card without paying their mana costs. Put the rest on the bottom of your library. -keyword: - keyword: Flash - match: flash - mode: core - reminder: You may cast it any time you could cast an instant. -keyword: - keyword: Split second - match: split second - mode: expert - reminder: As long as it is on the stack, players can’t cast spells or activate abilities that aren’t mana abilities. -keyword: - keyword: Suspend - match: suspend numbercost - mode: expert - reminder: Rather than cast it from your hand, you may pay {param2} and exile it with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost. If it is a creature, it has haste. -keyword: - keyword: Vanishing - match: vanishing number - mode: expert - reminder: It enters the battlefield with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it. -keyword: - keyword: Deathtouch - match: deathtouch - mode: expert - reminder: Creatures dealt damage by it are destroyed. You can divide its combat damage among any of the creatures blocking or blocked by it. -keyword: - keyword: Reach - match: reach - mode: core - reminder: It can block creatures with flying. -keyword: - keyword: Gravestorm - match: gravestorm - mode: expert - reminder: When you cast it, copy it for each permanent put into a graveyard this turn. You may choose new targets for the copies. -keyword: - keyword: Lifelink - match: lifelink - mode: core - reminder: Damage dealt by it also causes you to gain that much life. -keyword: - keyword: Absorb - match: absorb number - mode: expert - reminder: If a source would deal damage to it, prevent {param1} of that damage. -keyword: - keyword: Fateseal - match: fateseal number - mode: expert - reminder: - Look at the top { - if param1.value==1 then "card of an opponent’s library, then you may put it on the bottom of that player’s library." - else "{english_number(param1)} cards of an opponent’s library, then put any number of them on the bottom of that player’s library and the rest on top in any order." - } -keyword: - keyword: Transfigure - match: transfigure cost - mode: expert - reminder: {param1}, Sacrifice it: Search your library for a creature card with the same converted mana cost as the sacrificed card and have that card enter the battlefield. Then shuffle your library. Activate only as a sorcery. -keyword: - keyword: Aura swap - match: aura swap cost - mode: expert - reminder: {param1}: Exchange it with an Aura card in your hand. -keyword: - keyword: Frenzy - match: frenzy number - mode: expert - reminder: Whenever it attacks and isn’t blocked, it gets +{param1}/+0 until end of turn. -keyword: - keyword: Delve - match: delve - mode: expert - reminder: You may exile any number of cards in your graveyard as you cast it. It costs 1 less to cast for each card exiled this way. -keyword: - keyword: Poisonous - match: poisonous number - mode: expert - reminder: Whenever it deals combat damage to a player, that player gets {english_number_a(param1)} poison counter(s). A player with ten or more poison counters loses the game. -keyword: - keyword: Shroud - match: shroud - mode: core - reminder: It can’t be the target of spells or abilities. -keyword: - keyword: Fortify - match: fortify cost - mode: expert - reminder: {param1}: Attach to target land you control. Fortify only as a sorcery. It enters the battlefield unattached and stays in the battlefield if the land exits the battlefield. -keyword: - keyword: Grandeur - match: Grandeur - mode: pseudo - rules: Grandeur — Discard another card named [something]: [effect]. -keyword: - keyword: Evoke - match: evoke cost - mode: expert - reminder: You may cast it for its evoke cost. If you do, it’s sacrificed when it enters the battlefield. -keyword: - keyword: Champion - match: championaname - mode: expert - reminder: When it enters the battlefield, sacrifice it unless you exile another {param2} you control. When it exits the battlefield, return that card to the battlefield. -keyword: - keyword: Clash - match: clash - mode: expert - reminder: Each clashing player reveals the top card of his or her library, then puts that card on the top or bottom. A player wins if his or her card had a higher converted mana cost. -keyword: - keyword: Changeling - match: changeling - mode: expert - reminder: It is every creature type at all times. -keyword: - keyword: Hideaway - match: hideaway - mode: expert - reminder: The land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library. -keyword: - keyword: Prowl - match: prowl cost - mode: expert - reminder: You may cast it for its prowl cost if you dealt combat damage to a player this turn with a creature that shares a type with it. -keyword: - keyword: Reinforce - match: reinforce numbercost - mode: expert - reminder: {param2}, Discard it: Put {english_number_a(param1)} +1/+1 counter(s) on target creature. -keyword: - keyword: Kinship - match: Kinship - mode: pseudo - rules: Kinship — At the beginning of your upkeep, you may look at the top card of your library. If that card shares a creature type with it, you may reveal it. If you do, [effect]. -keyword: - keyword: Persist - match: persist - mode: expert - reminder: When it is put into a graveyard from the battlefield, if it had no -1/-1 counters on it, return it to the battlefield under its owner’s control with a -1/-1 counter on it. -keyword: - keyword: Wither - match: wither - mode: expert - reminder: It deals damage to creatures in the form of -1/-1 counters. -keyword: - keyword: Conspire - match: conspire - mode: expert - reminder: As you cast it, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose a new target for the copy. -keyword: - keyword: Retrace - match: retrace - mode: expert - reminder: You may cast it from your graveyard by discarding a land card in addition to paying its other costs. -keyword: - keyword: Chroma - match: Chroma - mode: pseudo - rules: Chroma — [effect] based on the number of [color] mana symbols [in graveyard, under your control, in cards you discard]. -keyword: - keyword: Unearth - match: unearth cost - mode: expert - reminder: {param1}: Return it from your graveyard to the battlefield. If it is a creature, it gains haste. Exile it at the beginning of the end step or if it would exit the battlefield. Unearth only as a sorcery. -keyword: - keyword: Devour - match: devour number - mode: expert - reminder: As it enters the battlefield, you may sacrifice any number of creatures. It enters the battlefield with { if param1.value == 1 then "" else if param1.value == 2 then "twice " else english_number(param1) + " times " }that many +1/+1 counters on it. -keyword: - keyword: Exalted - match: exalted - mode: expert - reminder: Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn. -keyword: - keyword: Domain - match: Domain - mode: pseudo - rules: Domain — [effect] for each basic land type among lands you control. -keyword: - keyword: Cascade - match: cascade - mode: expert - reminder: When you cast it, exile the top card of your library until you remove a nonland card that costs less. You may cast that card without paying its mana cost. Put the exiled cards on the bottom of your library at random. -keyword: - keyword: Intimidate - match: intimidate - mode: core - reminder: It can’t be blocked except by artifact creatures and/or creatures that share a color with it. +mse version: 0.3.8 +short name: Planes +full name: Magic Plane Cards +installer group: Magic Planes/game files +icon: card-sample.png +position hint: 02 + +version: 2009-08-11 + +#By Pichoro +############################################################## Functions & filters +# General functions +init script: + ############################################################## Sorting mana symbols + + # correctly sort a mana symbol (no guild mana) + mana_sort := sort_text@(order: "XYZI[0123456789]S(WUBRG)") + # correctly sort guild mana + mana_sort_guild := sort_text@(order: "[XYZI01234567890SWUBRG/|]") + + replace@( + match: "./.|././.|./././.|.[|]", + in_context: "(^|[^/])($|[^/])", + replace: {sort_text(order:"in_place((WUBRG)")} + ) + mana_has_guild := match@(match: "[/|]") # Is there guild or half mana in the input? + # A mana cost can contain both normal and guild mana + mana_filter := to_upper + { + if mana_has_guild() then mana_sort_guild() + else mana_sort() + } + # Like mana filter, only also allow tap symbols: + tap_filter := sort_text@(order: "") + mana_filter_t := replace@( # Remove [] used for forcing mana symbols + match: "[\\[\\]]", + replace: "" + ) + { tap_filter() + mana_filter() } + + ############################################################## Utilities for keywords + + # replaces — correctly + add := "" # default is nothing + for_mana_costs := format_cost := { + if input.separator_before == "—" and contains(input.param, " ") then ( + if contains(input.param, match:",") then ( + if match(match: "^[SCTQXYZIWUBRG0-9/|]+,", input.param) then + "{add}{combined_cost(input.param)}" + else "{combined_cost(input.param)}" + ) else + "{alternative_cost(input.param)}" + ) else + "{add}{input.param}" + } + alternative_cost := replace@(match:"^[A-Z]", replace: { to_lower() }) + combined_cost := replace@(match:", [A-Z]", replace: { to_lower() })+ + replace@(match:",", replace:" and")+ + replace@(match:"^[SCTQXYZIWUBRG0-9/|]", in_context: "(^|[[:space:]])", replace: "&")+ + replace@(match:"^[A-Z]", replace: { to_lower() }) + long_dash := replace@(match:"-", replace:"—") + + # Converted mana cost + is_half_mana := match@(match: "1/2|[|][WUBRGS]") + is_colored_mana := match@(match: "[WUBRG]") + only_numbers := filter_text@(match: "^[0123456789]+") + cmc_split := break_text@(match: "(?ix) 1/2 | [|][WUBRG] | [0-9]+(?!/[WUBRGSCTQ2]) | [WUBRGS0-9](/[WUBRGS])\{0,4} ") + cmc := {to_number( + for each sym in cmc_split() do ( + numbers := only_numbers(sym) + if is_half_mana(sym) then 0.5 + else if numbers != "" then max(1, to_int(numbers)) + else 1 # all other symbols are 1 + )) + } + + colored_mana := {to_number( + for each sym in cmc_split() do ( + numbers := only_numbers(sym) + if is_colored_mana(sym) then + if is_half_mana(sym) then 0.5 else 1 + else 0 + )) + } + + ############################################################## The text box + + # Filters for the text box + # context in which mana symbols are found + mana_context := + "(?ix) # case insensitive, ignore whitespace + (^|[[:space:]\"(]) # start of a word + ( : # G: something + | , # G, tap: something + | [ ]can[ ]be[ ]pay + | (pays?|additional|costs?|the # pay X. creatures cost 1 less. pay an additional G. + |adds?|pay(ed)?[ ](with|using) + ) + ([ ]either)? # pay either X or Y + ([ ]]*>[CTQSXYZIWUBRG0-9/|]+]*>[ ](and|or))* # pay X or Y + [ ] + ([,.)]|$ # (end of word) + |[ ][^ .,]*$ # still typing... + |[ ]( or | and | in | less | more | to ) # or next word is ... + ) + ) + | # keyword argument that is declared as mana + | [ ]* # keyword argument that is declared as cost + | , # keyword argument that is declared as cost + "; + # the rule text filter + # - adds mana symbols + # - makes text in parentheses italic + text_filter := + # step 1 : remove all automatic tags + remove_tag@(tag: "") + + remove_tag@(tag: "") + + remove_tag@(tag: "{keyword}" + else keyword + if expand then " ({reminder})" } + ) + + # step 2b : move inline keywords' reminder text to the end of the line + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + # step 3 : expand shortcut words ~ and CARDNAME + replace@( + match: "CARDNAME", + in_context: "(^|[[:space:]]|\\()", + replace: "" + ) + + # step 4 : fill in atom fields + tag_contents@( + tag: "", + contents: { if card.name=="" then "CARDNAME" else card.name } + ) + + # step 4.5 : explict non mana symbols + replace@( + match: "\\][SCTQXYZIWUBRG0-9/|]+\\[", + replace: {"" + mana_filter_t() + ""} ) + + # step 5 : add mana & tap symbols + replace@( + match: "[SCTQXYZIWUBRG0-9/|]+", + in_context: mana_context, + replace: {"" + mana_filter_t() + ""} ) + + # step 5b : add explict mana symbols + replace@( + match: "\\[[SCTQXYZIWUBRG0-9/|]+\\]", + replace: {"" + mana_filter_t() + ""} ) + + # step 7 : italic reminder text + replace@( + match: "[(][^)\n]*[)]?", + in_context: "(^|[[:space:]])|", + replace: "&") + + # step 8 : automatic capitalization, but not after "(" + replace@( + match: "[a-z]", + in_context: "[ ]*: |—| — ", + replace: { to_upper() }) + curly_quotes + + ############################################################## Other boxes + # the flavor text filter + # - makes all text italic + flavor_text_filter := + # step 1 : remove italic tags + remove_tag@(tag: "") + + # step 2 : surround by tags + { "" + input + "" } + + # curly quotes + curly_quotes + + # Process the name for sorting rules + sort_name := + # Remove "The", "A", and "And" at the beginning + replace@(match: "^(The|An?) ", replace: "") + + # Remove commas and apostrophes + replace@(match: "(,|'|’)", replace: "") + + # Remove bold and italic tags + replace@(match: "(|||)", replace: "") + + # Make lowercase + to_lower + + #Necessary to make magic-mana-future play nicely + colorless_color := { "c" } + + word_count := break_text@(match:"[^[:space:]]+") + length + + space_to_comma := replace@(match:"^[A-Z]", replace:",&") + remove_first_comma := replace@(match:"^[,]", replace:"") + all_planes := { + remove_first_comma( + for each card in set do + space_to_comma(to_text(card.subtype)) + ) + } + type_over_type := replace_rule(match:" ?-", replace:"") + plane_type_filter := + tag_remove_rule(tag: "{input}" } + +############################################################## Set fields +set field: + type: info + name: Set Information +set field: + type: text + name: title +set field: + type: text + name: description + multi line: true +set field: + type: text + name: artist +set field: + type: text + name: copyright +set field: + type: symbol + name: symbol + description: The symbol for this set, double click to edit +set field: + type: info + name: Defaults and Automation +set field: + type: color + name: border color + description: The default border color for cards + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + choice: + name: silver + color: rgb(128,128,128) + choice: + name: gold + color: rgb(200,180,0) +set field: + type: multiple choice + name: automatic reminder text + choice: old + choice: core + choice: expert + choice: pseudo + choice: custom + initial: old, pseudo, custom + # Convert from older mse versions + script: + if value = "yes" then "old, core, expert, custom" + else if value = "no" then "" + else value + description: For which kinds of keywords should reminder text be added by default? Note: you can enable/disable reminder text by right clicking the keyword. +set field: + type: boolean + name: automatic card numbers + initial: yes + description: Should card numbers be shown on the cards? +############################# Default style +default set style: + title: + padding left: 2 + font: + size: 16 + symbol: + max aspect ratio: 2.5 + variation: + name: common + border radius: 0.10 + fill type: solid + fill color: rgb(0,0,0) + border color: rgb(255,255,255) + variation: + name: uncommon + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(224,224,224) + fill color 2: rgb(84, 84, 84) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: rare + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(214,196,94) + fill color 2: rgb(95, 84, 40) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: mythic rare + border radius: 0.07 + fill type: linear gradient + fill color 1: rgb(245,148,31) + fill color 2: rgb(186,45,38) + border color 1: rgb(0, 0, 0) + border color 2: rgb(0, 0, 0) + variation: + name: special + border radius: 0.10 + fill type: linear gradient + fill color 1: rgb(224,170,247) + fill color 2: rgb(58,7,80) + border color 1: rgb(255,255,255) + border color 2: rgb(255,255,255) + automatic reminder text: + render style: checklist + direction: vertical +############################################################## Card fields +############################# Background stuff +card field: + type: color + name: border color + default: set.border_color + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + choice: + name: silver + color: rgb(128,128,128) + choice: + name: gold + color: rgb(200,180,0) + show statistics: false + description: The border of the card; can be any solid color +############################# Name line +card field: + type: text + name: name + identifying: true + show statistics: false + card list visible: true + card list column: 1 + card list width: 150 + description: The name of the card +############################# Image +card field: + type: image + name: image + show statistics: false + description: The image of the card +############################# Card type +card field: + type: text + name: supertype + description: The supertype of the card + default: "Plane" + script: type_over_type(value) +card field: + type: text + name: subtype + description: The subtype of the card + script: plane_type_filter(value) +card field: + type: text + name: type + show statistics: false + save value: false + script: + # Either just supertype, or subtype - supertype + combined_editor( + field1: card.supertype, + separator: " — ", + field2: card.subtype, + soft_before_empty: true, + hide_when_empty: true + ) + card list visible: true + card list column:2 + description: The type of this card, type - to go the subtype +card field: + type: choice + name: rarity + position hint: 100 + choice: common + choice: uncommon + choice: rare + choice: mythic rare + choice: special + initial: common + card list visible: true + card list column: 6 + description: The rarity of the card, to edit the symbol switch to the 'set info' tab + choice colors: + common: rgb(33,33,33) + uncommon: rgb(224,224,224) + mythic rare: rgb(202, 49, 35) + rare: rgb(255,207,52) + special: rgb(190,0,255) +############################# Text box +card field: + type: text + name: rule text + script: text_filter(value) + show statistics: false + multi line: true + description: The rules text of the card +card field: + type: text + name: flavor text + script: flavor_text_filter(value) + show statistics: false + multi line: true + description: The flavor text of the card +############################# PT +############################# Card sorting / numbering +card field: + type: text + name: card number + save value: false + script: + position( + of: card + in: set + order_by: { sort_name(card.name) } + ) + 1 + + "/" + + number_of_items(in: set) + card list visible: true + card list column: 10 + card list width: 50 + card list name: # + editable: false + show statistics: false +############################# Copyright stuff +card field: + type: text + name: illustrator + default: set.artist + description: The illustrator of the image + icon: stats/illustrator.png +card field: + type: text + name: copyright + default: set.copyright + show statistics: false + editable: false +card field: + type: text + name: copyright line + save value: false + show statistics: false + script: + if set.automatic_card_numbers then + combined_editor(field1: card.copyright, separator: " ", field2: card.card_number) + else + forward_editor(field: card.copyright) + description: The copyright and card number of the card +############################################################### Extra Statistics +statistics dimension: + name: keywords + position hint: 1000 + script: keyword_usage(unique:true) + show empty: false + split list: true + icon: stats/keywords.png +statistics dimension: + name: style + position hint: 1001 + script: stylesheet.short_name + icon: stats/stylesheet.png +statistics dimension: + name: text length (words) + position hint: 100 + script: word_count(to_text(card.rule_text)) + numeric: true + bin size: 5 + icon: stats/text_length.png +############################################################## Auto replace +# Do we need categories? +#auto replace category: text box +#auto replace category: copyright +#auto replace category: everywhere +auto replace: + match: (C) + replace: © +auto replace: + match: AE + replace: Æ + whole word: false +auto replace: + match: TM + replace: ™ + whole word: false +auto replace: + match: -- + replace: — +auto replace: + # note the spaces + match: + - + replace: + — +auto replace: + match: CIP + replace: enters the battlefield +auto replace: + match: AAA + replace: as an additional cost to cast +auto replace: + match: ~ + replace: CARDNAME +auto replace: + match: ' + replace: ’ +############################################################## Card pack items +pack type: + name: card + filter: card.name != "" +############################################################## Card packs +pack type: + name: booster pack + item: + name: card + amount: 1 +############################################################## Word lists +word list: + name: plane + word: + script: all_planes() + line below: true + word: + name: Main Planes + word: Alara + word: Dominaria + word: Kamigawa + word: Lorwyn + word: Meditation Plane + word: Mercadia + word: Mirrodin + word: Phyrexia + word: Rabiah + word: Rath + word: Ravnica + word: Serra's Realm + word: Shadowmoor + word: Shandalar + word: Ulgrotha + word: Wildfire + word: Zendikar + word: + name: Novel Planes + word: Aranzhur + word: Diraden + word: Kephalai + word: Regatha + word: Tavelia + word: + name: Pre-Revisionist + word: Azoria + word: Cabralin + word: Cridhe + word: Equilor + word: Ergamon + word: Gastal + word: Ilcae + word: Moag + word: Nether Void + word: Pyrulea + word: Segovia + word: Vatraquaz +############################################################## Keywords +############################# Keyword rules + +has keywords: true + +#keyword preview: {keyword} ({reminder}) + +keyword mode: + name: old + description: Old keywords (Banding, Phasing, etc.) +keyword mode: + name: core + description: Core set keywords (Flying, Regenerate, etc.) +keyword mode: + name: expert + description: Expert level keywords (Scry, Vanishing, etc.) +keyword mode: + name: pseudo + description: Pseudo keyword / named ability (Hellbent, Threshold, etc.) +keyword mode: + is default: true + name: custom + description: Custom keywords + +keyword parameter type: + name: mana + match: [SCTQXYZI0-9WUBRG/|]+ + refer script: + name: normal + description: No changes made + script: \{{input}\} + refer script: + name: converted mana cost + description: Converts mana to number + # "0" left in so users can easily see how to edit script. + script: \{cmc({input}) + 0\} + refer script: + name: colored mana cost + description: Converts mana to number of colored mana + # "0" left in so users can easily see how to edit script. + script: \{colored_mana({input}) + 0\} +# By pichoro and bunnierein +keyword parameter type: + name: cost + match: [ ][SCTQXYZI0-9WUBRG/|]*|[-—][^(\n]* + separator before is: [ —-] + separator after is: [.] + optional: false + # note: the separator is part of match + refer script: + name: normal + description: When using mana only costs, doesn't include anything extra in the reminder text + script: \{{input}\} + refer script: + name: add "pay an additional " for mana costs + description: When using mana only costs, words the reminder text as "pay an additional " + script: \{for_mana_costs(add:"pay an additional ",{input})\} + refer script: + name: add "pay " for mana costs + description: When using mana only costs, words the reminder text as "pay " + script: \{for_mana_costs(add:"pay ",{input})\} + separator script: long_dash() +keyword parameter type: + name: number + match: [XYZ0-9]+ + refer script: + name: normal + description: (1,2,3) + script: \{{input}\} + refer script: + name: as words + description: (one, two, three) + script: \{english_number({input})\} + refer script: + name: as words, use "a" for 1 + description: (a, two, three) + script: \{english_number_a({input})\} + refer script: + name: as words, use "" for 1 + description: (, two, three) + script: \{english_number_multiple({input})\} +keyword parameter type: + name: action + match: [^(:\n]+ + separator after is: [.] + reminder script: alternative_cost() +keyword parameter type: + name: name + match: [^(.:;\n—]+ + refer script: + name: normal + description: No changes made. + script: \{{input}\} + refer script: + name: singular + description: Removes plurality from words. + script: \{english_singular({input})\} +keyword parameter type: + name: prefix + description: Prefix for things like "walk" + optional: false + match: [A-Z][A-Z,a-z’ ]* + example: Forest +keyword parameter type: + name: a + match: [ ]*|[ an?]* +############################# All Magic keywords +# By JrEye and Neko_Asakami, Updated by Pichoro and Buttock1234 +keyword: + keyword: Flying + match: flying + mode: core + reminder: It can’t be blocked except by creatures with flying or reach. +keyword: + keyword: First strike + match: first strike + mode: core + reminder: It deals combat damage before creatures without first strike. +keyword: + keyword: Trample + match: trample + mode: core + reminder: If it would deal enough combat damage to its blockers to destroy them, you may have it deal the rest of its damage to defending player or planeswalker. +keyword: + keyword: Banding + match: banding + mode: old + reminder: Any creatures with banding, and up to one without, can attack in a band. Bands are blocked as a group. If any creatures with banding you control are blocking or being blocked by a creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. +keyword: + keyword: Landwalk + match: prefixwalk + mode: core + reminder: This creature is unblockable as long as defending player controls a {if match(param1.value, match: " land$") or contains(param1.value, match: "Snow") or contains(param1.value, match:"Basic") or contains(param1.value, match:"Legendary") then "{to_lower(param1)}" else "{param1}"}. +keyword: + keyword: Protection from + match: protection from name + mode: core + reminder: It can’t be blocked, targeted, dealt damage, enchanted, or equipped by anything {english_singular(param1)}. +keyword: + keyword: Regeneration + match: Regenerate + mode: core + reminder: The next time it would be destroyed this turn, it isn’t. If it is a creature, instead tap it, remove all damage from it, and remove it from combat. +keyword: + keyword: Bands with other + match: bands with other name + mode: old + reminder: Any {param1} can attack in a band as long as at least one has “bands with other {param1}.” Bands are blocked as a group. If at least two {param1} you control, one of which has “bands with other {param1},” are blocking or being blocked by the same creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. +keyword: + keyword: Rampage + match: rampage number + mode: old + reminder: Whenever it becomes blocked, it gets +{param1}/+{param1} until end of turn for each creature blocking it beyond the first. +keyword: + keyword: Cumulative upkeep + match: cumulative upkeep cost + mode: old + reminder: At the beginning of your upkeep, put an age counter on it, then sacrifice it unless you pay its upkeep cost for each age counter on it. +keyword: + keyword: Phasing + match: phasing + mode: old + reminder: It phases in or out before you untap during each of your untap steps. While it’s phased out, it’s treated as though it doesn’t exist. +keyword: + keyword: Flanking + match: flanking + mode: expert + reminder: Whenever a creature without flanking blocks the creature, the blocking creature gets -1/-1 until end of turn. +keyword: + keyword: Shadow + match: shadow + mode: expert + reminder: It can block or be blocked by only creatures with shadow. +keyword: + keyword: Denimwalk + match: denimwalk + mode: old + reminder: If defending player is wearing any clothing made of denim, the creature is unblockable. +keyword: + keyword: Buyback + match: buyback cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast it. If you do, put it into your hand as it resolves. +keyword: + keyword: Echo + match: echo cost + mode: expert + reminder: At the beginning of your upkeep, if the permanent came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost. +keyword: + keyword: Cycling + match: cycling cost + mode: expert + reminder: {param1}, Discard it: Draw a card. +keyword: + keyword: Haste + match: haste + mode: core + reminder: It can attack and T as soon as it comes under your control. +keyword: + keyword: Horsemanship + match: horsemanship + mode: old + reminder: It can’t be blocked except by creatures with horsemanship. +keyword: + keyword: Fading + match: fading number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} fade counter(s) on it. At the beginning of your upkeep, remove a fade counter from it. If you can’t, sacrifice it. +keyword: + keyword: Kicker + match: kicker cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast the card. +keyword: + keyword: Flashback + match: flashback cost + mode: expert + reminder: You may cast it from your graveyard for its flashback cost. Then exile it. +keyword: + keyword: Threshold + match: Threshold + mode: pseudo + rules: Threshold — [effect] as long as seven or more cards are in your graveyard. +keyword: + keyword: Madness + match: madness cost + mode: expert + reminder: If you discard it, you may cast it for its madness cost instead of putting it into your graveyard. +keyword: + keyword: Morph + match: morph cost + mode: expert + reminder: You may cast it face down as a 2/2 creature for 3. Turn it face up any time for its morph cost. +keyword: + keyword: Fear + match: fear + mode: old + reminder: It can’t be blocked except by artifact creatures and/or black creatures. +keyword: + keyword: Amplify + match: amplify number + mode: expert + reminder: As it enters the battlefield, put {english_number_a(param1)} +1/+1 counter(s) on it for each creature that shares a type with it that you reveal in your hand. +keyword: + keyword: Double strike + match: double strike + mode: core + reminder: It deals both first-strike and regular combat damage. +keyword: + keyword: Provoke + match: provoke + mode: expert + reminder: When it attacks, you may have target creature defending player controls untap and block it if able. +keyword: + keyword: Typecycling + match: prefixcycling cost + mode: expert + reminder: {param2}, Discard it: Search your library for a {param1} card, reveal it, and put it into your hand. Then shuffle your library. +keyword: + keyword: Storm + match: storm + mode: expert + reminder: When you cast it, copy it for each spell cast before it this turn. You may choose new targets for the copies. +keyword: + keyword: Affinity for + match: affinity for name + mode: expert + reminder: It costs 1 less to cast for each {english_singular(param1)} you control. +keyword: + keyword: Entwine + match: entwine cost + mode: expert + reminder: Choose both if you pay the entwine cost. +keyword: + keyword: Equip + match: equip cost + mode: core + reminder: {param1}: Attach to target creature you control. Equip only as a sorcery. +keyword: + keyword: Imprint + match: Imprint + mode: pseudo + rules: Imprint — When it enters the battlefield, you may exile a [something] from [somewhere]. +keyword: + keyword: Modular + match: modular number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. When it’s put into a graveyard, you may put its +1/+1 counters on target artifact creature. +keyword: + keyword: Scry + match: Scry number + mode: expert + 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 + mode: expert + reminder: It enters the battlefield with a +1/+1 counter on it for each color of mana spent to cast it. If it isn’t a creature, use charge counters instead. +keyword: + keyword: Art rampage + match: art rampage number + mode: expert + reminder: Whenever it blocked by a creature, it gets +{param1}/+{param1} for each creature in the blocker’s art beyond the first. +keyword: + keyword: Super haste + match: Super haste + mode: expert + reminder: It may attack the turn before you cast it. (You may have it enter the battlefield from your hand, tapped and attacking, during your declare attackers step. If you do, you lose the game at the end of your next turn unless you pay its mana cost during that turn.) +keyword: + keyword: Gotcha + match: Gotcha + mode: pseudo + rules: Gotcha — Whenever an opponent [does something], you may say “Gotcha!”. If you do, return [something] from your graveyard to your hand. +keyword: + keyword: Splice + match: splice onto name cost + mode: expert + reminder: As you cast a {param1} spell, you may reveal the card from your hand and pay its splice cost. If you do, add its effects to that spell. +keyword: + keyword: Bushido + match: bushido number + mode: expert + reminder: When it blocks or becomes blocked, it gets +{param1}/+{param1} until end of turn. +keyword: + keyword: Soulshift + match: soulshift number + mode: expert + reminder: When it is put into a graveyard from the battlefield, you may return target Spirit card with converted mana cost {param1} or less from your graveyard to your hand. +keyword: + keyword: Enchant + match: enchant name + mode: core + reminder: Target a {param1} as you cast the card. The card enters the battlefield attached to that {param1}. +keyword: + keyword: Vigilance + match: vigilance + mode: core + reminder: Attacking doesn’t cause it to tap. +keyword: + keyword: Defender + match: defender + mode: core + reminder: It can’t attack. +keyword: + keyword: Offering + match: prefix offering + mode: expert + reminder: You may cast it any time you could cast an instant by sacrificing a {param1} and paying the difference in mana costs between it and the sacrificed {param1}. Mana cost includes color. +keyword: + keyword: Ninjutsu + match: ninjutsu cost + mode: expert + reminder: {param1}, Return an unblocked attacker you control to hand: That card enters the battlefield from your hand tapped and attacking. +keyword: + keyword: Epic + match: epic + mode: expert + reminder: For the rest of the game, you can’t cast spells. At the beginning of each of your upkeeps, copy the card except for its epic ability. If it has any targets, you may choose new targets for the copy. +keyword: + keyword: Channel + match: Channel + mode: pseudo + rules: Channel — [cost], Discard a card: [effect]. +keyword: + keyword: Sweep + match: Sweep + mode: pseudo + rules: Sweep — Return any number of [basic land type] you control to their owner’s hand. [effect based on number of lands returned]. +keyword: + keyword: Convoke + match: convoke + mode: expert + reminder: Each creature you tap while casting the card reduces its cost by 1 or by one mana of that creature’s color. +keyword: + keyword: Transmute + match: transmute cost + mode: expert + reminder: {param1}, Discard it: Search your library for a card with the same converted mana cost as the discarded card, reveal it, and put it into your hand. Then shuffle your library. Activate only as a sorcery. +keyword: + keyword: Dredge + match: dredge number + mode: expert + reminder: If you would draw a card, instead you may put exactly {english_number(param1)} card(s) from the top of your library into your graveyard. If you do, return the card from your graveyard to your hand. Otherwise, draw a card. +keyword: + keyword: Radiance + match: Radiance + mode: pseudo + rules: Radiance — [effect to target permanent or spell and all cards of same card type that share a color with it]. +keyword: + keyword: Haunt + match: haunt + mode: expert + reminder: When it is put into a graveyard from the battlefield, or when it resolves if it is not a permanent, exile it haunting target creature. +keyword: + keyword: Bloodthirst + match: bloodthirst number + mode: expert + reminder: If an opponent was dealt damage this turn, the permanent enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. +keyword: + keyword: Replicate + match: replicate cost + mode: expert + reminder: When you cast it, copy it for each time you paid its replicate cost. You may choose new targets for the copies. +keyword: + keyword: Graft + match: graft number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. Whenever a creature enters the battlefield, you may move a +1/+1 counter from the permanent onto it. +keyword: + keyword: Forecast + match: forecast — action, Reveal name from your hand: action + mode: expert + reminder: Activate the ability only during your upkeep and only once each turn. +keyword: + keyword: Hellbent + match: Hellbent + mode: pseudo + rules: Hellbent — [effect] if you have no cards in hand. +keyword: + keyword: Recover + match: recover cost + mode: expert + reminder: When a creature is put into your graveyard from the battlefield, you may {for_mana_costs(add:"pay ",param1)}. If you do, return the card from your graveyard to your hand. Otherwise, exile this card. +keyword: + keyword: Ripple + match: ripple number + mode: expert + reminder: When you cast it, you may reveal the top {english_number_multiple(param1)} card(s) of your library. You may cast any revealed cards with the same name as the card without paying their mana costs. Put the rest on the bottom of your library. +keyword: + keyword: Flash + match: flash + mode: core + reminder: You may cast it any time you could cast an instant. +keyword: + keyword: Split second + match: split second + mode: expert + reminder: As long as it is on the stack, players can’t cast spells or activate abilities that aren’t mana abilities. +keyword: + keyword: Suspend + match: suspend numbercost + mode: expert + reminder: Rather than cast it from your hand, you may pay {param2} and exile it with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost. If it is a creature, it has haste. +keyword: + keyword: Vanishing + match: vanishing number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it. +keyword: + keyword: Deathtouch + match: deathtouch + mode: expert + reminder: Creatures dealt damage by it are destroyed. You can divide its combat damage among any of the creatures blocking or blocked by it. +keyword: + keyword: Reach + match: reach + mode: core + reminder: It can block creatures with flying. +keyword: + keyword: Gravestorm + match: gravestorm + mode: expert + reminder: When you cast it, copy it for each permanent put into a graveyard this turn. You may choose new targets for the copies. +keyword: + keyword: Lifelink + match: lifelink + mode: core + reminder: Damage dealt by it also causes you to gain that much life. +keyword: + keyword: Absorb + match: absorb number + mode: expert + reminder: If a source would deal damage to it, prevent {param1} of that damage. +keyword: + keyword: Fateseal + match: fateseal number + mode: expert + reminder: + Look at the top { + if param1.value==1 then "card of an opponent’s library, then you may put it on the bottom of that player’s library." + else "{english_number(param1)} cards of an opponent’s library, then put any number of them on the bottom of that player’s library and the rest on top in any order." + } +keyword: + keyword: Transfigure + match: transfigure cost + mode: expert + reminder: {param1}, Sacrifice it: Search your library for a creature card with the same converted mana cost as the sacrificed card and have that card enter the battlefield. Then shuffle your library. Activate only as a sorcery. +keyword: + keyword: Aura swap + match: aura swap cost + mode: expert + reminder: {param1}: Exchange it with an Aura card in your hand. +keyword: + keyword: Frenzy + match: frenzy number + mode: expert + reminder: Whenever it attacks and isn’t blocked, it gets +{param1}/+0 until end of turn. +keyword: + keyword: Delve + match: delve + mode: expert + reminder: You may exile any number of cards in your graveyard as you cast it. It costs 1 less to cast for each card exiled this way. +keyword: + keyword: Poisonous + match: poisonous number + mode: expert + reminder: Whenever it deals combat damage to a player, that player gets {english_number_a(param1)} poison counter(s). A player with ten or more poison counters loses the game. +keyword: + keyword: Shroud + match: shroud + mode: core + reminder: It can’t be the target of spells or abilities. +keyword: + keyword: Fortify + match: fortify cost + mode: expert + reminder: {param1}: Attach to target land you control. Fortify only as a sorcery. It enters the battlefield unattached and stays in the battlefield if the land exits the battlefield. +keyword: + keyword: Grandeur + match: Grandeur + mode: pseudo + rules: Grandeur — Discard another card named [something]: [effect]. +keyword: + keyword: Evoke + match: evoke cost + mode: expert + reminder: You may cast it for its evoke cost. If you do, it’s sacrificed when it enters the battlefield. +keyword: + keyword: Champion + match: championaname + mode: expert + reminder: When it enters the battlefield, sacrifice it unless you exile another {param2} you control. When it exits the battlefield, return that card to the battlefield. +keyword: + keyword: Clash + match: clash + mode: expert + reminder: Each clashing player reveals the top card of his or her library, then puts that card on the top or bottom. A player wins if his or her card had a higher converted mana cost. +keyword: + keyword: Changeling + match: changeling + mode: expert + reminder: It is every creature type at all times. +keyword: + keyword: Hideaway + match: hideaway + mode: expert + reminder: The land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library. +keyword: + keyword: Prowl + match: prowl cost + mode: expert + reminder: You may cast it for its prowl cost if you dealt combat damage to a player this turn with a creature that shares a type with it. +keyword: + keyword: Reinforce + match: reinforce numbercost + mode: expert + reminder: {param2}, Discard it: Put {english_number_a(param1)} +1/+1 counter(s) on target creature. +keyword: + keyword: Kinship + match: Kinship + mode: pseudo + rules: Kinship — At the beginning of your upkeep, you may look at the top card of your library. If that card shares a creature type with it, you may reveal it. If you do, [effect]. +keyword: + keyword: Persist + match: persist + mode: expert + reminder: When it is put into a graveyard from the battlefield, if it had no -1/-1 counters on it, return it to the battlefield under its owner’s control with a -1/-1 counter on it. +keyword: + keyword: Wither + match: wither + mode: expert + reminder: It deals damage to creatures in the form of -1/-1 counters. +keyword: + keyword: Conspire + match: conspire + mode: expert + reminder: As you cast it, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose a new target for the copy. +keyword: + keyword: Retrace + match: retrace + mode: expert + reminder: You may cast it from your graveyard by discarding a land card in addition to paying its other costs. +keyword: + keyword: Chroma + match: Chroma + mode: pseudo + rules: Chroma — [effect] based on the number of [color] mana symbols [in graveyard, under your control, in cards you discard]. +keyword: + keyword: Unearth + match: unearth cost + mode: expert + reminder: {param1}: Return it from your graveyard to the battlefield. If it is a creature, it gains haste. Exile it at the beginning of the end step or if it would exit the battlefield. Unearth only as a sorcery. +keyword: + keyword: Devour + match: devour number + mode: expert + reminder: As it enters the battlefield, you may sacrifice any number of creatures. It enters the battlefield with { if param1.value == 1 then "" else if param1.value == 2 then "twice " else english_number(param1) + " times " }that many +1/+1 counters on it. +keyword: + keyword: Exalted + match: exalted + mode: expert + reminder: Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn. +keyword: + keyword: Domain + match: Domain + mode: pseudo + rules: Domain — [effect] for each basic land type among lands you control. +keyword: + keyword: Cascade + match: cascade + mode: expert + reminder: When you cast it, exile the top card of your library until you remove a nonland card that costs less. You may cast that card without paying its mana cost. Put the exiled cards on the bottom of your library at random. +keyword: + keyword: Intimidate + match: intimidate + mode: core + reminder: It can’t be blocked except by artifact creatures and/or creatures that share a color with it. diff --git a/data/vanguard-standard.mse-style/style b/data/vanguard-standard.mse-style/style index 5021871b..fe149d1a 100644 --- a/data/vanguard-standard.mse-style/style +++ b/data/vanguard-standard.mse-style/style @@ -1,271 +1,271 @@ -mse version: 0.3.6 -game: vanguard -short name: Standard -installer group: Magic Vanguard/normal style -icon: card-sample.png -position hint: 01 - -version: 2008-06-30 -depends on: - package: vanguard.mse-game - version: 2007-12-29 -depends on: - package: magic-mana-small.mse-symbol-font - version: 2007-09-23 -depends on: - package: magic-mana-large.mse-symbol-font - version: 2007-09-23 - -card background: white -card width: 375 -card height: 523 -card dpi: 111.7142857 - -# Author: Wolfwood -# Based on: magic-new - -############################################################## 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 } - -############################################################## 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: flavor text - description: Should the cards have flavor text? - 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-large.mse-symbol-font/mana_t.png - old: /magic-mana-large.mse-symbol-font/mana_t_old.png - diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png - -############################################################## Card fields -card style: - ############################# Background stuff - border color: - left: 0 - top : 0 - width: 375 - height: 523 - radius: 18 - left width: 17 - right width: 17 - top width: 17 - bottom width: 18 - z index: -1 - background: - left: 0 - top: 0 - width: 375 - height: 523 - z index: -2 - render style: image - choice images: - normal: card.jpg - - ############################# Name line - name: - left: 74 - top : 30 - width: 224 - height: 23 - alignment: bottom center shrink-overflow - padding bottom: 0 - z index: 1 - font: - name: Matrix - size: 17 - weight: bold - color: rgb(0,0,0) - - ############################# Image - image: - left: 46 - top: 56 - width: 281 - height: 248 - z index: 1 - - ############################# Card type - - type: - left: 53 - top : 306 - width: 268 - height: 18 - alignment: top center shrink-overflow - z index: 1 - font: - name: Matrix - size: 13.5 - color: rgb(0,0,0) - - ############################# Text box - rule text: - left: - script: - if styling.flavor_text then 46 - else 76 - top : 328 - width: - script: - if styling.flavor_text then 280 - else 220 - height: - script: - if styling.flavor_text then 65 - else 138 - font: - name: MPlantin - italic name: MPlantin-Italic - size: 14 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_mana_symbols } - size: 14 - alignment: middle center - z index: 2 - padding left: 4 - padding top: 2 - padding right: 4 - padding bottom: 2 - line height hard: 1.2 - line height line: 1.5 - - flavor text: - left: 76 - top : 393 - width: 220 - height: 73 - font: - name: MPlantin-Italic - italic name: MPlantin-Italic - size: 10 - scale down to: 6 - color: rgb(0,0,0) - alignment: bottom left - z index: 2 - visible: - script: styling.flavor_text - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - - ############################# Life/Hand mod - lifemod: - z index: 4 - left: 304 - top: 433 - width: 22 - height: 32 - alignment: center middle shrink-overflow - font: - name: Mplantin - size: 12 - color: rgb(0,0,0) - - handmod: - z index: 4 - left: 43 - top: 433 - width: 22 - height: 32 - alignment: center middle shrink-overflow - font: - name: Mplantin - size: 12 - color: rgb(0,0,0) - - ############################# Card sorting / numbering - ############################# Copyright stuff - - illustrator: - left: 40 - top : 466 - width: 295 - height: 16 - alignment: center - z index: 1 - font: - name: Matrix - size: 10 - color: rgb(0,0,0) - - copyright line: - left: 40 - top : 476 - width: 295 - height: 12 - alignment: center - z index: 1 - font: - name: MPlantin - size: 6 - color: rgb(0,0,0) - -############################################################## Extra card fields - -extra card field: - type: choice - name: orb - choice: none - choice: white - choice: blue - choice: black - choice: red - choice: green - choice: artifact - choice: multicolor - -extra card style: - orb: - left: 179 - top: 483 - width: 17 - height: 17 - z index: 2 - render style: image - choice images: - white: cost_w.png - blue: cost_u.png - black: cost_b.png - red: cost_r.png - green: cost_g.png - artifact: cost_a.png - multicolor: cost_m.png +mse version: 0.3.6 +game: vanguard +short name: Standard +installer group: Magic Vanguard/normal style +icon: card-sample.png +position hint: 01 + +version: 2008-06-30 +depends on: + package: vanguard.mse-game + version: 2007-12-29 +depends on: + package: magic-mana-small.mse-symbol-font + version: 2007-09-23 +depends on: + package: magic-mana-large.mse-symbol-font + version: 2007-09-23 + +card background: white +card width: 375 +card height: 523 +card dpi: 111.7142857 + +# Author: Wolfwood +# Based on: magic-new + +############################################################## 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 } + +############################################################## 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: flavor text + description: Should the cards have flavor text? + 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-large.mse-symbol-font/mana_t.png + old: /magic-mana-large.mse-symbol-font/mana_t_old.png + diagonal T: /magic-mana-large.mse-symbol-font/mana_t_older.png + +############################################################## Card fields +card style: + ############################# Background stuff + border color: + left: 0 + top : 0 + width: 375 + height: 523 + radius: 18 + left width: 17 + right width: 17 + top width: 17 + bottom width: 18 + z index: -1 + background: + left: 0 + top: 0 + width: 375 + height: 523 + z index: -2 + render style: image + choice images: + normal: card.jpg + + ############################# Name line + name: + left: 74 + top : 30 + width: 224 + height: 23 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 1 + font: + name: Matrix + size: 17 + weight: bold + color: rgb(0,0,0) + + ############################# Image + image: + left: 46 + top: 56 + width: 281 + height: 248 + z index: 1 + + ############################# Card type + + type: + left: 53 + top : 306 + width: 268 + height: 18 + alignment: top center shrink-overflow + z index: 1 + font: + name: Matrix + size: 13.5 + color: rgb(0,0,0) + + ############################# Text box + rule text: + left: + script: + if styling.flavor_text then 46 + else 76 + top : 328 + width: + script: + if styling.flavor_text then 280 + else 220 + height: + script: + if styling.flavor_text then 65 + else 138 + font: + name: MPlantin + italic name: MPlantin-Italic + size: 14 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_mana_symbols } + size: 14 + alignment: middle center + z index: 2 + padding left: 4 + padding top: 2 + padding right: 4 + padding bottom: 2 + line height hard: 1.2 + line height line: 1.5 + + flavor text: + left: 76 + top : 393 + width: 220 + height: 73 + font: + name: MPlantin-Italic + italic name: MPlantin-Italic + size: 10 + scale down to: 6 + color: rgb(0,0,0) + alignment: bottom left + z index: 2 + visible: + script: styling.flavor_text + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + + ############################# Life/Hand mod + lifemod: + z index: 4 + left: 304 + top: 433 + width: 22 + height: 32 + alignment: center middle shrink-overflow + font: + name: Mplantin + size: 12 + color: rgb(0,0,0) + + handmod: + z index: 4 + left: 43 + top: 433 + width: 22 + height: 32 + alignment: center middle shrink-overflow + font: + name: Mplantin + size: 12 + color: rgb(0,0,0) + + ############################# Card sorting / numbering + ############################# Copyright stuff + + illustrator: + left: 40 + top : 466 + width: 295 + height: 16 + alignment: center + z index: 1 + font: + name: Matrix + size: 10 + color: rgb(0,0,0) + + copyright line: + left: 40 + top : 476 + width: 295 + height: 12 + alignment: center + z index: 1 + font: + name: MPlantin + size: 6 + color: rgb(0,0,0) + +############################################################## Extra card fields + +extra card field: + type: choice + name: orb + choice: none + choice: white + choice: blue + choice: black + choice: red + choice: green + choice: artifact + choice: multicolor + +extra card style: + orb: + left: 179 + top: 483 + width: 17 + height: 17 + z index: 2 + render style: image + choice images: + white: cost_w.png + blue: cost_u.png + black: cost_b.png + red: cost_r.png + green: cost_g.png + artifact: cost_a.png + multicolor: cost_m.png diff --git a/data/vanguard.mse-game/game b/data/vanguard.mse-game/game index 7383598c..cca3f730 100644 --- a/data/vanguard.mse-game/game +++ b/data/vanguard.mse-game/game @@ -1,1083 +1,1083 @@ -mse version: 0.3.8 -short name: Vanguard -full name: Magic Vanguard -installer group: Magic Vanguard/game files -icon: card-sample.png -position hint: 02 - -version: 2009-08-10 - -# Author : Wolfwood -# Most stuff is copy/pasted from magic.mse-game -############################################################## Functions & filters -# General functions -init script: - ############################################################## Sorting mana symbols - - # correctly sort a mana symbol (no guild mana) - mana_sort := sort_text@(order: "XYZI[0123456789]S(WUBRG)") - # correctly sort guild mana - mana_sort_guild := sort_text@(order: "[XYZI01234567890SWUBRG/|]") + - replace@( - match: "./.|././.|./././.|.[|]", - in_context: "(^|[^/])($|[^/])", - replace: {sort_text(order:"in_place((WUBRG)")} - ) - mana_has_guild := match@(match: "[/|]") # Is there guild or half mana in the input? - # A mana cost can contain both normal and guild mana - mana_filter := to_upper + { - if mana_has_guild() then mana_sort_guild() - else mana_sort() - } - # Like mana filter, only also allow tap symbols: - tap_filter := sort_text@(order: "") - mana_filter_t := replace@( # Remove [] used for forcing mana symbols - match: "[\\[\\]]", - replace: "" - ) + { tap_filter() + mana_filter() } - - ############################################################## Utilities for keywords - - # replaces — correctly - add := "" # default is nothing - for_mana_costs := format_cost := { - if input.separator_before == "—" and contains(input.param, " ") then ( - if contains(input.param, match:",") then ( - if match(match: "^[SCTQXYZIWUBRG0-9/|]+,", input.param) then - "{add}{combined_cost(input.param)}" - else "{combined_cost(input.param)}" - ) else - "{alternative_cost(input.param)}" - ) else - "{add}{input.param}" - } - alternative_cost := replace@(match:"^[A-Z]", replace: { to_lower() }) - combined_cost := replace@(match:", [A-Z]", replace: { to_lower() })+ - replace@(match:",", replace:" and")+ - replace@(match:"^[SCTQXYZIWUBRG0-9/|]", in_context: "(^|[[:space:]])", replace: "&")+ - replace@(match:"^[A-Z]", replace: { to_lower() }) - long_dash := replace@(match:"-", replace:"—") - - # Converted mana cost - is_half_mana := match@(match: "1/2|[|][WUBRGS]") - is_colored_mana := match@(match: "[WUBRG]") - only_numbers := filter_text@(match: "^[0123456789]+") - cmc_split := break_text@(match: "(?ix) 1/2 | [|][WUBRG] | [0-9]+(?!/[WUBRGSCTQ2]) | [WUBRGS0-9](/[WUBRGS])\{0,4} ") - cmc := {to_number( - for each sym in cmc_split() do ( - numbers := only_numbers(sym) - if is_half_mana(sym) then 0.5 - else if numbers != "" then max(1, to_int(numbers)) - else 1 # all other symbols are 1 - )) - } - - colored_mana := {to_number( - for each sym in cmc_split() do ( - numbers := only_numbers(sym) - if is_colored_mana(sym) then - if is_half_mana(sym) then 0.5 else 1 - else 0 - )) - } - - ############################################################## The text box - - # Filters for the text box - # context in which mana symbols are found - mana_context := - "(?ix) # case insensitive, ignore whitespace - (^|[[:space:]\"(]) # start of a word - ( : # G: something - | , # G, tap: something - | [ ]can[ ]be[ ]pay - | (pays?|additional|costs?|the # pay X. creatures cost 1 less. pay an additional G. - |adds?|pay(ed)?[ ](with|using) - ) - ([ ]either)? # pay either X or Y - ([ ]]*>[CTQSXYZIWUBRG0-9/|]+]*>[ ](and|or))* # pay X or Y - [ ] - ([,.)]|$ # (end of word) - |[ ][^ .,]*$ # still typing... - |[ ]( or | and | in | less | more | to ) # or next word is ... - ) - ) - | # keyword argument that is declared as mana - | [ ]* # keyword argument that is declared as cost - | , # keyword argument that is declared as cost - "; - # the rule text filter - # - adds mana symbols - # - makes text in parentheses italic - text_filter := - # step 1 : remove all automatic tags - remove_tag@(tag: "") + - remove_tag@(tag: "") + - remove_tag@(tag: "{keyword}" - else keyword + if expand then " ({reminder})" } - ) + - # step 2b : move inline keywords' reminder text to the end of the line - replace@( - match: "(.*]*>)([^\n(]+)", - replace: "\\2\\1" - ) + - replace@( - match: "(.*]*>)([^\n(]+)", - replace: "\\2\\1" - ) + - replace@( - match: "(.*]*>)([^\n(]+)", - replace: "\\2\\1" - ) + - # step 3 : expand shortcut words ~ and CARDNAME - replace@( - match: "CARDNAME", - in_context: "(^|[[:space:]]|\\()", - replace: "" - ) + - # step 4 : fill in atom fields - tag_contents@( - tag: "", - contents: { if card.name=="" then "CARDNAME" else card.type + " - " + card.name } - ) + - # step 4.5 : explict non mana symbols - replace@( - match: "\\][SCTQXYZIWUBRG0-9/|]+\\[", - replace: {"" + mana_filter_t() + ""} ) + - # step 5 : add mana & tap symbols - replace@( - match: "[SCTQXYZIWUBRG0-9/|]+", - in_context: mana_context, - replace: {"" + mana_filter_t() + ""} ) + - # step 5b : add explict mana symbols - replace@( - match: "\\[[SCTQXYZIWUBRG0-9/|]+\\]", - replace: {"" + mana_filter_t() + ""} ) + - # step 7 : italic reminder text - replace@( - match: "[(][^)\n]*[)]?", - in_context: "(^|[[:space:]])|", - replace: "&") + - # step 8 : automatic capitalization, but not after "(" - replace@( - match: "[a-z]", - in_context: "[ ]*: |—| — ", - replace: { to_upper() }) - curly_quotes - - ############################################################## Other boxes - # the flavor text filter - # - makes all text italic - flavor_text_filter := - # step 2 : remove italic tags - remove_tag@(tag: "") + - # step 3 : surround by tags - { "" + input + "" } + - # curly quotes - curly_quotes - - # Process the name for sorting rules - sort_name := - # Remove "The", "A", and "And" at the beginning - replace@(match: "^(The|An?) ", replace: "") + - # Remove commas and apostrophes - replace@(match: "(,|'|’)", replace: "") + - # Remove bold and italic tags - replace@(match: "(|||)", replace: "") + - # Make lowercase - to_lower - - #Necessary to make magic-mana-future play nicely - colorless_color := { "c" } - - word_count := break_text@(match:"[^[:space:]]+") + length - -############################################################## Set fields -set field: - type: info - name: Set Information -set field: - type: text - name: title -set field: - type: text - name: description - multi line: true -set field: - type: text - name: artist -set field: - type: text - name: copyright -set field: - type: info - name: Defaults and Automation -set field: - type: color - name: border color - description: The default border color for cards - choice: - name: black - color: rgb(0,0,0) - choice: - name: white - color: rgb(255,255,255) - choice: - name: silver - color: rgb(128,128,128) - choice: - name: gold - color: rgb(200,180,0) -set field: - type: multiple choice - name: automatic reminder text - choice: old - choice: core - choice: expert - choice: pseudo - choice: custom - initial: old, pseudo, custom - # Convert from older mse versions - script: - if value = "yes" then "old, core, expert, custom" - else if value = "no" then "" - else value - description: For which kinds of keywords should reminder text be added by default? Note: you can enable/disable reminder text by right clicking the keyword. -set field: - type: boolean - name: automatic card numbers - initial: no - description: Should card numbers be shown on the cards? -############################# Default style -default set style: - title: - padding left: 2 - font: - size: 16 - automatic reminder text: - render style: checklist - direction: vertical -############################################################## Card fields -############################# Background stuff -card field: - type: color - name: border color - default: set.border_color - choice: - name: black - color: rgb(0,0,0) - choice: - name: white - color: rgb(255,255,255) - choice: - name: silver - color: rgb(128,128,128) - choice: - name: gold - color: rgb(200,180,0) - show statistics: false - description: The border of the card; can be any solid color -card field: - type: choice - name: background - choice: normal - show statistics: false - editable: false -############################# Name line -card field: - type: text - name: name - identifying: true - show statistics: false - card list visible: true - card list column: 1 - card list width: 150 - description: The name of the card -############################# Image -card field: - type: image - name: image - show statistics: false - description: The image of the card -############################# Card type -card field: - type: text - name: type - card list visible: true - card list column: 2 - description: The type of the card -############################# Text box -card field: - type: text - name: rule text - script: text_filter(value) - show statistics: false - multi line: true - description: The rules text of the card -card field: - type: text - name: flavor text - script: flavor_text_filter(value) - show statistics: false - multi line: true - description: The flavor text of the card -############################# PT -card field: - type: text - name: handmod - card list visible: true - card list column: 3 - card list width: 50 - card list name: hand - description: The starting and maximum hand size modifier -card field: - type: text - name: lifemod - card list visible: true - card list column: 4 - card list width: 50 - card list name: life - description: The starting life total modifier -############################# Card sorting / numbering -card field: - type: text - name: card number - save value: false - script: - position( - of: card - in: set - order_by: { sort_name(card.name) } - ) + 1 - + "/" + - number_of_items(in: set) - card list visible: true - card list column: 10 - card list width: 50 - card list name: # - editable: false - show statistics: false -############################# Copyright stuff -card field: - type: text - name: illustrator - default: set.artist - description: The illustrator of the image - icon: stats/illustrator.png -card field: - type: text - name: copyright - default: set.copyright - show statistics: false - editable: false -card field: - type: text - name: copyright line - save value: false - show statistics: false - script: - if set.automatic_card_numbers then - combined_editor(field1: card.copyright, separator: " ", field2: card.card_number) - else - forward_editor(field: card.copyright) - description: The copyright and card number of the card -############################################################### Extra Statistics -statistics dimension: - name: keywords - position hint: 1000 - script: keyword_usage(unique:true) - show empty: false - split list: true - icon: stats/keywords.png -statistics dimension: - name: style - position hint: 1001 - script: stylesheet.short_name - icon: stats/stylesheet.png -statistics dimension: - name: text length (words) - position hint: 100 - script: word_count(to_text(card.rule_text)) - numeric: true - bin size: 5 - icon: stats/text_length.png -############################################################## Auto replace -# Do we need categories? -#auto replace category: text box -#auto replace category: copyright -#auto replace category: everywhere -auto replace: - match: (C) - replace: © -auto replace: - match: AE - replace: Æ - whole word: false -auto replace: - match: TM - replace: ™ - whole word: false -auto replace: - match: -- - replace: — -auto replace: - # note the spaces - match: - - - replace: - — -auto replace: - match: CIP - replace: enters the battlefield -auto replace: - match: AAA - replace: as an additional cost to cast -auto replace: - match: ~ - replace: CARDNAME -auto replace: - match: ' - replace: ’ -############################################################## Card pack items -pack type: - name: card - filter: card.name != "" -############################################################## Card packs -pack type: - name: booster pack - item: - name: card - amount: 1 -############################################################## Keywords -############################# Keyword rules - -has keywords: true - -#keyword preview: {keyword} ({reminder}) - -keyword mode: - name: old - description: Old keywords (Banding, Phasing, etc.) -keyword mode: - name: core - description: Core set keywords (Flying, Regenerate, etc.) -keyword mode: - name: expert - description: Expert level keywords (Scry, Vanishing, etc.) -keyword mode: - name: pseudo - description: Pseudo keyword / named ability (Hellbent, Threshold, etc.) -keyword mode: - is default: true - name: custom - description: Custom keywords - -keyword parameter type: - name: mana - match: [SCTQXYZI0-9WUBRG/|]+ - refer script: - name: normal - description: No changes made - script: \{{input}\} - refer script: - name: converted mana cost - description: Converts mana to number - # "0" left in so users can easily see how to edit script. - script: \{cmc({input}) + 0\} - refer script: - name: colored mana cost - description: Converts mana to number of colored mana - # "0" left in so users can easily see how to edit script. - script: \{colored_mana({input}) + 0\} -# By pichoro and bunnierein -keyword parameter type: - name: cost - match: [ ][SCTQXYZI0-9WUBRG/|]*|[-—][^(\n]* - separator before is: [ —-] - separator after is: [.] - optional: false - # note: the separator is part of match - refer script: - name: normal - description: When using mana only costs, doesn't include anything extra in the reminder text - script: \{{input}\} - refer script: - name: add "pay an additional " for mana costs - description: When using mana only costs, words the reminder text as "pay an additional " - script: \{for_mana_costs(add:"pay an additional ",{input})\} - refer script: - name: add "pay " for mana costs - description: When using mana only costs, words the reminder text as "pay " - script: \{for_mana_costs(add:"pay ",{input})\} - separator script: long_dash() -keyword parameter type: - name: number - match: [XYZ0-9]+ - refer script: - name: normal - description: (1,2,3) - script: \{{input}\} - refer script: - name: as words - description: (one, two, three) - script: \{english_number({input})\} - refer script: - name: as words, use "a" for 1 - description: (a, two, three) - script: \{english_number_a({input})\} - refer script: - name: as words, use "" for 1 - description: (, two, three) - script: \{english_number_multiple({input})\} -keyword parameter type: - name: action - match: [^(:\n]+ - separator after is: [.] - reminder script: alternative_cost() -keyword parameter type: - name: name - match: [^(.:;\n—]+ - refer script: - name: normal - description: No changes made. - script: \{{input}\} - refer script: - name: singular - description: Removes plurality from words. - script: \{english_singular({input})\} -keyword parameter type: - name: prefix - description: Prefix for things like "walk" - optional: false - match: [A-Z][A-Z,a-z’ ]* - example: Forest -keyword parameter type: - name: a - match: [ ]*|[ an?]* -############################# All Magic keywords -# By JrEye and Neko_Asakami, Updated by Pichoro and Buttock1234 -keyword: - keyword: Flying - match: flying - mode: core - reminder: It can’t be blocked except by creatures with flying or reach. -keyword: - keyword: First strike - match: first strike - mode: core - reminder: It deals combat damage before creatures without first strike. -keyword: - keyword: Trample - match: trample - mode: core - reminder: If it would deal enough combat damage to its blockers to destroy them, you may have it deal the rest of its damage to defending player or planeswalker. -keyword: - keyword: Banding - match: banding - mode: old - reminder: Any creatures with banding, and up to one without, can attack in a band. Bands are blocked as a group. If any creatures with banding you control are blocking or being blocked by a creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. -keyword: - keyword: Landwalk - match: prefixwalk - mode: core - reminder: This creature is unblockable as long as defending player controls a {if match(param1.value, match: " land$") or contains(param1.value, match: "Snow") or contains(param1.value, match:"Basic") or contains(param1.value, match:"Legendary") then "{to_lower(param1)}" else "{param1}"}. -keyword: - keyword: Protection from - match: protection from name - mode: core - reminder: It can’t be blocked, targeted, dealt damage, enchanted, or equipped by anything {english_singular(param1)}. -keyword: - keyword: Regeneration - match: Regenerate - mode: core - reminder: The next time it would be destroyed this turn, it isn’t. If it is a creature, instead tap it, remove all damage from it, and remove it from combat. -keyword: - keyword: Bands with other - match: bands with other name - mode: old - reminder: Any {param1} can attack in a band as long as at least one has “bands with other {param1}.” Bands are blocked as a group. If at least two {param1} you control, one of which has “bands with other {param1},” are blocking or being blocked by the same creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. -keyword: - keyword: Rampage - match: rampage number - mode: old - reminder: Whenever it becomes blocked, it gets +{param1}/+{param1} until end of turn for each creature blocking it beyond the first. -keyword: - keyword: Cumulative upkeep - match: cumulative upkeep cost - mode: old - reminder: At the beginning of your upkeep, put an age counter on it, then sacrifice it unless you pay its upkeep cost for each age counter on it. -keyword: - keyword: Phasing - match: phasing - mode: old - reminder: It phases in or out before you untap during each of your untap steps. While it’s phased out, it’s treated as though it doesn’t exist. -keyword: - keyword: Flanking - match: flanking - mode: expert - reminder: Whenever a creature without flanking blocks the creature, the blocking creature gets -1/-1 until end of turn. -keyword: - keyword: Shadow - match: shadow - mode: expert - reminder: It can block or be blocked by only creatures with shadow. -keyword: - keyword: Denimwalk - match: denimwalk - mode: old - reminder: If defending player is wearing any clothing made of denim, the creature is unblockable. -keyword: - keyword: Buyback - match: buyback cost - mode: expert - reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast it. If you do, put it into your hand as it resolves. -keyword: - keyword: Echo - match: echo cost - mode: expert - reminder: At the beginning of your upkeep, if the permanent came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost. -keyword: - keyword: Cycling - match: cycling cost - mode: expert - reminder: {param1}, Discard it: Draw a card. -keyword: - keyword: Haste - match: haste - mode: core - reminder: It can attack and T as soon as it comes under your control. -keyword: - keyword: Horsemanship - match: horsemanship - mode: old - reminder: It can’t be blocked except by creatures with horsemanship. -keyword: - keyword: Fading - match: fading number - mode: expert - reminder: It enters the battlefield with {english_number_a(param1)} fade counter(s) on it. At the beginning of your upkeep, remove a fade counter from it. If you can’t, sacrifice it. -keyword: - keyword: Kicker - match: kicker cost - mode: expert - reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast the card. -keyword: - keyword: Flashback - match: flashback cost - mode: expert - reminder: You may cast it from your graveyard for its flashback cost. Then exile it. -keyword: - keyword: Threshold - match: Threshold - mode: pseudo - rules: Threshold — [effect] as long as seven or more cards are in your graveyard. -keyword: - keyword: Madness - match: madness cost - mode: expert - reminder: If you discard it, you may cast it for its madness cost instead of putting it into your graveyard. -keyword: - keyword: Morph - match: morph cost - mode: expert - reminder: You may cast it face down as a 2/2 creature for 3. Turn it face up any time for its morph cost. -keyword: - keyword: Fear - match: fear - mode: old - reminder: It can’t be blocked except by artifact creatures and/or black creatures. -keyword: - keyword: Amplify - match: amplify number - mode: expert - reminder: As it enters the battlefield, put {english_number_a(param1)} +1/+1 counter(s) on it for each creature that shares a type with it that you reveal in your hand. -keyword: - keyword: Double strike - match: double strike - mode: core - reminder: It deals both first-strike and regular combat damage. -keyword: - keyword: Provoke - match: provoke - mode: expert - reminder: When it attacks, you may have target creature defending player controls untap and block it if able. -keyword: - keyword: Typecycling - match: prefixcycling cost - mode: expert - reminder: {param2}, Discard it: Search your library for a {param1} card, reveal it, and put it into your hand. Then shuffle your library. -keyword: - keyword: Storm - match: storm - mode: expert - reminder: When you cast it, copy it for each spell cast before it this turn. You may choose new targets for the copies. -keyword: - keyword: Affinity for - match: affinity for name - mode: expert - reminder: It costs 1 less to cast for each {english_singular(param1)} you control. -keyword: - keyword: Entwine - match: entwine cost - mode: expert - reminder: Choose both if you pay the entwine cost. -keyword: - keyword: Equip - match: equip cost - mode: core - reminder: {param1}: Attach to target creature you control. Equip only as a sorcery. -keyword: - keyword: Imprint - match: Imprint - mode: pseudo - rules: Imprint — When it enters the battlefield, you may exile a [something] from [somewhere]. -keyword: - keyword: Modular - match: modular number - mode: expert - reminder: It enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. When it’s put into a graveyard, you may put its +1/+1 counters on target artifact creature. -keyword: - keyword: Scry - match: Scry number - mode: expert - 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 - mode: expert - reminder: It enters the battlefield with a +1/+1 counter on it for each color of mana spent to cast it. If it isn’t a creature, use charge counters instead. -keyword: - keyword: Art rampage - match: art rampage number - mode: expert - reminder: Whenever it blocked by a creature, it gets +{param1}/+{param1} for each creature in the blocker’s art beyond the first. -keyword: - keyword: Super haste - match: Super haste - mode: expert - reminder: It may attack the turn before you cast it. (You may have it enter the battlefield from your hand, tapped and attacking, during your declare attackers step. If you do, you lose the game at the end of your next turn unless you pay its mana cost during that turn.) -keyword: - keyword: Gotcha - match: Gotcha - mode: pseudo - rules: Gotcha — Whenever an opponent [does something], you may say “Gotcha!”. If you do, return [something] from your graveyard to your hand. -keyword: - keyword: Splice - match: splice onto name cost - mode: expert - reminder: As you cast a {param1} spell, you may reveal the card from your hand and pay its splice cost. If you do, add its effects to that spell. -keyword: - keyword: Bushido - match: bushido number - mode: expert - reminder: When it blocks or becomes blocked, it gets +{param1}/+{param1} until end of turn. -keyword: - keyword: Soulshift - match: soulshift number - mode: expert - reminder: When it is put into a graveyard from the battlefield, you may return target Spirit card with converted mana cost {param1} or less from your graveyard to your hand. -keyword: - keyword: Enchant - match: enchant name - mode: core - reminder: Target a {param1} as you cast the card. The card enters the battlefield attached to that {param1}. -keyword: - keyword: Vigilance - match: vigilance - mode: core - reminder: Attacking doesn’t cause it to tap. -keyword: - keyword: Defender - match: defender - mode: core - reminder: It can’t attack. -keyword: - keyword: Offering - match: prefix offering - mode: expert - reminder: You may cast it any time you could cast an instant by sacrificing a {param1} and paying the difference in mana costs between it and the sacrificed {param1}. Mana cost includes color. -keyword: - keyword: Ninjutsu - match: ninjutsu cost - mode: expert - reminder: {param1}, Return an unblocked attacker you control to hand: That card enters the battlefield from your hand tapped and attacking. -keyword: - keyword: Epic - match: epic - mode: expert - reminder: For the rest of the game, you can’t cast spells. At the beginning of each of your upkeeps, copy the card except for its epic ability. If it has any targets, you may choose new targets for the copy. -keyword: - keyword: Channel - match: Channel - mode: pseudo - rules: Channel — [cost], Discard a card: [effect]. -keyword: - keyword: Sweep - match: Sweep - mode: pseudo - rules: Sweep — Return any number of [basic land type] you control to their owner’s hand. [effect based on number of lands returned]. -keyword: - keyword: Convoke - match: convoke - mode: expert - reminder: Each creature you tap while casting the card reduces its cost by 1 or by one mana of that creature’s color. -keyword: - keyword: Transmute - match: transmute cost - mode: expert - reminder: {param1}, Discard it: Search your library for a card with the same converted mana cost as the discarded card, reveal it, and put it into your hand. Then shuffle your library. Activate only as a sorcery. -keyword: - keyword: Dredge - match: dredge number - mode: expert - reminder: If you would draw a card, instead you may put exactly {english_number(param1)} card(s) from the top of your library into your graveyard. If you do, return the card from your graveyard to your hand. Otherwise, draw a card. -keyword: - keyword: Radiance - match: Radiance - mode: pseudo - rules: Radiance — [effect to target permanent or spell and all cards of same card type that share a color with it]. -keyword: - keyword: Haunt - match: haunt - mode: expert - reminder: When it is put into a graveyard from the battlefield, or when it resolves if it is not a permanent, exile it haunting target creature. -keyword: - keyword: Bloodthirst - match: bloodthirst number - mode: expert - reminder: If an opponent was dealt damage this turn, the permanent enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. -keyword: - keyword: Replicate - match: replicate cost - mode: expert - reminder: When you cast it, copy it for each time you paid its replicate cost. You may choose new targets for the copies. -keyword: - keyword: Graft - match: graft number - mode: expert - reminder: It enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. Whenever a creature enters the battlefield, you may move a +1/+1 counter from the permanent onto it. -keyword: - keyword: Forecast - match: forecast — action, Reveal name from your hand: action - mode: expert - reminder: Activate the ability only during your upkeep and only once each turn. -keyword: - keyword: Hellbent - match: Hellbent - mode: pseudo - rules: Hellbent — [effect] if you have no cards in hand. -keyword: - keyword: Recover - match: recover cost - mode: expert - reminder: When a creature is put into your graveyard from the battlefield, you may {for_mana_costs(add:"pay ",param1)}. If you do, return the card from your graveyard to your hand. Otherwise, exile this card. -keyword: - keyword: Ripple - match: ripple number - mode: expert - reminder: When you cast it, you may reveal the top {english_number_multiple(param1)} card(s) of your library. You may cast any revealed cards with the same name as the card without paying their mana costs. Put the rest on the bottom of your library. -keyword: - keyword: Flash - match: flash - mode: core - reminder: You may cast it any time you could cast an instant. -keyword: - keyword: Split second - match: split second - mode: expert - reminder: As long as it is on the stack, players can’t cast spells or activate abilities that aren’t mana abilities. -keyword: - keyword: Suspend - match: suspend numbercost - mode: expert - reminder: Rather than cast it from your hand, you may pay {param2} and exile it with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost. If it is a creature, it has haste. -keyword: - keyword: Vanishing - match: vanishing number - mode: expert - reminder: It enters the battlefield with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it. -keyword: - keyword: Deathtouch - match: deathtouch - mode: expert - reminder: Creatures dealt damage by it are destroyed. You can divide its combat damage among any of the creatures blocking or blocked by it. -keyword: - keyword: Reach - match: reach - mode: core - reminder: It can block creatures with flying. -keyword: - keyword: Gravestorm - match: gravestorm - mode: expert - reminder: When you cast it, copy it for each permanent put into a graveyard this turn. You may choose new targets for the copies. -keyword: - keyword: Lifelink - match: lifelink - mode: core - reminder: Damage dealt by it also causes you to gain that much life. -keyword: - keyword: Absorb - match: absorb number - mode: expert - reminder: If a source would deal damage to it, prevent {param1} of that damage. -keyword: - keyword: Fateseal - match: fateseal number - mode: expert - reminder: - Look at the top { - if param1.value==1 then "card of an opponent’s library, then you may put it on the bottom of that player’s library." - else "{english_number(param1)} cards of an opponent’s library, then put any number of them on the bottom of that player’s library and the rest on top in any order." - } -keyword: - keyword: Transfigure - match: transfigure cost - mode: expert - reminder: {param1}, Sacrifice it: Search your library for a creature card with the same converted mana cost as the sacrificed card and have that card enter the battlefield. Then shuffle your library. Activate only as a sorcery. -keyword: - keyword: Aura swap - match: aura swap cost - mode: expert - reminder: {param1}: Exchange it with an Aura card in your hand. -keyword: - keyword: Frenzy - match: frenzy number - mode: expert - reminder: Whenever it attacks and isn’t blocked, it gets +{param1}/+0 until end of turn. -keyword: - keyword: Delve - match: delve - mode: expert - reminder: You may exile any number of cards in your graveyard as you cast it. It costs 1 less to cast for each card exiled this way. -keyword: - keyword: Poisonous - match: poisonous number - mode: expert - reminder: Whenever it deals combat damage to a player, that player gets {english_number_a(param1)} poison counter(s). A player with ten or more poison counters loses the game. -keyword: - keyword: Shroud - match: shroud - mode: core - reminder: It can’t be the target of spells or abilities. -keyword: - keyword: Fortify - match: fortify cost - mode: expert - reminder: {param1}: Attach to target land you control. Fortify only as a sorcery. It enters the battlefield unattached and stays in the battlefield if the land exits the battlefield. -keyword: - keyword: Grandeur - match: Grandeur - mode: pseudo - rules: Grandeur — Discard another card named [something]: [effect]. -keyword: - keyword: Evoke - match: evoke cost - mode: expert - reminder: You may cast it for its evoke cost. If you do, it’s sacrificed when it enters the battlefield. -keyword: - keyword: Champion - match: championaname - mode: expert - reminder: When it enters the battlefield, sacrifice it unless you exile another {param2} you control. When it exits the battlefield, return that card to the battlefield. -keyword: - keyword: Clash - match: clash - mode: expert - reminder: Each clashing player reveals the top card of his or her library, then puts that card on the top or bottom. A player wins if his or her card had a higher converted mana cost. -keyword: - keyword: Changeling - match: changeling - mode: expert - reminder: It is every creature type at all times. -keyword: - keyword: Hideaway - match: hideaway - mode: expert - reminder: The land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library. -keyword: - keyword: Prowl - match: prowl cost - mode: expert - reminder: You may cast it for its prowl cost if you dealt combat damage to a player this turn with a creature that shares a type with it. -keyword: - keyword: Reinforce - match: reinforce numbercost - mode: expert - reminder: {param2}, Discard it: Put {english_number_a(param1)} +1/+1 counter(s) on target creature. -keyword: - keyword: Kinship - match: Kinship - mode: pseudo - rules: Kinship — At the beginning of your upkeep, you may look at the top card of your library. If that card shares a creature type with it, you may reveal it. If you do, [effect]. -keyword: - keyword: Persist - match: persist - mode: expert - reminder: When it is put into a graveyard from the battlefield, if it had no -1/-1 counters on it, return it to the battlefield under its owner’s control with a -1/-1 counter on it. -keyword: - keyword: Wither - match: wither - mode: expert - reminder: It deals damage to creatures in the form of -1/-1 counters. -keyword: - keyword: Conspire - match: conspire - mode: expert - reminder: As you cast it, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose a new target for the copy. -keyword: - keyword: Retrace - match: retrace - mode: expert - reminder: You may cast it from your graveyard by discarding a land card in addition to paying its other costs. -keyword: - keyword: Chroma - match: Chroma - mode: pseudo - rules: Chroma — [effect] based on the number of [color] mana symbols [in graveyard, under your control, in cards you discard]. -keyword: - keyword: Unearth - match: unearth cost - mode: expert - reminder: {param1}: Return it from your graveyard to the battlefield. If it is a creature, it gains haste. Exile it at the beginning of the end step or if it would exit the battlefield. Unearth only as a sorcery. -keyword: - keyword: Devour - match: devour number - mode: expert - reminder: As it enters the battlefield, you may sacrifice any number of creatures. It enters the battlefield with { if param1.value == 1 then "" else if param1.value == 2 then "twice " else english_number(param1) + " times " }that many +1/+1 counters on it. -keyword: - keyword: Exalted - match: exalted - mode: expert - reminder: Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn. -keyword: - keyword: Domain - match: Domain - mode: pseudo - rules: Domain — [effect] for each basic land type among lands you control. -keyword: - keyword: Cascade - match: cascade - mode: expert - reminder: When you cast it, exile the top card of your library until you remove a nonland card that costs less. You may cast that card without paying its mana cost. Put the exiled cards on the bottom of your library at random. -keyword: - keyword: Intimidate - match: intimidate - mode: core - reminder: It can’t be blocked except by artifact creatures and/or creatures that share a color with it. +mse version: 0.3.8 +short name: Vanguard +full name: Magic Vanguard +installer group: Magic Vanguard/game files +icon: card-sample.png +position hint: 02 + +version: 2009-08-10 + +# Author : Wolfwood +# Most stuff is copy/pasted from magic.mse-game +############################################################## Functions & filters +# General functions +init script: + ############################################################## Sorting mana symbols + + # correctly sort a mana symbol (no guild mana) + mana_sort := sort_text@(order: "XYZI[0123456789]S(WUBRG)") + # correctly sort guild mana + mana_sort_guild := sort_text@(order: "[XYZI01234567890SWUBRG/|]") + + replace@( + match: "./.|././.|./././.|.[|]", + in_context: "(^|[^/])($|[^/])", + replace: {sort_text(order:"in_place((WUBRG)")} + ) + mana_has_guild := match@(match: "[/|]") # Is there guild or half mana in the input? + # A mana cost can contain both normal and guild mana + mana_filter := to_upper + { + if mana_has_guild() then mana_sort_guild() + else mana_sort() + } + # Like mana filter, only also allow tap symbols: + tap_filter := sort_text@(order: "") + mana_filter_t := replace@( # Remove [] used for forcing mana symbols + match: "[\\[\\]]", + replace: "" + ) + { tap_filter() + mana_filter() } + + ############################################################## Utilities for keywords + + # replaces — correctly + add := "" # default is nothing + for_mana_costs := format_cost := { + if input.separator_before == "—" and contains(input.param, " ") then ( + if contains(input.param, match:",") then ( + if match(match: "^[SCTQXYZIWUBRG0-9/|]+,", input.param) then + "{add}{combined_cost(input.param)}" + else "{combined_cost(input.param)}" + ) else + "{alternative_cost(input.param)}" + ) else + "{add}{input.param}" + } + alternative_cost := replace@(match:"^[A-Z]", replace: { to_lower() }) + combined_cost := replace@(match:", [A-Z]", replace: { to_lower() })+ + replace@(match:",", replace:" and")+ + replace@(match:"^[SCTQXYZIWUBRG0-9/|]", in_context: "(^|[[:space:]])", replace: "&")+ + replace@(match:"^[A-Z]", replace: { to_lower() }) + long_dash := replace@(match:"-", replace:"—") + + # Converted mana cost + is_half_mana := match@(match: "1/2|[|][WUBRGS]") + is_colored_mana := match@(match: "[WUBRG]") + only_numbers := filter_text@(match: "^[0123456789]+") + cmc_split := break_text@(match: "(?ix) 1/2 | [|][WUBRG] | [0-9]+(?!/[WUBRGSCTQ2]) | [WUBRGS0-9](/[WUBRGS])\{0,4} ") + cmc := {to_number( + for each sym in cmc_split() do ( + numbers := only_numbers(sym) + if is_half_mana(sym) then 0.5 + else if numbers != "" then max(1, to_int(numbers)) + else 1 # all other symbols are 1 + )) + } + + colored_mana := {to_number( + for each sym in cmc_split() do ( + numbers := only_numbers(sym) + if is_colored_mana(sym) then + if is_half_mana(sym) then 0.5 else 1 + else 0 + )) + } + + ############################################################## The text box + + # Filters for the text box + # context in which mana symbols are found + mana_context := + "(?ix) # case insensitive, ignore whitespace + (^|[[:space:]\"(]) # start of a word + ( : # G: something + | , # G, tap: something + | [ ]can[ ]be[ ]pay + | (pays?|additional|costs?|the # pay X. creatures cost 1 less. pay an additional G. + |adds?|pay(ed)?[ ](with|using) + ) + ([ ]either)? # pay either X or Y + ([ ]]*>[CTQSXYZIWUBRG0-9/|]+]*>[ ](and|or))* # pay X or Y + [ ] + ([,.)]|$ # (end of word) + |[ ][^ .,]*$ # still typing... + |[ ]( or | and | in | less | more | to ) # or next word is ... + ) + ) + | # keyword argument that is declared as mana + | [ ]* # keyword argument that is declared as cost + | , # keyword argument that is declared as cost + "; + # the rule text filter + # - adds mana symbols + # - makes text in parentheses italic + text_filter := + # step 1 : remove all automatic tags + remove_tag@(tag: "") + + remove_tag@(tag: "") + + remove_tag@(tag: "{keyword}" + else keyword + if expand then " ({reminder})" } + ) + + # step 2b : move inline keywords' reminder text to the end of the line + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + replace@( + match: "(.*]*>)([^\n(]+)", + replace: "\\2\\1" + ) + + # step 3 : expand shortcut words ~ and CARDNAME + replace@( + match: "CARDNAME", + in_context: "(^|[[:space:]]|\\()", + replace: "" + ) + + # step 4 : fill in atom fields + tag_contents@( + tag: "", + contents: { if card.name=="" then "CARDNAME" else card.type + " - " + card.name } + ) + + # step 4.5 : explict non mana symbols + replace@( + match: "\\][SCTQXYZIWUBRG0-9/|]+\\[", + replace: {"" + mana_filter_t() + ""} ) + + # step 5 : add mana & tap symbols + replace@( + match: "[SCTQXYZIWUBRG0-9/|]+", + in_context: mana_context, + replace: {"" + mana_filter_t() + ""} ) + + # step 5b : add explict mana symbols + replace@( + match: "\\[[SCTQXYZIWUBRG0-9/|]+\\]", + replace: {"" + mana_filter_t() + ""} ) + + # step 7 : italic reminder text + replace@( + match: "[(][^)\n]*[)]?", + in_context: "(^|[[:space:]])|", + replace: "&") + + # step 8 : automatic capitalization, but not after "(" + replace@( + match: "[a-z]", + in_context: "[ ]*: |—| — ", + replace: { to_upper() }) + curly_quotes + + ############################################################## Other boxes + # the flavor text filter + # - makes all text italic + flavor_text_filter := + # step 2 : remove italic tags + remove_tag@(tag: "") + + # step 3 : surround by tags + { "" + input + "" } + + # curly quotes + curly_quotes + + # Process the name for sorting rules + sort_name := + # Remove "The", "A", and "And" at the beginning + replace@(match: "^(The|An?) ", replace: "") + + # Remove commas and apostrophes + replace@(match: "(,|'|’)", replace: "") + + # Remove bold and italic tags + replace@(match: "(|||)", replace: "") + + # Make lowercase + to_lower + + #Necessary to make magic-mana-future play nicely + colorless_color := { "c" } + + word_count := break_text@(match:"[^[:space:]]+") + length + +############################################################## Set fields +set field: + type: info + name: Set Information +set field: + type: text + name: title +set field: + type: text + name: description + multi line: true +set field: + type: text + name: artist +set field: + type: text + name: copyright +set field: + type: info + name: Defaults and Automation +set field: + type: color + name: border color + description: The default border color for cards + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + choice: + name: silver + color: rgb(128,128,128) + choice: + name: gold + color: rgb(200,180,0) +set field: + type: multiple choice + name: automatic reminder text + choice: old + choice: core + choice: expert + choice: pseudo + choice: custom + initial: old, pseudo, custom + # Convert from older mse versions + script: + if value = "yes" then "old, core, expert, custom" + else if value = "no" then "" + else value + description: For which kinds of keywords should reminder text be added by default? Note: you can enable/disable reminder text by right clicking the keyword. +set field: + type: boolean + name: automatic card numbers + initial: no + description: Should card numbers be shown on the cards? +############################# Default style +default set style: + title: + padding left: 2 + font: + size: 16 + automatic reminder text: + render style: checklist + direction: vertical +############################################################## Card fields +############################# Background stuff +card field: + type: color + name: border color + default: set.border_color + choice: + name: black + color: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + choice: + name: silver + color: rgb(128,128,128) + choice: + name: gold + color: rgb(200,180,0) + show statistics: false + description: The border of the card; can be any solid color +card field: + type: choice + name: background + choice: normal + show statistics: false + editable: false +############################# Name line +card field: + type: text + name: name + identifying: true + show statistics: false + card list visible: true + card list column: 1 + card list width: 150 + description: The name of the card +############################# Image +card field: + type: image + name: image + show statistics: false + description: The image of the card +############################# Card type +card field: + type: text + name: type + card list visible: true + card list column: 2 + description: The type of the card +############################# Text box +card field: + type: text + name: rule text + script: text_filter(value) + show statistics: false + multi line: true + description: The rules text of the card +card field: + type: text + name: flavor text + script: flavor_text_filter(value) + show statistics: false + multi line: true + description: The flavor text of the card +############################# PT +card field: + type: text + name: handmod + card list visible: true + card list column: 3 + card list width: 50 + card list name: hand + description: The starting and maximum hand size modifier +card field: + type: text + name: lifemod + card list visible: true + card list column: 4 + card list width: 50 + card list name: life + description: The starting life total modifier +############################# Card sorting / numbering +card field: + type: text + name: card number + save value: false + script: + position( + of: card + in: set + order_by: { sort_name(card.name) } + ) + 1 + + "/" + + number_of_items(in: set) + card list visible: true + card list column: 10 + card list width: 50 + card list name: # + editable: false + show statistics: false +############################# Copyright stuff +card field: + type: text + name: illustrator + default: set.artist + description: The illustrator of the image + icon: stats/illustrator.png +card field: + type: text + name: copyright + default: set.copyright + show statistics: false + editable: false +card field: + type: text + name: copyright line + save value: false + show statistics: false + script: + if set.automatic_card_numbers then + combined_editor(field1: card.copyright, separator: " ", field2: card.card_number) + else + forward_editor(field: card.copyright) + description: The copyright and card number of the card +############################################################### Extra Statistics +statistics dimension: + name: keywords + position hint: 1000 + script: keyword_usage(unique:true) + show empty: false + split list: true + icon: stats/keywords.png +statistics dimension: + name: style + position hint: 1001 + script: stylesheet.short_name + icon: stats/stylesheet.png +statistics dimension: + name: text length (words) + position hint: 100 + script: word_count(to_text(card.rule_text)) + numeric: true + bin size: 5 + icon: stats/text_length.png +############################################################## Auto replace +# Do we need categories? +#auto replace category: text box +#auto replace category: copyright +#auto replace category: everywhere +auto replace: + match: (C) + replace: © +auto replace: + match: AE + replace: Æ + whole word: false +auto replace: + match: TM + replace: ™ + whole word: false +auto replace: + match: -- + replace: — +auto replace: + # note the spaces + match: + - + replace: + — +auto replace: + match: CIP + replace: enters the battlefield +auto replace: + match: AAA + replace: as an additional cost to cast +auto replace: + match: ~ + replace: CARDNAME +auto replace: + match: ' + replace: ’ +############################################################## Card pack items +pack type: + name: card + filter: card.name != "" +############################################################## Card packs +pack type: + name: booster pack + item: + name: card + amount: 1 +############################################################## Keywords +############################# Keyword rules + +has keywords: true + +#keyword preview: {keyword} ({reminder}) + +keyword mode: + name: old + description: Old keywords (Banding, Phasing, etc.) +keyword mode: + name: core + description: Core set keywords (Flying, Regenerate, etc.) +keyword mode: + name: expert + description: Expert level keywords (Scry, Vanishing, etc.) +keyword mode: + name: pseudo + description: Pseudo keyword / named ability (Hellbent, Threshold, etc.) +keyword mode: + is default: true + name: custom + description: Custom keywords + +keyword parameter type: + name: mana + match: [SCTQXYZI0-9WUBRG/|]+ + refer script: + name: normal + description: No changes made + script: \{{input}\} + refer script: + name: converted mana cost + description: Converts mana to number + # "0" left in so users can easily see how to edit script. + script: \{cmc({input}) + 0\} + refer script: + name: colored mana cost + description: Converts mana to number of colored mana + # "0" left in so users can easily see how to edit script. + script: \{colored_mana({input}) + 0\} +# By pichoro and bunnierein +keyword parameter type: + name: cost + match: [ ][SCTQXYZI0-9WUBRG/|]*|[-—][^(\n]* + separator before is: [ —-] + separator after is: [.] + optional: false + # note: the separator is part of match + refer script: + name: normal + description: When using mana only costs, doesn't include anything extra in the reminder text + script: \{{input}\} + refer script: + name: add "pay an additional " for mana costs + description: When using mana only costs, words the reminder text as "pay an additional " + script: \{for_mana_costs(add:"pay an additional ",{input})\} + refer script: + name: add "pay " for mana costs + description: When using mana only costs, words the reminder text as "pay " + script: \{for_mana_costs(add:"pay ",{input})\} + separator script: long_dash() +keyword parameter type: + name: number + match: [XYZ0-9]+ + refer script: + name: normal + description: (1,2,3) + script: \{{input}\} + refer script: + name: as words + description: (one, two, three) + script: \{english_number({input})\} + refer script: + name: as words, use "a" for 1 + description: (a, two, three) + script: \{english_number_a({input})\} + refer script: + name: as words, use "" for 1 + description: (, two, three) + script: \{english_number_multiple({input})\} +keyword parameter type: + name: action + match: [^(:\n]+ + separator after is: [.] + reminder script: alternative_cost() +keyword parameter type: + name: name + match: [^(.:;\n—]+ + refer script: + name: normal + description: No changes made. + script: \{{input}\} + refer script: + name: singular + description: Removes plurality from words. + script: \{english_singular({input})\} +keyword parameter type: + name: prefix + description: Prefix for things like "walk" + optional: false + match: [A-Z][A-Z,a-z’ ]* + example: Forest +keyword parameter type: + name: a + match: [ ]*|[ an?]* +############################# All Magic keywords +# By JrEye and Neko_Asakami, Updated by Pichoro and Buttock1234 +keyword: + keyword: Flying + match: flying + mode: core + reminder: It can’t be blocked except by creatures with flying or reach. +keyword: + keyword: First strike + match: first strike + mode: core + reminder: It deals combat damage before creatures without first strike. +keyword: + keyword: Trample + match: trample + mode: core + reminder: If it would deal enough combat damage to its blockers to destroy them, you may have it deal the rest of its damage to defending player or planeswalker. +keyword: + keyword: Banding + match: banding + mode: old + reminder: Any creatures with banding, and up to one without, can attack in a band. Bands are blocked as a group. If any creatures with banding you control are blocking or being blocked by a creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. +keyword: + keyword: Landwalk + match: prefixwalk + mode: core + reminder: This creature is unblockable as long as defending player controls a {if match(param1.value, match: " land$") or contains(param1.value, match: "Snow") or contains(param1.value, match:"Basic") or contains(param1.value, match:"Legendary") then "{to_lower(param1)}" else "{param1}"}. +keyword: + keyword: Protection from + match: protection from name + mode: core + reminder: It can’t be blocked, targeted, dealt damage, enchanted, or equipped by anything {english_singular(param1)}. +keyword: + keyword: Regeneration + match: Regenerate + mode: core + reminder: The next time it would be destroyed this turn, it isn’t. If it is a creature, instead tap it, remove all damage from it, and remove it from combat. +keyword: + keyword: Bands with other + match: bands with other name + mode: old + reminder: Any {param1} can attack in a band as long as at least one has “bands with other {param1}.” Bands are blocked as a group. If at least two {param1} you control, one of which has “bands with other {param1},” are blocking or being blocked by the same creature, you divide that creature’s combat damage, not its controller, among any of the creatures it’s being blocked by or is blocking. +keyword: + keyword: Rampage + match: rampage number + mode: old + reminder: Whenever it becomes blocked, it gets +{param1}/+{param1} until end of turn for each creature blocking it beyond the first. +keyword: + keyword: Cumulative upkeep + match: cumulative upkeep cost + mode: old + reminder: At the beginning of your upkeep, put an age counter on it, then sacrifice it unless you pay its upkeep cost for each age counter on it. +keyword: + keyword: Phasing + match: phasing + mode: old + reminder: It phases in or out before you untap during each of your untap steps. While it’s phased out, it’s treated as though it doesn’t exist. +keyword: + keyword: Flanking + match: flanking + mode: expert + reminder: Whenever a creature without flanking blocks the creature, the blocking creature gets -1/-1 until end of turn. +keyword: + keyword: Shadow + match: shadow + mode: expert + reminder: It can block or be blocked by only creatures with shadow. +keyword: + keyword: Denimwalk + match: denimwalk + mode: old + reminder: If defending player is wearing any clothing made of denim, the creature is unblockable. +keyword: + keyword: Buyback + match: buyback cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast it. If you do, put it into your hand as it resolves. +keyword: + keyword: Echo + match: echo cost + mode: expert + reminder: At the beginning of your upkeep, if the permanent came under your control since the beginning of your last upkeep, sacrifice it unless you pay its echo cost. +keyword: + keyword: Cycling + match: cycling cost + mode: expert + reminder: {param1}, Discard it: Draw a card. +keyword: + keyword: Haste + match: haste + mode: core + reminder: It can attack and T as soon as it comes under your control. +keyword: + keyword: Horsemanship + match: horsemanship + mode: old + reminder: It can’t be blocked except by creatures with horsemanship. +keyword: + keyword: Fading + match: fading number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} fade counter(s) on it. At the beginning of your upkeep, remove a fade counter from it. If you can’t, sacrifice it. +keyword: + keyword: Kicker + match: kicker cost + mode: expert + reminder: You may {for_mana_costs(add:"pay an additional ",param1)} as you cast the card. +keyword: + keyword: Flashback + match: flashback cost + mode: expert + reminder: You may cast it from your graveyard for its flashback cost. Then exile it. +keyword: + keyword: Threshold + match: Threshold + mode: pseudo + rules: Threshold — [effect] as long as seven or more cards are in your graveyard. +keyword: + keyword: Madness + match: madness cost + mode: expert + reminder: If you discard it, you may cast it for its madness cost instead of putting it into your graveyard. +keyword: + keyword: Morph + match: morph cost + mode: expert + reminder: You may cast it face down as a 2/2 creature for 3. Turn it face up any time for its morph cost. +keyword: + keyword: Fear + match: fear + mode: old + reminder: It can’t be blocked except by artifact creatures and/or black creatures. +keyword: + keyword: Amplify + match: amplify number + mode: expert + reminder: As it enters the battlefield, put {english_number_a(param1)} +1/+1 counter(s) on it for each creature that shares a type with it that you reveal in your hand. +keyword: + keyword: Double strike + match: double strike + mode: core + reminder: It deals both first-strike and regular combat damage. +keyword: + keyword: Provoke + match: provoke + mode: expert + reminder: When it attacks, you may have target creature defending player controls untap and block it if able. +keyword: + keyword: Typecycling + match: prefixcycling cost + mode: expert + reminder: {param2}, Discard it: Search your library for a {param1} card, reveal it, and put it into your hand. Then shuffle your library. +keyword: + keyword: Storm + match: storm + mode: expert + reminder: When you cast it, copy it for each spell cast before it this turn. You may choose new targets for the copies. +keyword: + keyword: Affinity for + match: affinity for name + mode: expert + reminder: It costs 1 less to cast for each {english_singular(param1)} you control. +keyword: + keyword: Entwine + match: entwine cost + mode: expert + reminder: Choose both if you pay the entwine cost. +keyword: + keyword: Equip + match: equip cost + mode: core + reminder: {param1}: Attach to target creature you control. Equip only as a sorcery. +keyword: + keyword: Imprint + match: Imprint + mode: pseudo + rules: Imprint — When it enters the battlefield, you may exile a [something] from [somewhere]. +keyword: + keyword: Modular + match: modular number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. When it’s put into a graveyard, you may put its +1/+1 counters on target artifact creature. +keyword: + keyword: Scry + match: Scry number + mode: expert + 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 + mode: expert + reminder: It enters the battlefield with a +1/+1 counter on it for each color of mana spent to cast it. If it isn’t a creature, use charge counters instead. +keyword: + keyword: Art rampage + match: art rampage number + mode: expert + reminder: Whenever it blocked by a creature, it gets +{param1}/+{param1} for each creature in the blocker’s art beyond the first. +keyword: + keyword: Super haste + match: Super haste + mode: expert + reminder: It may attack the turn before you cast it. (You may have it enter the battlefield from your hand, tapped and attacking, during your declare attackers step. If you do, you lose the game at the end of your next turn unless you pay its mana cost during that turn.) +keyword: + keyword: Gotcha + match: Gotcha + mode: pseudo + rules: Gotcha — Whenever an opponent [does something], you may say “Gotcha!”. If you do, return [something] from your graveyard to your hand. +keyword: + keyword: Splice + match: splice onto name cost + mode: expert + reminder: As you cast a {param1} spell, you may reveal the card from your hand and pay its splice cost. If you do, add its effects to that spell. +keyword: + keyword: Bushido + match: bushido number + mode: expert + reminder: When it blocks or becomes blocked, it gets +{param1}/+{param1} until end of turn. +keyword: + keyword: Soulshift + match: soulshift number + mode: expert + reminder: When it is put into a graveyard from the battlefield, you may return target Spirit card with converted mana cost {param1} or less from your graveyard to your hand. +keyword: + keyword: Enchant + match: enchant name + mode: core + reminder: Target a {param1} as you cast the card. The card enters the battlefield attached to that {param1}. +keyword: + keyword: Vigilance + match: vigilance + mode: core + reminder: Attacking doesn’t cause it to tap. +keyword: + keyword: Defender + match: defender + mode: core + reminder: It can’t attack. +keyword: + keyword: Offering + match: prefix offering + mode: expert + reminder: You may cast it any time you could cast an instant by sacrificing a {param1} and paying the difference in mana costs between it and the sacrificed {param1}. Mana cost includes color. +keyword: + keyword: Ninjutsu + match: ninjutsu cost + mode: expert + reminder: {param1}, Return an unblocked attacker you control to hand: That card enters the battlefield from your hand tapped and attacking. +keyword: + keyword: Epic + match: epic + mode: expert + reminder: For the rest of the game, you can’t cast spells. At the beginning of each of your upkeeps, copy the card except for its epic ability. If it has any targets, you may choose new targets for the copy. +keyword: + keyword: Channel + match: Channel + mode: pseudo + rules: Channel — [cost], Discard a card: [effect]. +keyword: + keyword: Sweep + match: Sweep + mode: pseudo + rules: Sweep — Return any number of [basic land type] you control to their owner’s hand. [effect based on number of lands returned]. +keyword: + keyword: Convoke + match: convoke + mode: expert + reminder: Each creature you tap while casting the card reduces its cost by 1 or by one mana of that creature’s color. +keyword: + keyword: Transmute + match: transmute cost + mode: expert + reminder: {param1}, Discard it: Search your library for a card with the same converted mana cost as the discarded card, reveal it, and put it into your hand. Then shuffle your library. Activate only as a sorcery. +keyword: + keyword: Dredge + match: dredge number + mode: expert + reminder: If you would draw a card, instead you may put exactly {english_number(param1)} card(s) from the top of your library into your graveyard. If you do, return the card from your graveyard to your hand. Otherwise, draw a card. +keyword: + keyword: Radiance + match: Radiance + mode: pseudo + rules: Radiance — [effect to target permanent or spell and all cards of same card type that share a color with it]. +keyword: + keyword: Haunt + match: haunt + mode: expert + reminder: When it is put into a graveyard from the battlefield, or when it resolves if it is not a permanent, exile it haunting target creature. +keyword: + keyword: Bloodthirst + match: bloodthirst number + mode: expert + reminder: If an opponent was dealt damage this turn, the permanent enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. +keyword: + keyword: Replicate + match: replicate cost + mode: expert + reminder: When you cast it, copy it for each time you paid its replicate cost. You may choose new targets for the copies. +keyword: + keyword: Graft + match: graft number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} +1/+1 counter(s) on it. Whenever a creature enters the battlefield, you may move a +1/+1 counter from the permanent onto it. +keyword: + keyword: Forecast + match: forecast — action, Reveal name from your hand: action + mode: expert + reminder: Activate the ability only during your upkeep and only once each turn. +keyword: + keyword: Hellbent + match: Hellbent + mode: pseudo + rules: Hellbent — [effect] if you have no cards in hand. +keyword: + keyword: Recover + match: recover cost + mode: expert + reminder: When a creature is put into your graveyard from the battlefield, you may {for_mana_costs(add:"pay ",param1)}. If you do, return the card from your graveyard to your hand. Otherwise, exile this card. +keyword: + keyword: Ripple + match: ripple number + mode: expert + reminder: When you cast it, you may reveal the top {english_number_multiple(param1)} card(s) of your library. You may cast any revealed cards with the same name as the card without paying their mana costs. Put the rest on the bottom of your library. +keyword: + keyword: Flash + match: flash + mode: core + reminder: You may cast it any time you could cast an instant. +keyword: + keyword: Split second + match: split second + mode: expert + reminder: As long as it is on the stack, players can’t cast spells or activate abilities that aren’t mana abilities. +keyword: + keyword: Suspend + match: suspend numbercost + mode: expert + reminder: Rather than cast it from your hand, you may pay {param2} and exile it with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter. When the last is removed, cast it without paying its mana cost. If it is a creature, it has haste. +keyword: + keyword: Vanishing + match: vanishing number + mode: expert + reminder: It enters the battlefield with {english_number_a(param1)} time counter(s) on it. At the beginning of your upkeep, remove a time counter from it. When the last is removed, sacrifice it. +keyword: + keyword: Deathtouch + match: deathtouch + mode: expert + reminder: Creatures dealt damage by it are destroyed. You can divide its combat damage among any of the creatures blocking or blocked by it. +keyword: + keyword: Reach + match: reach + mode: core + reminder: It can block creatures with flying. +keyword: + keyword: Gravestorm + match: gravestorm + mode: expert + reminder: When you cast it, copy it for each permanent put into a graveyard this turn. You may choose new targets for the copies. +keyword: + keyword: Lifelink + match: lifelink + mode: core + reminder: Damage dealt by it also causes you to gain that much life. +keyword: + keyword: Absorb + match: absorb number + mode: expert + reminder: If a source would deal damage to it, prevent {param1} of that damage. +keyword: + keyword: Fateseal + match: fateseal number + mode: expert + reminder: + Look at the top { + if param1.value==1 then "card of an opponent’s library, then you may put it on the bottom of that player’s library." + else "{english_number(param1)} cards of an opponent’s library, then put any number of them on the bottom of that player’s library and the rest on top in any order." + } +keyword: + keyword: Transfigure + match: transfigure cost + mode: expert + reminder: {param1}, Sacrifice it: Search your library for a creature card with the same converted mana cost as the sacrificed card and have that card enter the battlefield. Then shuffle your library. Activate only as a sorcery. +keyword: + keyword: Aura swap + match: aura swap cost + mode: expert + reminder: {param1}: Exchange it with an Aura card in your hand. +keyword: + keyword: Frenzy + match: frenzy number + mode: expert + reminder: Whenever it attacks and isn’t blocked, it gets +{param1}/+0 until end of turn. +keyword: + keyword: Delve + match: delve + mode: expert + reminder: You may exile any number of cards in your graveyard as you cast it. It costs 1 less to cast for each card exiled this way. +keyword: + keyword: Poisonous + match: poisonous number + mode: expert + reminder: Whenever it deals combat damage to a player, that player gets {english_number_a(param1)} poison counter(s). A player with ten or more poison counters loses the game. +keyword: + keyword: Shroud + match: shroud + mode: core + reminder: It can’t be the target of spells or abilities. +keyword: + keyword: Fortify + match: fortify cost + mode: expert + reminder: {param1}: Attach to target land you control. Fortify only as a sorcery. It enters the battlefield unattached and stays in the battlefield if the land exits the battlefield. +keyword: + keyword: Grandeur + match: Grandeur + mode: pseudo + rules: Grandeur — Discard another card named [something]: [effect]. +keyword: + keyword: Evoke + match: evoke cost + mode: expert + reminder: You may cast it for its evoke cost. If you do, it’s sacrificed when it enters the battlefield. +keyword: + keyword: Champion + match: championaname + mode: expert + reminder: When it enters the battlefield, sacrifice it unless you exile another {param2} you control. When it exits the battlefield, return that card to the battlefield. +keyword: + keyword: Clash + match: clash + mode: expert + reminder: Each clashing player reveals the top card of his or her library, then puts that card on the top or bottom. A player wins if his or her card had a higher converted mana cost. +keyword: + keyword: Changeling + match: changeling + mode: expert + reminder: It is every creature type at all times. +keyword: + keyword: Hideaway + match: hideaway + mode: expert + reminder: The land enters the battlefield tapped. When it does, look at the top four cards of your library, exile one face down, then put the rest on the bottom of your library. +keyword: + keyword: Prowl + match: prowl cost + mode: expert + reminder: You may cast it for its prowl cost if you dealt combat damage to a player this turn with a creature that shares a type with it. +keyword: + keyword: Reinforce + match: reinforce numbercost + mode: expert + reminder: {param2}, Discard it: Put {english_number_a(param1)} +1/+1 counter(s) on target creature. +keyword: + keyword: Kinship + match: Kinship + mode: pseudo + rules: Kinship — At the beginning of your upkeep, you may look at the top card of your library. If that card shares a creature type with it, you may reveal it. If you do, [effect]. +keyword: + keyword: Persist + match: persist + mode: expert + reminder: When it is put into a graveyard from the battlefield, if it had no -1/-1 counters on it, return it to the battlefield under its owner’s control with a -1/-1 counter on it. +keyword: + keyword: Wither + match: wither + mode: expert + reminder: It deals damage to creatures in the form of -1/-1 counters. +keyword: + keyword: Conspire + match: conspire + mode: expert + reminder: As you cast it, you may tap two untapped creatures you control that share a color with it. When you do, copy it and you may choose a new target for the copy. +keyword: + keyword: Retrace + match: retrace + mode: expert + reminder: You may cast it from your graveyard by discarding a land card in addition to paying its other costs. +keyword: + keyword: Chroma + match: Chroma + mode: pseudo + rules: Chroma — [effect] based on the number of [color] mana symbols [in graveyard, under your control, in cards you discard]. +keyword: + keyword: Unearth + match: unearth cost + mode: expert + reminder: {param1}: Return it from your graveyard to the battlefield. If it is a creature, it gains haste. Exile it at the beginning of the end step or if it would exit the battlefield. Unearth only as a sorcery. +keyword: + keyword: Devour + match: devour number + mode: expert + reminder: As it enters the battlefield, you may sacrifice any number of creatures. It enters the battlefield with { if param1.value == 1 then "" else if param1.value == 2 then "twice " else english_number(param1) + " times " }that many +1/+1 counters on it. +keyword: + keyword: Exalted + match: exalted + mode: expert + reminder: Whenever a creature you control attacks alone, that creature gets +1/+1 until end of turn. +keyword: + keyword: Domain + match: Domain + mode: pseudo + rules: Domain — [effect] for each basic land type among lands you control. +keyword: + keyword: Cascade + match: cascade + mode: expert + reminder: When you cast it, exile the top card of your library until you remove a nonland card that costs less. You may cast that card without paying its mana cost. Put the exiled cards on the bottom of your library at random. +keyword: + keyword: Intimidate + match: intimidate + mode: core + reminder: It can’t be blocked except by artifact creatures and/or creatures that share a color with it. diff --git a/data/vs-alter.mse-style/style b/data/vs-alter.mse-style/style index 98e9b5c6..1ca3f4ed 100644 --- a/data/vs-alter.mse-style/style +++ b/data/vs-alter.mse-style/style @@ -1,204 +1,204 @@ -mse version: 0.3.7 -game: vs -full name: VS Alter Ego -installer group: VS System/Alter Ego -short name: Alter Ego -icon: card-sample.png -position hint: 008 - -version: 2008-10-26 -depends on: - package: vs.mse-game - version: 2008-10-26 -depends on: - package: vs-common.mse-include - version: 2008-01-03 -depends on: - package: vs-standard-arrow.mse-symbol-font - version: 2008-01-03 - -card background: white -card width: 375 -card height: 523 -card dpi: 150 - -############################################################## Extra scripts -init script: - card_shape := { if styling.style_sorting then "alter ego" else "new" } -############################################################## Set info fields -############################################################## Extra style -styling field: - type: boolean - name: style sorting - description: Should this style of card sort as separate from cards of other styles? - initial: no -styling field: - type: package choice - name: text box symbols - match: vs-standard-*.mse-symbol-font - initial: vs-standard-arrow.mse-symbol-font -styling field: - type: boolean - name: foils - description: Use foil backgrounds? - initial: no -############################################################## Card fields -card style: - ############################# Background stuff - card type: - left: 0 - top: 0 - width: 375 - height: 523 - z index: -2 - render style: image - popup style: in place - choice images: - characters visible character: card.jpg - characters visible character dual: card.jpg - characters visible character dual (new): card.jpg - characters hidden concealed: card.jpg - characters hidden concealed dual: card.jpg - characters hidden concealed dual (new): card.jpg - characters concealed-optional concealed-optional character: card.jpg - characters concealed-optional concealed-optional dual: card.jpg - characters concealed-optional concealed-optional dual (new): card.jpg - equipment visible equipment: card.jpg - equipment concealed equipment: card.jpg - equipment concealed-optional equipment: card.jpg - location: card.jpg - plot twist: card.jpg - planet: card.jpg - ############################# Name line - full name: - left: 80 - top : 25 - width: 230 - height: 24 - alignment: middle center shrink-overflow - padding bottom: 0 - z index: 4 - font: - name: Percolator Expert TM - size: 22 - color: rgb(255,213,128) - symbol font: - name: vs-standard-arrow - size: 15 - alignment: middle center - cost: - left: 25 - top : 30 - width: 25 - height: 41 - alignment: bottom center - font: - name: BadhouseBoldNumbers - size: 40 - color: rgb(255,213,128) - z index: 4 - padding top: 0 - ############################# Image - image: - left: 19 - top: 73 - width: 339 - height: 315 - z index: 1 - card symbol: - left: 310 - top : 33 - height: 30 - width: 45 - render style: image - choice images: - Marvel: marvel.png - DC-new: /vs-common.mse-include/dcnew.png - DC-old: /vs-common.mse-include/dcold.png - Hellboy: /vs-common.mse-include/hellboy.png - Other...: { set.custom_logo } - z index: 3 - ############################# Type Bar - ############################# Version - ############################# Card ID - ############################# Affiliation - ############################# FlightRange - ############################# Text box - rule text: - left: 20 - top : 410 - width: 338 - height: 60 - font: - name: Eurostile - italic name: EurostileObl-Normal - size: 12 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_symbols } - size: 11 - alignment: middle center - alignment: middle center shrink-overflow - z index: 3 - padding left: 2 - padding top: 5 - padding right: 2 - padding bottom: 2 - line height hard: 1.4 - ############################# Attack/defence - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 20 - top : 475 - width: 338 - height: 15 - alignment: middle center - z index: 4 - font: - name: Eurostile - size: 9 - color: rgb(255,255,255) - copyright: - left: 20 - top : 490 - width: 338 - height: 15 - z index: 4 - alignment: middle center - font: - name: Eurostile - size: 8 - color: rgb(255,255,255) -############################################################## Extra card fields -extra card field: - type: choice - name: overlay - script: "overlay" - editable: false -extra card field: - type: choice - name: foil layer - choice: foil - editable: false -extra card style: - overlay: - left: 20 - top: 73 - width: 337 - height: 320 - z index: 1 - render style: image - choice images: - overlay: overlay.png - foil layer: - left: 0 - top : 0 - width: { if styling.foils=="no" then 0 else 375 } - height: { if styling.foils=="no" then 0 else 523 } - z index: 8 - render style: image - choice images: - foil: /vs-common.mse-include/foil.png - visible: { styling.foils } +mse version: 0.3.7 +game: vs +full name: VS Alter Ego +installer group: VS System/Alter Ego +short name: Alter Ego +icon: card-sample.png +position hint: 008 + +version: 2008-10-26 +depends on: + package: vs.mse-game + version: 2008-10-26 +depends on: + package: vs-common.mse-include + version: 2008-01-03 +depends on: + package: vs-standard-arrow.mse-symbol-font + version: 2008-01-03 + +card background: white +card width: 375 +card height: 523 +card dpi: 150 + +############################################################## Extra scripts +init script: + card_shape := { if styling.style_sorting then "alter ego" else "new" } +############################################################## Set info fields +############################################################## Extra style +styling field: + type: boolean + name: style sorting + description: Should this style of card sort as separate from cards of other styles? + initial: no +styling field: + type: package choice + name: text box symbols + match: vs-standard-*.mse-symbol-font + initial: vs-standard-arrow.mse-symbol-font +styling field: + type: boolean + name: foils + description: Use foil backgrounds? + initial: no +############################################################## Card fields +card style: + ############################# Background stuff + card type: + left: 0 + top: 0 + width: 375 + height: 523 + z index: -2 + render style: image + popup style: in place + choice images: + characters visible character: card.jpg + characters visible character dual: card.jpg + characters visible character dual (new): card.jpg + characters hidden concealed: card.jpg + characters hidden concealed dual: card.jpg + characters hidden concealed dual (new): card.jpg + characters concealed-optional concealed-optional character: card.jpg + characters concealed-optional concealed-optional dual: card.jpg + characters concealed-optional concealed-optional dual (new): card.jpg + equipment visible equipment: card.jpg + equipment concealed equipment: card.jpg + equipment concealed-optional equipment: card.jpg + location: card.jpg + plot twist: card.jpg + planet: card.jpg + ############################# Name line + full name: + left: 80 + top : 25 + width: 230 + height: 24 + alignment: middle center shrink-overflow + padding bottom: 0 + z index: 4 + font: + name: Percolator Expert TM + size: 22 + color: rgb(255,213,128) + symbol font: + name: vs-standard-arrow + size: 15 + alignment: middle center + cost: + left: 25 + top : 30 + width: 25 + height: 41 + alignment: bottom center + font: + name: BadhouseBoldNumbers + size: 40 + color: rgb(255,213,128) + z index: 4 + padding top: 0 + ############################# Image + image: + left: 19 + top: 73 + width: 339 + height: 315 + z index: 1 + card symbol: + left: 310 + top : 33 + height: 30 + width: 45 + render style: image + choice images: + Marvel: marvel.png + DC-new: /vs-common.mse-include/dcnew.png + DC-old: /vs-common.mse-include/dcold.png + Hellboy: /vs-common.mse-include/hellboy.png + Other...: { set.custom_logo } + z index: 3 + ############################# Type Bar + ############################# Version + ############################# Card ID + ############################# Affiliation + ############################# FlightRange + ############################# Text box + rule text: + left: 20 + top : 410 + width: 338 + height: 60 + font: + name: Eurostile + italic name: EurostileObl-Normal + size: 12 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_symbols } + size: 11 + alignment: middle center + alignment: middle center shrink-overflow + z index: 3 + padding left: 2 + padding top: 5 + padding right: 2 + padding bottom: 2 + line height hard: 1.4 + ############################# Attack/defence + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 20 + top : 475 + width: 338 + height: 15 + alignment: middle center + z index: 4 + font: + name: Eurostile + size: 9 + color: rgb(255,255,255) + copyright: + left: 20 + top : 490 + width: 338 + height: 15 + z index: 4 + alignment: middle center + font: + name: Eurostile + size: 8 + color: rgb(255,255,255) +############################################################## Extra card fields +extra card field: + type: choice + name: overlay + script: "overlay" + editable: false +extra card field: + type: choice + name: foil layer + choice: foil + editable: false +extra card style: + overlay: + left: 20 + top: 73 + width: 337 + height: 320 + z index: 1 + render style: image + choice images: + overlay: overlay.png + foil layer: + left: 0 + top : 0 + width: { if styling.foils=="no" then 0 else 375 } + height: { if styling.foils=="no" then 0 else 523 } + z index: 8 + render style: image + choice images: + foil: /vs-common.mse-include/foil.png + visible: { styling.foils } diff --git a/data/vs-common.mse-include/affiliations b/data/vs-common.mse-include/affiliations index 10c2bd61..3b2291fb 100644 --- a/data/vs-common.mse-include/affiliations +++ b/data/vs-common.mse-include/affiliations @@ -1,36 +1,36 @@ -# Affiliation images - -choice images: - Marvel A-C Avengers: /vs-standard-official.mse-symbol-font/avengers.png - Marvel A-C Brotherhood: /vs-standard-official.mse-symbol-font/brotherhood.png - Marvel A-C Crime Lords: /vs-standard-official.mse-symbol-font/crimelords.png - Marvel D-H Defenders: /vs-standard-official.mse-symbol-font/defenders.png - Marvel D-H Doom: /vs-standard-official.mse-symbol-font/doom.png - Marvel D-H Fantastic Four: /vs-standard-official.mse-symbol-font/F4.png - Marvel D-H Hellfire Club: /vs-standard-official.mse-symbol-font/hellfire.png - Marvel D-H Heralds of Galactus: /vs-standard-official.mse-symbol-font/heralds.png - Marvel D-H Horsemen of Apocalypse: /vs-standard-official.mse-symbol-font/apocalypse.png - Marvel I-M Marvel Knights: /vs-standard-official.mse-symbol-font/marvelknights.png - Marvel I-M Masters of Evil: /vs-standard-official.mse-symbol-font/mastersofevil.png - Marvel N-S Negative Zone: /vs-standard-official.mse-symbol-font/negativezone.png - Marvel N-S Shi'ar: /vs-standard-official.mse-symbol-font/shiar.png - Marvel N-S Shield: /vs-standard-official.mse-symbol-font/shield.png - Marvel N-S Sinister Syndicate: /vs-standard-official.mse-symbol-font/sinistersyndicate.png - Marvel N-S Spider-Friends: /vs-standard-official.mse-symbol-font/spiderman.png - Marvel T-Z Thunderbolts: /vs-standard-official.mse-symbol-font/thunderbolts.png - Marvel T-Z Underworld: /vs-standard-official.mse-symbol-font/underworld.png - Marvel T-Z Warbound: /vs-standard-official.mse-symbol-font/warbound.png - Marvel T-Z X-Men: /vs-standard-official.mse-symbol-font/xmen.png - - DC A-C Anti-Matter: /vs-standard-official.mse-symbol-font/anti-matter.png - DC D-H Gotham Knights: /vs-standard-official.mse-symbol-font/gothamknights.png - DC D-H Green Lantern: /vs-standard-official.mse-symbol-font/greenlantern.png - DC I-M JLA: /vs-standard-official.mse-symbol-font/jla.png - DC I-M JSA: /vs-standard-official.mse-symbol-font/jsa.png - DC N-S Shadowpact: /vs-standard-official.mse-symbol-font/shadowpact.png - DC N-S Speed Force: /vs-standard-official.mse-symbol-font/speedforce.png - DC T-Z Team Superman: /vs-standard-official.mse-symbol-font/superman.png - DC T-Z Teen Titans: /vs-standard-official.mse-symbol-font/titans.png - - Other B.P.R.D.: /vs-standard-official.mse-symbol-font/bprd.png - Other Thule Society: /vs-standard-official.mse-symbol-font/thule.png +# Affiliation images + +choice images: + Marvel A-C Avengers: /vs-standard-official.mse-symbol-font/avengers.png + Marvel A-C Brotherhood: /vs-standard-official.mse-symbol-font/brotherhood.png + Marvel A-C Crime Lords: /vs-standard-official.mse-symbol-font/crimelords.png + Marvel D-H Defenders: /vs-standard-official.mse-symbol-font/defenders.png + Marvel D-H Doom: /vs-standard-official.mse-symbol-font/doom.png + Marvel D-H Fantastic Four: /vs-standard-official.mse-symbol-font/F4.png + Marvel D-H Hellfire Club: /vs-standard-official.mse-symbol-font/hellfire.png + Marvel D-H Heralds of Galactus: /vs-standard-official.mse-symbol-font/heralds.png + Marvel D-H Horsemen of Apocalypse: /vs-standard-official.mse-symbol-font/apocalypse.png + Marvel I-M Marvel Knights: /vs-standard-official.mse-symbol-font/marvelknights.png + Marvel I-M Masters of Evil: /vs-standard-official.mse-symbol-font/mastersofevil.png + Marvel N-S Negative Zone: /vs-standard-official.mse-symbol-font/negativezone.png + Marvel N-S Shi'ar: /vs-standard-official.mse-symbol-font/shiar.png + Marvel N-S Shield: /vs-standard-official.mse-symbol-font/shield.png + Marvel N-S Sinister Syndicate: /vs-standard-official.mse-symbol-font/sinistersyndicate.png + Marvel N-S Spider-Friends: /vs-standard-official.mse-symbol-font/spiderman.png + Marvel T-Z Thunderbolts: /vs-standard-official.mse-symbol-font/thunderbolts.png + Marvel T-Z Underworld: /vs-standard-official.mse-symbol-font/underworld.png + Marvel T-Z Warbound: /vs-standard-official.mse-symbol-font/warbound.png + Marvel T-Z X-Men: /vs-standard-official.mse-symbol-font/xmen.png + + DC A-C Anti-Matter: /vs-standard-official.mse-symbol-font/anti-matter.png + DC D-H Gotham Knights: /vs-standard-official.mse-symbol-font/gothamknights.png + DC D-H Green Lantern: /vs-standard-official.mse-symbol-font/greenlantern.png + DC I-M JLA: /vs-standard-official.mse-symbol-font/jla.png + DC I-M JSA: /vs-standard-official.mse-symbol-font/jsa.png + DC N-S Shadowpact: /vs-standard-official.mse-symbol-font/shadowpact.png + DC N-S Speed Force: /vs-standard-official.mse-symbol-font/speedforce.png + DC T-Z Team Superman: /vs-standard-official.mse-symbol-font/superman.png + DC T-Z Teen Titans: /vs-standard-official.mse-symbol-font/titans.png + + Other B.P.R.D.: /vs-standard-official.mse-symbol-font/bprd.png + Other Thule Society: /vs-standard-official.mse-symbol-font/thule.png diff --git a/data/vs-common.mse-include/dual-affiliation b/data/vs-common.mse-include/dual-affiliation index 97701360..7de97f4f 100644 --- a/data/vs-common.mse-include/dual-affiliation +++ b/data/vs-common.mse-include/dual-affiliation @@ -1,127 +1,127 @@ -# The second affiliation choices -# Included by a game file - -choice: - name: none - line below: true -choice: - name: Marvel - choice: - name: A-C - choice: Avengers - choice: Brotherhood - choice: Crime Lords - choice: - name: D-H - choice: Defenders - choice: Doom - choice: Fantastic Four - choice: Hellfire Club - choice: Heralds of Galactus - choice: Horsemen of Apocalypse - choice: - name: I-M - choice: Marvel Knights - choice: Masters of Evil - choice: - name: N-S - choice: Negative Zone - choice: Shi'ar - choice: Shield - choice: Sinister Syndicate - choice: Spider-Friends - choice: - name: T-Z - choice: Thunderbolts - choice: Underworld - choice: Warbound - choice: X-Men -choice: - name: DC - choice: - name: A-C - choice: Anti-Matter - choice: - name: D-H - choice: Gotham Knights - choice: Green Lantern - choice: - name: I-M - choice: JLA - choice: JSA - choice: - name: N-S - choice: Shadowpact - choice: Speed Force - choice: - name: T-Z - choice: Team Superman - choice: Teen Titans -choice: - name: Other - choice: B.P.R.D. - choice: Thule Society -script: - if contains(card.team_2_of_2, match: "Avengers") then "Marvel A-C Avengers" else - if contains(card.team_2_of_2, match: "AVENGERS") then "Marvel A-C Avengers" else - if contains(card.team_2_of_2, match: "Brood") then "Marvel A-C Brood" else - if contains(card.team_2_of_2, match: "BROOD") then "Marvel A-C Brood" else - if contains(card.team_2_of_2, match: "Brotherhood") then "Marvel A-C Brotherhood" else - if contains(card.team_2_of_2, match: "BROTHERHOOD") then "Marvel A-C Brotherhood" else - if contains(card.team_2_of_2, match: "Crime Lords") then "Marvel A-C Crime Lords" else - if contains(card.team_2_of_2, match: "CRIME LORDS") then "Marvel A-C Crime Lords" else - if contains(card.team_2_of_2, match: "Defenders") then "Marvel D-H Defenders" else - if contains(card.team_2_of_2, match: "DEFENDERS") then "Marvel D-H Defenders" else - if contains(card.team_2_of_2, match: "Doom Patrol") then "" else - if contains(card.team_2_of_2, match: "DOOM PATROL") then "" else - if contains(card.team_2_of_2, match: "Doom") then "Marvel D-H Doom" else - if contains(card.team_2_of_2, match: "DOOM") then "Marvel D-H Doom" else - if contains(card.team_2_of_2, match: "Fantastic Four") then "Marvel D-H Fantastic Four" else - if contains(card.team_2_of_2, match: "FANTASTIC FOUR") then "Marvel D-H Fantastic Four" else - if contains(card.team_2_of_2, match: "Hellfire Club") then "Marvel D-H Hellfire Club" else - if contains(card.team_2_of_2, match: "HELLFIRE CLUB") then "Marvel D-H Hellfire Club" else - if contains(card.team_2_of_2, match: "Heralds of Galactus") then "Marvel D-H Heralds of Galactus" else - if contains(card.team_2_of_2, match: "HERALDS OF GALACTUS") then "Marvel D-H Heralds of Galactus" else - if contains(card.team_2_of_2, match: "Horsemen of Apocalypse") then "Marvel D-H Horsemen of Apocalypse" else - if contains(card.team_2_of_2, match: "HORSEMEN OF APOCALYPSE") then "Marvel D-H Horsemen of Apocalypse" else - if contains(card.team_2_of_2, match: "Marvel Knights") then "Marvel I-M Marvel Knights" else - if contains(card.team_2_of_2, match: "MARVEL KNIGHTS") then "Marvel I-M Marvel Knights" else - if contains(card.team_2_of_2, match: "Masters of Evil") then "Marvel I-M Masters of Evil" else - if contains(card.team_2_of_2, match: "MASTERS OF EVIL") then "Marvel I-M Masters of Evil" else - if contains(card.team_2_of_2, match: "Negative Zone") then "Marvel N-S Negative Zone" else - if contains(card.team_2_of_2, match: "NEGATIVE ZONE") then "Marvel N-S Negative Zone" else - if contains(card.team_2_of_2, match: "Shi'ar") then "Marvel N-S Shi'ar" else - if contains(card.team_2_of_2, match: "SHI'AR") then "Marvel N-S Shi'ar" else - if contains(card.team_2_of_2, match: "Shield") then "Marvel N-S Shield" else - if contains(card.team_2_of_2, match: "SHIELD") then "Marvel N-S Shield" else - if contains(card.team_2_of_2, match: "Sinister Syndicate") then "Marvel N-S Sinister Syndicate" else - if contains(card.team_2_of_2, match: "SINISTER SYNDICATE") then "Marvel N-S Sinister Syndicate" else - if contains(card.team_2_of_2, match: "Spider-Friends") then "Marvel N-S Spider-Friends" else - if contains(card.team_2_of_2, match: "SPIDER-FRIENDS") then "Marvel N-S Spider-Friends" else - if contains(card.team_2_of_2, match: "Thunderbolts") then "Marvel T-Z Thunderbolts" else - if contains(card.team_2_of_2, match: "THUNDERBOLTS") then "Marvel T-Z Thunderbolts" else - if contains(card.team_2_of_2, match: "Underworld") then "Marvel T-Z Underworld" else - if contains(card.team_2_of_2, match: "UNDERWORLD") then "Marvel T-Z Underworld" else - if contains(card.team_2_of_2, match: "Warbound") then "Marvel T-Z Warbound" else - if contains(card.team_2_of_2, match: "WARBOUND") then "Marvel T-Z Warbound" else - if contains(card.team_2_of_2, match: "X-Men") then "Marvel T-Z X-Men" else - if contains(card.team_2_of_2, match: "X-MEN") then "Marvel T-Z X-Men" else - if contains(card.team_2_of_2, match: "Anti-Matter") then "DC A-C Anti-Matter" else - if contains(card.team_2_of_2, match: "ANTI-MATTER") then "DC A-C Anti-Matter" else - if contains(card.team_2_of_2, match: "Gotham Knights") then "DC D-H Gotham Knights" else - if contains(card.team_2_of_2, match: "GOTHAM KNIGHTS") then "DC D-H Gotham Knights" else - if contains(card.team_2_of_2, match: "Green Lantern") then "DC D-H Green Lantern" else - if contains(card.team_2_of_2, match: "GREEN LANTERN") then "DC D-H Green Lantern" else - if contains(card.team_2_of_2, match: "JLA") then "DC I-M JLA" else - if contains(card.team_2_of_2, match: "JSA") then "DC I-M JSA" else - if contains(card.team_2_of_2, match: "Shadowpact") then "DC N-S Shadowpact" else - if contains(card.team_2_of_2, match: "SHADOW PACT") then "DC N-S Shadowpact" else - if contains(card.team_2_of_2, match: "Speed Force") then "DC N-S Speed Force" else - if contains(card.team_2_of_2, match: "SPEED FORCE") then "DC N-S Speed Force" else - if contains(card.team_2_of_2, match: "Team Superman") then "DC T-Z Team Superman" else - if contains(card.team_2_of_2, match: "TEAM SUPERMAN") then "DC T-Z Team Superman" else - if contains(card.team_2_of_2, match: "Teen Titans") then "DC T-Z Teen Titans" else - if contains(card.team_2_of_2, match: "TEEN TITANS") then "DC T-Z Teen Titans" else - if contains(card.team_2_of_2, match: "B.P.R.D.") then "Other B.P.R.D." else - if contains(card.team_2_of_2, match: "Thule Society") then "Other Thule Society" else - if contains(card.team_2_of_2, match: "THULE SOCIETY") then "Other Thule Society" +# The second affiliation choices +# Included by a game file + +choice: + name: none + line below: true +choice: + name: Marvel + choice: + name: A-C + choice: Avengers + choice: Brotherhood + choice: Crime Lords + choice: + name: D-H + choice: Defenders + choice: Doom + choice: Fantastic Four + choice: Hellfire Club + choice: Heralds of Galactus + choice: Horsemen of Apocalypse + choice: + name: I-M + choice: Marvel Knights + choice: Masters of Evil + choice: + name: N-S + choice: Negative Zone + choice: Shi'ar + choice: Shield + choice: Sinister Syndicate + choice: Spider-Friends + choice: + name: T-Z + choice: Thunderbolts + choice: Underworld + choice: Warbound + choice: X-Men +choice: + name: DC + choice: + name: A-C + choice: Anti-Matter + choice: + name: D-H + choice: Gotham Knights + choice: Green Lantern + choice: + name: I-M + choice: JLA + choice: JSA + choice: + name: N-S + choice: Shadowpact + choice: Speed Force + choice: + name: T-Z + choice: Team Superman + choice: Teen Titans +choice: + name: Other + choice: B.P.R.D. + choice: Thule Society +script: + if contains(card.team_2_of_2, match: "Avengers") then "Marvel A-C Avengers" else + if contains(card.team_2_of_2, match: "AVENGERS") then "Marvel A-C Avengers" else + if contains(card.team_2_of_2, match: "Brood") then "Marvel A-C Brood" else + if contains(card.team_2_of_2, match: "BROOD") then "Marvel A-C Brood" else + if contains(card.team_2_of_2, match: "Brotherhood") then "Marvel A-C Brotherhood" else + if contains(card.team_2_of_2, match: "BROTHERHOOD") then "Marvel A-C Brotherhood" else + if contains(card.team_2_of_2, match: "Crime Lords") then "Marvel A-C Crime Lords" else + if contains(card.team_2_of_2, match: "CRIME LORDS") then "Marvel A-C Crime Lords" else + if contains(card.team_2_of_2, match: "Defenders") then "Marvel D-H Defenders" else + if contains(card.team_2_of_2, match: "DEFENDERS") then "Marvel D-H Defenders" else + if contains(card.team_2_of_2, match: "Doom Patrol") then "" else + if contains(card.team_2_of_2, match: "DOOM PATROL") then "" else + if contains(card.team_2_of_2, match: "Doom") then "Marvel D-H Doom" else + if contains(card.team_2_of_2, match: "DOOM") then "Marvel D-H Doom" else + if contains(card.team_2_of_2, match: "Fantastic Four") then "Marvel D-H Fantastic Four" else + if contains(card.team_2_of_2, match: "FANTASTIC FOUR") then "Marvel D-H Fantastic Four" else + if contains(card.team_2_of_2, match: "Hellfire Club") then "Marvel D-H Hellfire Club" else + if contains(card.team_2_of_2, match: "HELLFIRE CLUB") then "Marvel D-H Hellfire Club" else + if contains(card.team_2_of_2, match: "Heralds of Galactus") then "Marvel D-H Heralds of Galactus" else + if contains(card.team_2_of_2, match: "HERALDS OF GALACTUS") then "Marvel D-H Heralds of Galactus" else + if contains(card.team_2_of_2, match: "Horsemen of Apocalypse") then "Marvel D-H Horsemen of Apocalypse" else + if contains(card.team_2_of_2, match: "HORSEMEN OF APOCALYPSE") then "Marvel D-H Horsemen of Apocalypse" else + if contains(card.team_2_of_2, match: "Marvel Knights") then "Marvel I-M Marvel Knights" else + if contains(card.team_2_of_2, match: "MARVEL KNIGHTS") then "Marvel I-M Marvel Knights" else + if contains(card.team_2_of_2, match: "Masters of Evil") then "Marvel I-M Masters of Evil" else + if contains(card.team_2_of_2, match: "MASTERS OF EVIL") then "Marvel I-M Masters of Evil" else + if contains(card.team_2_of_2, match: "Negative Zone") then "Marvel N-S Negative Zone" else + if contains(card.team_2_of_2, match: "NEGATIVE ZONE") then "Marvel N-S Negative Zone" else + if contains(card.team_2_of_2, match: "Shi'ar") then "Marvel N-S Shi'ar" else + if contains(card.team_2_of_2, match: "SHI'AR") then "Marvel N-S Shi'ar" else + if contains(card.team_2_of_2, match: "Shield") then "Marvel N-S Shield" else + if contains(card.team_2_of_2, match: "SHIELD") then "Marvel N-S Shield" else + if contains(card.team_2_of_2, match: "Sinister Syndicate") then "Marvel N-S Sinister Syndicate" else + if contains(card.team_2_of_2, match: "SINISTER SYNDICATE") then "Marvel N-S Sinister Syndicate" else + if contains(card.team_2_of_2, match: "Spider-Friends") then "Marvel N-S Spider-Friends" else + if contains(card.team_2_of_2, match: "SPIDER-FRIENDS") then "Marvel N-S Spider-Friends" else + if contains(card.team_2_of_2, match: "Thunderbolts") then "Marvel T-Z Thunderbolts" else + if contains(card.team_2_of_2, match: "THUNDERBOLTS") then "Marvel T-Z Thunderbolts" else + if contains(card.team_2_of_2, match: "Underworld") then "Marvel T-Z Underworld" else + if contains(card.team_2_of_2, match: "UNDERWORLD") then "Marvel T-Z Underworld" else + if contains(card.team_2_of_2, match: "Warbound") then "Marvel T-Z Warbound" else + if contains(card.team_2_of_2, match: "WARBOUND") then "Marvel T-Z Warbound" else + if contains(card.team_2_of_2, match: "X-Men") then "Marvel T-Z X-Men" else + if contains(card.team_2_of_2, match: "X-MEN") then "Marvel T-Z X-Men" else + if contains(card.team_2_of_2, match: "Anti-Matter") then "DC A-C Anti-Matter" else + if contains(card.team_2_of_2, match: "ANTI-MATTER") then "DC A-C Anti-Matter" else + if contains(card.team_2_of_2, match: "Gotham Knights") then "DC D-H Gotham Knights" else + if contains(card.team_2_of_2, match: "GOTHAM KNIGHTS") then "DC D-H Gotham Knights" else + if contains(card.team_2_of_2, match: "Green Lantern") then "DC D-H Green Lantern" else + if contains(card.team_2_of_2, match: "GREEN LANTERN") then "DC D-H Green Lantern" else + if contains(card.team_2_of_2, match: "JLA") then "DC I-M JLA" else + if contains(card.team_2_of_2, match: "JSA") then "DC I-M JSA" else + if contains(card.team_2_of_2, match: "Shadowpact") then "DC N-S Shadowpact" else + if contains(card.team_2_of_2, match: "SHADOW PACT") then "DC N-S Shadowpact" else + if contains(card.team_2_of_2, match: "Speed Force") then "DC N-S Speed Force" else + if contains(card.team_2_of_2, match: "SPEED FORCE") then "DC N-S Speed Force" else + if contains(card.team_2_of_2, match: "Team Superman") then "DC T-Z Team Superman" else + if contains(card.team_2_of_2, match: "TEAM SUPERMAN") then "DC T-Z Team Superman" else + if contains(card.team_2_of_2, match: "Teen Titans") then "DC T-Z Teen Titans" else + if contains(card.team_2_of_2, match: "TEEN TITANS") then "DC T-Z Teen Titans" else + if contains(card.team_2_of_2, match: "B.P.R.D.") then "Other B.P.R.D." else + if contains(card.team_2_of_2, match: "Thule Society") then "Other Thule Society" else + if contains(card.team_2_of_2, match: "THULE SOCIETY") then "Other Thule Society" diff --git a/data/vs-common.mse-include/include b/data/vs-common.mse-include/include index 85a8e54d..c0fe59b2 100644 --- a/data/vs-common.mse-include/include +++ b/data/vs-common.mse-include/include @@ -1,11 +1,11 @@ -mse version: 0.3.8 -full name: VS System, textbox watermarks -version: 2009-02-04 - -depends on: - package: vs-standard-official.mse-symbol-font - version: 2009-02-04 - -# This file doesn't do anything, other files in this directory can be included -# in game/style files: +mse version: 0.3.8 +full name: VS System, textbox watermarks +version: 2009-02-04 + +depends on: + package: vs-standard-official.mse-symbol-font + version: 2009-02-04 + +# This file doesn't do anything, other files in this directory can be included +# in game/style files: # watermarks Includes references to the watermark images, to be used in a style file \ No newline at end of file diff --git a/data/vs-common.mse-include/old-to-new b/data/vs-common.mse-include/old-to-new index 6bd82532..e700739b 100644 --- a/data/vs-common.mse-include/old-to-new +++ b/data/vs-common.mse-include/old-to-new @@ -1,10 +1,10 @@ -# convert the old to new scripts - -old_to_new := { - if card.card_type=="character" then "characters visible character" else - if card.card_type=="character dual" then "characters visible character dual" else - if card.card_type=="character dual (new)" then "characters visible character dual (new)" else - if card.card_type=="concealed" then "characters hidden concealed" else - if card.card_type=="concealed dual" then "characters hidden concealed dual" else - if card.card_type=="concealed dual (new)" then "characters hidden concealed dual (new)" else card_type() -}; +# convert the old to new scripts + +old_to_new := { + if card.card_type=="character" then "characters visible character" else + if card.card_type=="character dual" then "characters visible character dual" else + if card.card_type=="character dual (new)" then "characters visible character dual (new)" else + if card.card_type=="concealed" then "characters hidden concealed" else + if card.card_type=="concealed dual" then "characters hidden concealed dual" else + if card.card_type=="concealed dual (new)" then "characters hidden concealed dual (new)" else card_type() +}; diff --git a/data/vs-common.mse-include/watermark-names b/data/vs-common.mse-include/watermark-names index ed5848e9..424a5c8a 100644 --- a/data/vs-common.mse-include/watermark-names +++ b/data/vs-common.mse-include/watermark-names @@ -1,126 +1,126 @@ -# The second affiliation choices -# Included by a game file - -choice: - name: none - line below: true -choice: - name: Marvel - choice: - name: A-C - choice: Avengers - choice: Brotherhood - choice: Crime Lords - choice: - name: D-H - choice: Doom - choice: Fantastic Four - choice: Hellfire Club - choice: Heralds of Galactus - choice: Horsemen of Apocalypse - choice: - name: I-M - choice: Marvel Knights - choice: Masters of Evil - choice: - name: N-S - choice: Negative Zone - choice: Shi'ar - choice: Shield - choice: Sinister Syndicate - choice: Spider-Friends - choice: - name: T-Z - choice: Thunderbolts - choice: Underworld - choice: Warbound - choice: X-Men -choice: - name: DC - choice: - name: A-C - choice: Anti-Matter - choice: - name: D-H - choice: Gotham Knights - choice: Green Lantern - choice: - name: I-M - choice: JLA - choice: JSA - choice: - name: N-S - choice: Shadowpact - choice: Speed Force - choice: - name: T-Z - choice: Team Superman - choice: Teen Titans -choice: - name: Other - choice: B.P.R.D. - choice: Thule Society -script: - if contains(card.team, match:"Avengers") then "Marvel A-C Avengers" else - if contains(card.team, match:"AVENGERS") then "Marvel A-C Avengers" else - if contains(card.team, match:"Brood") then "Marvel A-C Brood" else - if contains(card.team, match:"BROOD") then "Marvel A-C Brood" else - if contains(card.team, match:"Brotherhood") then "Marvel A-C Brotherhood" else - if contains(card.team, match:"BROTHERHOOD") then "Marvel A-C Brotherhood" else - if contains(card.team, match:"Crime Lords") then "Marvel A-C Crime Lords" else - if contains(card.team, match:"CRIME LORDS") then "Marvel A-C Crime Lords" else - if contains(card.team, match:"Defenders") then "Marvel D-H Defenders" else - if contains(card.team, match:"DEFENDERS") then "Marvel D-H Defenders" else - if contains(card.team, match:"Doom Patrol") then "" else - if contains(card.team, match:"DOOM PATROL") then "" else - if contains(card.team, match:"Doom") then "Marvel D-H Doom" else - if contains(card.team, match:"DOOM") then "Marvel D-H Doom" else - if contains(card.team, match:"Fantastic Four") then "Marvel D-H Fantastic Four" else - if contains(card.team, match:"FANTASTIC FOUR") then "Marvel D-H Fantastic Four" else - if contains(card.team, match:"Hellfire Club") then "Marvel D-H Hellfire Club" else - if contains(card.team, match:"HELLFIRE CLUB") then "Marvel D-H Hellfire Club" else - if contains(card.team, match:"Heralds of Galactus") then "Marvel D-H Heralds of Galactus" else - if contains(card.team, match:"HERALDS OF GALACTUS") then "Marvel D-H Heralds of Galactus" else - if contains(card.team, match:"Horsemen of Apocalypse") then "Marvel D-H Horsemen of Apocalypse" else - if contains(card.team, match:"HORSEMEN OF APOCALYPSE") then "Marvel D-H Horsemen of Apocalypse" else - if contains(card.team, match:"Marvel Knights") then "Marvel I-M Marvel Knights" else - if contains(card.team, match:"MARVEL KNIGHTS") then "Marvel I-M Marvel Knights" else - if contains(card.team, match:"Masters of Evil") then "Marvel I-M Masters of Evil" else - if contains(card.team, match:"MASTERS OF EVIL") then "Marvel I-M Masters of Evil" else - if contains(card.team, match:"Negative Zone") then "Marvel N-S Negative Zone" else - if contains(card.team, match:"NEGATIVE ZONE") then "Marvel N-S Negative Zone" else - if contains(card.team, match:"Shi'ar") then "Marvel N-S Shi'ar" else - if contains(card.team, match:"SHI'AR") then "Marvel N-S Shi'ar" else - if contains(card.team, match:"Shield") then "Marvel N-S Shield" else - if contains(card.team, match:"SHIELD") then "Marvel N-S Shield" else - if contains(card.team, match:"Sinister Syndicate") then "Marvel N-S Sinister Syndicate" else - if contains(card.team, match:"SINISTER SYNDICATE") then "Marvel N-S Sinister Syndicate" else - if contains(card.team, match:"Spider-Friends") then "Marvel N-S Spider-Friends" else - if contains(card.team, match:"SPIDER-FRIENDS") then "Marvel N-S Spider-Friends" else - if contains(card.team, match:"Thunderbolts") then "Marvel T-Z Thunderbolts" else - if contains(card.team, match:"THUNDERBOLTS") then "Marvel T-Z Thunderbolts" else - if contains(card.team, match:"Underworld") then "Marvel T-Z Underworld" else - if contains(card.team, match:"UNDERWORLD") then "Marvel T-Z Underworld" else - if contains(card.team, match:"Warbound") then "Marvel T-Z Warbound" else - if contains(card.team, match:"WARBOUND") then "Marvel T-Z Warbound" else - if contains(card.team, match:"X-Men") then "Marvel T-Z X-Men" else - if contains(card.team, match:"X-MEN") then "Marvel T-Z X-Men" else - if contains(card.team, match:"Anti-Matter") then "DC A-C Anti-Matter" else - if contains(card.team, match:"ANTI-MATTER") then "DC A-C Anti-Matter" else - if contains(card.team, match:"Gotham Knights") then "DC D-H Gotham Knights" else - if contains(card.team, match:"GOTHAM KNIGHTS") then "DC D-H Gotham Knights" else - if contains(card.team, match:"Green Lantern") then "DC D-H Green Lantern" else - if contains(card.team, match:"GREEN LANTERN") then "DC D-H Green Lantern" else - if contains(card.team, match:"JLA") then "DC I-M JLA" else - if contains(card.team, match:"JSA") then "DC I-M JSA" else - if contains(card.team, match:"Shadowpact") then "DC N-S Shadowpact" else - if contains(card.team, match:"SHADOWPACT") then "DC N-S Shadowpact" else - if contains(card.team, match:"Speed Force") then "DC N-S Speed Force" else - if contains(card.team, match:"SPEED FORCE") then "DC N-S Speed Force" else - if contains(card.team, match:"Team Superman") then "DC T-Z Team Superman" else - if contains(card.team, match:"TEAM SUPERMAN") then "DC T-Z Team Superman" else - if contains(card.team, match:"Teen Titans") then "DC T-Z Teen Titans" else - if contains(card.team, match:"TEEN TITANS") then "DC T-Z Teen Titans" else - if contains(card.team, match:"B.P.R.D.") then "Other B.P.R.D." else - if contains(card.team, match:"Thule Society") then "Other Thule Society" else - if contains(card.team, match:"THULE SOCIETY") then "Other Thule Society" +# The second affiliation choices +# Included by a game file + +choice: + name: none + line below: true +choice: + name: Marvel + choice: + name: A-C + choice: Avengers + choice: Brotherhood + choice: Crime Lords + choice: + name: D-H + choice: Doom + choice: Fantastic Four + choice: Hellfire Club + choice: Heralds of Galactus + choice: Horsemen of Apocalypse + choice: + name: I-M + choice: Marvel Knights + choice: Masters of Evil + choice: + name: N-S + choice: Negative Zone + choice: Shi'ar + choice: Shield + choice: Sinister Syndicate + choice: Spider-Friends + choice: + name: T-Z + choice: Thunderbolts + choice: Underworld + choice: Warbound + choice: X-Men +choice: + name: DC + choice: + name: A-C + choice: Anti-Matter + choice: + name: D-H + choice: Gotham Knights + choice: Green Lantern + choice: + name: I-M + choice: JLA + choice: JSA + choice: + name: N-S + choice: Shadowpact + choice: Speed Force + choice: + name: T-Z + choice: Team Superman + choice: Teen Titans +choice: + name: Other + choice: B.P.R.D. + choice: Thule Society +script: + if contains(card.team, match:"Avengers") then "Marvel A-C Avengers" else + if contains(card.team, match:"AVENGERS") then "Marvel A-C Avengers" else + if contains(card.team, match:"Brood") then "Marvel A-C Brood" else + if contains(card.team, match:"BROOD") then "Marvel A-C Brood" else + if contains(card.team, match:"Brotherhood") then "Marvel A-C Brotherhood" else + if contains(card.team, match:"BROTHERHOOD") then "Marvel A-C Brotherhood" else + if contains(card.team, match:"Crime Lords") then "Marvel A-C Crime Lords" else + if contains(card.team, match:"CRIME LORDS") then "Marvel A-C Crime Lords" else + if contains(card.team, match:"Defenders") then "Marvel D-H Defenders" else + if contains(card.team, match:"DEFENDERS") then "Marvel D-H Defenders" else + if contains(card.team, match:"Doom Patrol") then "" else + if contains(card.team, match:"DOOM PATROL") then "" else + if contains(card.team, match:"Doom") then "Marvel D-H Doom" else + if contains(card.team, match:"DOOM") then "Marvel D-H Doom" else + if contains(card.team, match:"Fantastic Four") then "Marvel D-H Fantastic Four" else + if contains(card.team, match:"FANTASTIC FOUR") then "Marvel D-H Fantastic Four" else + if contains(card.team, match:"Hellfire Club") then "Marvel D-H Hellfire Club" else + if contains(card.team, match:"HELLFIRE CLUB") then "Marvel D-H Hellfire Club" else + if contains(card.team, match:"Heralds of Galactus") then "Marvel D-H Heralds of Galactus" else + if contains(card.team, match:"HERALDS OF GALACTUS") then "Marvel D-H Heralds of Galactus" else + if contains(card.team, match:"Horsemen of Apocalypse") then "Marvel D-H Horsemen of Apocalypse" else + if contains(card.team, match:"HORSEMEN OF APOCALYPSE") then "Marvel D-H Horsemen of Apocalypse" else + if contains(card.team, match:"Marvel Knights") then "Marvel I-M Marvel Knights" else + if contains(card.team, match:"MARVEL KNIGHTS") then "Marvel I-M Marvel Knights" else + if contains(card.team, match:"Masters of Evil") then "Marvel I-M Masters of Evil" else + if contains(card.team, match:"MASTERS OF EVIL") then "Marvel I-M Masters of Evil" else + if contains(card.team, match:"Negative Zone") then "Marvel N-S Negative Zone" else + if contains(card.team, match:"NEGATIVE ZONE") then "Marvel N-S Negative Zone" else + if contains(card.team, match:"Shi'ar") then "Marvel N-S Shi'ar" else + if contains(card.team, match:"SHI'AR") then "Marvel N-S Shi'ar" else + if contains(card.team, match:"Shield") then "Marvel N-S Shield" else + if contains(card.team, match:"SHIELD") then "Marvel N-S Shield" else + if contains(card.team, match:"Sinister Syndicate") then "Marvel N-S Sinister Syndicate" else + if contains(card.team, match:"SINISTER SYNDICATE") then "Marvel N-S Sinister Syndicate" else + if contains(card.team, match:"Spider-Friends") then "Marvel N-S Spider-Friends" else + if contains(card.team, match:"SPIDER-FRIENDS") then "Marvel N-S Spider-Friends" else + if contains(card.team, match:"Thunderbolts") then "Marvel T-Z Thunderbolts" else + if contains(card.team, match:"THUNDERBOLTS") then "Marvel T-Z Thunderbolts" else + if contains(card.team, match:"Underworld") then "Marvel T-Z Underworld" else + if contains(card.team, match:"UNDERWORLD") then "Marvel T-Z Underworld" else + if contains(card.team, match:"Warbound") then "Marvel T-Z Warbound" else + if contains(card.team, match:"WARBOUND") then "Marvel T-Z Warbound" else + if contains(card.team, match:"X-Men") then "Marvel T-Z X-Men" else + if contains(card.team, match:"X-MEN") then "Marvel T-Z X-Men" else + if contains(card.team, match:"Anti-Matter") then "DC A-C Anti-Matter" else + if contains(card.team, match:"ANTI-MATTER") then "DC A-C Anti-Matter" else + if contains(card.team, match:"Gotham Knights") then "DC D-H Gotham Knights" else + if contains(card.team, match:"GOTHAM KNIGHTS") then "DC D-H Gotham Knights" else + if contains(card.team, match:"Green Lantern") then "DC D-H Green Lantern" else + if contains(card.team, match:"GREEN LANTERN") then "DC D-H Green Lantern" else + if contains(card.team, match:"JLA") then "DC I-M JLA" else + if contains(card.team, match:"JSA") then "DC I-M JSA" else + if contains(card.team, match:"Shadowpact") then "DC N-S Shadowpact" else + if contains(card.team, match:"SHADOWPACT") then "DC N-S Shadowpact" else + if contains(card.team, match:"Speed Force") then "DC N-S Speed Force" else + if contains(card.team, match:"SPEED FORCE") then "DC N-S Speed Force" else + if contains(card.team, match:"Team Superman") then "DC T-Z Team Superman" else + if contains(card.team, match:"TEAM SUPERMAN") then "DC T-Z Team Superman" else + if contains(card.team, match:"Teen Titans") then "DC T-Z Teen Titans" else + if contains(card.team, match:"TEEN TITANS") then "DC T-Z Teen Titans" else + if contains(card.team, match:"B.P.R.D.") then "Other B.P.R.D." else + if contains(card.team, match:"Thule Society") then "Other Thule Society" else + if contains(card.team, match:"THULE SOCIETY") then "Other Thule Society" diff --git a/data/vs-common.mse-include/watermarks b/data/vs-common.mse-include/watermarks index 0698d699..a0d29197 100644 --- a/data/vs-common.mse-include/watermarks +++ b/data/vs-common.mse-include/watermarks @@ -1,36 +1,36 @@ -# Watermark images - -choice images: - Marvel A-C Avengers: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/avengers.png")) - Marvel A-C Brotherhood: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/brotherhood.png")) - Marvel A-C Crime Lords: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/crimelords.png")) - Marvel D-H Defenders: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/defenders.png")) - Marvel D-H Doom: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/doom.png")) - Marvel D-H Fantastic Four: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/F4.png")) - Marvel D-H Hellfire Club: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/hellfire.png")) - Marvel D-H Heralds of Galactus: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/heralds.png")) - Marvel D-H Horsemen of Apocalypse: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/apocalypse.png")) - Marvel I-M Marvel Knights: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/marvelknights.png")) - Marvel I-M Masters of Evil: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/mastersofevil.png")) - Marvel N-S Negative Zone: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/negativezone.png")) - Marvel N-S Shi'ar: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/shiar.png")) - Marvel N-S Shield: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/shield.png")) - Marvel N-S Sinister Syndicate: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/sinistersyndicate.png")) - Marvel N-S Spider-Friends: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/spiderman.png")) - Marvel T-Z Thunderbolts: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/thunderbolts.png")) - Marvel T-Z Underworld: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/underworld.png")) - Marvel T-Z Warbound: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/warbound.png")) - Marvel T-Z X-Men: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/xmen.png")) - - DC A-C Anti-Matter: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/anti-matter.png")) - DC D-H Gotham Knights: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/gothamknights.png")) - DC D-H Green Lantern: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/greenlantern.png")) - DC I-M JLA: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/jla.png")) - DC I-M JSA: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/jsa.png")) - DC N-S Shadowpact: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/shadowpact.png")) - DC N-S Speed Force: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/speedforce.png")) - DC T-Z Team Superman: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/superman.png")) - DC T-Z Teen Titans: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/titans.png")) - - Other B.P.R.D.: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/bprd.png")) - Other Thule Society: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/thule.png")) +# Watermark images + +choice images: + Marvel A-C Avengers: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/avengers.png")) + Marvel A-C Brotherhood: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/brotherhood.png")) + Marvel A-C Crime Lords: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/crimelords.png")) + Marvel D-H Defenders: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/defenders.png")) + Marvel D-H Doom: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/doom.png")) + Marvel D-H Fantastic Four: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/F4.png")) + Marvel D-H Hellfire Club: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/hellfire.png")) + Marvel D-H Heralds of Galactus: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/heralds.png")) + Marvel D-H Horsemen of Apocalypse: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/apocalypse.png")) + Marvel I-M Marvel Knights: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/marvelknights.png")) + Marvel I-M Masters of Evil: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/mastersofevil.png")) + Marvel N-S Negative Zone: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/negativezone.png")) + Marvel N-S Shi'ar: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/shiar.png")) + Marvel N-S Shield: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/shield.png")) + Marvel N-S Sinister Syndicate: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/sinistersyndicate.png")) + Marvel N-S Spider-Friends: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/spiderman.png")) + Marvel T-Z Thunderbolts: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/thunderbolts.png")) + Marvel T-Z Underworld: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/underworld.png")) + Marvel T-Z Warbound: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/warbound.png")) + Marvel T-Z X-Men: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/xmen.png")) + + DC A-C Anti-Matter: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/anti-matter.png")) + DC D-H Gotham Knights: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/gothamknights.png")) + DC D-H Green Lantern: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/greenlantern.png")) + DC I-M JLA: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/jla.png")) + DC I-M JSA: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/jsa.png")) + DC N-S Shadowpact: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/shadowpact.png")) + DC N-S Speed Force: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/speedforce.png")) + DC T-Z Team Superman: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/superman.png")) + DC T-Z Teen Titans: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/titans.png")) + + Other B.P.R.D.: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/bprd.png")) + Other Thule Society: script: set_combine(combine:"shadow", set_alpha(alpha: 0.2, input:"/vs-standard-official.mse-symbol-font/thule.png")) diff --git a/data/vs-extended-art.mse-style/style b/data/vs-extended-art.mse-style/style index cc1ff440..68591fdf 100644 --- a/data/vs-extended-art.mse-style/style +++ b/data/vs-extended-art.mse-style/style @@ -1,396 +1,396 @@ -mse version: 0.3.7 -game: vs -full name: VS Extended Art -short name: Extended Art -installer group: VS System/Standard style/Extended art -icon: card-sample.png -position hint: 005 - -version: 2008-10-26 -depends on: - package: vs.mse-game - version: 2008-10-26 -depends on: - package: vs-common.mse-include - version: 2008-01-03 -depends on: - package: vs-standard-arrow.mse-symbol-font - version: 2008-01-03 - -card background: white -card width: 375 -card height: 523 -card dpi: 150 - -############################################################## Extra scripts -init script: - card_shape := { "old" } -############################################################## Set info fields -############################################################## Extra style -styling field: - type: package choice - name: text box symbols - match: vs-standard-*.mse-symbol-font - initial: vs-standard-arrow.mse-symbol-font -styling field: - type: boolean - name: foils - description: Use foil backgrounds? - initial: no -styling field: - type: boolean - name: watermarkings - description: Use watermarks? - initial: no -styling field: - type: boolean - name: edition - description: Is the set a 1st Edition? - initial: no -############################################################## Card fields -card style: - ############################# Background stuff - card type: - left: 0 - top: 0 - width: 375 - height: 523 - z index: -2 - render style: image - popup style: in place - choice images: - characters visible character: cvchcard.jpg - characters visible character dual: cvchcard.jpg - characters visible character dual (new): cvcncard.jpg - characters hidden concealed: chcocard.jpg - characters hidden concealed dual: chcocard.jpg - characters hidden concealed dual (new): choncard.jpg - characters concealed-optional concealed-optional character: chcocard.jpg - characters concealed-optional concealed-optional dual: chcocard.jpg - characters concealed-optional concealed-optional dual (new): choncard.jpg - equipment visible equipment: eveqcard.jpg - equipment concealed equipment: eveqcard.jpg - equipment concealed-optional equipment: eveqcard.jpg - location: locard.jpg - plot twist: ptcard.jpg - planet: locard.jpg - ############################# Name line - full name: - left: 85 - top : 23 - width: 224 - height: 24 - alignment: bottom shrink-overflow - font: - name: Percolator Expert TM - size: 22 - color: - script: if is_concealed() then rgb(23,4,6) - else if is_equipment() then rgb(18,21,26) - else if is_location() then rgb(31,53,30) - else if is_plot_twist() then rgb(28,47,87) - else rgb(22,10,10) - symbol font: - name: vs-standard-arrow - size: 15 - alignment: middle center - z index: 4 - cost: - left: 35 - top : 34 - width: 13 - height: 31 - alignment: bottom center - font: - name: BadhouseBoldNumbers - size: 35 - color: - script: if is_equipment() then rgb(240,221,146) - else if is_location() then rgb(193,240,250) - else if is_plot_twist() then rgb(161,174,238) - else rgb(255,236,130) - z index: 4 - ############################# Image - image: - left: { if is_new_dual() then 60 else 42 } - top: 73 - width: { if is_new_dual() then 283 else 301 } - height: 342 - mask: { if is_new_dual() then "image-mask-dual.png" else "image-mask.png" } - z index: 1 - card symbol: - left: 310 - top : 31 - height: 30 - width: 45 - render style: image - choice images: - Marvel: /vs-common.mse-include/marvel.png - DC-new: /vs-common.mse-include/dcnew.png - DC-old: /vs-common.mse-include/dcold.png - Hellboy: /vs-common.mse-include/hellboy.png - Other...: { set.custom_logo } - z index: 3 - edition: - left: 335 - top: 472 - height: 15 - width: 20 - render style: image - choice images: - first edition: /vs-common.mse-include/first-edition.png - z index: 3 - visible: { styling.edition } - ############################# Type Bar - type text full: - left: { if is_new_dual() then 87 else 74 } - top: 401 - width: { if is_new_dual() then 243 else 256 } - height: 14 - font: - name: Eurostile - size: 9 - color: rgb(0,0,0) - visible: { is_character() } - alignment: middle center shrink-overflow - z index: 3 - type bar: - left: { if is_new_dual() then 87 else 74 } - top: 401 - width: { if is_new_dual() then 240 else 252 } - height: 14 - visible: { card.type_text != "" } - render style: image - choice images: - type bar: type-bar.png - z index: 2 - ############################# Version - version full: - left: 85 - top : 44 - width: 224 - height: 18 - alignment: top shrink-overflow - z index: 4 - font: - name: Percolator Expert TM - size: 14 - color: - script: if is_concealed() then rgb(23,4,6) - else if is_equipment() then rgb(18,21,26) - else if is_location() then rgb(31,53,30) - else if is_plot_twist() then rgb(28,47,87) - else rgb(22,10,10) - separator color: rgb(128,128,128) - ############################# Card ID - number line: - left: 136 - top : 495 - width: 30 - height: 13 - z index: 4 - font: - name: Eurostile - size: 8 - color: - script: if card.rarity=="common" then rgb(255,255,255) - else if card.rarity=="uncommon" then rgb(80,174,255) - else if card.rarity=="rare" then rgb(255,236,130) - else if card.rarity=="promo" then rgb(255,20,20) - else rgb(255,255,255) - weight: bold - promo outliner: - left: 135 - top : 494 - width: 30 - height: 18 - visible: { card.rarity=="promo" } - z index: 3 - font: - name: Eurostile - size: 8 - color: rgb(255,255,255) - weight: bold - promo outliner 2: - left: 137 - top : 496 - width: 30 - height: 18 - visible: { card.rarity=="promo" } - z index: 3 - font: - name: Eurostile - size: 8 - color: rgb(255,255,255) - weight: bold - rarity: - left: 135 - top: 489 - width: 50 - height: 16 - z index: 4 - render style: image hidden - choice images: - common: /vs-common.mse-include/rarity-common.png - uncommon: /vs-common.mse-include/rarity-uncommon.png - rare: /vs-common.mse-include/rarity-rare.png - promo: /vs-common.mse-include/rarity-promo.png - ############################# Affiliation - team 2 full: - left: 18 - top : 340 - height: 28 - width: 245 - angle: 90 - font: - name: Percolator Expert TM - size: 19 - scale down to: 18 - color: rgb(245,230,197) - visible: { is_new_dual() } - alignment: center shrink-overflow - z index: 4 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - ############################# FlightRange - symbols: - left: 20 - top : { if is_new_dual() then 365 else 320 } - height: { if is_new_dual() then 34 else 17 } - width: { if is_new_dual() then 38 else 19 } - z index: 4 - render style: image list - choice images: - flight: { if is_new_dual() then "/vs-common.mse-include/flight.png" else "/vs-common.mse-include/flight2.png" } - ongoing: { if is_new_dual() then "/vs-common.mse-include/ongoing.png" else "/vs-common.mse-include/ongoing2.png" } - range: { if is_new_dual() then "/vs-common.mse-include/range.png" else "/vs-common.mse-include/range2.png" } - direction: vertical - spacing: { if is_new_dual() then 35 else 20 } - ############################# Text box - rule text: - left: { if is_new_dual() then 105 else 95 } - top : 430 - width: { if is_new_dual() then 250 else 263 } - height: 50 - mask: text-mask.png - font: - name: Eurostile - italic name: EurostileObl-Normal - size: 8 - scale down to: 4 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_symbols } - size: 8 - alignment: middle center - alignment: top left - z index: 4 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - line height hard: 1.4 - flavor text: - left: { if is_new_dual() then 95 else 90 } - top : 440 - width: 265 - height: 50 - mask: flavor-text-mask.png - font: - name: EurostileObl-Normal - size: 8 - scale down to: 4 - color: rgb(0,0,0) - alignment: bottom left - z index: 3 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - line height hard: 1.2 - watermark: - left: { if watermark_narrow() then 190 else if watermark_wide() then 180 else if is_new_dual() then 217 else 200 } - top: 435 - width: { if watermark_narrow() then 35 else if watermark_wide() then 90 else 50 } - height: 50 - visible: { styling.watermarkings } - render style: image - include file: /vs-common.mse-include/watermarks - z index: 4 - ############################# Atack/defence - attack: - z index: 4 - left: 47 - top: 430 - width: 30 - height: 47 - visible: { is_character() } - z index: 4 - alignment: bottom left shrink-overflow - font: - name: BadhouseBoldNumbers - size: 40 - color: rgb(255,236,130) - shadow color: rgb(0,0,0) - shadow displacement x: 3 - shadow displacement y: 0 - defence: - z index: 4 - left: 47 - top: 465 - width: 30 - height: 47 - visible: { is_character() } - z index: 4 - alignment: bottom left shrink-overflow - padding bottom: -4 - font: - name: BadhouseBoldNumbers - size: 40 - color: rgb(200,213,225) - shadow color: rgb(0,0,0) - shadow displacement x: -3 - shadow displacement y: 0 - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 122 - top : 417 - width: 170 - height: 10 - alignment: center top - z index: 4 - font: - name: Eurostile - size: 6 - color: rgb(255,255,255) - copyright: - left: 195 - top : 492 - width: 110 - height: 13 - z index: 4 - alignment: middle left - font: - name: Eurostile - size: 4 - color: rgb(255,255,255) -############################################################## Extra card fields -extra card field: - type: choice - name: foil layer - choice: foil - editable: false -extra card style: - foil layer: - left: 0 - top : 0 - width: { if styling.foils=="no" then 0 else 375 } - height: { if styling.foils=="no" then 0 else 523 } - z index: 8 - render style: image - choice images: - foil: /vs-common.mse-include/foil.png - visible: { styling.foils } +mse version: 0.3.7 +game: vs +full name: VS Extended Art +short name: Extended Art +installer group: VS System/Standard style/Extended art +icon: card-sample.png +position hint: 005 + +version: 2008-10-26 +depends on: + package: vs.mse-game + version: 2008-10-26 +depends on: + package: vs-common.mse-include + version: 2008-01-03 +depends on: + package: vs-standard-arrow.mse-symbol-font + version: 2008-01-03 + +card background: white +card width: 375 +card height: 523 +card dpi: 150 + +############################################################## Extra scripts +init script: + card_shape := { "old" } +############################################################## Set info fields +############################################################## Extra style +styling field: + type: package choice + name: text box symbols + match: vs-standard-*.mse-symbol-font + initial: vs-standard-arrow.mse-symbol-font +styling field: + type: boolean + name: foils + description: Use foil backgrounds? + initial: no +styling field: + type: boolean + name: watermarkings + description: Use watermarks? + initial: no +styling field: + type: boolean + name: edition + description: Is the set a 1st Edition? + initial: no +############################################################## Card fields +card style: + ############################# Background stuff + card type: + left: 0 + top: 0 + width: 375 + height: 523 + z index: -2 + render style: image + popup style: in place + choice images: + characters visible character: cvchcard.jpg + characters visible character dual: cvchcard.jpg + characters visible character dual (new): cvcncard.jpg + characters hidden concealed: chcocard.jpg + characters hidden concealed dual: chcocard.jpg + characters hidden concealed dual (new): choncard.jpg + characters concealed-optional concealed-optional character: chcocard.jpg + characters concealed-optional concealed-optional dual: chcocard.jpg + characters concealed-optional concealed-optional dual (new): choncard.jpg + equipment visible equipment: eveqcard.jpg + equipment concealed equipment: eveqcard.jpg + equipment concealed-optional equipment: eveqcard.jpg + location: locard.jpg + plot twist: ptcard.jpg + planet: locard.jpg + ############################# Name line + full name: + left: 85 + top : 23 + width: 224 + height: 24 + alignment: bottom shrink-overflow + font: + name: Percolator Expert TM + size: 22 + color: + script: if is_concealed() then rgb(23,4,6) + else if is_equipment() then rgb(18,21,26) + else if is_location() then rgb(31,53,30) + else if is_plot_twist() then rgb(28,47,87) + else rgb(22,10,10) + symbol font: + name: vs-standard-arrow + size: 15 + alignment: middle center + z index: 4 + cost: + left: 35 + top : 34 + width: 13 + height: 31 + alignment: bottom center + font: + name: BadhouseBoldNumbers + size: 35 + color: + script: if is_equipment() then rgb(240,221,146) + else if is_location() then rgb(193,240,250) + else if is_plot_twist() then rgb(161,174,238) + else rgb(255,236,130) + z index: 4 + ############################# Image + image: + left: { if is_new_dual() then 60 else 42 } + top: 73 + width: { if is_new_dual() then 283 else 301 } + height: 342 + mask: { if is_new_dual() then "image-mask-dual.png" else "image-mask.png" } + z index: 1 + card symbol: + left: 310 + top : 31 + height: 30 + width: 45 + render style: image + choice images: + Marvel: /vs-common.mse-include/marvel.png + DC-new: /vs-common.mse-include/dcnew.png + DC-old: /vs-common.mse-include/dcold.png + Hellboy: /vs-common.mse-include/hellboy.png + Other...: { set.custom_logo } + z index: 3 + edition: + left: 335 + top: 472 + height: 15 + width: 20 + render style: image + choice images: + first edition: /vs-common.mse-include/first-edition.png + z index: 3 + visible: { styling.edition } + ############################# Type Bar + type text full: + left: { if is_new_dual() then 87 else 74 } + top: 401 + width: { if is_new_dual() then 243 else 256 } + height: 14 + font: + name: Eurostile + size: 9 + color: rgb(0,0,0) + visible: { is_character() } + alignment: middle center shrink-overflow + z index: 3 + type bar: + left: { if is_new_dual() then 87 else 74 } + top: 401 + width: { if is_new_dual() then 240 else 252 } + height: 14 + visible: { card.type_text != "" } + render style: image + choice images: + type bar: type-bar.png + z index: 2 + ############################# Version + version full: + left: 85 + top : 44 + width: 224 + height: 18 + alignment: top shrink-overflow + z index: 4 + font: + name: Percolator Expert TM + size: 14 + color: + script: if is_concealed() then rgb(23,4,6) + else if is_equipment() then rgb(18,21,26) + else if is_location() then rgb(31,53,30) + else if is_plot_twist() then rgb(28,47,87) + else rgb(22,10,10) + separator color: rgb(128,128,128) + ############################# Card ID + number line: + left: 136 + top : 495 + width: 30 + height: 13 + z index: 4 + font: + name: Eurostile + size: 8 + color: + script: if card.rarity=="common" then rgb(255,255,255) + else if card.rarity=="uncommon" then rgb(80,174,255) + else if card.rarity=="rare" then rgb(255,236,130) + else if card.rarity=="promo" then rgb(255,20,20) + else rgb(255,255,255) + weight: bold + promo outliner: + left: 135 + top : 494 + width: 30 + height: 18 + visible: { card.rarity=="promo" } + z index: 3 + font: + name: Eurostile + size: 8 + color: rgb(255,255,255) + weight: bold + promo outliner 2: + left: 137 + top : 496 + width: 30 + height: 18 + visible: { card.rarity=="promo" } + z index: 3 + font: + name: Eurostile + size: 8 + color: rgb(255,255,255) + weight: bold + rarity: + left: 135 + top: 489 + width: 50 + height: 16 + z index: 4 + render style: image hidden + choice images: + common: /vs-common.mse-include/rarity-common.png + uncommon: /vs-common.mse-include/rarity-uncommon.png + rare: /vs-common.mse-include/rarity-rare.png + promo: /vs-common.mse-include/rarity-promo.png + ############################# Affiliation + team 2 full: + left: 18 + top : 340 + height: 28 + width: 245 + angle: 90 + font: + name: Percolator Expert TM + size: 19 + scale down to: 18 + color: rgb(245,230,197) + visible: { is_new_dual() } + alignment: center shrink-overflow + z index: 4 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + ############################# FlightRange + symbols: + left: 20 + top : { if is_new_dual() then 365 else 320 } + height: { if is_new_dual() then 34 else 17 } + width: { if is_new_dual() then 38 else 19 } + z index: 4 + render style: image list + choice images: + flight: { if is_new_dual() then "/vs-common.mse-include/flight.png" else "/vs-common.mse-include/flight2.png" } + ongoing: { if is_new_dual() then "/vs-common.mse-include/ongoing.png" else "/vs-common.mse-include/ongoing2.png" } + range: { if is_new_dual() then "/vs-common.mse-include/range.png" else "/vs-common.mse-include/range2.png" } + direction: vertical + spacing: { if is_new_dual() then 35 else 20 } + ############################# Text box + rule text: + left: { if is_new_dual() then 105 else 95 } + top : 430 + width: { if is_new_dual() then 250 else 263 } + height: 50 + mask: text-mask.png + font: + name: Eurostile + italic name: EurostileObl-Normal + size: 8 + scale down to: 4 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_symbols } + size: 8 + alignment: middle center + alignment: top left + z index: 4 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + line height hard: 1.4 + flavor text: + left: { if is_new_dual() then 95 else 90 } + top : 440 + width: 265 + height: 50 + mask: flavor-text-mask.png + font: + name: EurostileObl-Normal + size: 8 + scale down to: 4 + color: rgb(0,0,0) + alignment: bottom left + z index: 3 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + line height hard: 1.2 + watermark: + left: { if watermark_narrow() then 190 else if watermark_wide() then 180 else if is_new_dual() then 217 else 200 } + top: 435 + width: { if watermark_narrow() then 35 else if watermark_wide() then 90 else 50 } + height: 50 + visible: { styling.watermarkings } + render style: image + include file: /vs-common.mse-include/watermarks + z index: 4 + ############################# Atack/defence + attack: + z index: 4 + left: 47 + top: 430 + width: 30 + height: 47 + visible: { is_character() } + z index: 4 + alignment: bottom left shrink-overflow + font: + name: BadhouseBoldNumbers + size: 40 + color: rgb(255,236,130) + shadow color: rgb(0,0,0) + shadow displacement x: 3 + shadow displacement y: 0 + defence: + z index: 4 + left: 47 + top: 465 + width: 30 + height: 47 + visible: { is_character() } + z index: 4 + alignment: bottom left shrink-overflow + padding bottom: -4 + font: + name: BadhouseBoldNumbers + size: 40 + color: rgb(200,213,225) + shadow color: rgb(0,0,0) + shadow displacement x: -3 + shadow displacement y: 0 + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 122 + top : 417 + width: 170 + height: 10 + alignment: center top + z index: 4 + font: + name: Eurostile + size: 6 + color: rgb(255,255,255) + copyright: + left: 195 + top : 492 + width: 110 + height: 13 + z index: 4 + alignment: middle left + font: + name: Eurostile + size: 4 + color: rgb(255,255,255) +############################################################## Extra card fields +extra card field: + type: choice + name: foil layer + choice: foil + editable: false +extra card style: + foil layer: + left: 0 + top : 0 + width: { if styling.foils=="no" then 0 else 375 } + height: { if styling.foils=="no" then 0 else 523 } + z index: 8 + render style: image + choice images: + foil: /vs-common.mse-include/foil.png + visible: { styling.foils } diff --git a/data/vs-extended-hellboy.mse-style/style b/data/vs-extended-hellboy.mse-style/style index 644b6e23..339fafac 100644 --- a/data/vs-extended-hellboy.mse-style/style +++ b/data/vs-extended-hellboy.mse-style/style @@ -1,396 +1,396 @@ -mse version: 0.3.7 -game: vs -full name: Hellboy Extended Art -short name: Extended Art -installer group: VS System/Hellboy style/Extended Art -icon: card-sample.png -position hint: 006 - -version: 2008-10-26 -depends on: - package: vs.mse-game - version: 2008-10-26 -depends on: - package: vs-common.mse-include - version: 2008-01-03 -depends on: - package: vs-standard-arrow.mse-symbol-font - version: 2008-01-03 - -card background: white -card width: 375 -card height: 523 -card dpi: 150 - -############################################################## Extra scripts -init script: - card_shape := { "old" } -############################################################## Set info fields -############################################################## Extra style -styling field: - type: package choice - name: text box symbols - match: vs-standard-*.mse-symbol-font - initial: vs-standard-arrow.mse-symbol-font -styling field: - type: boolean - name: foils - description: Use foil backgrounds? - initial: no -styling field: - type: boolean - name: watermarkings - description: Use watermarks? - initial: no -styling field: - type: boolean - name: edition - description: Is the set a 1st Edition? - initial: no -############################################################## Card fields -card style: - ############################# Background stuff - card type: - left: 0 - top: 0 - width: 375 - height: 523 - z index: -2 - render style: image - popup style: in place - choice images: - characters visible character: cvchcard.jpg - characters visible character dual: cvchcard.jpg - characters visible character dual (new): cvcncard.jpg - characters hidden concealed: chcocard.jpg - characters hidden concealed dual: chcocard.jpg - characters hidden concealed dual (new): choncard.jpg - characters concealed-optional concealed-optional character: chcocard.jpg - characters concealed-optional concealed-optional dual: chcocard.jpg - characters concealed-optional concealed-optional dual (new): choncard.jpg - equipment visible equipment: eveqcard.jpg - equipment concealed equipment: eveqcard.jpg - equipment concealed-optional equipment: eveqcard.jpg - location: locard.jpg - plot twist: ptcard.jpg - planet: locard.jpg - ############################# Name line - full name: - left: 85 - top : 23 - width: 224 - height: 24 - alignment: bottom shrink-overflow - font: - name: Percolator Expert TM - size: 22 - color: - script: if is_concealed() then rgb(23,4,6) - else if is_equipment() then rgb(18,21,26) - else if is_location() then rgb(31,53,30) - else if is_plot_twist() then rgb(28,47,87) - else rgb(22,10,10) - symbol font: - name: vs-standard-arrow - size: 15 - alignment: middle center - z index: 4 - cost: - left: 35 - top : 34 - width: 13 - height: 31 - alignment: bottom center - font: - name: BadhouseBoldNumbers - size: 35 - color: - script: if is_equipment() then rgb(240,221,146) - else if is_location() then rgb(193,240,250) - else if is_plot_twist() then rgb(161,174,238) - else rgb(255,236,130) - z index: 4 - ############################# Image - image: - left: { if is_new_dual() then 60 else 42 } - top: 73 - width: { if is_new_dual() then 283 else 301 } - height: 342 - mask: { if is_new_dual() then "image-mask-dual.png" else "image-mask.png" } - z index: 1 - card symbol: - left: 310 - top : 31 - height: 30 - width: 45 - render style: image - choice images: - Marvel: /vs-common.mse-include/marvel.png - DC-new: /vs-common.mse-include/dcnew.png - DC-old: /vs-common.mse-include/dcold.png - Hellboy: /vs-common.mse-include/hellboy.png - Other...: { set.custom_logo } - z index: 3 - edition: - left: 335 - top: 472 - height: 15 - width: 20 - render style: image - choice images: - first edition: /vs-common.mse-include/first-edition.png - z index: 3 - visible: { styling.edition } - ############################# Type Bar - type text full: - left: { if is_new_dual() then 87 else 74 } - top: 401 - width: { if is_new_dual() then 243 else 256 } - height: 14 - font: - name: Eurostile - size: 9 - color: rgb(0,0,0) - visible: { is_character() } - alignment: middle center shrink-overflow - z index: 3 - type bar: - left: { if is_new_dual() then 87 else 74 } - top: 401 - width: { if is_new_dual() then 240 else 252 } - height: 14 - visible: { card.type_text != "" } - render style: image - choice images: - type bar: type-bar.png - z index: 2 - ############################# Version - version full: - left: 85 - top : 44 - width: 224 - height: 18 - alignment: top shrink-overflow - z index: 4 - font: - name: Percolator Expert TM - size: 14 - color: - script: if is_concealed() then rgb(23,4,6) - else if is_equipment() then rgb(18,21,26) - else if is_location() then rgb(31,53,30) - else if is_plot_twist() then rgb(28,47,87) - else rgb(22,10,10) - separator color: rgb(128,128,128) - ############################# Card ID - number line: - left: 136 - top : 495 - width: 30 - height: 13 - z index: 4 - font: - name: Eurostile - size: 8 - color: - script: if card.rarity=="common" then rgb(255,255,255) - else if card.rarity=="uncommon" then rgb(80,174,255) - else if card.rarity=="rare" then rgb(255,236,130) - else if card.rarity=="promo" then rgb(255,20,20) - else rgb(255,255,255) - weight: bold - promo outliner: - left: 135 - top : 494 - width: 30 - height: 18 - visible: { card.rarity=="promo" } - z index: 3 - font: - name: Eurostile - size: 8 - color: rgb(255,255,255) - weight: bold - promo outliner 2: - left: 137 - top : 496 - width: 30 - height: 18 - visible: { card.rarity=="promo" } - z index: 3 - font: - name: Eurostile - size: 8 - color: rgb(255,255,255) - weight: bold - rarity: - left: 135 - top: 489 - width: 50 - height: 16 - z index: 4 - render style: image hidden - choice images: - common: /vs-common.mse-include/rarity-common.png - uncommon: /vs-common.mse-include/rarity-uncommon.png - rare: /vs-common.mse-include/rarity-rare.png - promo: /vs-common.mse-include/rarity-promo.png - ############################# Affiliation - team 2 full: - left: 18 - top : 340 - height: 28 - width: 245 - angle: 90 - font: - name: Percolator Expert TM - size: 19 - scale down to: 18 - color: rgb(245,230,197) - visible: { is_new_dual() } - alignment: center shrink-overflow - z index: 4 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - ############################# FlightRange - symbols: - left: 20 - top : { if is_new_dual() then 365 else 320 } - height: { if is_new_dual() then 34 else 17 } - width: { if is_new_dual() then 38 else 19 } - z index: 4 - render style: image list - choice images: - flight: { if is_new_dual() then "/vs-common.mse-include/flight.png" else "/vs-common.mse-include/flight2.png" } - ongoing: { if is_new_dual() then "/vs-common.mse-include/ongoing.png" else "/vs-common.mse-include/ongoing2.png" } - range: { if is_new_dual() then "/vs-common.mse-include/range.png" else "/vs-common.mse-include/range2.png" } - direction: vertical - spacing: { if is_new_dual() then 35 else 20 } - ############################# Text box - rule text: - left: { if is_new_dual() then 105 else 95 } - top : 430 - width: { if is_new_dual() then 250 else 263 } - height: 50 - mask: text-mask.png - font: - name: Eurostile - italic name: EurostileObl-Normal - size: 8 - scale down to: 4 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_symbols } - size: 8 - alignment: middle center - alignment: top left - z index: 4 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - line height hard: 1.4 - flavor text: - left: { if is_new_dual() then 95 else 90 } - top : 440 - width: 265 - height: 50 - mask: flavor-text-mask.png - font: - name: EurostileObl-Normal - size: 8 - scale down to: 4 - color: rgb(0,0,0) - alignment: bottom left - z index: 3 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - line height hard: 1.2 - watermark: - left: { if watermark_narrow() then 190 else if watermark_wide() then 180 else if is_new_dual() then 217 else 200 } - top: 435 - width: { if watermark_narrow() then 35 else if watermark_wide() then 90 else 50 } - height: 50 - visible: { styling.watermarkings } - render style: image - include file: /vs-common.mse-include/watermarks - z index: 4 - ############################# Atack/defence - attack: - z index: 4 - left: 47 - top: 430 - width: 30 - height: 47 - visible: { is_character() } - z index: 4 - alignment: bottom left shrink-overflow - font: - name: BadhouseBoldNumbers - size: 40 - color: rgb(255,236,130) - shadow color: rgb(0,0,0) - shadow displacement x: 3 - shadow displacement y: 0 - defence: - z index: 4 - left: 47 - top: 465 - width: 30 - height: 47 - visible: { is_character() } - z index: 4 - alignment: bottom left shrink-overflow - padding bottom: -4 - font: - name: BadhouseBoldNumbers - size: 40 - color: rgb(200,213,225) - shadow color: rgb(0,0,0) - shadow displacement x: -3 - shadow displacement y: 0 - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 122 - top : 417 - width: 170 - height: 10 - alignment: center top - z index: 4 - font: - name: Eurostile - size: 6 - color: rgb(255,255,255) - copyright: - left: 195 - top : 492 - width: 110 - height: 13 - z index: 4 - alignment: middle left - font: - name: Eurostile - size: 4 - color: rgb(255,255,255) -############################################################## Extra card fields -extra card field: - type: choice - name: foil layer - choice: foil - editable: false -extra card style: - foil layer: - left: 0 - top : 0 - width: { if styling.foils=="no" then 0 else 375 } - height: { if styling.foils=="no" then 0 else 523 } - z index: 8 - render style: image - choice images: - foil: /vs-common.mse-include/foil.png - visible: { styling.foils } +mse version: 0.3.7 +game: vs +full name: Hellboy Extended Art +short name: Extended Art +installer group: VS System/Hellboy style/Extended Art +icon: card-sample.png +position hint: 006 + +version: 2008-10-26 +depends on: + package: vs.mse-game + version: 2008-10-26 +depends on: + package: vs-common.mse-include + version: 2008-01-03 +depends on: + package: vs-standard-arrow.mse-symbol-font + version: 2008-01-03 + +card background: white +card width: 375 +card height: 523 +card dpi: 150 + +############################################################## Extra scripts +init script: + card_shape := { "old" } +############################################################## Set info fields +############################################################## Extra style +styling field: + type: package choice + name: text box symbols + match: vs-standard-*.mse-symbol-font + initial: vs-standard-arrow.mse-symbol-font +styling field: + type: boolean + name: foils + description: Use foil backgrounds? + initial: no +styling field: + type: boolean + name: watermarkings + description: Use watermarks? + initial: no +styling field: + type: boolean + name: edition + description: Is the set a 1st Edition? + initial: no +############################################################## Card fields +card style: + ############################# Background stuff + card type: + left: 0 + top: 0 + width: 375 + height: 523 + z index: -2 + render style: image + popup style: in place + choice images: + characters visible character: cvchcard.jpg + characters visible character dual: cvchcard.jpg + characters visible character dual (new): cvcncard.jpg + characters hidden concealed: chcocard.jpg + characters hidden concealed dual: chcocard.jpg + characters hidden concealed dual (new): choncard.jpg + characters concealed-optional concealed-optional character: chcocard.jpg + characters concealed-optional concealed-optional dual: chcocard.jpg + characters concealed-optional concealed-optional dual (new): choncard.jpg + equipment visible equipment: eveqcard.jpg + equipment concealed equipment: eveqcard.jpg + equipment concealed-optional equipment: eveqcard.jpg + location: locard.jpg + plot twist: ptcard.jpg + planet: locard.jpg + ############################# Name line + full name: + left: 85 + top : 23 + width: 224 + height: 24 + alignment: bottom shrink-overflow + font: + name: Percolator Expert TM + size: 22 + color: + script: if is_concealed() then rgb(23,4,6) + else if is_equipment() then rgb(18,21,26) + else if is_location() then rgb(31,53,30) + else if is_plot_twist() then rgb(28,47,87) + else rgb(22,10,10) + symbol font: + name: vs-standard-arrow + size: 15 + alignment: middle center + z index: 4 + cost: + left: 35 + top : 34 + width: 13 + height: 31 + alignment: bottom center + font: + name: BadhouseBoldNumbers + size: 35 + color: + script: if is_equipment() then rgb(240,221,146) + else if is_location() then rgb(193,240,250) + else if is_plot_twist() then rgb(161,174,238) + else rgb(255,236,130) + z index: 4 + ############################# Image + image: + left: { if is_new_dual() then 60 else 42 } + top: 73 + width: { if is_new_dual() then 283 else 301 } + height: 342 + mask: { if is_new_dual() then "image-mask-dual.png" else "image-mask.png" } + z index: 1 + card symbol: + left: 310 + top : 31 + height: 30 + width: 45 + render style: image + choice images: + Marvel: /vs-common.mse-include/marvel.png + DC-new: /vs-common.mse-include/dcnew.png + DC-old: /vs-common.mse-include/dcold.png + Hellboy: /vs-common.mse-include/hellboy.png + Other...: { set.custom_logo } + z index: 3 + edition: + left: 335 + top: 472 + height: 15 + width: 20 + render style: image + choice images: + first edition: /vs-common.mse-include/first-edition.png + z index: 3 + visible: { styling.edition } + ############################# Type Bar + type text full: + left: { if is_new_dual() then 87 else 74 } + top: 401 + width: { if is_new_dual() then 243 else 256 } + height: 14 + font: + name: Eurostile + size: 9 + color: rgb(0,0,0) + visible: { is_character() } + alignment: middle center shrink-overflow + z index: 3 + type bar: + left: { if is_new_dual() then 87 else 74 } + top: 401 + width: { if is_new_dual() then 240 else 252 } + height: 14 + visible: { card.type_text != "" } + render style: image + choice images: + type bar: type-bar.png + z index: 2 + ############################# Version + version full: + left: 85 + top : 44 + width: 224 + height: 18 + alignment: top shrink-overflow + z index: 4 + font: + name: Percolator Expert TM + size: 14 + color: + script: if is_concealed() then rgb(23,4,6) + else if is_equipment() then rgb(18,21,26) + else if is_location() then rgb(31,53,30) + else if is_plot_twist() then rgb(28,47,87) + else rgb(22,10,10) + separator color: rgb(128,128,128) + ############################# Card ID + number line: + left: 136 + top : 495 + width: 30 + height: 13 + z index: 4 + font: + name: Eurostile + size: 8 + color: + script: if card.rarity=="common" then rgb(255,255,255) + else if card.rarity=="uncommon" then rgb(80,174,255) + else if card.rarity=="rare" then rgb(255,236,130) + else if card.rarity=="promo" then rgb(255,20,20) + else rgb(255,255,255) + weight: bold + promo outliner: + left: 135 + top : 494 + width: 30 + height: 18 + visible: { card.rarity=="promo" } + z index: 3 + font: + name: Eurostile + size: 8 + color: rgb(255,255,255) + weight: bold + promo outliner 2: + left: 137 + top : 496 + width: 30 + height: 18 + visible: { card.rarity=="promo" } + z index: 3 + font: + name: Eurostile + size: 8 + color: rgb(255,255,255) + weight: bold + rarity: + left: 135 + top: 489 + width: 50 + height: 16 + z index: 4 + render style: image hidden + choice images: + common: /vs-common.mse-include/rarity-common.png + uncommon: /vs-common.mse-include/rarity-uncommon.png + rare: /vs-common.mse-include/rarity-rare.png + promo: /vs-common.mse-include/rarity-promo.png + ############################# Affiliation + team 2 full: + left: 18 + top : 340 + height: 28 + width: 245 + angle: 90 + font: + name: Percolator Expert TM + size: 19 + scale down to: 18 + color: rgb(245,230,197) + visible: { is_new_dual() } + alignment: center shrink-overflow + z index: 4 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + ############################# FlightRange + symbols: + left: 20 + top : { if is_new_dual() then 365 else 320 } + height: { if is_new_dual() then 34 else 17 } + width: { if is_new_dual() then 38 else 19 } + z index: 4 + render style: image list + choice images: + flight: { if is_new_dual() then "/vs-common.mse-include/flight.png" else "/vs-common.mse-include/flight2.png" } + ongoing: { if is_new_dual() then "/vs-common.mse-include/ongoing.png" else "/vs-common.mse-include/ongoing2.png" } + range: { if is_new_dual() then "/vs-common.mse-include/range.png" else "/vs-common.mse-include/range2.png" } + direction: vertical + spacing: { if is_new_dual() then 35 else 20 } + ############################# Text box + rule text: + left: { if is_new_dual() then 105 else 95 } + top : 430 + width: { if is_new_dual() then 250 else 263 } + height: 50 + mask: text-mask.png + font: + name: Eurostile + italic name: EurostileObl-Normal + size: 8 + scale down to: 4 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_symbols } + size: 8 + alignment: middle center + alignment: top left + z index: 4 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + line height hard: 1.4 + flavor text: + left: { if is_new_dual() then 95 else 90 } + top : 440 + width: 265 + height: 50 + mask: flavor-text-mask.png + font: + name: EurostileObl-Normal + size: 8 + scale down to: 4 + color: rgb(0,0,0) + alignment: bottom left + z index: 3 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + line height hard: 1.2 + watermark: + left: { if watermark_narrow() then 190 else if watermark_wide() then 180 else if is_new_dual() then 217 else 200 } + top: 435 + width: { if watermark_narrow() then 35 else if watermark_wide() then 90 else 50 } + height: 50 + visible: { styling.watermarkings } + render style: image + include file: /vs-common.mse-include/watermarks + z index: 4 + ############################# Atack/defence + attack: + z index: 4 + left: 47 + top: 430 + width: 30 + height: 47 + visible: { is_character() } + z index: 4 + alignment: bottom left shrink-overflow + font: + name: BadhouseBoldNumbers + size: 40 + color: rgb(255,236,130) + shadow color: rgb(0,0,0) + shadow displacement x: 3 + shadow displacement y: 0 + defence: + z index: 4 + left: 47 + top: 465 + width: 30 + height: 47 + visible: { is_character() } + z index: 4 + alignment: bottom left shrink-overflow + padding bottom: -4 + font: + name: BadhouseBoldNumbers + size: 40 + color: rgb(200,213,225) + shadow color: rgb(0,0,0) + shadow displacement x: -3 + shadow displacement y: 0 + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 122 + top : 417 + width: 170 + height: 10 + alignment: center top + z index: 4 + font: + name: Eurostile + size: 6 + color: rgb(255,255,255) + copyright: + left: 195 + top : 492 + width: 110 + height: 13 + z index: 4 + alignment: middle left + font: + name: Eurostile + size: 4 + color: rgb(255,255,255) +############################################################## Extra card fields +extra card field: + type: choice + name: foil layer + choice: foil + editable: false +extra card style: + foil layer: + left: 0 + top : 0 + width: { if styling.foils=="no" then 0 else 375 } + height: { if styling.foils=="no" then 0 else 523 } + z index: 8 + render style: image + choice images: + foil: /vs-common.mse-include/foil.png + visible: { styling.foils } diff --git a/data/vs-hellboy.mse-style/style b/data/vs-hellboy.mse-style/style index 678ecbee..cd4e1204 100644 --- a/data/vs-hellboy.mse-style/style +++ b/data/vs-hellboy.mse-style/style @@ -1,423 +1,423 @@ -mse version: 0.3.7 -game: vs -full name: Hellboy Normal -installer group: VS System/Hellboy style/Normal -short name: Hellboy -icon: card-sample.png -position hint: 003 - -version: 2008-10-26 -depends on: - package: vs.mse-game - version: 2008-10-26 -depends on: - package: vs-common.mse-include - version: 2008-01-03 -depends on: - package: vs-standard-arrow.mse-symbol-font - version: 2008-01-03 - -card background: white -card width: 375 -card height: 523 -card dpi: 150 - -############################################################## Extra scripts -init script: - card_shape := { "old" } -############################################################## Set info fields -############################################################## Extra style -styling field: - type: package choice - name: text box symbols - match: vs-standard-*.mse-symbol-font - initial: vs-standard-arrow.mse-symbol-font -styling field: - type: boolean - name: foils - description: Use foil backgrounds? - initial: no -styling field: - type: boolean - name: watermarkings - description: Use watermarks? - initial: no -styling field: - type: boolean - name: edition - description: Is the set a 1st Edition? - initial: no -############################################################## Card fields -card style: - ############################# Background stuff - card type: - left: 0 - top: 0 - width: 375 - height: 523 - z index: -2 - render style: image - popup style: in place - choice images: - characters visible character: cvchcard.jpg - characters visible character dual: cvcdcard.jpg - characters visible character dual (new): cvcncard.jpg - characters hidden concealed: chcocard.jpg - characters hidden concealed dual: chodcard.jpg - characters hidden concealed dual (new): choncard.jpg - characters concealed-optional concealed-optional character: chcocard.jpg - characters concealed-optional concealed-optional dual: chodcard.jpg - characters concealed-optional concealed-optional dual (new): choncard.jpg - equipment visible equipment: eveqcard.jpg - equipment concealed equipment: eveqcard.jpg - equipment concealed-optional equipment: eveqcard.jpg - location: locard.jpg - plot twist: ptcard.jpg - planet: locard.jpg - ############################# Name line - full name: - left: 90 - top : 25 - width: 219 - height: 24 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 4 - font: - name: Percolator Expert TM - size: 22 - color: - script: if is_concealed() then rgb(23,4,6) - else if is_equipment() then rgb(18,21,26) - else if is_location() then rgb(31,53,30) - else if is_plot_twist() then rgb(28,47,87) - else rgb(22,10,10) - symbol font: - name: vs-standard-arrow - size: 15 - alignment: middle center - cost: - left: 33 - top : 30 - width: 25 - height: 41 - alignment: bottom center - font: - name: BadhouseBoldNumbers - size: 40 - color: - script: if is_equipment() then rgb(240,221,146) - else if is_location() then rgb(193,240,250) - else if is_plot_twist() then rgb(161,174,238) - else rgb(255,236,130) - z index: 4 - padding top: 0 - ############################# Image - image: - left: 65 - top: 78 - width: { if is_dual() then 249 else 282 } - height: 241 - mask: { if is_dual() then "image-mask-dual.png" else "image-mask.png" } - z index: 1 - card symbol: - left: 310 - top : 31 - height: 30 - width: 45 - render style: image - choice images: - Marvel: /vs-common.mse-include/marvel.png - DC-new: /vs-common.mse-include/dcnew.png - DC-old: /vs-common.mse-include/dcold.png - Hellboy: /vs-common.mse-include/hellboy.png - Other...: { set.custom_logo } - z index: 3 - edition: - left: 315 - top: 447 - height: 26 - width: 34 - render style: image - choice images: - first edition: /vs-common.mse-include/first-edition.png - z index: 3 - visible: { styling.edition } - ############################# Type Bar - type text full: - left: 72 - top: 297 - width: { if is_dual() then 235 else 268 } - height: 20 - font: - name: Eurostile - size: 11 - color: rgb(0,0,0) - visible: { is_character() } - alignment: middle center - z index: 3 - type bar: - left: 72 - top: 297 - width: { if is_dual() then 235 else 268 } - height: 20 - visible: { card.type_text != "" } - render style: image - choice images: - type bar: type-bar.png - z index: 2 - ############################# Version - version full: - left: 90 - top : 46 - width: 219 - height: 18 - alignment: top shrink-overflow - z index: 4 - font: - name: Percolator Expert TM - size: 14 - color: - script: if is_concealed() then rgb(23,4,6) - else if is_equipment() then rgb(18,21,26) - else if is_location() then rgb(31,53,30) - else if is_plot_twist() then rgb(28,47,87) - else rgb(22,10,10) - separator color: rgb(128,128,128) - ############################# Card ID - number line: - left: 136 - top : 485 - width: 30 - height: 18 - z index: 4 - font: - name: Eurostile - size: 8 - color: - script: if card.rarity=="common" then rgb(255,255,255) - else if card.rarity=="uncommon" then rgb(80,174,255) - else if card.rarity=="rare" then rgb(255,236,130) - else if card.rarity=="promo" then rgb(255,20,20) - else rgb(255,255,255) - weight: bold - promo outliner: - left: 135 - top : 484 - width: 30 - height: 18 - visible: { card.rarity=="promo" } - z index: 3 - font: - name: Eurostile - size: 8 - color: rgb(255,255,255) - weight: bold - promo outliner 2: - left: 137 - top : 486 - width: 30 - height: 18 - visible: { card.rarity=="promo" } - z index: 3 - font: - name: Eurostile - size: 8 - color: rgb(255,255,255) - weight: bold - rarity: - left: 135 - top: 484 - width: 50 - height: 30 - z index: 3 - render style: image hidden - choice images: - common: /vs-common.mse-include/rarity-common.png - uncommon: /vs-common.mse-include/rarity-uncommon.png - rare: /vs-common.mse-include/rarity-rare.png - promo: /vs-common.mse-include/rarity-promo.png - ############################# Affiliation - team full: - left: 23 - top : { if is_new_dual() then 340 else 300 } - height: 28 - width: { if is_new_dual() then 240 else 200 } - angle: 90 - font: - name: Percolator Expert TM - size: 16 - color: rgb(245,230,197) - symbol font: - name: vs-standard-arrow - size: 16 - alignment: middle center - alignment: middle center shrink-overflow - z index: 4 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - team 2 full: - left: 325 - top : 100 - height: 28 - width: 200 - angle: 270 - font: - name: Percolator Expert TM - size: 16 - scale down to: 18 - color: rgb(245,230,197) - symbol font: - name: vs-standard-arrow - size: 16 - alignment: middle center - visible: is_dual() - alignment: middle center shrink-overflow - z index: 4 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - ############################# FlightRange - symbols: - left: 25 - top : { if is_new_dual() then 366 else 322 } - height: 67 - width: 38 - z index: 4 - render style: image list - choice images: - flight: /vs-common.mse-include/flight.png - ongoing: /vs-common.mse-include/ongoing.png - range: /vs-common.mse-include/range.png - direction: vertical - spacing: 33 - ############################# Text box - rule text: - left: 84 - top : 336 - width: 272 - height: 120 - mask: text-mask.png - font: - name: Eurostile - italic name: EurostileObl-Normal - size: 11 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_symbols } - size: 11 - alignment: middle center - alignment: top left - z index: 4 - padding left: 2 - padding top: 5 - padding right: 2 - padding bottom: 2 - line height hard: 1.4 - flavor text: - left: 84 - top : 356 - width: 272 - height: 118 - mask: flavor-text-mask.png - font: - name: EurostileObl-Normal - size: 10 - scale down to: 6 - color: rgb(0,0,0) - alignment: bottom left - z index: 3 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - line height hard: 1 - watermark: - left: { if watermark_narrow() then 197 else if watermark_wide() then 132 else 166 } - top: 365 - width: { if watermark_narrow() then 60 else if watermark_wide() then 165 else 106 } - height: 80 - visible: { styling.watermarkings } - render style: image - include file: /vs-common.mse-include/watermarks - z index: 4 - ############################# Attack/defence - attack: - z index: 4 - left: 50 - top: 427 - width: 30 - height: 47 - visible: { is_character() } - z index: 4 - alignment: bottom left shrink-overflow - font: - name: BadhouseBoldNumbers - size: 50 - color: rgb(255,236,130) - shadow color: rgb(0,0,0) - shadow displacement x: 3 - shadow displacement y: 0 - defence: - z index: 4 - left: 50 - top: 462 - width: 30 - height: 47 - visible: { is_character() } - z index: 4 - alignment: bottom left shrink-overflow - padding bottom: -4 - font: - name: BadhouseBoldNumbers - size: 50 - color: rgb(200,213,225) - shadow color: rgb(0,0,0) - shadow displacement x: -3 - shadow displacement y: 0 - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 130 - top : 322 - width: 165 - height: 16 - alignment: center top - z index: 4 - font: - name: Eurostile - size: 9 - weight: bold - color: rgb(255,255,255) - copyright: - left: 195 - top : 480 - width: 130 - height: 22 - z index: 4 - alignment: middle left - font: - name: Eurostile - size: 6 - color: rgb(255,255,255) -############################################################## Extra card fields -extra card field: - type: choice - name: foil layer - choice: foil - editable: false -extra card style: - foil layer: - left: 0 - top : 0 - width: { if styling.foils=="no" then 0 else 375 } - height: { if styling.foils=="no" then 0 else 523 } - z index: 8 - render style: image - choice images: - foil: /vs-common.mse-include/foil.png - visible: { styling.foils } +mse version: 0.3.7 +game: vs +full name: Hellboy Normal +installer group: VS System/Hellboy style/Normal +short name: Hellboy +icon: card-sample.png +position hint: 003 + +version: 2008-10-26 +depends on: + package: vs.mse-game + version: 2008-10-26 +depends on: + package: vs-common.mse-include + version: 2008-01-03 +depends on: + package: vs-standard-arrow.mse-symbol-font + version: 2008-01-03 + +card background: white +card width: 375 +card height: 523 +card dpi: 150 + +############################################################## Extra scripts +init script: + card_shape := { "old" } +############################################################## Set info fields +############################################################## Extra style +styling field: + type: package choice + name: text box symbols + match: vs-standard-*.mse-symbol-font + initial: vs-standard-arrow.mse-symbol-font +styling field: + type: boolean + name: foils + description: Use foil backgrounds? + initial: no +styling field: + type: boolean + name: watermarkings + description: Use watermarks? + initial: no +styling field: + type: boolean + name: edition + description: Is the set a 1st Edition? + initial: no +############################################################## Card fields +card style: + ############################# Background stuff + card type: + left: 0 + top: 0 + width: 375 + height: 523 + z index: -2 + render style: image + popup style: in place + choice images: + characters visible character: cvchcard.jpg + characters visible character dual: cvcdcard.jpg + characters visible character dual (new): cvcncard.jpg + characters hidden concealed: chcocard.jpg + characters hidden concealed dual: chodcard.jpg + characters hidden concealed dual (new): choncard.jpg + characters concealed-optional concealed-optional character: chcocard.jpg + characters concealed-optional concealed-optional dual: chodcard.jpg + characters concealed-optional concealed-optional dual (new): choncard.jpg + equipment visible equipment: eveqcard.jpg + equipment concealed equipment: eveqcard.jpg + equipment concealed-optional equipment: eveqcard.jpg + location: locard.jpg + plot twist: ptcard.jpg + planet: locard.jpg + ############################# Name line + full name: + left: 90 + top : 25 + width: 219 + height: 24 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 4 + font: + name: Percolator Expert TM + size: 22 + color: + script: if is_concealed() then rgb(23,4,6) + else if is_equipment() then rgb(18,21,26) + else if is_location() then rgb(31,53,30) + else if is_plot_twist() then rgb(28,47,87) + else rgb(22,10,10) + symbol font: + name: vs-standard-arrow + size: 15 + alignment: middle center + cost: + left: 33 + top : 30 + width: 25 + height: 41 + alignment: bottom center + font: + name: BadhouseBoldNumbers + size: 40 + color: + script: if is_equipment() then rgb(240,221,146) + else if is_location() then rgb(193,240,250) + else if is_plot_twist() then rgb(161,174,238) + else rgb(255,236,130) + z index: 4 + padding top: 0 + ############################# Image + image: + left: 65 + top: 78 + width: { if is_dual() then 249 else 282 } + height: 241 + mask: { if is_dual() then "image-mask-dual.png" else "image-mask.png" } + z index: 1 + card symbol: + left: 310 + top : 31 + height: 30 + width: 45 + render style: image + choice images: + Marvel: /vs-common.mse-include/marvel.png + DC-new: /vs-common.mse-include/dcnew.png + DC-old: /vs-common.mse-include/dcold.png + Hellboy: /vs-common.mse-include/hellboy.png + Other...: { set.custom_logo } + z index: 3 + edition: + left: 315 + top: 447 + height: 26 + width: 34 + render style: image + choice images: + first edition: /vs-common.mse-include/first-edition.png + z index: 3 + visible: { styling.edition } + ############################# Type Bar + type text full: + left: 72 + top: 297 + width: { if is_dual() then 235 else 268 } + height: 20 + font: + name: Eurostile + size: 11 + color: rgb(0,0,0) + visible: { is_character() } + alignment: middle center + z index: 3 + type bar: + left: 72 + top: 297 + width: { if is_dual() then 235 else 268 } + height: 20 + visible: { card.type_text != "" } + render style: image + choice images: + type bar: type-bar.png + z index: 2 + ############################# Version + version full: + left: 90 + top : 46 + width: 219 + height: 18 + alignment: top shrink-overflow + z index: 4 + font: + name: Percolator Expert TM + size: 14 + color: + script: if is_concealed() then rgb(23,4,6) + else if is_equipment() then rgb(18,21,26) + else if is_location() then rgb(31,53,30) + else if is_plot_twist() then rgb(28,47,87) + else rgb(22,10,10) + separator color: rgb(128,128,128) + ############################# Card ID + number line: + left: 136 + top : 485 + width: 30 + height: 18 + z index: 4 + font: + name: Eurostile + size: 8 + color: + script: if card.rarity=="common" then rgb(255,255,255) + else if card.rarity=="uncommon" then rgb(80,174,255) + else if card.rarity=="rare" then rgb(255,236,130) + else if card.rarity=="promo" then rgb(255,20,20) + else rgb(255,255,255) + weight: bold + promo outliner: + left: 135 + top : 484 + width: 30 + height: 18 + visible: { card.rarity=="promo" } + z index: 3 + font: + name: Eurostile + size: 8 + color: rgb(255,255,255) + weight: bold + promo outliner 2: + left: 137 + top : 486 + width: 30 + height: 18 + visible: { card.rarity=="promo" } + z index: 3 + font: + name: Eurostile + size: 8 + color: rgb(255,255,255) + weight: bold + rarity: + left: 135 + top: 484 + width: 50 + height: 30 + z index: 3 + render style: image hidden + choice images: + common: /vs-common.mse-include/rarity-common.png + uncommon: /vs-common.mse-include/rarity-uncommon.png + rare: /vs-common.mse-include/rarity-rare.png + promo: /vs-common.mse-include/rarity-promo.png + ############################# Affiliation + team full: + left: 23 + top : { if is_new_dual() then 340 else 300 } + height: 28 + width: { if is_new_dual() then 240 else 200 } + angle: 90 + font: + name: Percolator Expert TM + size: 16 + color: rgb(245,230,197) + symbol font: + name: vs-standard-arrow + size: 16 + alignment: middle center + alignment: middle center shrink-overflow + z index: 4 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + team 2 full: + left: 325 + top : 100 + height: 28 + width: 200 + angle: 270 + font: + name: Percolator Expert TM + size: 16 + scale down to: 18 + color: rgb(245,230,197) + symbol font: + name: vs-standard-arrow + size: 16 + alignment: middle center + visible: is_dual() + alignment: middle center shrink-overflow + z index: 4 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + ############################# FlightRange + symbols: + left: 25 + top : { if is_new_dual() then 366 else 322 } + height: 67 + width: 38 + z index: 4 + render style: image list + choice images: + flight: /vs-common.mse-include/flight.png + ongoing: /vs-common.mse-include/ongoing.png + range: /vs-common.mse-include/range.png + direction: vertical + spacing: 33 + ############################# Text box + rule text: + left: 84 + top : 336 + width: 272 + height: 120 + mask: text-mask.png + font: + name: Eurostile + italic name: EurostileObl-Normal + size: 11 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_symbols } + size: 11 + alignment: middle center + alignment: top left + z index: 4 + padding left: 2 + padding top: 5 + padding right: 2 + padding bottom: 2 + line height hard: 1.4 + flavor text: + left: 84 + top : 356 + width: 272 + height: 118 + mask: flavor-text-mask.png + font: + name: EurostileObl-Normal + size: 10 + scale down to: 6 + color: rgb(0,0,0) + alignment: bottom left + z index: 3 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + line height hard: 1 + watermark: + left: { if watermark_narrow() then 197 else if watermark_wide() then 132 else 166 } + top: 365 + width: { if watermark_narrow() then 60 else if watermark_wide() then 165 else 106 } + height: 80 + visible: { styling.watermarkings } + render style: image + include file: /vs-common.mse-include/watermarks + z index: 4 + ############################# Attack/defence + attack: + z index: 4 + left: 50 + top: 427 + width: 30 + height: 47 + visible: { is_character() } + z index: 4 + alignment: bottom left shrink-overflow + font: + name: BadhouseBoldNumbers + size: 50 + color: rgb(255,236,130) + shadow color: rgb(0,0,0) + shadow displacement x: 3 + shadow displacement y: 0 + defence: + z index: 4 + left: 50 + top: 462 + width: 30 + height: 47 + visible: { is_character() } + z index: 4 + alignment: bottom left shrink-overflow + padding bottom: -4 + font: + name: BadhouseBoldNumbers + size: 50 + color: rgb(200,213,225) + shadow color: rgb(0,0,0) + shadow displacement x: -3 + shadow displacement y: 0 + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 130 + top : 322 + width: 165 + height: 16 + alignment: center top + z index: 4 + font: + name: Eurostile + size: 9 + weight: bold + color: rgb(255,255,255) + copyright: + left: 195 + top : 480 + width: 130 + height: 22 + z index: 4 + alignment: middle left + font: + name: Eurostile + size: 6 + color: rgb(255,255,255) +############################################################## Extra card fields +extra card field: + type: choice + name: foil layer + choice: foil + editable: false +extra card style: + foil layer: + left: 0 + top : 0 + width: { if styling.foils=="no" then 0 else 375 } + height: { if styling.foils=="no" then 0 else 523 } + z index: 8 + render style: image + choice images: + foil: /vs-common.mse-include/foil.png + visible: { styling.foils } diff --git a/data/vs-insanity.mse-style/style b/data/vs-insanity.mse-style/style index 8f6d030a..76934025 100644 --- a/data/vs-insanity.mse-style/style +++ b/data/vs-insanity.mse-style/style @@ -1,423 +1,423 @@ -mse version: 0.3.7 -game: vs -full name: VS Insanity -short name: Insanity -installer group: VS System/Insanity Style/Normal -icon: card-sample.png -position hint: 004 - -version: 2008-10-26 -depends on: - package: vs.mse-game - version: 2008-10-26 -depends on: - package: vs-common.mse-include - version: 2008-01-03 -depends on: - package: vs-standard-arrow.mse-symbol-font - version: 2008-01-03 - -card background: white -card width: 375 -card height: 523 -card dpi: 150 - -############################################################## Extra scripts -init script: - card_shape := { "old" } -############################################################## Set info fields -############################################################## Extra style -styling field: - type: package choice - name: text box symbols - match: vs-standard-*.mse-symbol-font - initial: vs-standard-arrow.mse-symbol-font -styling field: - type: boolean - name: foils - description: Use foil backgrounds? - initial: no -styling field: - type: boolean - name: watermarkings - description: Use watermarks? - initial: no -styling field: - type: boolean - name: edition - description: Is the set a 1st Edition? - initial: no -############################################################## Card fields -card style: - ############################# Background stuff - card type: - left: 0 - top: 0 - width: 375 - height: 523 - z index: -2 - render style: image - popup style: in place - choice images: - characters visible character: cvchcard.jpg - characters visible character dual: cvcdcard.jpg - characters visible character dual (new): cvcncard.jpg - characters hidden concealed: chcocard.jpg - characters hidden concealed dual: chodcard.jpg - characters hidden concealed dual (new): choncard.jpg - characters concealed-optional concealed-optional character: chcocard.jpg - characters concealed-optional concealed-optional dual: chodcard.jpg - characters concealed-optional concealed-optional dual (new): choncard.jpg - equipment visible equipment: eveqcard.jpg - equipment concealed equipment: eveqcard.jpg - equipment concealed-optional equipment: eveqcard.jpg - location: locard.jpg - plot twist: ptcard.jpg - planet: locard.jpg - ############################# Name line - full name: - left: 90 - top : 25 - width: 219 - height: 24 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 4 - font: - name: Percolator Expert TM - size: 22 - color: - script: if is_concealed() then rgb(23,4,6) - else if is_equipment() then rgb(18,21,26) - else if is_location() then rgb(31,53,30) - else if is_plot_twist() then rgb(28,47,87) - else rgb(22,10,10) - symbol font: - name: vs-standard-arrow - size: 15 - alignment: middle center - cost: - left: 33 - top : 30 - width: 25 - height: 41 - alignment: bottom center - font: - name: BadhouseBoldNumbers - size: 40 - color: - script: if is_equipment() then rgb(240,221,146) - else if is_location() then rgb(193,240,250) - else if is_plot_twist() then rgb(161,174,238) - else rgb(255,236,130) - z index: 4 - padding top: 0 - ############################# Image - image: - left: 65 - top: 78 - width: { if is_dual() then 249 else 282 } - height: 241 - mask: { if is_dual() then "image-mask-dual.png" else "image-mask.png" } - z index: 1 - card symbol: - left: 310 - top : 31 - height: 30 - width: 45 - render style: image - choice images: - Marvel: /vs-common.mse-include/marvel.png - DC-new: /vs-common.mse-include/dcnew.png - DC-old: /vs-common.mse-include/dcold.png - Hellboy: /vs-common.mse-include/hellboy.png - Other...: { set.custom_logo } - z index: 3 - edition: - left: 315 - top: 447 - height: 26 - width: 34 - render style: image - choice images: - first edition: /vs-common.mse-include/first-edition.png - z index: 3 - visible: { styling.edition } - ############################# Type Bar - type text full: - left: 72 - top: 297 - width: { if is_dual() then 235 else 268 } - height: 20 - font: - name: Eurostile - size: 11 - color: rgb(0,0,0) - visible: { is_character() } - alignment: middle center - z index: 3 - type bar: - left: 72 - top: 297 - width: { if is_dual() then 235 else 268 } - height: 20 - visible: { card.type_text != "" } - render style: image - choice images: - type bar: type-bar.png - z index: 2 - ############################# Version - version full: - left: 90 - top : 46 - width: 219 - height: 18 - alignment: top shrink-overflow - z index: 4 - font: - name: Percolator Expert TM - size: 14 - color: - script: if is_concealed() then rgb(23,4,6) - else if is_equipment() then rgb(18,21,26) - else if is_location() then rgb(31,53,30) - else if is_plot_twist() then rgb(28,47,87) - else rgb(22,10,10) - separator color: rgb(128,128,128) - ############################# Card ID - number line: - left: 136 - top : 485 - width: 30 - height: 18 - z index: 4 - font: - name: Eurostile - size: 8 - color: - script: if card.rarity=="common" then rgb(255,255,255) - else if card.rarity=="uncommon" then rgb(80,174,255) - else if card.rarity=="rare" then rgb(255,236,130) - else if card.rarity=="promo" then rgb(255,20,20) - else rgb(255,255,255) - weight: bold - promo outliner: - left: 135 - top : 484 - width: 30 - height: 18 - visible: { card.rarity=="promo" } - z index: 3 - font: - name: Eurostile - size: 8 - color: rgb(255,255,255) - weight: bold - promo outliner 2: - left: 137 - top : 486 - width: 30 - height: 18 - visible: { card.rarity=="promo" } - z index: 3 - font: - name: Eurostile - size: 8 - color: rgb(255,255,255) - weight: bold - rarity: - left: 135 - top: 484 - width: 50 - height: 30 - z index: 3 - render style: image hidden - choice images: - common: /vs-common.mse-include/rarity-common.png - uncommon: /vs-common.mse-include/rarity-uncommon.png - rare: /vs-common.mse-include/rarity-rare.png - promo: /vs-common.mse-include/rarity-promo.png - ############################# Affiliation - team full: - left: 23 - top : { if is_new_dual() then 340 else 300 } - height: 28 - width: { if is_new_dual() then 240 else 200 } - angle: 90 - font: - name: Percolator Expert TM - size: 16 - color: rgb(245,230,197) - symbol font: - name: vs-standard-arrow - size: 16 - alignment: middle center - alignment: middle center shrink-overflow - z index: 4 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - team 2 full: - left: 325 - top : 100 - height: 28 - width: 200 - angle: 270 - font: - name: Percolator Expert TM - size: 16 - scale down to: 18 - color: rgb(245,230,197) - symbol font: - name: vs-standard-arrow - size: 16 - alignment: middle center - visible: is_dual() - alignment: middle center shrink-overflow - z index: 4 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - ############################# FlightRange - symbols: - left: 25 - top : { if is_new_dual() then 366 else 322 } - height: 67 - width: 38 - z index: 4 - render style: image list - choice images: - flight: /vs-common.mse-include/flight.png - ongoing: /vs-common.mse-include/ongoing.png - range: /vs-common.mse-include/range.png - direction: vertical - spacing: 33 - ############################# Text box - rule text: - left: 84 - top : 336 - width: 272 - height: 120 - mask: text-mask.png - font: - name: Eurostile - italic name: EurostileObl-Normal - size: 11 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_symbols } - size: 11 - alignment: middle center - alignment: top left - z index: 4 - padding left: 2 - padding top: 5 - padding right: 2 - padding bottom: 2 - line height hard: 1.4 - flavor text: - left: 84 - top : 356 - width: 272 - height: 118 - mask: flavor-text-mask.png - font: - name: EurostileObl-Normal - size: 10 - scale down to: 6 - color: rgb(0,0,0) - alignment: bottom left - z index: 3 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - line height hard: 1 - watermark: - left: { if watermark_narrow() then 197 else if watermark_wide() then 132 else 166 } - top: 365 - width: { if watermark_narrow() then 60 else if watermark_wide() then 165 else 106 } - height: 80 - visible: { styling.watermarkings } - render style: image - include file: /vs-common.mse-include/watermarks - z index: 4 - ############################# Attack/defence - attack: - z index: 4 - left: 50 - top: 427 - width: 30 - height: 47 - visible: { is_character() } - z index: 4 - alignment: bottom left shrink-overflow - font: - name: BadhouseBoldNumbers - size: 50 - color: rgb(255,236,130) - shadow color: rgb(0,0,0) - shadow displacement x: 3 - shadow displacement y: 0 - defence: - z index: 4 - left: 50 - top: 462 - width: 30 - height: 47 - visible: { is_character() } - z index: 4 - alignment: bottom left shrink-overflow - padding bottom: -4 - font: - name: BadhouseBoldNumbers - size: 50 - color: rgb(200,213,225) - shadow color: rgb(0,0,0) - shadow displacement x: -3 - shadow displacement y: 0 - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 130 - top : 322 - width: 165 - height: 16 - alignment: center top - z index: 4 - font: - name: Eurostile - size: 9 - weight: bold - color: rgb(255,255,255) - copyright: - left: 195 - top : 480 - width: 130 - height: 22 - z index: 4 - alignment: middle left - font: - name: Eurostile - size: 6 - color: rgb(255,255,255) -############################################################## Extra card fields -extra card field: - type: choice - name: foil layer - choice: foil - editable: false -extra card style: - foil layer: - left: 0 - top : 0 - width: { if styling.foils=="no" then 0 else 375 } - height: { if styling.foils=="no" then 0 else 523 } - z index: 8 - render style: image - choice images: - foil: /vs-common.mse-include/foil.png - visible: { styling.foils } +mse version: 0.3.7 +game: vs +full name: VS Insanity +short name: Insanity +installer group: VS System/Insanity Style/Normal +icon: card-sample.png +position hint: 004 + +version: 2008-10-26 +depends on: + package: vs.mse-game + version: 2008-10-26 +depends on: + package: vs-common.mse-include + version: 2008-01-03 +depends on: + package: vs-standard-arrow.mse-symbol-font + version: 2008-01-03 + +card background: white +card width: 375 +card height: 523 +card dpi: 150 + +############################################################## Extra scripts +init script: + card_shape := { "old" } +############################################################## Set info fields +############################################################## Extra style +styling field: + type: package choice + name: text box symbols + match: vs-standard-*.mse-symbol-font + initial: vs-standard-arrow.mse-symbol-font +styling field: + type: boolean + name: foils + description: Use foil backgrounds? + initial: no +styling field: + type: boolean + name: watermarkings + description: Use watermarks? + initial: no +styling field: + type: boolean + name: edition + description: Is the set a 1st Edition? + initial: no +############################################################## Card fields +card style: + ############################# Background stuff + card type: + left: 0 + top: 0 + width: 375 + height: 523 + z index: -2 + render style: image + popup style: in place + choice images: + characters visible character: cvchcard.jpg + characters visible character dual: cvcdcard.jpg + characters visible character dual (new): cvcncard.jpg + characters hidden concealed: chcocard.jpg + characters hidden concealed dual: chodcard.jpg + characters hidden concealed dual (new): choncard.jpg + characters concealed-optional concealed-optional character: chcocard.jpg + characters concealed-optional concealed-optional dual: chodcard.jpg + characters concealed-optional concealed-optional dual (new): choncard.jpg + equipment visible equipment: eveqcard.jpg + equipment concealed equipment: eveqcard.jpg + equipment concealed-optional equipment: eveqcard.jpg + location: locard.jpg + plot twist: ptcard.jpg + planet: locard.jpg + ############################# Name line + full name: + left: 90 + top : 25 + width: 219 + height: 24 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 4 + font: + name: Percolator Expert TM + size: 22 + color: + script: if is_concealed() then rgb(23,4,6) + else if is_equipment() then rgb(18,21,26) + else if is_location() then rgb(31,53,30) + else if is_plot_twist() then rgb(28,47,87) + else rgb(22,10,10) + symbol font: + name: vs-standard-arrow + size: 15 + alignment: middle center + cost: + left: 33 + top : 30 + width: 25 + height: 41 + alignment: bottom center + font: + name: BadhouseBoldNumbers + size: 40 + color: + script: if is_equipment() then rgb(240,221,146) + else if is_location() then rgb(193,240,250) + else if is_plot_twist() then rgb(161,174,238) + else rgb(255,236,130) + z index: 4 + padding top: 0 + ############################# Image + image: + left: 65 + top: 78 + width: { if is_dual() then 249 else 282 } + height: 241 + mask: { if is_dual() then "image-mask-dual.png" else "image-mask.png" } + z index: 1 + card symbol: + left: 310 + top : 31 + height: 30 + width: 45 + render style: image + choice images: + Marvel: /vs-common.mse-include/marvel.png + DC-new: /vs-common.mse-include/dcnew.png + DC-old: /vs-common.mse-include/dcold.png + Hellboy: /vs-common.mse-include/hellboy.png + Other...: { set.custom_logo } + z index: 3 + edition: + left: 315 + top: 447 + height: 26 + width: 34 + render style: image + choice images: + first edition: /vs-common.mse-include/first-edition.png + z index: 3 + visible: { styling.edition } + ############################# Type Bar + type text full: + left: 72 + top: 297 + width: { if is_dual() then 235 else 268 } + height: 20 + font: + name: Eurostile + size: 11 + color: rgb(0,0,0) + visible: { is_character() } + alignment: middle center + z index: 3 + type bar: + left: 72 + top: 297 + width: { if is_dual() then 235 else 268 } + height: 20 + visible: { card.type_text != "" } + render style: image + choice images: + type bar: type-bar.png + z index: 2 + ############################# Version + version full: + left: 90 + top : 46 + width: 219 + height: 18 + alignment: top shrink-overflow + z index: 4 + font: + name: Percolator Expert TM + size: 14 + color: + script: if is_concealed() then rgb(23,4,6) + else if is_equipment() then rgb(18,21,26) + else if is_location() then rgb(31,53,30) + else if is_plot_twist() then rgb(28,47,87) + else rgb(22,10,10) + separator color: rgb(128,128,128) + ############################# Card ID + number line: + left: 136 + top : 485 + width: 30 + height: 18 + z index: 4 + font: + name: Eurostile + size: 8 + color: + script: if card.rarity=="common" then rgb(255,255,255) + else if card.rarity=="uncommon" then rgb(80,174,255) + else if card.rarity=="rare" then rgb(255,236,130) + else if card.rarity=="promo" then rgb(255,20,20) + else rgb(255,255,255) + weight: bold + promo outliner: + left: 135 + top : 484 + width: 30 + height: 18 + visible: { card.rarity=="promo" } + z index: 3 + font: + name: Eurostile + size: 8 + color: rgb(255,255,255) + weight: bold + promo outliner 2: + left: 137 + top : 486 + width: 30 + height: 18 + visible: { card.rarity=="promo" } + z index: 3 + font: + name: Eurostile + size: 8 + color: rgb(255,255,255) + weight: bold + rarity: + left: 135 + top: 484 + width: 50 + height: 30 + z index: 3 + render style: image hidden + choice images: + common: /vs-common.mse-include/rarity-common.png + uncommon: /vs-common.mse-include/rarity-uncommon.png + rare: /vs-common.mse-include/rarity-rare.png + promo: /vs-common.mse-include/rarity-promo.png + ############################# Affiliation + team full: + left: 23 + top : { if is_new_dual() then 340 else 300 } + height: 28 + width: { if is_new_dual() then 240 else 200 } + angle: 90 + font: + name: Percolator Expert TM + size: 16 + color: rgb(245,230,197) + symbol font: + name: vs-standard-arrow + size: 16 + alignment: middle center + alignment: middle center shrink-overflow + z index: 4 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + team 2 full: + left: 325 + top : 100 + height: 28 + width: 200 + angle: 270 + font: + name: Percolator Expert TM + size: 16 + scale down to: 18 + color: rgb(245,230,197) + symbol font: + name: vs-standard-arrow + size: 16 + alignment: middle center + visible: is_dual() + alignment: middle center shrink-overflow + z index: 4 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + ############################# FlightRange + symbols: + left: 25 + top : { if is_new_dual() then 366 else 322 } + height: 67 + width: 38 + z index: 4 + render style: image list + choice images: + flight: /vs-common.mse-include/flight.png + ongoing: /vs-common.mse-include/ongoing.png + range: /vs-common.mse-include/range.png + direction: vertical + spacing: 33 + ############################# Text box + rule text: + left: 84 + top : 336 + width: 272 + height: 120 + mask: text-mask.png + font: + name: Eurostile + italic name: EurostileObl-Normal + size: 11 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_symbols } + size: 11 + alignment: middle center + alignment: top left + z index: 4 + padding left: 2 + padding top: 5 + padding right: 2 + padding bottom: 2 + line height hard: 1.4 + flavor text: + left: 84 + top : 356 + width: 272 + height: 118 + mask: flavor-text-mask.png + font: + name: EurostileObl-Normal + size: 10 + scale down to: 6 + color: rgb(0,0,0) + alignment: bottom left + z index: 3 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + line height hard: 1 + watermark: + left: { if watermark_narrow() then 197 else if watermark_wide() then 132 else 166 } + top: 365 + width: { if watermark_narrow() then 60 else if watermark_wide() then 165 else 106 } + height: 80 + visible: { styling.watermarkings } + render style: image + include file: /vs-common.mse-include/watermarks + z index: 4 + ############################# Attack/defence + attack: + z index: 4 + left: 50 + top: 427 + width: 30 + height: 47 + visible: { is_character() } + z index: 4 + alignment: bottom left shrink-overflow + font: + name: BadhouseBoldNumbers + size: 50 + color: rgb(255,236,130) + shadow color: rgb(0,0,0) + shadow displacement x: 3 + shadow displacement y: 0 + defence: + z index: 4 + left: 50 + top: 462 + width: 30 + height: 47 + visible: { is_character() } + z index: 4 + alignment: bottom left shrink-overflow + padding bottom: -4 + font: + name: BadhouseBoldNumbers + size: 50 + color: rgb(200,213,225) + shadow color: rgb(0,0,0) + shadow displacement x: -3 + shadow displacement y: 0 + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 130 + top : 322 + width: 165 + height: 16 + alignment: center top + z index: 4 + font: + name: Eurostile + size: 9 + weight: bold + color: rgb(255,255,255) + copyright: + left: 195 + top : 480 + width: 130 + height: 22 + z index: 4 + alignment: middle left + font: + name: Eurostile + size: 6 + color: rgb(255,255,255) +############################################################## Extra card fields +extra card field: + type: choice + name: foil layer + choice: foil + editable: false +extra card style: + foil layer: + left: 0 + top : 0 + width: { if styling.foils=="no" then 0 else 375 } + height: { if styling.foils=="no" then 0 else 523 } + z index: 8 + render style: image + choice images: + foil: /vs-common.mse-include/foil.png + visible: { styling.foils } diff --git a/data/vs-new.mse-style/style b/data/vs-new.mse-style/style index 0d473ec4..55924d30 100644 --- a/data/vs-new.mse-style/style +++ b/data/vs-new.mse-style/style @@ -1,503 +1,503 @@ -mse version: 0.3.8 -game: vs -full name: New Style EM -short name: New Style -installer group: VS System/New style/Normal -icon: card-sample.png -position hint: 001 - -version: 2009-01-18 -depends on: - package: vs.mse-game - version: 2008-10-26 -depends on: - package: vs-common.mse-include - version: 2007-09-06 -depends on: - package: vs-standard-official.mse-symbol-font - version: 2008-01-03 - -card background: white -card width: 375 -card height: 523 -card dpi: 150 - -############################################################## Extra scripts -init script: - con_opt_template_1 := { - if styling.con_optional == "c-left" then "ccoccard2.png" - else "ccoccard.png" - } - con_opt_template_2 := { - if styling.con_optional == "c-left" then "ccoccard2.png" - else "ccoccard.png" - } - con_opt_template_3 := { - if styling.con_optional == "c-left" then "ccoccard2.png" - else "ccoccard.png" - } - card_shape := { "new" } - - text_filter := - # step 1 : Remove all automatic tags - tag_remove_rule(tag: "") + - tag_remove_rule(tag: "") + - tag_remove_rule(tag: "") + - remove_tag@(tag: "{input}"}) - reminder := process_english_hints(reminder) - # the combined result - "{keyword}" - + if expand then " ({reminder})" - }) + - # step 3 : Expand shortcut words ~ and CARDNAME - replace_rule( - match: "~|~THIS~|CARDNAME", - in_context: "(^|[[:space:]])", - replace: "&" - ) + - # step 4 : Fill in atom fields - tag_contents_rule( - tag: "", - contents: { if card.name=="" then "CARDNAME" else card.name } - ) + - # step 5a: add arrow/diamond/dot symbols - replace_rule( - match: "->|>>>|@|<>|•", - replace: "&") + - # step 5b: Majority of affiliation symbols - replace_rule( - match: "Activate|Avengers|B.P.R.D.|Brotherhood|Crime Lords|Defenders|Doom|Fantastic Four|Gotham Knights|Green Lantern|Hellfire Club|Heralds of Galactus|Horsemen of Apocalypse|Invaders|JLA|JSA|Kree|Marvel Knights|Masters of Evil|Negative Zone|Planet|Shadowpact|Shi'ar|Sinister Syndicate|Skrull|Speed Force|Spider-Friends|Team Superman|Thule Society|Thunderbolts|Teen Titans|Underworld|Warbound|X-Men", - replace: "&") + - # step 5c: SHIELD Variations - replace_rule( - match: "S.H.I.E.L.D.|SHIELD|Shield", - replace: "Shield") + - #X#if contains(card.shape, match:"old") then symbol_filter else new_symbols - # step 7a : Bold keywords without reminder text - replace_rule( - match: "]*>[^<]+", - replace: "&") + - # step 7b : Bold keywords with reminder text - replace_rule( - match: "]*>[^<]+", - replace: "&") + - # step 8 : Italic reminder text - replace_rule( - match: "[(][^)\n]*[)]?", - in_context: "(^|[[:space:]])|", - replace: "&") - -############################################################## Set info fields -############################################################## Extra style -styling field: - type: package choice - name: text box symbols - match: vs-standard-*.mse-symbol-font - initial: vs-standard-official.mse-symbol-font -styling field: - type: boolean - name: foils - description: Use foil backgrounds? - initial: no -styling field: - type: boolean - name: watermarkings - description: Use watermarks? - initial: no -styling field: - type: choice - name: con optional - description: Use which concealed-optional? - initial: c-left - choice: c-left - choice: c-right -styling style: - con optional: - render style: both - choice images: - c-left: ccoccard2.png - c-right: ccoccard.png -############################################################## Card fields -card style: - ############################# Background stuff - card type: - left: 0 - top: 0 - width: 375 - height: 523 - z index: -2 - render style: image - popup style: in place - choice images: - characters visible character: cvchcard.png - characters visible character dual: cvchcard.png - characters visible character dual (new): cvchcard.png - characters hidden concealed: chcocard.png - characters hidden concealed dual: chcocard.png - characters hidden concealed dual (new): chcocard.png - characters concealed-optional concealed-optional character: { con_opt_template_1(value) } - characters concealed-optional concealed-optional dual: { con_opt_template_2(value) } - characters concealed-optional concealed-optional dual (new): { con_opt_template_3(value) } - equipment visible equipment: eveqcard.png - equipment concealed equipment: eceqcard.png - equipment concealed-optional equipment: eoeqcard.png - location: locard.png - plot twist: ptcard.png - planet: plcard.png - ############################# Name line - full name: - left: 82 - top : 20 - width: 230 - height: 30 - alignment: middle center shrink-overflow - padding bottom: 0 - z index: 4 - font: - name: Percolator Expert TM - size: 30 - scale down to: 6 - color: rgb(247,239,231) - separator color: rgb(247,239,231) - symbol font: - name: vs-standard-official - size: 15 - alignment: middle center - cost: - left: 25 - top : 29 - width: 25 - height: 41 - alignment: bottom center - font: - name: BadhouseBoldNumbers - size: 35 - color: rgb(252,217,121) - shadow color: rgb(0,0,0) - shadow displacement x: 2 - shadow displacement y: 2 - z index: 4 - visible: { card.card_type!="planet" } - padding top: 0 - ############################# Image - image: - left: 18 - top: 73 - width: { if card.card_type=="planet" then 0 else 339 } - height: { if card.card_type=="planet" then 0 else 255 } - mask: image-mask.png - visible: { card.card_type!="planet" } - z index: 1 - card symbol: - left: 315 - top : 33 - height: 30 - width: 35 - render style: image - choice images: - Marvel: marvel.png - DC-new: dcnew.png - DC-old: /vs-common.mse-include/dcold.png - Hellboy: hellboy.png - Other...: { set.custom_logo } - z index: 3 - ############################# Type Bar - type text full: - left: 22 - top: 317 - width: { if card.card_type=="planet" then 0 else 332 } - height: { if card.card_type=="planet" then 0 else 12 } - font: - name: BankGothic Md BT - size: 8 - color: rgb(0,0,0) - visible: { is_character() or is_equipment() } - alignment: middle center shrink-overflow - z index: 3 - type bar: - left: 19 - top: 317 - width: { if card.card_type=="planet" then 0 else 338 } - height: { if card.card_type=="planet" then 0 else 13 } - visible: { card.type_text != "" } - render style: image - choice images: - type bar: type-bar.png - z index: 2 - ############################# Version - version full: - left: 80 - top : 51 - width: 230 - height: 18 - alignment: middle center shrink-overflow - z index: 4 - font: - name: Percolator Expert TM - size: 16 - scale down to: 8 - color: rgb(247,239,231) - separator color: rgb(247,239,231) - ############################# Card ID - number line: - left: { if card.card_type=="planet" then 165 else 106 } - top : { if card.card_type=="planet" then 468 else 481 } - width: 45 - height: 15 - z index: 4 - font: - name: Eurostile-Black-DTC - size: 8 - color: - script: if card.rarity=="common" then rgb(255,255,255) - else if card.rarity=="uncommon" then rgb(151,183,201) - else if card.rarity=="rare" then rgb(253,215,125) - else if card.rarity=="promo" then rgb(255,20,20) - else rgb(255,255,255) - promo outliner: - left: { if card.card_type=="planet" then 164 else 105 } - top : { if card.card_type=="planet" then 467 else 480 } - width: 45 - height: 15 - visible: { card.rarity=="promo" } - z index: 3 - font: - name: Eurostile - size: 8 - color: rgb(255,255,255) - weight: bold - promo outliner 2: - left: { if card.card_type=="planet" then 166 else 107 } - top : { if card.card_type=="planet" then 469 else 482 } - width: 45 - height: 15 - visible: { card.rarity=="promo" } - z index: 3 - font: - name: Eurostile - size: 8 - color: rgb(255,255,255) - weight: bold - rarity: - left: { if card.card_type=="planet" then 180 else 120 } - top: { if card.card_type=="planet" then 458 else 470 } - width: 23 - height: 25 - z index: 5 - render style: image hidden - choice images: - common: /vs-common.mse-include/rarity-common.png - uncommon: /vs-common.mse-include/rarity-uncommon.png - rare: /vs-common.mse-include/rarity-rare.png - promo: /vs-common.mse-include/rarity-promo.png - ############################# Affiliation - team full: - left: { if card.card_type=="planet" then 20 else 19 } - top : { if card.card_type=="planet" then 441 else 327 } - height: 28 - width: 338 - font: - name: Gill Sans MT Condensed - size: 12 - color: - script: if is_concealed() then rgb(23,4,6) - else if is_equipment() then rgb(82,82,82) - else if is_location() then rgb(0,48,33) - else if is_plot_twist() then rgb(28,47,87) - else if card.card_type=="planet" then rgb(243,217,105) - else rgb(41,0,0) - alignment: middle center - z index: 4 - padding left: 4 - padding top: 4 - padding right: 4 - padding bottom: 4 - ############################# Text box - rule text: - left: { if card.card_type=="planet" then 72 else 20 } - top : { if card.card_type=="planet" then 123 else 353 } - width: { if card.card_type=="planet" then 236 else 335 } - height: { if card.card_type=="planet" then 305 else if card.flavor_text!="" then 95 else 100 } - font: - name: Eurostile - italic name: EurostileObl-Normal - size: 11 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_symbols } - size: 14 - alignment: middle center - alignment: middle left - z index: 3 - padding left: 3 - padding top: 5 - padding right: 2 - padding bottom: 6 - line height hard: 1.4 - flavor text: - left: 90 - top : 449 - width: { if card.card_type=="planet" then 0 else 225 } - height: { if card.card_type=="planet" then 0 else 25 } - font: - name: EurostileObl-Normal - size: 10 - scale down to: 6 - color: rgb(0,0,0) - alignment: bottom center - z index: 3 - visible: { card.card_type!="planet" } - padding left: 2 - padding top: 0 - padding right: 2 - padding bottom: 2 - line height hard: 1 - watermark: - left: { if watermark_narrow() then 150 else if watermark_wide() then 112 else 147 } - top: 367 - width: { if watermark_narrow() then 75 else if watermark_wide() then 165 else 90 } - height: 90 - visible: { styling.watermarkings } - render style: image - include file: /vs-common.mse-include/watermarks - z index: 4 - ############################# Attack/defence - attack: - z index: 4 - left: 24 - top: 448 - width: { if card.card_type=="planet" then 0 else 30 } - height: { if card.card_type=="planet" then 0 else 47 } - visible: { is_character() } - z index: 4 - alignment: bottom center shrink-overflow - font: - name: BadhouseBoldNumbers - size: 35 - color: rgb(252,217,121) - shadow color: rgb(0,0,0) - shadow displacement x: 3 - shadow displacement y: 0 - defence: - z index: 4 - left: 323 - top: 448 - width: { if card.card_type=="planet" then 0 else 30 } - height: { if card.card_type=="planet" then 0 else 47 } - visible: { is_character() } - z index: 4 - alignment: bottom center shrink-overflow - font: - name: BadhouseBoldNumbers - size: 35 - color: rgb(145,199,219) - shadow color: rgb(0,0,0) - shadow displacement x: -3 - shadow displacement y: 0 - ############################# Copyright stuff - illustrator: - left: 169 - top : 476 - width: 133 - height: 15 - alignment: middle left shrink-overflow - z index: 4 - font: - name: BankGothic Md BT - size: 6 - color: rgb(255,255,255) - visible: { card.card_type!="planet" } - copyright: - left: { if card.card_type=="planet" then 139 else 103 } - top : { if card.card_type=="planet" then 479 else 493 } - width: { if card.card_type=="planet" then 100 else 200 } - height: { if card.card_type=="planet" then 20 else 10 } - z index: 4 - alignment: middle center - font: - name: Eurostile - size: 6 - color: rgb(255,255,255) - ############################ For New style cards - playarea: - left: 320 - top : 333 - height: 15 - width: 29 - z index: 4 - visible: { is_character() or is_equipment() } - render style: image list - choice images: - visible: visible.png - concealed: concealed.png - both: concealop.png - flightrange: - left: 65 - top : 460 - height: 39 - width: 18 - z index: 4 - visible: { is_character() } - render style: image list - choice images: - flight: flight.png - range: range.png - both: flightrange.png - ongoing: - left: 23 - top : 473 - height: 13 - width: 18 - z index: 5 - visible: { is_plot_twist() } - render style: image list - choice images: - ongoing: ongoing.png - affiliation: - right: { 184 + card_style.team_full.content_width * -0.5 } - top : 332 - height: 16 - width: 27 - z index: 5 - alignment: middle right - render style: image - include file: /vs-common.mse-include/affiliations - affiliation2: - right: { card_style.team_full.content_width * 0.5 + 217 } - top : 332 - height: 16 - width: 27 - z index: 5 - alignment: middle left - render style: image - include file: /vs-common.mse-include/affiliations -############################################################## Extra card fields -extra card field: - type: choice - name: foil layer - choice: foil - editable: false -extra card style: - foil layer: - left: 0 - top : 0 - width: { if styling.foils=="no" then 0 else 375 } - height: { if styling.foils=="no" then 0 else 523 } - z index: 8 - render style: image - choice images: - foil: /vs-common.mse-include/foil.png - visible: { styling.foils } +mse version: 0.3.8 +game: vs +full name: New Style EM +short name: New Style +installer group: VS System/New style/Normal +icon: card-sample.png +position hint: 001 + +version: 2009-01-18 +depends on: + package: vs.mse-game + version: 2008-10-26 +depends on: + package: vs-common.mse-include + version: 2007-09-06 +depends on: + package: vs-standard-official.mse-symbol-font + version: 2008-01-03 + +card background: white +card width: 375 +card height: 523 +card dpi: 150 + +############################################################## Extra scripts +init script: + con_opt_template_1 := { + if styling.con_optional == "c-left" then "ccoccard2.png" + else "ccoccard.png" + } + con_opt_template_2 := { + if styling.con_optional == "c-left" then "ccoccard2.png" + else "ccoccard.png" + } + con_opt_template_3 := { + if styling.con_optional == "c-left" then "ccoccard2.png" + else "ccoccard.png" + } + card_shape := { "new" } + + text_filter := + # step 1 : Remove all automatic tags + tag_remove_rule(tag: "") + + tag_remove_rule(tag: "") + + tag_remove_rule(tag: "") + + remove_tag@(tag: "{input}"}) + reminder := process_english_hints(reminder) + # the combined result + "{keyword}" + + if expand then " ({reminder})" + }) + + # step 3 : Expand shortcut words ~ and CARDNAME + replace_rule( + match: "~|~THIS~|CARDNAME", + in_context: "(^|[[:space:]])", + replace: "&" + ) + + # step 4 : Fill in atom fields + tag_contents_rule( + tag: "", + contents: { if card.name=="" then "CARDNAME" else card.name } + ) + + # step 5a: add arrow/diamond/dot symbols + replace_rule( + match: "->|>>>|@|<>|•", + replace: "&") + + # step 5b: Majority of affiliation symbols + replace_rule( + match: "Activate|Avengers|B.P.R.D.|Brotherhood|Crime Lords|Defenders|Doom|Fantastic Four|Gotham Knights|Green Lantern|Hellfire Club|Heralds of Galactus|Horsemen of Apocalypse|Invaders|JLA|JSA|Kree|Marvel Knights|Masters of Evil|Negative Zone|Planet|Shadowpact|Shi'ar|Sinister Syndicate|Skrull|Speed Force|Spider-Friends|Team Superman|Thule Society|Thunderbolts|Teen Titans|Underworld|Warbound|X-Men", + replace: "&") + + # step 5c: SHIELD Variations + replace_rule( + match: "S.H.I.E.L.D.|SHIELD|Shield", + replace: "Shield") + + #X#if contains(card.shape, match:"old") then symbol_filter else new_symbols + # step 7a : Bold keywords without reminder text + replace_rule( + match: "]*>[^<]+", + replace: "&") + + # step 7b : Bold keywords with reminder text + replace_rule( + match: "]*>[^<]+", + replace: "&") + + # step 8 : Italic reminder text + replace_rule( + match: "[(][^)\n]*[)]?", + in_context: "(^|[[:space:]])|", + replace: "&") + +############################################################## Set info fields +############################################################## Extra style +styling field: + type: package choice + name: text box symbols + match: vs-standard-*.mse-symbol-font + initial: vs-standard-official.mse-symbol-font +styling field: + type: boolean + name: foils + description: Use foil backgrounds? + initial: no +styling field: + type: boolean + name: watermarkings + description: Use watermarks? + initial: no +styling field: + type: choice + name: con optional + description: Use which concealed-optional? + initial: c-left + choice: c-left + choice: c-right +styling style: + con optional: + render style: both + choice images: + c-left: ccoccard2.png + c-right: ccoccard.png +############################################################## Card fields +card style: + ############################# Background stuff + card type: + left: 0 + top: 0 + width: 375 + height: 523 + z index: -2 + render style: image + popup style: in place + choice images: + characters visible character: cvchcard.png + characters visible character dual: cvchcard.png + characters visible character dual (new): cvchcard.png + characters hidden concealed: chcocard.png + characters hidden concealed dual: chcocard.png + characters hidden concealed dual (new): chcocard.png + characters concealed-optional concealed-optional character: { con_opt_template_1(value) } + characters concealed-optional concealed-optional dual: { con_opt_template_2(value) } + characters concealed-optional concealed-optional dual (new): { con_opt_template_3(value) } + equipment visible equipment: eveqcard.png + equipment concealed equipment: eceqcard.png + equipment concealed-optional equipment: eoeqcard.png + location: locard.png + plot twist: ptcard.png + planet: plcard.png + ############################# Name line + full name: + left: 82 + top : 20 + width: 230 + height: 30 + alignment: middle center shrink-overflow + padding bottom: 0 + z index: 4 + font: + name: Percolator Expert TM + size: 30 + scale down to: 6 + color: rgb(247,239,231) + separator color: rgb(247,239,231) + symbol font: + name: vs-standard-official + size: 15 + alignment: middle center + cost: + left: 25 + top : 29 + width: 25 + height: 41 + alignment: bottom center + font: + name: BadhouseBoldNumbers + size: 35 + color: rgb(252,217,121) + shadow color: rgb(0,0,0) + shadow displacement x: 2 + shadow displacement y: 2 + z index: 4 + visible: { card.card_type!="planet" } + padding top: 0 + ############################# Image + image: + left: 18 + top: 73 + width: { if card.card_type=="planet" then 0 else 339 } + height: { if card.card_type=="planet" then 0 else 255 } + mask: image-mask.png + visible: { card.card_type!="planet" } + z index: 1 + card symbol: + left: 315 + top : 33 + height: 30 + width: 35 + render style: image + choice images: + Marvel: marvel.png + DC-new: dcnew.png + DC-old: /vs-common.mse-include/dcold.png + Hellboy: hellboy.png + Other...: { set.custom_logo } + z index: 3 + ############################# Type Bar + type text full: + left: 22 + top: 317 + width: { if card.card_type=="planet" then 0 else 332 } + height: { if card.card_type=="planet" then 0 else 12 } + font: + name: BankGothic Md BT + size: 8 + color: rgb(0,0,0) + visible: { is_character() or is_equipment() } + alignment: middle center shrink-overflow + z index: 3 + type bar: + left: 19 + top: 317 + width: { if card.card_type=="planet" then 0 else 338 } + height: { if card.card_type=="planet" then 0 else 13 } + visible: { card.type_text != "" } + render style: image + choice images: + type bar: type-bar.png + z index: 2 + ############################# Version + version full: + left: 80 + top : 51 + width: 230 + height: 18 + alignment: middle center shrink-overflow + z index: 4 + font: + name: Percolator Expert TM + size: 16 + scale down to: 8 + color: rgb(247,239,231) + separator color: rgb(247,239,231) + ############################# Card ID + number line: + left: { if card.card_type=="planet" then 165 else 106 } + top : { if card.card_type=="planet" then 468 else 481 } + width: 45 + height: 15 + z index: 4 + font: + name: Eurostile-Black-DTC + size: 8 + color: + script: if card.rarity=="common" then rgb(255,255,255) + else if card.rarity=="uncommon" then rgb(151,183,201) + else if card.rarity=="rare" then rgb(253,215,125) + else if card.rarity=="promo" then rgb(255,20,20) + else rgb(255,255,255) + promo outliner: + left: { if card.card_type=="planet" then 164 else 105 } + top : { if card.card_type=="planet" then 467 else 480 } + width: 45 + height: 15 + visible: { card.rarity=="promo" } + z index: 3 + font: + name: Eurostile + size: 8 + color: rgb(255,255,255) + weight: bold + promo outliner 2: + left: { if card.card_type=="planet" then 166 else 107 } + top : { if card.card_type=="planet" then 469 else 482 } + width: 45 + height: 15 + visible: { card.rarity=="promo" } + z index: 3 + font: + name: Eurostile + size: 8 + color: rgb(255,255,255) + weight: bold + rarity: + left: { if card.card_type=="planet" then 180 else 120 } + top: { if card.card_type=="planet" then 458 else 470 } + width: 23 + height: 25 + z index: 5 + render style: image hidden + choice images: + common: /vs-common.mse-include/rarity-common.png + uncommon: /vs-common.mse-include/rarity-uncommon.png + rare: /vs-common.mse-include/rarity-rare.png + promo: /vs-common.mse-include/rarity-promo.png + ############################# Affiliation + team full: + left: { if card.card_type=="planet" then 20 else 19 } + top : { if card.card_type=="planet" then 441 else 327 } + height: 28 + width: 338 + font: + name: Gill Sans MT Condensed + size: 12 + color: + script: if is_concealed() then rgb(23,4,6) + else if is_equipment() then rgb(82,82,82) + else if is_location() then rgb(0,48,33) + else if is_plot_twist() then rgb(28,47,87) + else if card.card_type=="planet" then rgb(243,217,105) + else rgb(41,0,0) + alignment: middle center + z index: 4 + padding left: 4 + padding top: 4 + padding right: 4 + padding bottom: 4 + ############################# Text box + rule text: + left: { if card.card_type=="planet" then 72 else 20 } + top : { if card.card_type=="planet" then 123 else 353 } + width: { if card.card_type=="planet" then 236 else 335 } + height: { if card.card_type=="planet" then 305 else if card.flavor_text!="" then 95 else 100 } + font: + name: Eurostile + italic name: EurostileObl-Normal + size: 11 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_symbols } + size: 14 + alignment: middle center + alignment: middle left + z index: 3 + padding left: 3 + padding top: 5 + padding right: 2 + padding bottom: 6 + line height hard: 1.4 + flavor text: + left: 90 + top : 449 + width: { if card.card_type=="planet" then 0 else 225 } + height: { if card.card_type=="planet" then 0 else 25 } + font: + name: EurostileObl-Normal + size: 10 + scale down to: 6 + color: rgb(0,0,0) + alignment: bottom center + z index: 3 + visible: { card.card_type!="planet" } + padding left: 2 + padding top: 0 + padding right: 2 + padding bottom: 2 + line height hard: 1 + watermark: + left: { if watermark_narrow() then 150 else if watermark_wide() then 112 else 147 } + top: 367 + width: { if watermark_narrow() then 75 else if watermark_wide() then 165 else 90 } + height: 90 + visible: { styling.watermarkings } + render style: image + include file: /vs-common.mse-include/watermarks + z index: 4 + ############################# Attack/defence + attack: + z index: 4 + left: 24 + top: 448 + width: { if card.card_type=="planet" then 0 else 30 } + height: { if card.card_type=="planet" then 0 else 47 } + visible: { is_character() } + z index: 4 + alignment: bottom center shrink-overflow + font: + name: BadhouseBoldNumbers + size: 35 + color: rgb(252,217,121) + shadow color: rgb(0,0,0) + shadow displacement x: 3 + shadow displacement y: 0 + defence: + z index: 4 + left: 323 + top: 448 + width: { if card.card_type=="planet" then 0 else 30 } + height: { if card.card_type=="planet" then 0 else 47 } + visible: { is_character() } + z index: 4 + alignment: bottom center shrink-overflow + font: + name: BadhouseBoldNumbers + size: 35 + color: rgb(145,199,219) + shadow color: rgb(0,0,0) + shadow displacement x: -3 + shadow displacement y: 0 + ############################# Copyright stuff + illustrator: + left: 169 + top : 476 + width: 133 + height: 15 + alignment: middle left shrink-overflow + z index: 4 + font: + name: BankGothic Md BT + size: 6 + color: rgb(255,255,255) + visible: { card.card_type!="planet" } + copyright: + left: { if card.card_type=="planet" then 139 else 103 } + top : { if card.card_type=="planet" then 479 else 493 } + width: { if card.card_type=="planet" then 100 else 200 } + height: { if card.card_type=="planet" then 20 else 10 } + z index: 4 + alignment: middle center + font: + name: Eurostile + size: 6 + color: rgb(255,255,255) + ############################ For New style cards + playarea: + left: 320 + top : 333 + height: 15 + width: 29 + z index: 4 + visible: { is_character() or is_equipment() } + render style: image list + choice images: + visible: visible.png + concealed: concealed.png + both: concealop.png + flightrange: + left: 65 + top : 460 + height: 39 + width: 18 + z index: 4 + visible: { is_character() } + render style: image list + choice images: + flight: flight.png + range: range.png + both: flightrange.png + ongoing: + left: 23 + top : 473 + height: 13 + width: 18 + z index: 5 + visible: { is_plot_twist() } + render style: image list + choice images: + ongoing: ongoing.png + affiliation: + right: { 184 + card_style.team_full.content_width * -0.5 } + top : 332 + height: 16 + width: 27 + z index: 5 + alignment: middle right + render style: image + include file: /vs-common.mse-include/affiliations + affiliation2: + right: { card_style.team_full.content_width * 0.5 + 217 } + top : 332 + height: 16 + width: 27 + z index: 5 + alignment: middle left + render style: image + include file: /vs-common.mse-include/affiliations +############################################################## Extra card fields +extra card field: + type: choice + name: foil layer + choice: foil + editable: false +extra card style: + foil layer: + left: 0 + top : 0 + width: { if styling.foils=="no" then 0 else 375 } + height: { if styling.foils=="no" then 0 else 523 } + z index: 8 + render style: image + choice images: + foil: /vs-common.mse-include/foil.png + visible: { styling.foils } diff --git a/data/vs-oversize.mse-style/style b/data/vs-oversize.mse-style/style index e123e2a8..eaacf0f2 100644 --- a/data/vs-oversize.mse-style/style +++ b/data/vs-oversize.mse-style/style @@ -1,358 +1,358 @@ -mse version: 0.3.8 -game: vs -full name: VS Oversize Avatar -short name: Oversize Avatar -installer group: VS System/Oversize Avatar -icon: card-sample.png -position hint: 007 - -version: 2009-01-18 -depends on: - package: vs.mse-game - version: 2008-10-26 -depends on: - package: vs-common.mse-include - version: 2008-01-03 -depends on: - package: vs-standard-arrow.mse-symbol-font - version: 2008-01-03 -depends on: - package: vs-standard-official.mse-symbol-font - version: 2008-01-03 - -card background: white -card width: 375 -card height: 523 -card dpi: 75 - -############################################################## Extra scripts -init script: - card_shape := { if styling.style_sorting then "avatar" else "new" } - - text_filter := - # step 1 : Remove all automatic tags - tag_remove_rule(tag: "") + - tag_remove_rule(tag: "") + - tag_remove_rule(tag: "") + - remove_tag@(tag: "{input}"}) - reminder := process_english_hints(reminder) - # the combined result - "{keyword}" - + if expand then " ({reminder})" - }) + - # step 3 : Expand shortcut words ~ and CARDNAME - replace_rule( - match: "~|~THIS~|CARDNAME", - in_context: "(^|[[:space:]])", - replace: "&" - ) + - # step 4 : Fill in atom fields - tag_contents_rule( - tag: "", - contents: { if card.name=="" then "CARDNAME" else card.name } - ) + - # step 5a: add arrow/diamond/dot symbols - replace_rule( - match: "->|>>>|@|<>", - replace: "&") + - # step 5b: Majority of affiliation symbols - replace_rule( - match: "Activate|Avengers|B.P.R.D.|Brotherhood|Crime Lords|Defenders|Doom|Fantastic Four|Gotham Knights|Green Lantern|Hellfire Club|Heralds of Galactus|Horsemen of Apocalypse|Invaders|JLA|JSA|Kree|Marvel Knights|Masters of Evil|Negative Zone|Planet|Shadowpact|Shi'ar|Sinister Syndicate|Skrull|Speed Force|Spider-Friends|Team Superman|Thule Society|Thunderbolts|Teen Titans|Underworld|Warbound|X-Men", - replace: "&") + - # step 5c: SHIELD Variations - replace_rule( - match: "S.H.I.E.L.D.|SHIELD|Shield", - replace: "Shield") + - #X#if contains(card.shape, match:"old") then symbol_filter else new_symbols - # step 7a : Bold keywords without reminder text - replace_rule( - match: "]*>[^<]+", - replace: "&") + - # step 7b : Bold keywords with reminder text - replace_rule( - match: "]*>[^<]+", - replace: "&") + - # step 8 : Italic reminder text - replace_rule( - match: "[(][^)\n]*[)]?", - in_context: "(^|[[:space:]])|", - replace: "&") - -############################################################## Set info fields -############################################################## Extra style -styling field: - type: boolean - name: style sorting - description: Should this style of card sort as separate from cards of other styles? - initial: no -styling field: - type: package choice - name: text box symbols - match: vs-standard-*.mse-symbol-font - initial: vs-standard-official.mse-symbol-font -styling field: - type: boolean - name: foils - description: Use foil backgrounds? - initial: no -############################################################## Card fields -card style: - ############################# Background stuff - card type: - left: 0 - top: 0 - width: 375 - height: 523 - z index: -2 - render style: image - popup style: in place - choice images: - characters visible character: card.png - characters visible character dual: card.png - characters visible character dual (new): card.png - characters hidden concealed: card.png - characters hidden concealed dual: card.png - characters hidden concealed dual (new): card.png - characters concealed-optional concealed-optional character: card.png - characters concealed-optional concealed-optional dual: card.png - characters concealed-optional concealed-optional dual (new): card.png - equipment visible equipment: card.png - equipment concealed equipment: card.png - equipment concealed-optional equipment: card.png - location: card.png - plot twist: card.png - planet: card.png - ############################# Name line - full name: - left: 80 - top : 24 - width: 230 - height: 24 - alignment: bottom center shrink-overflow - padding bottom: 0 - z index: 4 - font: - name: Percolator Expert TM - size: 22 - color: rgb(230,230,230) - symbol font: - name: vs-standard-official - size: 15 - alignment: middle center - cost: - left: 22 - top : 30 - width: 25 - height: 41 - alignment: bottom center - font: - name: BadhouseBoldNumbers - size: 40 - color: rgb(230,230,230) - z index: 4 - padding top: 0 - ############################# Image - image: - left: 19 - top: 73 - width: 339 - height: 330 - z index: 1 - mask: image-mask.png - card symbol: - left: 310 - top : 33 - height: 30 - width: 45 - render style: image - choice images: - Marvel: /vs-common.mse-include/marvel.png - DC-new: /vs-common.mse-include/dcnew.png - DC-old: /vs-common.mse-include/dcold.png - Hellboy: /vs-common.mse-include/hellboy.png - Other...: { set.custom_logo } - z index: 3 - ############################# Type Bar - ############################# Version - version full: - left: 80 - top : 49 - width: 230 - height: 18 - alignment: middle center shrink-overflow - padding bottom: 0 - z index: 4 - font: - name: Percolator Expert TM - size: 14 - color: rgb(230,230,230) - symbol font: - name: vs-standard-arrow - size: 15 - alignment: middle center - ############################# Card ID - number line: - left: 24 - top : 489 - width: 30 - height: 16 - z index: 5 - alignment: left middle - font: - name: Eurostile-Black-DTC - size: 8 - color: - script: if card.rarity=="common" then rgb(255,255,255) - else if card.rarity=="uncommon" then rgb(151,183,201) - else if card.rarity=="rare" then rgb(253,215,125) - else if card.rarity=="promo" then rgb(255,20,20) - else rgb(255,255,255) - promo outliner: - left: 23 - top : 488 - width: 45 - height: 15 - visible: { card.rarity=="promo" } - z index: 4 - alignment: left middle - font: - name: Eurostile - size: 8 - color: rgb(255,255,255) - weight: bold - promo outliner 2: - left: 25 - top : 490 - width: 45 - height: 15 - visible: { card.rarity=="promo" } - z index: 4 - alignment: left middle - font: - name: Eurostile - size: 8 - color: rgb(255,255,255) - weight: bold - rarity: - left: 35 - top: 488 - width: 20 - height: 18 - z index: 6 - render style: image hidden - choice images: - common: /vs-common.mse-include/rarity-common.png - uncommon: /vs-common.mse-include/rarity-uncommon.png - rare: /vs-common.mse-include/rarity-rare.png - promo: /vs-common.mse-include/rarity-promo.png - ############################# Affiliation - team full: - left: 20 - top: 406 - width: 338 - height: 20 - font: - name: BankGothic Md BT - italic name: BankGothic Md BT - weight: bold - size: 12 - scale down to: 12 - color: rgb(230,230,230) - alignment: middle center - ############################# FlightRange - ############################# Text box - rule text: - left: 20 - top : 430 - width: 338 - height: 38 - font: - name: Eurostile - italic name: EurostileObl-Normal - size: 12 - scale down to: 2 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_symbols } - size: 14 - alignment: middle center - alignment: top left - z index: 3 - padding left: 2 - padding top: 0 - padding right: 2 - padding bottom: 2 - line height hard: 1.0 - flavor text: - left: 20 - top : 468 - width: 338 - height: 17 - font: - name: EurostileObl-Normal - italic name: EurostileObl-Normal - size: 10 - scale down to: 2 - color: rgb(0,0,0) - alignment: bottom center - z index: 3 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - line height hard: 1.0 - ############################# Attack/defence - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 20 - top : 489 - width: 338 - height: 7 - alignment: middle center - z index: 4 - font: - name: Eurostile - size: 6 - color: rgb(255,255,255) - copyright: - left: 20 - top : 497 - width: 338 - height: 7 - z index: 4 - alignment: bottom center - font: - name: Eurostile - weight: bold - size: 6 - color: rgb(255,255,255) -############################################################## Extra card fields -extra card field: - type: choice - name: foil layer - choice: foil - editable: false -extra card style: - foil layer: - left: 0 - top : 0 - width: { if styling.foils=="no" then 0 else 375 } - height: { if styling.foils=="no" then 0 else 523 } - z index: 8 - render style: image - choice images: - foil: /vs-common.mse-include/foil.png - visible: { styling.foils } +mse version: 0.3.8 +game: vs +full name: VS Oversize Avatar +short name: Oversize Avatar +installer group: VS System/Oversize Avatar +icon: card-sample.png +position hint: 007 + +version: 2009-01-18 +depends on: + package: vs.mse-game + version: 2008-10-26 +depends on: + package: vs-common.mse-include + version: 2008-01-03 +depends on: + package: vs-standard-arrow.mse-symbol-font + version: 2008-01-03 +depends on: + package: vs-standard-official.mse-symbol-font + version: 2008-01-03 + +card background: white +card width: 375 +card height: 523 +card dpi: 75 + +############################################################## Extra scripts +init script: + card_shape := { if styling.style_sorting then "avatar" else "new" } + + text_filter := + # step 1 : Remove all automatic tags + tag_remove_rule(tag: "") + + tag_remove_rule(tag: "") + + tag_remove_rule(tag: "") + + remove_tag@(tag: "{input}"}) + reminder := process_english_hints(reminder) + # the combined result + "{keyword}" + + if expand then " ({reminder})" + }) + + # step 3 : Expand shortcut words ~ and CARDNAME + replace_rule( + match: "~|~THIS~|CARDNAME", + in_context: "(^|[[:space:]])", + replace: "&" + ) + + # step 4 : Fill in atom fields + tag_contents_rule( + tag: "", + contents: { if card.name=="" then "CARDNAME" else card.name } + ) + + # step 5a: add arrow/diamond/dot symbols + replace_rule( + match: "->|>>>|@|<>", + replace: "&") + + # step 5b: Majority of affiliation symbols + replace_rule( + match: "Activate|Avengers|B.P.R.D.|Brotherhood|Crime Lords|Defenders|Doom|Fantastic Four|Gotham Knights|Green Lantern|Hellfire Club|Heralds of Galactus|Horsemen of Apocalypse|Invaders|JLA|JSA|Kree|Marvel Knights|Masters of Evil|Negative Zone|Planet|Shadowpact|Shi'ar|Sinister Syndicate|Skrull|Speed Force|Spider-Friends|Team Superman|Thule Society|Thunderbolts|Teen Titans|Underworld|Warbound|X-Men", + replace: "&") + + # step 5c: SHIELD Variations + replace_rule( + match: "S.H.I.E.L.D.|SHIELD|Shield", + replace: "Shield") + + #X#if contains(card.shape, match:"old") then symbol_filter else new_symbols + # step 7a : Bold keywords without reminder text + replace_rule( + match: "]*>[^<]+", + replace: "&") + + # step 7b : Bold keywords with reminder text + replace_rule( + match: "]*>[^<]+", + replace: "&") + + # step 8 : Italic reminder text + replace_rule( + match: "[(][^)\n]*[)]?", + in_context: "(^|[[:space:]])|", + replace: "&") + +############################################################## Set info fields +############################################################## Extra style +styling field: + type: boolean + name: style sorting + description: Should this style of card sort as separate from cards of other styles? + initial: no +styling field: + type: package choice + name: text box symbols + match: vs-standard-*.mse-symbol-font + initial: vs-standard-official.mse-symbol-font +styling field: + type: boolean + name: foils + description: Use foil backgrounds? + initial: no +############################################################## Card fields +card style: + ############################# Background stuff + card type: + left: 0 + top: 0 + width: 375 + height: 523 + z index: -2 + render style: image + popup style: in place + choice images: + characters visible character: card.png + characters visible character dual: card.png + characters visible character dual (new): card.png + characters hidden concealed: card.png + characters hidden concealed dual: card.png + characters hidden concealed dual (new): card.png + characters concealed-optional concealed-optional character: card.png + characters concealed-optional concealed-optional dual: card.png + characters concealed-optional concealed-optional dual (new): card.png + equipment visible equipment: card.png + equipment concealed equipment: card.png + equipment concealed-optional equipment: card.png + location: card.png + plot twist: card.png + planet: card.png + ############################# Name line + full name: + left: 80 + top : 24 + width: 230 + height: 24 + alignment: bottom center shrink-overflow + padding bottom: 0 + z index: 4 + font: + name: Percolator Expert TM + size: 22 + color: rgb(230,230,230) + symbol font: + name: vs-standard-official + size: 15 + alignment: middle center + cost: + left: 22 + top : 30 + width: 25 + height: 41 + alignment: bottom center + font: + name: BadhouseBoldNumbers + size: 40 + color: rgb(230,230,230) + z index: 4 + padding top: 0 + ############################# Image + image: + left: 19 + top: 73 + width: 339 + height: 330 + z index: 1 + mask: image-mask.png + card symbol: + left: 310 + top : 33 + height: 30 + width: 45 + render style: image + choice images: + Marvel: /vs-common.mse-include/marvel.png + DC-new: /vs-common.mse-include/dcnew.png + DC-old: /vs-common.mse-include/dcold.png + Hellboy: /vs-common.mse-include/hellboy.png + Other...: { set.custom_logo } + z index: 3 + ############################# Type Bar + ############################# Version + version full: + left: 80 + top : 49 + width: 230 + height: 18 + alignment: middle center shrink-overflow + padding bottom: 0 + z index: 4 + font: + name: Percolator Expert TM + size: 14 + color: rgb(230,230,230) + symbol font: + name: vs-standard-arrow + size: 15 + alignment: middle center + ############################# Card ID + number line: + left: 24 + top : 489 + width: 30 + height: 16 + z index: 5 + alignment: left middle + font: + name: Eurostile-Black-DTC + size: 8 + color: + script: if card.rarity=="common" then rgb(255,255,255) + else if card.rarity=="uncommon" then rgb(151,183,201) + else if card.rarity=="rare" then rgb(253,215,125) + else if card.rarity=="promo" then rgb(255,20,20) + else rgb(255,255,255) + promo outliner: + left: 23 + top : 488 + width: 45 + height: 15 + visible: { card.rarity=="promo" } + z index: 4 + alignment: left middle + font: + name: Eurostile + size: 8 + color: rgb(255,255,255) + weight: bold + promo outliner 2: + left: 25 + top : 490 + width: 45 + height: 15 + visible: { card.rarity=="promo" } + z index: 4 + alignment: left middle + font: + name: Eurostile + size: 8 + color: rgb(255,255,255) + weight: bold + rarity: + left: 35 + top: 488 + width: 20 + height: 18 + z index: 6 + render style: image hidden + choice images: + common: /vs-common.mse-include/rarity-common.png + uncommon: /vs-common.mse-include/rarity-uncommon.png + rare: /vs-common.mse-include/rarity-rare.png + promo: /vs-common.mse-include/rarity-promo.png + ############################# Affiliation + team full: + left: 20 + top: 406 + width: 338 + height: 20 + font: + name: BankGothic Md BT + italic name: BankGothic Md BT + weight: bold + size: 12 + scale down to: 12 + color: rgb(230,230,230) + alignment: middle center + ############################# FlightRange + ############################# Text box + rule text: + left: 20 + top : 430 + width: 338 + height: 38 + font: + name: Eurostile + italic name: EurostileObl-Normal + size: 12 + scale down to: 2 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_symbols } + size: 14 + alignment: middle center + alignment: top left + z index: 3 + padding left: 2 + padding top: 0 + padding right: 2 + padding bottom: 2 + line height hard: 1.0 + flavor text: + left: 20 + top : 468 + width: 338 + height: 17 + font: + name: EurostileObl-Normal + italic name: EurostileObl-Normal + size: 10 + scale down to: 2 + color: rgb(0,0,0) + alignment: bottom center + z index: 3 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + line height hard: 1.0 + ############################# Attack/defence + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 20 + top : 489 + width: 338 + height: 7 + alignment: middle center + z index: 4 + font: + name: Eurostile + size: 6 + color: rgb(255,255,255) + copyright: + left: 20 + top : 497 + width: 338 + height: 7 + z index: 4 + alignment: bottom center + font: + name: Eurostile + weight: bold + size: 6 + color: rgb(255,255,255) +############################################################## Extra card fields +extra card field: + type: choice + name: foil layer + choice: foil + editable: false +extra card style: + foil layer: + left: 0 + top : 0 + width: { if styling.foils=="no" then 0 else 375 } + height: { if styling.foils=="no" then 0 else 523 } + z index: 8 + render style: image + choice images: + foil: /vs-common.mse-include/foil.png + visible: { styling.foils } diff --git a/data/vs-spoiler.mse-export-template/export-template b/data/vs-spoiler.mse-export-template/export-template index 1edb72dc..d289860d 100644 --- a/data/vs-spoiler.mse-export-template/export-template +++ b/data/vs-spoiler.mse-export-template/export-template @@ -1,188 +1,188 @@ -# Simple exporter for HTML files -mse version: 0.3.7 -game: vs -short name: Spoiler -full name: List of cards -installer group: VS System/Export/Spoiler -icon: preview.png -create directory: true -version: 2008-10-19 - -depends on: - package: vs.mse-game - version: 2008-10-19 - -###################################################################################### - -option field: - type: choice - name: grouping - description: How should cards be grouped? - choice: no grouping - choice: group by card type - initial: no grouping -option field: - type: choice - name: images - choice: no - choice: just the image box, linked - choice: just the image box, inline - choice: full card image, linked - choice: full card image, preview - choice: full card image only - initial: full images, preview -option field: - type: boolean - name: in-text symbols - description: Should arrow and diamond symbols be used, or should they be written as text? -#doesn't work yet: -#option field: -# type: boolean -# name: list keywords -# description: Should the keywords be listed? -#option field: -# type: boolean -# name: fancy scripts -# description: Should fancy scripts be used -option field: - type: choice - name: font style - choice: default - choice: serif - choice: sans-serif -option field: - type: color - name: background color - initial: rgb(255,255,255) - choice: - name: white - color: rgb(255,255,255) - choice: - name: black - color: rgb(0,0,0) -option field: - type: color - name: text color - initial: rgb(0,0,0) - choice: - name: white - color: rgb(255,255,255) - choice: - name: black - color: rgb(0,0,0) - -option style: - grouping: - render style: both - choice images: - no grouping: { built_in_image("bool_no") } - group by card type: { built_in_image("bool_yes") } - images: - render style: both - choice images: - no: { built_in_image("bool_no") } - font style: - render style: both - choice images: - serif: /vs-spoiler.mse-export-template/serif.png - sans-serif: /vs-spoiler.mse-export-template/sans-serif.png - -script: - symbol_font := "vs-standard-new" - symbol_font_size := 8 - write_card := { - if contains(options.images, match:"full card image") then - card_image_file := write_image_file(card, file:"card{position(of:card,in:set)}.jpg") - else if contains(options.images, match:"image box") and - card.image != "" then - card_image_file := write_image_file(card.image, file:"card{position(of:card,in:set)}.jpg") - else - card_image_file := "" - if options.images == "full card image, preview" then - card_image_preview := write_image_file(card, file:"card-preview{position(of:card,in:set)}.jpg", height: 100) - else - card_image_preview := card_image_file - if options.images == "full card image only" then - "
  • " - else - "
  • - {if options.images == "full card image, preview" then - " - { to_html(card.full_name ) }" - else if card_image_file != "" and contains(options.images, match:"linked") then - "{ to_html(card.full_name) }" - else - "{ to_html(card.full_name) }" - }{ to_html(to_upper(card.version_full)) } - {if card_image_file != "" and contains(options.images, match:"inline") then - "" - } - { to_html(card.cost ) } - { to_html(card.team_full ) } - { to_html(card.team_2_full ) } - { to_html(card.type_text_full) } - { if contains(card.shape, match: "old") then to_html(to_upper(card.symbols)) else to_html(to_upper(card.flightrange)) } - { to_html(card.rule_text ) } - { to_html( remove_tag(tag: "", card.flavor_text) ) } - { to_html(card.attack) } / { to_html(card.defence) } - { to_html(to_upper(card.rarity)) } - { to_html(card.illustrator ) } - { to_html(card.number_line ) } -
  • " - } - write_cards := { - "
      { - for each card in sort_list(cards, order_by: {input.number_line}) do - write_card() - }
    " - } - write_group := { - cards := filter_list(cards, filter: { contains(match:sort_index(card:input), code) } ) - count := number_of_items(in:cards) - if count > 0 then - "

    {title} ({count} {if count == 1 then "card" else "cards"})

    " + - write_cards() - } - copy_file("blank.gif") - copy_file("blank.gif") - copy_file("blank.gif") - # the html page - html := " - - - { to_html(set.title) } - - - - - - - -

    { to_html(set.title) }

    - -
    { to_html(set.description) }
    - { if options.grouping == "group by card type" then - # Codes as by sort_index - write_group(title: "Character", code:"12") + - write_group(title: "Equipment", code:"3") + - write_group(title: "Location", code:"4") + - write_group(title: "Plot Twist", code:"5") - else - write_cards(cards: cards) - } - - - " - write_text_file(html, file:"index.html") - # make sure the urls are relative to the right directory - replace(html, match:"<[^<>]*(href|src)=\'", replace:"&{directory}/") +# Simple exporter for HTML files +mse version: 0.3.7 +game: vs +short name: Spoiler +full name: List of cards +installer group: VS System/Export/Spoiler +icon: preview.png +create directory: true +version: 2008-10-19 + +depends on: + package: vs.mse-game + version: 2008-10-19 + +###################################################################################### + +option field: + type: choice + name: grouping + description: How should cards be grouped? + choice: no grouping + choice: group by card type + initial: no grouping +option field: + type: choice + name: images + choice: no + choice: just the image box, linked + choice: just the image box, inline + choice: full card image, linked + choice: full card image, preview + choice: full card image only + initial: full images, preview +option field: + type: boolean + name: in-text symbols + description: Should arrow and diamond symbols be used, or should they be written as text? +#doesn't work yet: +#option field: +# type: boolean +# name: list keywords +# description: Should the keywords be listed? +#option field: +# type: boolean +# name: fancy scripts +# description: Should fancy scripts be used +option field: + type: choice + name: font style + choice: default + choice: serif + choice: sans-serif +option field: + type: color + name: background color + initial: rgb(255,255,255) + choice: + name: white + color: rgb(255,255,255) + choice: + name: black + color: rgb(0,0,0) +option field: + type: color + name: text color + initial: rgb(0,0,0) + choice: + name: white + color: rgb(255,255,255) + choice: + name: black + color: rgb(0,0,0) + +option style: + grouping: + render style: both + choice images: + no grouping: { built_in_image("bool_no") } + group by card type: { built_in_image("bool_yes") } + images: + render style: both + choice images: + no: { built_in_image("bool_no") } + font style: + render style: both + choice images: + serif: /vs-spoiler.mse-export-template/serif.png + sans-serif: /vs-spoiler.mse-export-template/sans-serif.png + +script: + symbol_font := "vs-standard-new" + symbol_font_size := 8 + write_card := { + if contains(options.images, match:"full card image") then + card_image_file := write_image_file(card, file:"card{position(of:card,in:set)}.jpg") + else if contains(options.images, match:"image box") and + card.image != "" then + card_image_file := write_image_file(card.image, file:"card{position(of:card,in:set)}.jpg") + else + card_image_file := "" + if options.images == "full card image, preview" then + card_image_preview := write_image_file(card, file:"card-preview{position(of:card,in:set)}.jpg", height: 100) + else + card_image_preview := card_image_file + if options.images == "full card image only" then + "
  • " + else + "
  • + {if options.images == "full card image, preview" then + " + { to_html(card.full_name ) }" + else if card_image_file != "" and contains(options.images, match:"linked") then + "{ to_html(card.full_name) }" + else + "{ to_html(card.full_name) }" + }{ to_html(to_upper(card.version_full)) } + {if card_image_file != "" and contains(options.images, match:"inline") then + "" + } + { to_html(card.cost ) } + { to_html(card.team_full ) } + { to_html(card.team_2_full ) } + { to_html(card.type_text_full) } + { if contains(card.shape, match: "old") then to_html(to_upper(card.symbols)) else to_html(to_upper(card.flightrange)) } + { to_html(card.rule_text ) } + { to_html( remove_tag(tag: "", card.flavor_text) ) } + { to_html(card.attack) } / { to_html(card.defence) } + { to_html(to_upper(card.rarity)) } + { to_html(card.illustrator ) } + { to_html(card.number_line ) } +
  • " + } + write_cards := { + "
      { + for each card in sort_list(cards, order_by: {input.number_line}) do + write_card() + }
    " + } + write_group := { + cards := filter_list(cards, filter: { contains(match:sort_index(card:input), code) } ) + count := number_of_items(in:cards) + if count > 0 then + "

    {title} ({count} {if count == 1 then "card" else "cards"})

    " + + write_cards() + } + copy_file("blank.gif") + copy_file("blank.gif") + copy_file("blank.gif") + # the html page + html := " + + + { to_html(set.title) } + + + + + + + +

    { to_html(set.title) }

    + +
    { to_html(set.description) }
    + { if options.grouping == "group by card type" then + # Codes as by sort_index + write_group(title: "Character", code:"12") + + write_group(title: "Equipment", code:"3") + + write_group(title: "Location", code:"4") + + write_group(title: "Plot Twist", code:"5") + else + write_cards(cards: cards) + } + + + " + write_text_file(html, file:"index.html") + # make sure the urls are relative to the right directory + replace(html, match:"<[^<>]*(href|src)=\'", replace:"&{directory}/") diff --git a/data/vs-spoiler.mse-export-template/script.js b/data/vs-spoiler.mse-export-template/script.js index bb8841e9..98beef96 100644 --- a/data/vs-spoiler.mse-export-template/script.js +++ b/data/vs-spoiler.mse-export-template/script.js @@ -1,74 +1,74 @@ -var isIE = navigator.appVersion.indexOf("MSIE") != -1; - -var preview, preview_img; - -function show_preview(url) { - preview.style.display = "block"; - preview_img.style.backgroundImage = "url("+this.href+")"; - return false; -} - -function hide_preview() { - preview.style.display = "none"; -} - -function fix_preview() { - var e = document.documentElement ? document.documentElement : document.body; - preview.style.top = e.scrollTop + "px"; - preview.style.height = e.clientHeight; - preview.style.width = e.clientWidth; -} - -function nice_preview() { - // attach - var links = document.getElementsByTagName("A"); - for (var i in links) { - if (/(.jpg|.png|.gif)$/.test(links[i])) { - links[i].onclick = show_preview; - } - } - // create divs - preview = document.createElement("div"); - var bg = document.createElement("div"); - var img = document.createElement("div"); - preview.id = "preview"; - bg.id = "preview-bg"; - img.id = "preview-img"; - hide_preview(); - preview.onclick = bg.onclick = img.onclick = hide_preview; - preview.appendChild(bg); - preview.appendChild(img); - document.body.appendChild(preview); - preview_img = img; - if (isIE) { - window.onscroll = fix_preview; - fix_preview(); - } -} - -var dir; -function fix_img() { - if (this.currentStyle.width == 'auto' && this.currentStyle.height == 'auto') { - this.style.width = this.offsetWidth + 'px'; - this.style.height = this.offsetHeight + 'px'; - } - this.onload = null; - this.style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+this.src+'",sizingMethod="scale")'; - this.src = dir + "blank.gif"; -} -function fix_png_alpha() { - if (!/MSIE (5\.5|6\.)/.test(navigator.userAgent)) return; // only in ie 5.5 and 6 - dir = document.getElementsByTagName("SCRIPT")[0].src.replace(/[^\/]*$/,''); // dir for blank image - var imgs = document.getElementsByTagName("IMG"); - for (var i in imgs) { - var img = imgs[i]; - if ((/\.png$/i).test(img.src)) { - img.onload = fix_img; - } - } -} - -function init() { - fix_png_alpha(); - nice_preview(); -} +var isIE = navigator.appVersion.indexOf("MSIE") != -1; + +var preview, preview_img; + +function show_preview(url) { + preview.style.display = "block"; + preview_img.style.backgroundImage = "url("+this.href+")"; + return false; +} + +function hide_preview() { + preview.style.display = "none"; +} + +function fix_preview() { + var e = document.documentElement ? document.documentElement : document.body; + preview.style.top = e.scrollTop + "px"; + preview.style.height = e.clientHeight; + preview.style.width = e.clientWidth; +} + +function nice_preview() { + // attach + var links = document.getElementsByTagName("A"); + for (var i in links) { + if (/(.jpg|.png|.gif)$/.test(links[i])) { + links[i].onclick = show_preview; + } + } + // create divs + preview = document.createElement("div"); + var bg = document.createElement("div"); + var img = document.createElement("div"); + preview.id = "preview"; + bg.id = "preview-bg"; + img.id = "preview-img"; + hide_preview(); + preview.onclick = bg.onclick = img.onclick = hide_preview; + preview.appendChild(bg); + preview.appendChild(img); + document.body.appendChild(preview); + preview_img = img; + if (isIE) { + window.onscroll = fix_preview; + fix_preview(); + } +} + +var dir; +function fix_img() { + if (this.currentStyle.width == 'auto' && this.currentStyle.height == 'auto') { + this.style.width = this.offsetWidth + 'px'; + this.style.height = this.offsetHeight + 'px'; + } + this.onload = null; + this.style.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+this.src+'",sizingMethod="scale")'; + this.src = dir + "blank.gif"; +} +function fix_png_alpha() { + if (!/MSIE (5\.5|6\.)/.test(navigator.userAgent)) return; // only in ie 5.5 and 6 + dir = document.getElementsByTagName("SCRIPT")[0].src.replace(/[^\/]*$/,''); // dir for blank image + var imgs = document.getElementsByTagName("IMG"); + for (var i in imgs) { + var img = imgs[i]; + if ((/\.png$/i).test(img.src)) { + img.onload = fix_img; + } + } +} + +function init() { + fix_png_alpha(); + nice_preview(); +} diff --git a/data/vs-spoiler.mse-export-template/style.css b/data/vs-spoiler.mse-export-template/style.css index 43fc9caa..ed13008a 100644 --- a/data/vs-spoiler.mse-export-template/style.css +++ b/data/vs-spoiler.mse-export-template/style.css @@ -1,127 +1,127 @@ -.set-symbol { - float: right; - margin-right: .5em; -} - -ul { - list-style: none; - margin: 0; - padding: 0; -} -.card { - clear: left; - margin-top: 1em; -} - -.card span { - display: block; -} - -.card .name { - font-weight: bold; - display: inline; - font-size: 12pt; -} -.card .version { - font-style: italic; - font-size: 10pt; -} -.card .cost { - display: inline; - font-size: 10pt; - margin-left: .5em; - vertical-align: middle; -} -.card .team full { - font-size: 9pt; -} -.card .team full 2 { - font-size: 9pt; -} -.card .fro { - font-style: bold; - font-size: 8pt; -} -.card .rule-text { - font-size: 8pt; -} -.card .flavor-text { - font-style: italic; - font-size: 8pt; -} -.card .attack { - font-style: bold; - font-size: 10pt; -} -.card .rarity { - font-style: italic; - font-size: 6pt; -} -.card .illustrator { - font-size: 6pt; -} -.card .card-number { - font-style: bold; - font-size: 6pt; -} - - -.with-previews .card { - margin-top: 1.1em; - min-height: 100px; - margin-left: 90px; - position: relative; -} -.card .card-image { - height: 100px; - position: absolute; - left: -85px; - top: 3px; - border: none; -} -.card .image { - display: block; - border: none; -} - -span.symbol { - display: inline; - vertical-align: middle; -} - -.fullcard { - float: left; -} -h2 { - clear: both; -} - -/* image preview */ -#preview-bg { - background-color: rgb(0,0,0); - width: 100%; - height: 100%; - cursor: pointer; - position: fixed; - opacity: 0.7; - -moz-opacity: 0.7; - filter: alpha(opacity=70); -} -#preview-img { - background-position: 50% 50%; - background-repeat: no-repeat; - width: 100%; - height: 100%; - cursor: pointer; - position: fixed; -} -#preview { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; -} -* html #preview { - position: fixed; +.set-symbol { + float: right; + margin-right: .5em; +} + +ul { + list-style: none; + margin: 0; + padding: 0; +} +.card { + clear: left; + margin-top: 1em; +} + +.card span { + display: block; +} + +.card .name { + font-weight: bold; + display: inline; + font-size: 12pt; +} +.card .version { + font-style: italic; + font-size: 10pt; +} +.card .cost { + display: inline; + font-size: 10pt; + margin-left: .5em; + vertical-align: middle; +} +.card .team full { + font-size: 9pt; +} +.card .team full 2 { + font-size: 9pt; +} +.card .fro { + font-style: bold; + font-size: 8pt; +} +.card .rule-text { + font-size: 8pt; +} +.card .flavor-text { + font-style: italic; + font-size: 8pt; +} +.card .attack { + font-style: bold; + font-size: 10pt; +} +.card .rarity { + font-style: italic; + font-size: 6pt; +} +.card .illustrator { + font-size: 6pt; +} +.card .card-number { + font-style: bold; + font-size: 6pt; +} + + +.with-previews .card { + margin-top: 1.1em; + min-height: 100px; + margin-left: 90px; + position: relative; +} +.card .card-image { + height: 100px; + position: absolute; + left: -85px; + top: 3px; + border: none; +} +.card .image { + display: block; + border: none; +} + +span.symbol { + display: inline; + vertical-align: middle; +} + +.fullcard { + float: left; +} +h2 { + clear: both; +} + +/* image preview */ +#preview-bg { + background-color: rgb(0,0,0); + width: 100%; + height: 100%; + cursor: pointer; + position: fixed; + opacity: 0.7; + -moz-opacity: 0.7; + filter: alpha(opacity=70); +} +#preview-img { + background-position: 50% 50%; + background-repeat: no-repeat; + width: 100%; + height: 100%; + cursor: pointer; + position: fixed; +} +#preview { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; +} +* html #preview { + position: fixed; } \ No newline at end of file diff --git a/data/vs-standard.mse-style/style b/data/vs-standard.mse-style/style index 2157f150..28cef884 100644 --- a/data/vs-standard.mse-style/style +++ b/data/vs-standard.mse-style/style @@ -1,423 +1,423 @@ -mse version: 0.3.7 -game: vs -full name: VS Standard -short name: Standard -installer group: VS System/Standard style/Normal -icon: card-sample.png -position hint: 002 - -version: 2008-10-26 -depends on: - package: vs.mse-game - version: 2008-10-26 -depends on: - package: vs-common.mse-include - version: 2008-01-03 -depends on: - package: vs-standard-arrow.mse-symbol-font - version: 2008-01-03 - -card background: white -card width: 375 -card height: 523 -card dpi: 150 - -############################################################## Extra scripts -init script: - card_shape := { "old" } -############################################################## Set info fields -############################################################## Extra style -styling field: - type: package choice - name: text box symbols - match: vs-standard-*.mse-symbol-font - initial: vs-standard-arrow.mse-symbol-font -styling field: - type: boolean - name: foils - description: Use foil backgrounds? - initial: no -styling field: - type: boolean - name: watermarkings - description: Use watermarks? - initial: no -styling field: - type: boolean - name: edition - description: Is the set a 1st Edition? - initial: no -############################################################## Card fields -card style: - ############################# Background stuff - card type: - left: 0 - top: 0 - width: 375 - height: 523 - z index: -2 - render style: image - popup style: in place - choice images: - characters visible character: cvchcard.jpg - characters visible character dual: cvcdcard.jpg - characters visible character dual (new): cvcncard.jpg - characters hidden concealed: chcocard.jpg - characters hidden concealed dual: chodcard.jpg - characters hidden concealed dual (new): choncard.jpg - characters concealed-optional concealed-optional character: chcocard.jpg - characters concealed-optional concealed-optional dual: chodcard.jpg - characters concealed-optional concealed-optional dual (new): choncard.jpg - equipment visible equipment: eveqcard.jpg - equipment concealed equipment: eveqcard.jpg - equipment concealed-optional equipment: eveqcard.jpg - location: locard.jpg - plot twist: ptcard.jpg - planet: locard.jpg - ############################# Name line - full name: - left: 90 - top : 25 - width: 219 - height: 24 - alignment: bottom shrink-overflow - padding bottom: 0 - z index: 4 - font: - name: Percolator Expert TM - size: 22 - color: - script: if is_concealed() then rgb(23,4,6) - else if is_equipment() then rgb(18,21,26) - else if is_location() then rgb(31,53,30) - else if is_plot_twist() then rgb(28,47,87) - else rgb(22,10,10) - symbol font: - name: vs-standard-arrow - size: 15 - alignment: middle center - cost: - left: 33 - top : 30 - width: 25 - height: 41 - alignment: bottom center shrink-overflow - font: - name: BadhouseBoldNumbers - size: 40 - color: - script: if is_equipment() then rgb(240,221,146) - else if is_location() then rgb(193,240,250) - else if is_plot_twist() then rgb(161,174,238) - else rgb(255,236,130) - z index: 4 - padding top: 0 - ############################# Image - image: - left: 65 - top: 78 - width: { if is_dual() then 249 else 282 } - height: 241 - mask: { if is_dual() then "image-mask-dual.png" else "image-mask.png" } - z index: 1 - card symbol: - left: 310 - top : 31 - height: 30 - width: 45 - render style: image - choice images: - Marvel: /vs-common.mse-include/marvel.png - DC-new: /vs-common.mse-include/dcnew.png - DC-old: /vs-common.mse-include/dcold.png - Hellboy: /vs-common.mse-include/hellboy.png - Other...: { set.custom_logo } - z index: 3 - edition: - left: 315 - top: 447 - height: 26 - width: 34 - render style: image - choice images: - first edition: /vs-common.mse-include/first-edition.png - z index: 3 - visible: { styling.edition } - ############################# Type Bar - type text full: - left: 72 - top: 297 - width: { if is_dual() then 235 else 268 } - height: 20 - font: - name: Eurostile - size: 11 - color: rgb(0,0,0) - visible: { is_character() } - alignment: middle center - z index: 3 - type bar: - left: 72 - top: 297 - width: { if is_dual() then 235 else 268 } - height: 20 - visible: { card.type_text != "" } - render style: image - choice images: - type bar: type-bar.png - z index: 2 - ############################# Version - version full: - left: 90 - top : 46 - width: 219 - height: 18 - alignment: top shrink-overflow - z index: 4 - font: - name: Percolator Expert TM - size: 14 - color: - script: if is_concealed() then rgb(23,4,6) - else if is_equipment() then rgb(18,21,26) - else if is_location() then rgb(31,53,30) - else if is_plot_twist() then rgb(28,47,87) - else rgb(22,10,10) - separator color: rgb(128,128,128) - ############################# Card ID - number line: - left: 136 - top : 485 - width: 30 - height: 18 - z index: 4 - font: - name: Eurostile - size: 8 - color: - script: if card.rarity=="common" then rgb(255,255,255) - else if card.rarity=="uncommon" then rgb(80,174,255) - else if card.rarity=="rare" then rgb(255,236,130) - else if card.rarity=="promo" then rgb(255,20,20) - else rgb(255,255,255) - weight: bold - promo outliner: - left: 135 - top : 484 - width: 30 - height: 18 - visible: { card.rarity=="promo" } - z index: 3 - font: - name: Eurostile - size: 8 - color: rgb(255,255,255) - weight: bold - promo outliner 2: - left: 137 - top : 486 - width: 30 - height: 18 - visible: { card.rarity=="promo" } - z index: 3 - font: - name: Eurostile - size: 8 - color: rgb(255,255,255) - weight: bold - rarity: - left: 135 - top: 484 - width: 50 - height: 30 - z index: 3 - render style: image hidden - choice images: - common: /vs-common.mse-include/rarity-common.png - uncommon: /vs-common.mse-include/rarity-uncommon.png - rare: /vs-common.mse-include/rarity-rare.png - promo: /vs-common.mse-include/rarity-promo.png - ############################# Affiliation - team full: - left: 23 - top : { if is_new_dual() then 340 else 300 } - height: 28 - width: { if is_new_dual() then 240 else 200 } - angle: 90 - font: - name: Percolator Expert TM - size: 16 - color: rgb(245,230,197) - symbol font: - name: vs-standard-arrow - size: 16 - alignment: middle center - alignment: middle center shrink-overflow - z index: 4 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - team 2 full: - left: 325 - top : 100 - height: 28 - width: 200 - angle: 270 - font: - name: Percolator Expert TM - size: 16 - scale down to: 18 - color: rgb(245,230,197) - symbol font: - name: vs-standard-arrow - size: 16 - alignment: middle center - visible: is_dual() - alignment: middle center shrink-overflow - z index: 4 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - ############################# FlightRange - symbols: - left: 25 - top : { if is_new_dual() then 366 else 322 } - height: 67 - width: 38 - z index: 4 - render style: image list - choice images: - flight: /vs-common.mse-include/flight.png - ongoing: /vs-common.mse-include/ongoing.png - range: /vs-common.mse-include/range.png - direction: vertical - spacing: 33 - ############################# Text box - rule text: - left: 84 - top : 336 - width: 272 - height: 120 - mask: text-mask.png - font: - name: Eurostile - italic name: EurostileObl-Normal - size: 11 - scale down to: 6 - color: rgb(0,0,0) - symbol font: - name: { styling.text_box_symbols } - size: 11 - alignment: middle center - alignment: top left - z index: 4 - padding left: 2 - padding top: 5 - padding right: 2 - padding bottom: 2 - line height hard: 1.4 - flavor text: - left: 84 - top : 356 - width: 272 - height: 118 - mask: flavor-text-mask.png - font: - name: EurostileObl-Normal - size: 10 - scale down to: 6 - color: rgb(0,0,0) - alignment: bottom left - z index: 3 - padding left: 2 - padding top: 2 - padding right: 2 - padding bottom: 2 - line height hard: 1 - watermark: - left: { if watermark_narrow() then 197 else if watermark_wide() then 132 else 166 } - top: 365 - width: { if watermark_narrow() then 60 else if watermark_wide() then 165 else 106 } - height: 80 - visible: { styling.watermarkings } - render style: image - include file: /vs-common.mse-include/watermarks - z index: 4 - ############################# Attack/defence - attack: - z index: 4 - left: 50 - top: 427 - width: 30 - height: 47 - visible: { is_character() } - z index: 4 - alignment: bottom left shrink-overflow - font: - name: BadhouseBoldNumbers - size: 50 - color: rgb(255,236,130) - shadow color: rgb(0,0,0) - shadow displacement x: 3 - shadow displacement y: 0 - defence: - z index: 4 - left: 50 - top: 462 - width: 30 - height: 47 - visible: { is_character() } - z index: 4 - alignment: bottom left shrink-overflow - padding bottom: -4 - font: - name: BadhouseBoldNumbers - size: 50 - color: rgb(200,213,225) - shadow color: rgb(0,0,0) - shadow displacement x: -3 - shadow displacement y: 0 - ############################# Card sorting / numbering - ############################# Copyright stuff - illustrator: - left: 130 - top : 322 - width: 165 - height: 16 - alignment: center top shrink-overflow - z index: 4 - font: - name: Eurostile - size: 9 - weight: bold - color: rgb(255,255,255) - copyright: - left: 195 - top : 480 - width: 130 - height: 22 - z index: 4 - alignment: middle left - font: - name: Eurostile - size: 6 - color: rgb(255,255,255) -############################################################## Extra card fields -extra card field: - type: choice - name: foil layer - choice: foil - editable: false -extra card style: - foil layer: - left: 0 - top : 0 - width: { if styling.foils=="no" then 0 else 375 } - height: { if styling.foils=="no" then 0 else 523 } - z index: 8 - render style: image - choice images: - foil: /vs-common.mse-include/foil.png - visible: { styling.foils } +mse version: 0.3.7 +game: vs +full name: VS Standard +short name: Standard +installer group: VS System/Standard style/Normal +icon: card-sample.png +position hint: 002 + +version: 2008-10-26 +depends on: + package: vs.mse-game + version: 2008-10-26 +depends on: + package: vs-common.mse-include + version: 2008-01-03 +depends on: + package: vs-standard-arrow.mse-symbol-font + version: 2008-01-03 + +card background: white +card width: 375 +card height: 523 +card dpi: 150 + +############################################################## Extra scripts +init script: + card_shape := { "old" } +############################################################## Set info fields +############################################################## Extra style +styling field: + type: package choice + name: text box symbols + match: vs-standard-*.mse-symbol-font + initial: vs-standard-arrow.mse-symbol-font +styling field: + type: boolean + name: foils + description: Use foil backgrounds? + initial: no +styling field: + type: boolean + name: watermarkings + description: Use watermarks? + initial: no +styling field: + type: boolean + name: edition + description: Is the set a 1st Edition? + initial: no +############################################################## Card fields +card style: + ############################# Background stuff + card type: + left: 0 + top: 0 + width: 375 + height: 523 + z index: -2 + render style: image + popup style: in place + choice images: + characters visible character: cvchcard.jpg + characters visible character dual: cvcdcard.jpg + characters visible character dual (new): cvcncard.jpg + characters hidden concealed: chcocard.jpg + characters hidden concealed dual: chodcard.jpg + characters hidden concealed dual (new): choncard.jpg + characters concealed-optional concealed-optional character: chcocard.jpg + characters concealed-optional concealed-optional dual: chodcard.jpg + characters concealed-optional concealed-optional dual (new): choncard.jpg + equipment visible equipment: eveqcard.jpg + equipment concealed equipment: eveqcard.jpg + equipment concealed-optional equipment: eveqcard.jpg + location: locard.jpg + plot twist: ptcard.jpg + planet: locard.jpg + ############################# Name line + full name: + left: 90 + top : 25 + width: 219 + height: 24 + alignment: bottom shrink-overflow + padding bottom: 0 + z index: 4 + font: + name: Percolator Expert TM + size: 22 + color: + script: if is_concealed() then rgb(23,4,6) + else if is_equipment() then rgb(18,21,26) + else if is_location() then rgb(31,53,30) + else if is_plot_twist() then rgb(28,47,87) + else rgb(22,10,10) + symbol font: + name: vs-standard-arrow + size: 15 + alignment: middle center + cost: + left: 33 + top : 30 + width: 25 + height: 41 + alignment: bottom center shrink-overflow + font: + name: BadhouseBoldNumbers + size: 40 + color: + script: if is_equipment() then rgb(240,221,146) + else if is_location() then rgb(193,240,250) + else if is_plot_twist() then rgb(161,174,238) + else rgb(255,236,130) + z index: 4 + padding top: 0 + ############################# Image + image: + left: 65 + top: 78 + width: { if is_dual() then 249 else 282 } + height: 241 + mask: { if is_dual() then "image-mask-dual.png" else "image-mask.png" } + z index: 1 + card symbol: + left: 310 + top : 31 + height: 30 + width: 45 + render style: image + choice images: + Marvel: /vs-common.mse-include/marvel.png + DC-new: /vs-common.mse-include/dcnew.png + DC-old: /vs-common.mse-include/dcold.png + Hellboy: /vs-common.mse-include/hellboy.png + Other...: { set.custom_logo } + z index: 3 + edition: + left: 315 + top: 447 + height: 26 + width: 34 + render style: image + choice images: + first edition: /vs-common.mse-include/first-edition.png + z index: 3 + visible: { styling.edition } + ############################# Type Bar + type text full: + left: 72 + top: 297 + width: { if is_dual() then 235 else 268 } + height: 20 + font: + name: Eurostile + size: 11 + color: rgb(0,0,0) + visible: { is_character() } + alignment: middle center + z index: 3 + type bar: + left: 72 + top: 297 + width: { if is_dual() then 235 else 268 } + height: 20 + visible: { card.type_text != "" } + render style: image + choice images: + type bar: type-bar.png + z index: 2 + ############################# Version + version full: + left: 90 + top : 46 + width: 219 + height: 18 + alignment: top shrink-overflow + z index: 4 + font: + name: Percolator Expert TM + size: 14 + color: + script: if is_concealed() then rgb(23,4,6) + else if is_equipment() then rgb(18,21,26) + else if is_location() then rgb(31,53,30) + else if is_plot_twist() then rgb(28,47,87) + else rgb(22,10,10) + separator color: rgb(128,128,128) + ############################# Card ID + number line: + left: 136 + top : 485 + width: 30 + height: 18 + z index: 4 + font: + name: Eurostile + size: 8 + color: + script: if card.rarity=="common" then rgb(255,255,255) + else if card.rarity=="uncommon" then rgb(80,174,255) + else if card.rarity=="rare" then rgb(255,236,130) + else if card.rarity=="promo" then rgb(255,20,20) + else rgb(255,255,255) + weight: bold + promo outliner: + left: 135 + top : 484 + width: 30 + height: 18 + visible: { card.rarity=="promo" } + z index: 3 + font: + name: Eurostile + size: 8 + color: rgb(255,255,255) + weight: bold + promo outliner 2: + left: 137 + top : 486 + width: 30 + height: 18 + visible: { card.rarity=="promo" } + z index: 3 + font: + name: Eurostile + size: 8 + color: rgb(255,255,255) + weight: bold + rarity: + left: 135 + top: 484 + width: 50 + height: 30 + z index: 3 + render style: image hidden + choice images: + common: /vs-common.mse-include/rarity-common.png + uncommon: /vs-common.mse-include/rarity-uncommon.png + rare: /vs-common.mse-include/rarity-rare.png + promo: /vs-common.mse-include/rarity-promo.png + ############################# Affiliation + team full: + left: 23 + top : { if is_new_dual() then 340 else 300 } + height: 28 + width: { if is_new_dual() then 240 else 200 } + angle: 90 + font: + name: Percolator Expert TM + size: 16 + color: rgb(245,230,197) + symbol font: + name: vs-standard-arrow + size: 16 + alignment: middle center + alignment: middle center shrink-overflow + z index: 4 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + team 2 full: + left: 325 + top : 100 + height: 28 + width: 200 + angle: 270 + font: + name: Percolator Expert TM + size: 16 + scale down to: 18 + color: rgb(245,230,197) + symbol font: + name: vs-standard-arrow + size: 16 + alignment: middle center + visible: is_dual() + alignment: middle center shrink-overflow + z index: 4 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + ############################# FlightRange + symbols: + left: 25 + top : { if is_new_dual() then 366 else 322 } + height: 67 + width: 38 + z index: 4 + render style: image list + choice images: + flight: /vs-common.mse-include/flight.png + ongoing: /vs-common.mse-include/ongoing.png + range: /vs-common.mse-include/range.png + direction: vertical + spacing: 33 + ############################# Text box + rule text: + left: 84 + top : 336 + width: 272 + height: 120 + mask: text-mask.png + font: + name: Eurostile + italic name: EurostileObl-Normal + size: 11 + scale down to: 6 + color: rgb(0,0,0) + symbol font: + name: { styling.text_box_symbols } + size: 11 + alignment: middle center + alignment: top left + z index: 4 + padding left: 2 + padding top: 5 + padding right: 2 + padding bottom: 2 + line height hard: 1.4 + flavor text: + left: 84 + top : 356 + width: 272 + height: 118 + mask: flavor-text-mask.png + font: + name: EurostileObl-Normal + size: 10 + scale down to: 6 + color: rgb(0,0,0) + alignment: bottom left + z index: 3 + padding left: 2 + padding top: 2 + padding right: 2 + padding bottom: 2 + line height hard: 1 + watermark: + left: { if watermark_narrow() then 197 else if watermark_wide() then 132 else 166 } + top: 365 + width: { if watermark_narrow() then 60 else if watermark_wide() then 165 else 106 } + height: 80 + visible: { styling.watermarkings } + render style: image + include file: /vs-common.mse-include/watermarks + z index: 4 + ############################# Attack/defence + attack: + z index: 4 + left: 50 + top: 427 + width: 30 + height: 47 + visible: { is_character() } + z index: 4 + alignment: bottom left shrink-overflow + font: + name: BadhouseBoldNumbers + size: 50 + color: rgb(255,236,130) + shadow color: rgb(0,0,0) + shadow displacement x: 3 + shadow displacement y: 0 + defence: + z index: 4 + left: 50 + top: 462 + width: 30 + height: 47 + visible: { is_character() } + z index: 4 + alignment: bottom left shrink-overflow + padding bottom: -4 + font: + name: BadhouseBoldNumbers + size: 50 + color: rgb(200,213,225) + shadow color: rgb(0,0,0) + shadow displacement x: -3 + shadow displacement y: 0 + ############################# Card sorting / numbering + ############################# Copyright stuff + illustrator: + left: 130 + top : 322 + width: 165 + height: 16 + alignment: center top shrink-overflow + z index: 4 + font: + name: Eurostile + size: 9 + weight: bold + color: rgb(255,255,255) + copyright: + left: 195 + top : 480 + width: 130 + height: 22 + z index: 4 + alignment: middle left + font: + name: Eurostile + size: 6 + color: rgb(255,255,255) +############################################################## Extra card fields +extra card field: + type: choice + name: foil layer + choice: foil + editable: false +extra card style: + foil layer: + left: 0 + top : 0 + width: { if styling.foils=="no" then 0 else 375 } + height: { if styling.foils=="no" then 0 else 523 } + z index: 8 + render style: image + choice images: + foil: /vs-common.mse-include/foil.png + visible: { styling.foils } diff --git a/data/vs.mse-game/auto_replace b/data/vs.mse-game/auto_replace index 5fa5a29c..f1f5754a 100644 --- a/data/vs.mse-game/auto_replace +++ b/data/vs.mse-game/auto_replace @@ -1,38 +1,38 @@ - -############################################################## Auto replace -# Do we need categories? -#auto replace category: text box -#auto replace category: copyright -#auto replace category: everywhere -auto replace: - match: (C) - replace: © -auto replace: - match: CR - replace: © -auto replace: - match: AE - replace: Æ - whole word: false -auto replace: - match: TM - replace: ™ - whole word: false -auto replace: - match: -- - replace: — -auto replace: - # note the spaces - match: - - - replace: - — -auto replace: - match: ` - replace: • -auto replace: - match: :: - replace: • -auto replace: - match: @ - replace: @ + +############################################################## Auto replace +# Do we need categories? +#auto replace category: text box +#auto replace category: copyright +#auto replace category: everywhere +auto replace: + match: (C) + replace: © +auto replace: + match: CR + replace: © +auto replace: + match: AE + replace: Æ + whole word: false +auto replace: + match: TM + replace: ™ + whole word: false +auto replace: + match: -- + replace: — +auto replace: + # note the spaces + match: + - + replace: + — +auto replace: + match: ` + replace: • +auto replace: + match: :: + replace: • +auto replace: + match: @ + replace: @ diff --git a/data/vs.mse-game/card_fields b/data/vs.mse-game/card_fields index 23f607ef..76243e4e 100644 --- a/data/vs.mse-game/card_fields +++ b/data/vs.mse-game/card_fields @@ -1,412 +1,412 @@ - -############################################################## Card fields -############################# Background stuff -card field: - type: choice - name: shape - save value: false - show statistics: false - editable: false - choice: new - choice: old - choice: avatar - choice: alter ego - script: - stylesheet # indicate that this value should be updated when the stylesheet changes - card_shape() # determined by the style -card field: - type: choice - name: card type - choice: characters - choice: - name: visible - choice: character - choice: character dual - choice: character dual (new) - choice: - name: hidden - choice: concealed - choice: concealed dual - choice: concealed dual (new) - choice: - name: concealed-optional - choice: concealed-optional character - choice: concealed-optional dual - choice: concealed-optional dual (new) - choice: - name: equipment - choice: visible equipment - choice: concealed equipment - choice: concealed-optional equipment - choice: location - choice: plot twist - choice: planet - default: card_type() - show statistics: false - description: The frame of the card. -############################# Name line -card field: - type: text - name: name - editable: false - show statistics: false -card field: - type: text - name: identity - editable: false -card field: - type: text - name: full name - script: - combined_editor( - field1: card.name, - separator: name_sep(), - field2: card.identity, - soft_before_empty: false, - hide_when_empty: false, - type_over1: "TM", - type_over2: "@" - ) - identifying: true - show statistics: false - card list visible: true - card list column: 1 - card list width: 200 - description: The name of the card, use @ for a diamond. -card field: - type: text - name: cost - script: only_numbers(value) - icon: stats/cost.png - card list visible: true - card list column: 3 - card list alignment: right - card list width: 37 - card list name: Cost - description: The cost of the card. -############################# Image -card field: - type: image - name: image - show statistics: false -card field: - type: choice - name: card symbol - choice: none - choice: Marvel - choice: DC-new - choice: DC-old - choice: Hellboy - choice: Other... - show statistics: false - default: set.logo - editable: false -card field: - type: choice - name: edition - choice: first edition - editable: false - show statistics: false -############################# Type Bar -card field: - type: text - name: type text - script: to_upper(value) - editable: false -card field: - type: text - name: sub type - script: to_upper(value) - editable: false -card field: - type: text - name: type text full - script: - # Either just type_text, or type_text—sub_type - combined_editor( - field1: card.type_text, - separator: " - ", - field2: card.sub_type, - soft_before_empty: true, - hide_when_empty: true, - type_over1: " -", - type_over2: "-" - ) - description: The type of the card -card field: - type: choice - name: type bar - choice: type bar - editable: false - show statistics: false -############################# Version -card field: - type: text - name: version - script: to_lower(value) - editable: false - show statistics: false -card field: - type: text - name: team affiliation - script: to_lower(value) - editable: false -card field: - type: text - name: version full - script: - # Either just version, or version • team_affiliation - combined_editor( - field1: card.version, - separator: " • ", - field2: card.team_affiliation, - soft_before_empty: true, - hide_when_empty: true, - type_over1: " `" - ) - card list visible: true - card list column: 2 - show statistics: false - description: The version of the card. -############################# Card ID -card field: - type: text - name: number - save value: false - script: - if pos_of_card()<=9 then "00" + pos_of_card(value) else - if pos_of_card()>=9 and pos_of_card()<=99 then "0" + pos_of_card(value) else - "" + pos_of_card(value) - card list visible: true - card list column: 6 - card list width: 55 - card list name: # - card list alignment: right - editable: false - show statistics: false -card field: - type: text - name: number text - script: to_upper(value) - default: set.code + "-" + card.number - editable: false - show statistics: false -card field: - type: text - name: number line - save value: false - show statistics: false - script: - if set.automatic_card_numbers then - combined_editor(field1: set.code, separator: "-", field2: card.number) - else - forward_editor(field: card.number_text) - description: Copyright of this card and cardnumber, the default value can be changed on the 'set info' tab -card field: - type: text - name: promo outliner - save value: false - show statistics: false - editable: false - default: card.number_line -card field: - type: text - name: promo outliner 2 - save value: false - show statistics: false - editable: false - default: card.number_line -card field: - type: choice - name: rarity - choice: common - choice: uncommon - choice: rare - choice: promo - default: set.set_rarity - icon: stats/rarity.png - description: The rarity of the card. -############################# Affiliation -card field: - type: text - name: separator - script: separator_type(team2: card.team_2_of_2) - editable: false - show statistics: false -card field: - type: text - name: team - script: affiliation_1_filter(if contains(card.shape, match: "old") then (value) else to_upper(value)) - editable: false - show statistics: false -card field: - type: text - name: team 2 of 2 - script: affiliation_2_filter(if contains(card.shape, match: "old") then (value) else to_upper(value)) - editable: false - show statistics: false -card field: - type: text - name: team full - script: - # Either just team, or team • team 2 of 2 - combined_editor( - field1: card.team, - separator: card.separator, - field2: card.team_2_of_2, - soft_before_empty: true, - hide_when_empty: true - ) - description: The team of the card, use ` for a separator for dual cards -card field: - type: text - name: separator 2 - script: separator_type(team2: card.team_2_of_2_2) - editable: false - show statistics: false -card field: - type: text - name: team 2 - script: affiliation_1_filter(if contains(card.shape, match: "old") then (value) else to_upper(value)) - editable: false - show statistics: false -card field: - type: text - name: team 2 of 2 2 - script: affiliation_2_filter(if contains(card.shape, match: "old") then (value) else to_upper(value)) - editable: false - show statistics: false -card field: - type: text - name: team 2 full - script: - # Either just team, or team 2 • team 2 of 2 2 - combined_editor( - field1: card.team_2, - separator: card.separator, - field2: card.team_2_of_2_2, - soft_before_empty: true, - hide_when_empty: true, - type_over1: " `" - ) - description: The second affiliation of the card (for dual cards) -############################# FlightRange -card field: - type: multiple choice - name: symbols - icon: stats/symbols.png - choice: flight - choice: range - choice: ongoing - default: symbol_default() - description: Symbols for this card (flight/range/ongoing), multiple symbols can be selected - show statistics: false -############################# Text box -card field: - type: text - name: rule text - show statistics: false - multi line: true - script: text_filter(value) - description: Rule text of the card, use @ for a diamond, -> for an arrow -card field: - type: text - name: flavor text - show statistics: false - multi line: true - description: Flavor text of the card. -card field: - type: choice - name: watermark - include file: /vs-common.mse-include/watermark-names - editable: false - description: The Watermark for this set. -############################# Atack / Defense -card field: - type: text - name: attack - script: only_numbers(value) - icon: stats/attack.png - save value: true - card list visible: true - card list column: 4 - card list width: 33 - card list name: ATK - card list alignment: right - description: The attack of the card. -card field: - type: text - name: defence - script: only_numbers(value) - icon: stats/defence.png - save value: true - card list visible: true - card list column: 5 - card list width: 33 - card list name: DEF - card list alignment: right - description: The defence of the card. -############################# Copyright stuff -card field: - type: text - name: illustrator - default: set.artist - icon: stats/illustrator.png - description: The artist for the card. -card field: - type: text - name: copyright - default: set.copyright - multi line: true - show statistics: false - description: The copyright line of the card. -############################################### -########################### For New style cards -card field: - type: choice - name: playarea - choice: none - choice: visible - choice: concealed - choice: both - initial: visible - script: - if is_concealed_optional() then "both" - else if is_concealed() then "concealed" - else "visible" - editable: false - show statistics: false - save value: true -card field: - type: choice - name: flightrange - choice: none - choice: flight - choice: range - choice: both - initial: none - show statistics: false - save value: true - description: Flight and range icons for the card. -card field: - type: choice - name: ongoing - choice: none - choice: ongoing - initial: none - script: ongoing_detect() - description: Ongoing icons for the card. -card field: - type: choice - name: affiliation - editable: false - initial: none - include file: /vs-common.mse-include/watermark-names - description: First affiliation icon for the card. -card field: - type: choice - name: affiliation2 - editable: false - initial: none - include file: /vs-common.mse-include/dual-affiliation - description: Second affiliation icon for the card. + +############################################################## Card fields +############################# Background stuff +card field: + type: choice + name: shape + save value: false + show statistics: false + editable: false + choice: new + choice: old + choice: avatar + choice: alter ego + script: + stylesheet # indicate that this value should be updated when the stylesheet changes + card_shape() # determined by the style +card field: + type: choice + name: card type + choice: characters + choice: + name: visible + choice: character + choice: character dual + choice: character dual (new) + choice: + name: hidden + choice: concealed + choice: concealed dual + choice: concealed dual (new) + choice: + name: concealed-optional + choice: concealed-optional character + choice: concealed-optional dual + choice: concealed-optional dual (new) + choice: + name: equipment + choice: visible equipment + choice: concealed equipment + choice: concealed-optional equipment + choice: location + choice: plot twist + choice: planet + default: card_type() + show statistics: false + description: The frame of the card. +############################# Name line +card field: + type: text + name: name + editable: false + show statistics: false +card field: + type: text + name: identity + editable: false +card field: + type: text + name: full name + script: + combined_editor( + field1: card.name, + separator: name_sep(), + field2: card.identity, + soft_before_empty: false, + hide_when_empty: false, + type_over1: "TM", + type_over2: "@" + ) + identifying: true + show statistics: false + card list visible: true + card list column: 1 + card list width: 200 + description: The name of the card, use @ for a diamond. +card field: + type: text + name: cost + script: only_numbers(value) + icon: stats/cost.png + card list visible: true + card list column: 3 + card list alignment: right + card list width: 37 + card list name: Cost + description: The cost of the card. +############################# Image +card field: + type: image + name: image + show statistics: false +card field: + type: choice + name: card symbol + choice: none + choice: Marvel + choice: DC-new + choice: DC-old + choice: Hellboy + choice: Other... + show statistics: false + default: set.logo + editable: false +card field: + type: choice + name: edition + choice: first edition + editable: false + show statistics: false +############################# Type Bar +card field: + type: text + name: type text + script: to_upper(value) + editable: false +card field: + type: text + name: sub type + script: to_upper(value) + editable: false +card field: + type: text + name: type text full + script: + # Either just type_text, or type_text—sub_type + combined_editor( + field1: card.type_text, + separator: " - ", + field2: card.sub_type, + soft_before_empty: true, + hide_when_empty: true, + type_over1: " -", + type_over2: "-" + ) + description: The type of the card +card field: + type: choice + name: type bar + choice: type bar + editable: false + show statistics: false +############################# Version +card field: + type: text + name: version + script: to_lower(value) + editable: false + show statistics: false +card field: + type: text + name: team affiliation + script: to_lower(value) + editable: false +card field: + type: text + name: version full + script: + # Either just version, or version • team_affiliation + combined_editor( + field1: card.version, + separator: " • ", + field2: card.team_affiliation, + soft_before_empty: true, + hide_when_empty: true, + type_over1: " `" + ) + card list visible: true + card list column: 2 + show statistics: false + description: The version of the card. +############################# Card ID +card field: + type: text + name: number + save value: false + script: + if pos_of_card()<=9 then "00" + pos_of_card(value) else + if pos_of_card()>=9 and pos_of_card()<=99 then "0" + pos_of_card(value) else + "" + pos_of_card(value) + card list visible: true + card list column: 6 + card list width: 55 + card list name: # + card list alignment: right + editable: false + show statistics: false +card field: + type: text + name: number text + script: to_upper(value) + default: set.code + "-" + card.number + editable: false + show statistics: false +card field: + type: text + name: number line + save value: false + show statistics: false + script: + if set.automatic_card_numbers then + combined_editor(field1: set.code, separator: "-", field2: card.number) + else + forward_editor(field: card.number_text) + description: Copyright of this card and cardnumber, the default value can be changed on the 'set info' tab +card field: + type: text + name: promo outliner + save value: false + show statistics: false + editable: false + default: card.number_line +card field: + type: text + name: promo outliner 2 + save value: false + show statistics: false + editable: false + default: card.number_line +card field: + type: choice + name: rarity + choice: common + choice: uncommon + choice: rare + choice: promo + default: set.set_rarity + icon: stats/rarity.png + description: The rarity of the card. +############################# Affiliation +card field: + type: text + name: separator + script: separator_type(team2: card.team_2_of_2) + editable: false + show statistics: false +card field: + type: text + name: team + script: affiliation_1_filter(if contains(card.shape, match: "old") then (value) else to_upper(value)) + editable: false + show statistics: false +card field: + type: text + name: team 2 of 2 + script: affiliation_2_filter(if contains(card.shape, match: "old") then (value) else to_upper(value)) + editable: false + show statistics: false +card field: + type: text + name: team full + script: + # Either just team, or team • team 2 of 2 + combined_editor( + field1: card.team, + separator: card.separator, + field2: card.team_2_of_2, + soft_before_empty: true, + hide_when_empty: true + ) + description: The team of the card, use ` for a separator for dual cards +card field: + type: text + name: separator 2 + script: separator_type(team2: card.team_2_of_2_2) + editable: false + show statistics: false +card field: + type: text + name: team 2 + script: affiliation_1_filter(if contains(card.shape, match: "old") then (value) else to_upper(value)) + editable: false + show statistics: false +card field: + type: text + name: team 2 of 2 2 + script: affiliation_2_filter(if contains(card.shape, match: "old") then (value) else to_upper(value)) + editable: false + show statistics: false +card field: + type: text + name: team 2 full + script: + # Either just team, or team 2 • team 2 of 2 2 + combined_editor( + field1: card.team_2, + separator: card.separator, + field2: card.team_2_of_2_2, + soft_before_empty: true, + hide_when_empty: true, + type_over1: " `" + ) + description: The second affiliation of the card (for dual cards) +############################# FlightRange +card field: + type: multiple choice + name: symbols + icon: stats/symbols.png + choice: flight + choice: range + choice: ongoing + default: symbol_default() + description: Symbols for this card (flight/range/ongoing), multiple symbols can be selected + show statistics: false +############################# Text box +card field: + type: text + name: rule text + show statistics: false + multi line: true + script: text_filter(value) + description: Rule text of the card, use @ for a diamond, -> for an arrow +card field: + type: text + name: flavor text + show statistics: false + multi line: true + description: Flavor text of the card. +card field: + type: choice + name: watermark + include file: /vs-common.mse-include/watermark-names + editable: false + description: The Watermark for this set. +############################# Atack / Defense +card field: + type: text + name: attack + script: only_numbers(value) + icon: stats/attack.png + save value: true + card list visible: true + card list column: 4 + card list width: 33 + card list name: ATK + card list alignment: right + description: The attack of the card. +card field: + type: text + name: defence + script: only_numbers(value) + icon: stats/defence.png + save value: true + card list visible: true + card list column: 5 + card list width: 33 + card list name: DEF + card list alignment: right + description: The defence of the card. +############################# Copyright stuff +card field: + type: text + name: illustrator + default: set.artist + icon: stats/illustrator.png + description: The artist for the card. +card field: + type: text + name: copyright + default: set.copyright + multi line: true + show statistics: false + description: The copyright line of the card. +############################################### +########################### For New style cards +card field: + type: choice + name: playarea + choice: none + choice: visible + choice: concealed + choice: both + initial: visible + script: + if is_concealed_optional() then "both" + else if is_concealed() then "concealed" + else "visible" + editable: false + show statistics: false + save value: true +card field: + type: choice + name: flightrange + choice: none + choice: flight + choice: range + choice: both + initial: none + show statistics: false + save value: true + description: Flight and range icons for the card. +card field: + type: choice + name: ongoing + choice: none + choice: ongoing + initial: none + script: ongoing_detect() + description: Ongoing icons for the card. +card field: + type: choice + name: affiliation + editable: false + initial: none + include file: /vs-common.mse-include/watermark-names + description: First affiliation icon for the card. +card field: + type: choice + name: affiliation2 + editable: false + initial: none + include file: /vs-common.mse-include/dual-affiliation + description: Second affiliation icon for the card. diff --git a/data/vs.mse-game/game b/data/vs.mse-game/game index 2d591813..8de7c02f 100644 --- a/data/vs.mse-game/game +++ b/data/vs.mse-game/game @@ -1,27 +1,27 @@ -mse version: 0.3.8 -full name: VS System -short name: VS -installer group: VS System/game files -icon: card-back.png -position hint: 3 - -version: 2009-07-25 -depends on: - package: vs-common.mse-include - version: 2009-02-04 -############ some scripts copied and altered from magic.mse-game -############################################################## The script - -init script: include file: script - -############################################################## Lots of lists - -include file: card_fields -include file: set_fields -include file: statistics -include file: packs -include file: keywords -include file: word_lists -include file: auto_replace - +mse version: 0.3.8 +full name: VS System +short name: VS +installer group: VS System/game files +icon: card-back.png +position hint: 3 + +version: 2009-07-25 +depends on: + package: vs-common.mse-include + version: 2009-02-04 +############ some scripts copied and altered from magic.mse-game +############################################################## The script + +init script: include file: script + +############################################################## Lots of lists + +include file: card_fields +include file: set_fields +include file: statistics +include file: packs +include file: keywords +include file: word_lists +include file: auto_replace + ############################################################## Other stuff \ No newline at end of file diff --git a/data/vs.mse-game/keywords b/data/vs.mse-game/keywords index 167e6b03..3e36fa5a 100644 --- a/data/vs.mse-game/keywords +++ b/data/vs.mse-game/keywords @@ -1,150 +1,150 @@ -############################################################## Keywords -############################# Keyword rules - -has keywords: true - -keyword match script: text_filter(value) - -keyword mode: - is default: true - name: custom - description: Custom keywords. -keyword mode: - name: real - description: Actual keywords. - -keyword parameter type: - name: number - match: [0-9XYZ?!]+ -keyword parameter type: - name: action - match: - [^ - (.,]+ -keyword parameter type: - name: name - match: - [^ - (.,]+ - -############################# All VS System keywords -keyword: - keyword: Concealed—Optional - match: Concealed—Optional - mode: real - reminder: This card may come into play in the hidden area. -keyword: - keyword: Concealed - match: Concealed - mode: real - reminder: This card comes into play in the hidden area. -keyword: - keyword: Loyalty—Reveal - match: Loyalty—Reveal - mode: real - reminder: If you don’t control a character that shares an affiliation with this character, then as an additional cost to recruit this character, reveal a character card from your hand or resource row that shares an affiliation with this character. -keyword: - keyword: Loyalty - match: Loyalty - mode: real - reminder: Recruit this character only if you control a character that shares at least one team affiliation with this character. -keyword: - keyword: Evasion - match: Evasion - mode: real - reminder: Stun this character -> Recover this character at the start of the recovery phase this turn. -keyword: - keyword: Invulnerability - match: Invulnerability - mode: real - reminder: Whenever this character becomes stunned, you do not take stun damage. Breakthrough is applied normally. -keyword: - keyword: Cosmic—Surge: - match: Cosmic—Surge: action - mode: real - reminder: This character does not come into play with a cosmic counter. At the start of the recovery phase each turn, put a cosmic counter on this character. -keyword: - keyword: Cosmic: - match: Cosmic: action - mode: real - reminder: This character comes into play with a cosmic counter on it. While this character has a cosmic counter on it, it has this ability in addition to any other text it has. -keyword: - keyword: Cosmic - match: Cosmic - mode: real - reminder: This character comes into play with a cosmic counter on it. -keyword: - keyword: Boost - match: Boost number - mode: real - reminder: As an additional cost to play this card, you may pay its boost cost. If you pay, this card has this this this ability in addition to any other text it has this turn. -keyword: - keyword: Willpower - match: Willpower number - mode: real - reminder: This character has willpower equal to . -keyword: - keyword: Leader: - match: Leader: action - mode: real - reminder: The designated characters are affected by this text. -keyword: - keyword: Ally: - match: Ally: action - mode: real - reminder: This character's ally power is activated whenever a character becomes powered-up. -keyword: - keyword: Unique - match: Unique - mode: real - reminder: You may only have one copy of this card in play at a time. -keyword: - keyword: Ongoing: - match: Ongoing action - mode: real - reminder: As long as this card remains face-up in your resource row, this text is active. -keyword: - keyword: Reservist - match: Reservist - mode: real - reminder: You may recruit this card from your resource row. If you do, you may put a card from your hand face down into your resource row. -keyword: - keyword: Press - match: Press - mode: real - reminder: When you recruit this card, your next character costs 1 less to recruit this turn for each press card you recruited this turn, but no less than 1. -keyword: - keyword: Terraform - match: Terraform - mode: real - reminder: Reveal this card -> You may return a face-down resource you control to its owner's hand. If you do, put this card face-down into your resource row. Use this power only if this card is in your hand and only during your recruit step. -keyword: - keyword: Transferable - match: Transferable - mode: real - reminder: At the start of the formation step, you may transfer this card. -keyword: - keyword: Vengeance: - match: Vengeance: action - mode: real - reminder: This ability is activated whenever this character is stunned. -keyword: - keyword: Backup: - match: Backup: action - mode: real - reminder: This ability can only be used during the build phase. -keyword: - keyword: Dual Loyalty - match: Dual Loyalty - mode: real - reminder: Recruit this card only if both its printed affiliations are among the affiliations of characters you control. -keyword: - keyword: Substitute - match: Substitute - mode: real - reminder: Reveal this card -> You may remove from the game a ready character you control with cost greater than or equal to the cost of this card. If you do, put this card into play. Use only if this card is in your hand and only during your recruit step." -keyword: - keyword: Insanity: - match: Insanity: action - mode: real - reminder: You may not have more than one copy of this card in your deck. +############################################################## Keywords +############################# Keyword rules + +has keywords: true + +keyword match script: text_filter(value) + +keyword mode: + is default: true + name: custom + description: Custom keywords. +keyword mode: + name: real + description: Actual keywords. + +keyword parameter type: + name: number + match: [0-9XYZ?!]+ +keyword parameter type: + name: action + match: + [^ + (.,]+ +keyword parameter type: + name: name + match: + [^ + (.,]+ + +############################# All VS System keywords +keyword: + keyword: Concealed—Optional + match: Concealed—Optional + mode: real + reminder: This card may come into play in the hidden area. +keyword: + keyword: Concealed + match: Concealed + mode: real + reminder: This card comes into play in the hidden area. +keyword: + keyword: Loyalty—Reveal + match: Loyalty—Reveal + mode: real + reminder: If you don’t control a character that shares an affiliation with this character, then as an additional cost to recruit this character, reveal a character card from your hand or resource row that shares an affiliation with this character. +keyword: + keyword: Loyalty + match: Loyalty + mode: real + reminder: Recruit this character only if you control a character that shares at least one team affiliation with this character. +keyword: + keyword: Evasion + match: Evasion + mode: real + reminder: Stun this character -> Recover this character at the start of the recovery phase this turn. +keyword: + keyword: Invulnerability + match: Invulnerability + mode: real + reminder: Whenever this character becomes stunned, you do not take stun damage. Breakthrough is applied normally. +keyword: + keyword: Cosmic—Surge: + match: Cosmic—Surge: action + mode: real + reminder: This character does not come into play with a cosmic counter. At the start of the recovery phase each turn, put a cosmic counter on this character. +keyword: + keyword: Cosmic: + match: Cosmic: action + mode: real + reminder: This character comes into play with a cosmic counter on it. While this character has a cosmic counter on it, it has this ability in addition to any other text it has. +keyword: + keyword: Cosmic + match: Cosmic + mode: real + reminder: This character comes into play with a cosmic counter on it. +keyword: + keyword: Boost + match: Boost number + mode: real + reminder: As an additional cost to play this card, you may pay its boost cost. If you pay, this card has this this this ability in addition to any other text it has this turn. +keyword: + keyword: Willpower + match: Willpower number + mode: real + reminder: This character has willpower equal to . +keyword: + keyword: Leader: + match: Leader: action + mode: real + reminder: The designated characters are affected by this text. +keyword: + keyword: Ally: + match: Ally: action + mode: real + reminder: This character's ally power is activated whenever a character becomes powered-up. +keyword: + keyword: Unique + match: Unique + mode: real + reminder: You may only have one copy of this card in play at a time. +keyword: + keyword: Ongoing: + match: Ongoing action + mode: real + reminder: As long as this card remains face-up in your resource row, this text is active. +keyword: + keyword: Reservist + match: Reservist + mode: real + reminder: You may recruit this card from your resource row. If you do, you may put a card from your hand face down into your resource row. +keyword: + keyword: Press + match: Press + mode: real + reminder: When you recruit this card, your next character costs 1 less to recruit this turn for each press card you recruited this turn, but no less than 1. +keyword: + keyword: Terraform + match: Terraform + mode: real + reminder: Reveal this card -> You may return a face-down resource you control to its owner's hand. If you do, put this card face-down into your resource row. Use this power only if this card is in your hand and only during your recruit step. +keyword: + keyword: Transferable + match: Transferable + mode: real + reminder: At the start of the formation step, you may transfer this card. +keyword: + keyword: Vengeance: + match: Vengeance: action + mode: real + reminder: This ability is activated whenever this character is stunned. +keyword: + keyword: Backup: + match: Backup: action + mode: real + reminder: This ability can only be used during the build phase. +keyword: + keyword: Dual Loyalty + match: Dual Loyalty + mode: real + reminder: Recruit this card only if both its printed affiliations are among the affiliations of characters you control. +keyword: + keyword: Substitute + match: Substitute + mode: real + reminder: Reveal this card -> You may remove from the game a ready character you control with cost greater than or equal to the cost of this card. If you do, put this card into play. Use only if this card is in your hand and only during your recruit step." +keyword: + keyword: Insanity: + match: Insanity: action + mode: real + reminder: You may not have more than one copy of this card in your deck. diff --git a/data/vs.mse-game/packs b/data/vs.mse-game/packs index 0455ec4c..4c341f77 100644 --- a/data/vs.mse-game/packs +++ b/data/vs.mse-game/packs @@ -1,52 +1,52 @@ - -############################################################## Card pack items -pack type: - name: rare - filter: card.rarity == "rare" -pack type: - name: uncommon - filter: card.rarity == "uncommon" -pack type: - name: common - filter: card.rarity == "common" -pack type: - name: promo - filter: card.rarity == "promo" -pack type: - name: random non-rare foil - filter: card.rarity == "common" or card.rarity == "uncommon" -############################################################## Card packs -pack type: - name: booster pack - item: - name: rare - amount: 1 - item: - name: uncommon - amount: 3 - item: - name: common - amount: 9 - item: - name: random non-rare foil - amount: 1 -pack type: - name: additional promo - item: - name: promo -pack type: - name: additional rare - item: - name: rare -pack type: - name: additional uncommon - item: - name: uncommon -pack type: - name: additional common - item: - name: common -pack type: - name: additional random non-rare foil - item: + +############################################################## Card pack items +pack type: + name: rare + filter: card.rarity == "rare" +pack type: + name: uncommon + filter: card.rarity == "uncommon" +pack type: + name: common + filter: card.rarity == "common" +pack type: + name: promo + filter: card.rarity == "promo" +pack type: + name: random non-rare foil + filter: card.rarity == "common" or card.rarity == "uncommon" +############################################################## Card packs +pack type: + name: booster pack + item: + name: rare + amount: 1 + item: + name: uncommon + amount: 3 + item: + name: common + amount: 9 + item: + name: random non-rare foil + amount: 1 +pack type: + name: additional promo + item: + name: promo +pack type: + name: additional rare + item: + name: rare +pack type: + name: additional uncommon + item: + name: uncommon +pack type: + name: additional common + item: + name: common +pack type: + name: additional random non-rare foil + item: name: random non-rare foil \ No newline at end of file diff --git a/data/vs.mse-game/script b/data/vs.mse-game/script index d5464f75..10b19457 100644 --- a/data/vs.mse-game/script +++ b/data/vs.mse-game/script @@ -1,247 +1,247 @@ - - ############### Sorting - sort_index := { - if contains(card.team_full, match: "") then "2" - else if contains(card.card_type, match: "equipment") then "3" - else if card.card_type=="location" then "4" - else if card.card_type=="plot twist" then "5" - else if card.card_type=="planet" then "6" - else "1" - } - extensive_sort := { - card.team_full + card.full_name + card.version_full - } - rarity_sort := { - if contains(card.shape, match: "old") then "B" - else if contains(card.shape, match: "avatar") then "C" - else if contains(card.shape, match: "alter ego") then "D" - else "A" - } - - ############### Determine Card Position - pos_of_card := { - position( - of: card - in: set - order_by: { rarity_sort() + sort_index() + extensive_sort() } - ) + 1 - } - - ############################################################## Text Filters - card_shape := { "new" } - # - adds all symbols - # - bolds keywords - # - makes text in parentheses italic - text_filter := - # step 1 : Remove all automatic tags - tag_remove_rule(tag: "") + - tag_remove_rule(tag: "") + - tag_remove_rule(tag: "") + - remove_tag@(tag: "{input}"}) - reminder := process_english_hints(reminder) - # the combined result - "{keyword}" - + if expand then " ({reminder})" - }) + - # step 3 : Expand shortcut words ~ and CARDNAME - replace_rule( - match: "~|~THIS~|CARDNAME", - in_context: "(^|[[:space:]])", - replace: "&" - ) + - # step 4 : Fill in atom fields - tag_contents_rule( - tag: "", - contents: { if card.name=="" then "CARDNAME" else card.name } - ) + - # step 5a: add arrow & diamond symbols - replace_rule( - match: "->|>>>|@|<>|•", - replace: "&") + - # step 7: keyword parameters should not be bolded - # step 7a: put before each - #replace@( - # match: "]*>", - # replace: "&") + - # step 7b: put after each - #replace@( - # match: "]*>", - # replace: "&") + - # step 8 : Italic reminder text - replace_rule( - match: "[(][^)\n]*[)]?", - in_context: "(^|[[:space:]])|", - replace: "&") - - ############### Word List Scripts for Affiliations and Card Types - type_over_list := replace_rule(match:" ?-$", replace:"") - - affiliation_1_filter := - tag_remove_rule(tag: "") + - tag_remove_rule(tag: "") + - type_over_list + - { "{if contains(card.shape, match: "old") then (input) else to_upper(input)}" } - - space_to_wltags := replace_rule(match:"( +| )", - replace:{"{_1}"}) - - affiliation_2_filter := - tag_remove_rule(tag: "") + - tag_remove_rule(tag: "") + - type_over_list + - { "{if contains(card.shape, match: "old") then (input) else to_upper(input)}" } - - ############### Determine type of card - c_optional_character := filter_rule(match: "Concealed—Optional") - concealed_character := filter_rule(match: "Concealed") - keyword_sort_equipment := filter_rule(match: "Transferable") - keyword_sort_location := filter_rule(match: "Terraform") - keyword_sort_plot_twist := filter_rule(match: "Ongoing:") - card_type := { - if contains(card.team, match: "Location") then "location" - else if contains(card.team, match: "LOCATION") then "location" - else if keyword_sort_location(card.rule_text) != "" then "location" - else if card.team=="Planet" then "planet" - else if card.team=="PLANET" then "planet" - else if contains(card.team, match: "Equipment") then "equipment visible equipment" - else if contains(card.team, match: "EQUIPMENT") then "equipment visible equipment" - else if keyword_sort_equipment(card.rule_text) != "" then "equipment visible equipment" - else if contains(card.team, match: "Plot Twist") then "plot twist" - else if contains(card.team, match: "PLOT TWIST") then "plot twist" - else if keyword_sort_plot_twist(card.rule_text) != "" then "plot twist" - else if card.symbols == "ongoing" then "plot twist" - else if c_optional_character(card.rule_text) != "" then "characters concealed-optional concealed-optional character" - else if concealed_character(card.rule_text) != "" then "characters hidden concealed" - else "characters visible character" - } - # Default symbols - flightrange_detect := { if card.flightrange == "flight" then "flight" - else if card.flightrange == "range" then "range" - else if card.flightrange == "both" then "flight, range" - else "" - } - ongoing_detect := { - if keyword_sort_plot_twist(card.rule_text) != "" then "ongoing" - else "" - } - symbol_default := { flightrange_detect() + (if flightrange_detect() != "" then ", " else " ") + ongoing_detect() } - - # Default 'team' name of card - team := { - if is_location() then "Location" - else if is_equipment() then "Equipment" - else if is_plot_twist() then "Plot Twist" - else "" - } - true_pass := { - if is_character() then false else true - } - - ############### Type of card - - is_dual := { - card.card_type == "characters visible character dual" or - card.card_type == "characters hidden concealed dual" or - card.card_type == "characters concealed-optional concealed-optional dual" - } - is_new_dual := { - card.card_type == "characters visible character dual (new)" or - card.card_type == "characters hidden concealed dual (new)" or - card.card_type == "characters concealed-optional concealed-optional dual (new)" - } - is_not_new_dual := { - card.card_type == "characters visible character" or - card.card_type == "characters visible character dual" or - card.card_type == "characters hidden character concealed" or - card.card_type == "characters hidden character concealed dual" or - card.card_type == "characters concealed-optional concealed-optional character" or - card.card_type == "characters concealed-optional concealed-optional dual" - } - is_character := { contains(card.card_type, match: "characters") - } - is_concealed_optional := { contains(card.card_type, match: "concealed-optional") or - contains(card.rule_text, match: "Concealed—Optional") - } - is_concealed := { contains(card.card_type, match: "hidden") or - contains(card.rule_text, match: "Concealed") - } - is_equipment := { contains(card.card_type, match: "equipment") - } - is_location := { - card.card_type == "location" - } - is_plot_twist := { - card.card_type == "plot twist" - } - is_ch_or_eq := { - is_character() or is_equipment() - } - is_ch_or_pt := { - is_character() or is_plot_twist() - } - ############### Watermark Scripts - - watermark_narrow := { - card.watermark == "Marvel A-C Brood" or - card.watermark == "Marvel A-C Brotherhood" or - card.watermark == "Marvel D-H Hellfire Club" or - card.watermark == "DC A-C Anti-Matter" or - card.watermark == "DC A-C Arkham Inmates" or - card.watermark == "DC N-S Shadowpact" - } - watermark_wide := { - card.watermark == "Marvel D-H Horsemen of Apocalypse" or - card.watermark == "DC I-M JLA" or - card.watermark == "DC I-M JSA" - } - - ############### Additional Scripts - - only_numbers := filter_text@(match: "^[0123456789]+") - - word_count := break_text@(match:"[^[:space:]]+") + length - - name_sep := { - if contains(set.logo, match: "Marvel") then ( - if is_character() and card.identity=="" then "™" - else if is_character() and card.identity!="" then "™ " - else if is_equipment() and card.identity=="" then " " - else if is_equipment() and card.identity!="" then " " - else "" - ) - else if is_character() and card.identity=="" then " " - else if is_character() and card.identity!="" then " " - else if is_equipment() and card.identity=="" then " " - else if is_equipment() and card.identity!="" then " " - else " " - } - - separator_type := { - if contains(card.shape, match:"old") then ( - if team2 != "" then " " - else " " - ) - else " • " - } - - only_first := replace@(match:"card.team", replace:"") - - all_affiliations := { - for each card in set do - if is_character() then "," + only_first(to_text(card.team)) - } + + ############### Sorting + sort_index := { + if contains(card.team_full, match: "") then "2" + else if contains(card.card_type, match: "equipment") then "3" + else if card.card_type=="location" then "4" + else if card.card_type=="plot twist" then "5" + else if card.card_type=="planet" then "6" + else "1" + } + extensive_sort := { + card.team_full + card.full_name + card.version_full + } + rarity_sort := { + if contains(card.shape, match: "old") then "B" + else if contains(card.shape, match: "avatar") then "C" + else if contains(card.shape, match: "alter ego") then "D" + else "A" + } + + ############### Determine Card Position + pos_of_card := { + position( + of: card + in: set + order_by: { rarity_sort() + sort_index() + extensive_sort() } + ) + 1 + } + + ############################################################## Text Filters + card_shape := { "new" } + # - adds all symbols + # - bolds keywords + # - makes text in parentheses italic + text_filter := + # step 1 : Remove all automatic tags + tag_remove_rule(tag: "") + + tag_remove_rule(tag: "") + + tag_remove_rule(tag: "") + + remove_tag@(tag: "{input}"}) + reminder := process_english_hints(reminder) + # the combined result + "{keyword}" + + if expand then " ({reminder})" + }) + + # step 3 : Expand shortcut words ~ and CARDNAME + replace_rule( + match: "~|~THIS~|CARDNAME", + in_context: "(^|[[:space:]])", + replace: "&" + ) + + # step 4 : Fill in atom fields + tag_contents_rule( + tag: "", + contents: { if card.name=="" then "CARDNAME" else card.name } + ) + + # step 5a: add arrow & diamond symbols + replace_rule( + match: "->|>>>|@|<>|•", + replace: "&") + + # step 7: keyword parameters should not be bolded + # step 7a: put before each + #replace@( + # match: "]*>", + # replace: "&") + + # step 7b: put after each + #replace@( + # match: "]*>", + # replace: "&") + + # step 8 : Italic reminder text + replace_rule( + match: "[(][^)\n]*[)]?", + in_context: "(^|[[:space:]])|", + replace: "&") + + ############### Word List Scripts for Affiliations and Card Types + type_over_list := replace_rule(match:" ?-$", replace:"") + + affiliation_1_filter := + tag_remove_rule(tag: "") + + tag_remove_rule(tag: "") + + type_over_list + + { "{if contains(card.shape, match: "old") then (input) else to_upper(input)}" } + + space_to_wltags := replace_rule(match:"( +| )", + replace:{"{_1}"}) + + affiliation_2_filter := + tag_remove_rule(tag: "") + + tag_remove_rule(tag: "") + + type_over_list + + { "{if contains(card.shape, match: "old") then (input) else to_upper(input)}" } + + ############### Determine type of card + c_optional_character := filter_rule(match: "Concealed—Optional") + concealed_character := filter_rule(match: "Concealed") + keyword_sort_equipment := filter_rule(match: "Transferable") + keyword_sort_location := filter_rule(match: "Terraform") + keyword_sort_plot_twist := filter_rule(match: "Ongoing:") + card_type := { + if contains(card.team, match: "Location") then "location" + else if contains(card.team, match: "LOCATION") then "location" + else if keyword_sort_location(card.rule_text) != "" then "location" + else if card.team=="Planet" then "planet" + else if card.team=="PLANET" then "planet" + else if contains(card.team, match: "Equipment") then "equipment visible equipment" + else if contains(card.team, match: "EQUIPMENT") then "equipment visible equipment" + else if keyword_sort_equipment(card.rule_text) != "" then "equipment visible equipment" + else if contains(card.team, match: "Plot Twist") then "plot twist" + else if contains(card.team, match: "PLOT TWIST") then "plot twist" + else if keyword_sort_plot_twist(card.rule_text) != "" then "plot twist" + else if card.symbols == "ongoing" then "plot twist" + else if c_optional_character(card.rule_text) != "" then "characters concealed-optional concealed-optional character" + else if concealed_character(card.rule_text) != "" then "characters hidden concealed" + else "characters visible character" + } + # Default symbols + flightrange_detect := { if card.flightrange == "flight" then "flight" + else if card.flightrange == "range" then "range" + else if card.flightrange == "both" then "flight, range" + else "" + } + ongoing_detect := { + if keyword_sort_plot_twist(card.rule_text) != "" then "ongoing" + else "" + } + symbol_default := { flightrange_detect() + (if flightrange_detect() != "" then ", " else " ") + ongoing_detect() } + + # Default 'team' name of card + team := { + if is_location() then "Location" + else if is_equipment() then "Equipment" + else if is_plot_twist() then "Plot Twist" + else "" + } + true_pass := { + if is_character() then false else true + } + + ############### Type of card + + is_dual := { + card.card_type == "characters visible character dual" or + card.card_type == "characters hidden concealed dual" or + card.card_type == "characters concealed-optional concealed-optional dual" + } + is_new_dual := { + card.card_type == "characters visible character dual (new)" or + card.card_type == "characters hidden concealed dual (new)" or + card.card_type == "characters concealed-optional concealed-optional dual (new)" + } + is_not_new_dual := { + card.card_type == "characters visible character" or + card.card_type == "characters visible character dual" or + card.card_type == "characters hidden character concealed" or + card.card_type == "characters hidden character concealed dual" or + card.card_type == "characters concealed-optional concealed-optional character" or + card.card_type == "characters concealed-optional concealed-optional dual" + } + is_character := { contains(card.card_type, match: "characters") + } + is_concealed_optional := { contains(card.card_type, match: "concealed-optional") or + contains(card.rule_text, match: "Concealed—Optional") + } + is_concealed := { contains(card.card_type, match: "hidden") or + contains(card.rule_text, match: "Concealed") + } + is_equipment := { contains(card.card_type, match: "equipment") + } + is_location := { + card.card_type == "location" + } + is_plot_twist := { + card.card_type == "plot twist" + } + is_ch_or_eq := { + is_character() or is_equipment() + } + is_ch_or_pt := { + is_character() or is_plot_twist() + } + ############### Watermark Scripts + + watermark_narrow := { + card.watermark == "Marvel A-C Brood" or + card.watermark == "Marvel A-C Brotherhood" or + card.watermark == "Marvel D-H Hellfire Club" or + card.watermark == "DC A-C Anti-Matter" or + card.watermark == "DC A-C Arkham Inmates" or + card.watermark == "DC N-S Shadowpact" + } + watermark_wide := { + card.watermark == "Marvel D-H Horsemen of Apocalypse" or + card.watermark == "DC I-M JLA" or + card.watermark == "DC I-M JSA" + } + + ############### Additional Scripts + + only_numbers := filter_text@(match: "^[0123456789]+") + + word_count := break_text@(match:"[^[:space:]]+") + length + + name_sep := { + if contains(set.logo, match: "Marvel") then ( + if is_character() and card.identity=="" then "™" + else if is_character() and card.identity!="" then "™ " + else if is_equipment() and card.identity=="" then " " + else if is_equipment() and card.identity!="" then " " + else "" + ) + else if is_character() and card.identity=="" then " " + else if is_character() and card.identity!="" then " " + else if is_equipment() and card.identity=="" then " " + else if is_equipment() and card.identity!="" then " " + else " " + } + + separator_type := { + if contains(card.shape, match:"old") then ( + if team2 != "" then " " + else " " + ) + else " • " + } + + only_first := replace@(match:"card.team", replace:"") + + all_affiliations := { + for each card in set do + if is_character() then "," + only_first(to_text(card.team)) + } \ No newline at end of file diff --git a/data/vs.mse-game/set_fields b/data/vs.mse-game/set_fields index 66e280c2..4f6bd451 100644 --- a/data/vs.mse-game/set_fields +++ b/data/vs.mse-game/set_fields @@ -1,101 +1,101 @@ - -############################################################## Set fields -set field: - type: info - name: Set Information -set field: - type: text - name: title - description: This information will not appear on the card. -set field: - type: text - name: description - multi line: true - description: This information will not appear on the card. -set field: - type: info - name: Set Logo Options -set field: - type: choice - name: logo - choice: none - choice: Marvel - choice: DC-new - choice: DC-old - choice: Hellboy - choice: Other... - initial: none - save value: true - description: The logo for the company. -set field: - type: image - name: custom logo - save value: true - description: This is where you load custom logos that will appear on all your cards. -set field: - type: info - name: Other Default Options -set field: - type: text - name: code - description: Recommended only 3 Capital digits. Will appear before card number. ex: MOR-1 -set field: - type: text - name: artist - description: Editting this will set 1 artist for all the cards and will appear in the illustrator area. -set field: - type: text - name: copyright - description: Copytight information. This information will appear in the copyright area on the card. -set field: - type: choice - name: set rarity - choice: common - choice: uncommon - choice: rare - choice: promo - initial: none - description: Set the rarity for all cards in the set. -set field: - type: multiple choice - name: automatic reminder text - choice: real - choice: custom - initial: custom - # Convert from older mse versions - script: - if value = "yes" then "real, custom" - else if value = "no" then "" - else value - description: For which kinds of keywords should reminder text be added by default? Note: you can enable/disable reminder text by right clicking the keyword. -set field: - type: boolean - name: automatic card numbers - initial: yes - description: Should card numbers be shown on the cards? -############################# Default style -default set style: - title: - padding left: 2 - font: - size: 14 - logo: - font: - size: 16 - render style: both - choice images: - Marvel: /vs-common.mse-include/marvel.png - DC-new: /vs-common.mse-include/dcnew.png - DC-old: /vs-common.mse-include/dcold.png - Hellboy: /vs-common.mse-include/hellboy.png - Other...: /vs-common.mse-include/other.png - custom logo: - width: 30 - height: 30 - title: - padding left: 2 - font: - size: 16 - automatic reminder text: - render style: checklist - direction: vertical + +############################################################## Set fields +set field: + type: info + name: Set Information +set field: + type: text + name: title + description: This information will not appear on the card. +set field: + type: text + name: description + multi line: true + description: This information will not appear on the card. +set field: + type: info + name: Set Logo Options +set field: + type: choice + name: logo + choice: none + choice: Marvel + choice: DC-new + choice: DC-old + choice: Hellboy + choice: Other... + initial: none + save value: true + description: The logo for the company. +set field: + type: image + name: custom logo + save value: true + description: This is where you load custom logos that will appear on all your cards. +set field: + type: info + name: Other Default Options +set field: + type: text + name: code + description: Recommended only 3 Capital digits. Will appear before card number. ex: MOR-1 +set field: + type: text + name: artist + description: Editting this will set 1 artist for all the cards and will appear in the illustrator area. +set field: + type: text + name: copyright + description: Copytight information. This information will appear in the copyright area on the card. +set field: + type: choice + name: set rarity + choice: common + choice: uncommon + choice: rare + choice: promo + initial: none + description: Set the rarity for all cards in the set. +set field: + type: multiple choice + name: automatic reminder text + choice: real + choice: custom + initial: custom + # Convert from older mse versions + script: + if value = "yes" then "real, custom" + else if value = "no" then "" + else value + description: For which kinds of keywords should reminder text be added by default? Note: you can enable/disable reminder text by right clicking the keyword. +set field: + type: boolean + name: automatic card numbers + initial: yes + description: Should card numbers be shown on the cards? +############################# Default style +default set style: + title: + padding left: 2 + font: + size: 14 + logo: + font: + size: 16 + render style: both + choice images: + Marvel: /vs-common.mse-include/marvel.png + DC-new: /vs-common.mse-include/dcnew.png + DC-old: /vs-common.mse-include/dcold.png + Hellboy: /vs-common.mse-include/hellboy.png + Other...: /vs-common.mse-include/other.png + custom logo: + width: 30 + height: 30 + title: + padding left: 2 + font: + size: 16 + automatic reminder text: + render style: checklist + direction: vertical diff --git a/data/vs.mse-game/statistics b/data/vs.mse-game/statistics index d70bf3b5..d6643ae4 100644 --- a/data/vs.mse-game/statistics +++ b/data/vs.mse-game/statistics @@ -1,21 +1,21 @@ - -############################################################# Extra Statistics -statistics dimension: - name: keywords - position hint: 1000 - script: keyword_usage(unique:true) - show empty: false - split list: true - icon: stats/keywords.png -statistics dimension: - name: style - position hint: 1001 - script: stylesheet.short_name - icon: stats/stylesheet.png -statistics dimension: - name: text length (words) - position hint: 100 - script: word_count(to_text(card.rule_text)) - numeric: true - bin size: 5 - icon: stats/text_length.png + +############################################################# Extra Statistics +statistics dimension: + name: keywords + position hint: 1000 + script: keyword_usage(unique:true) + show empty: false + split list: true + icon: stats/keywords.png +statistics dimension: + name: style + position hint: 1001 + script: stylesheet.short_name + icon: stats/stylesheet.png +statistics dimension: + name: text length (words) + position hint: 100 + script: word_count(to_text(card.rule_text)) + numeric: true + bin size: 5 + icon: stats/text_length.png diff --git a/data/vs.mse-game/word_lists b/data/vs.mse-game/word_lists index 0b085c35..2f9d6e29 100644 --- a/data/vs.mse-game/word_lists +++ b/data/vs.mse-game/word_lists @@ -1,236 +1,236 @@ - -############################################################## Word lists - -word list: - name: affiliation1 - word: - name: DC - word: - name: A-E - word: ANTI-MATTER - word: ARKHAM INMATES - word: BIRDS OF PREY - word: CHECKMATE - word: CRISIS - word: DARKSEID'S ELITE - word: DEATHSTROKE - word: DOOM PATROL - word: EMERALD ENEMIES - word: - name: F-J - word: FEARSOME FIVE - word: FUTURE FOES - word: GOTHAM KNIGHTS - word: GREEN LANTERN - word: INJUSTICE GANG - word: JLA - word: JLI - word: JSA - word: - name: K-O - word: LEAGUE OF ASSASSINS - word: LEGIONNAIRES - word: MANHUNTERS - word: NEW GODS - word: OUTSIDERS - word: - name: P-T - word: RANN - word: REVENGE SQUAD - word: SECRET SIX - word: SHADOWPACT - word: SPEED FORCE - word: SQUADRON SUPREME - word: TEAM SUPERMAN - word: TEEN TITANS - word: THANAGAR - word: - name: U-Z - word: VILLAINS UNITED - word: - name: Marvel - word: - name: A-E - word: ALPHA FLIGHT - word: ASGARDIANS - word: ATLANTIS - word: AVENGERS - word: BROTHERHOOD - word: CRIME LORDS - word: DEFENDERS - word: DOOM - word: EXILES - word: - name: F-J - word: FANTASTIC FOUR - word: HERALDS OF GALACTUS - word: HEROES OF EARTH - word: HELLFIRE CLUB - word: HORSEMEN OF APOCALYPSE - word: INFINITY WATCH - word: INHUMANS - word: INVADERS - word: - name: K-O - word: KANG COUNCIL - word: KREE - word: MARAUDERS - word: MARVEL DEFENDERS - word: MARVEL KNIGHTS - word: MASTERS OF EVIL - word: MORLOCKS - word: NEGATIVE ZONE - word: NEXTWAVE - word: NOVA CORPS - word: - name: P-T - word: PHALANX - word: RUNAWAYS - word: SENTINELS - word: THE SHI'AR - word: SHIELD - word: SINISTER SYNDICATE - word: SKRULL - word: SPIDER-FRIENDS - word: THUNDERBOLTS - word: - name: U-Z - word: UNDERWORLD - word: UNITED FRONT - word: VILLAINS OF EARTH - word: X-FACTOR - word: X-FORCE - word: X-MEN - word: X-STATIX - word: WARBOUND - word: WEAPON X - word: WILD PACK - word: - name: Other - word: B.P.R.D. - word: THULE SOCIETY - word: EQUIPMENT - word: LOCATION - word: PLOT TWIST - word: PLANET - word: - name: Your Affiliations - word: - script: all_affiliations() - line below: true -word list: - name: affiliation2 - word: - name: DC - word: - name: A-E - word: ANTI-MATTER - word: ARKHAM INMATES - word: BIRDS OF PREY - word: CHECKMATE - word: CRISIS - word: DARKSEID'S ELITE - word: DEATHSTROKE - word: DOOM PATROL - word: EMERALD ENEMIES - word: - name: F-J - word: FEARSOME FIVE - word: FUTURE FOES - word: GOTHAM KNIGHTS - word: GREEN LANTERN - word: INJUSTICE GANG - word: JLA - word: JLI - word: JSA - word: - name: K-O - word: LEAGUE OF ASSASSINS - word: LEGIONNAIRES - word: MANHUNTERS - word: NEW GODS - word: OUTSIDERS - word: - name: P-T - word: RANN - word: REVENGE SQUAD - word: SECRET SIX - word: SHADOWPACT - word: SPEED FORCE - word: SQUADRON SUPREME - word: TEAM SUPERMAN - word: TEEN TITANS - word: THANAGAR - word: - name: U-Z - word: VILLAINS UNITED - word: - name: Marvel - word: - name: A-E - word: ALPHA FLIGHT - word: ASGARDIANS - word: ATLANTIS - word: AVENGERS - word: CRIME LORDS - word: DEFENDERS - word: DOOM - word: EXILES - word: - name: F-J - word: FANTASTIC FOUR - word: HERALDS OF GALACTUS - word: HEROES OF EARTH - word: HELLFIRE CLUB - word: HORSEMEN OF APOCALYPSE - word: INFINITY WATCH - word: INHUMANS - word: INVADERS - word: - name: K-O - word: KANG COUNCIL - word: KREE - word: MARAUDERS - word: MARVEL DEFENDERS - word: MARVEL KNIGHTS - word: MASTERS OF EVIL - word: MORLOCKS - word: NEGATIVE ZONE - word: NEXTWAVE - word: NOVA CORPS - word: - name: P-T - word: PHALANX - word: RUNAWAYS - word: SENTINELS - word: THE SHI'AR - word: SHIELD - word: SINISTER SYNDICATE - word: SKRULL - word: SPIDER-FRIENDS - word: THUNDERBOLTS - word: - name: U-Z - word: UNDERWORLD - word: UNITED FRONT - word: VILLAINS OF EARTH - word: X-FACTOR - word: X-FORCE - word: X-MEN - word: X-STATIX - word: WARBOUND - word: WEAPON X - word: WILD PACK - word: - name: Other - word: B.P.R.D. - word: THULE SOCIETY - word: EQUIPMENT - word: LOCATION - word: PLOT TWIST - word: PLANET - word: - name: Your Affiliations - word: - script: all_affiliations() - line below: true + +############################################################## Word lists + +word list: + name: affiliation1 + word: + name: DC + word: + name: A-E + word: ANTI-MATTER + word: ARKHAM INMATES + word: BIRDS OF PREY + word: CHECKMATE + word: CRISIS + word: DARKSEID'S ELITE + word: DEATHSTROKE + word: DOOM PATROL + word: EMERALD ENEMIES + word: + name: F-J + word: FEARSOME FIVE + word: FUTURE FOES + word: GOTHAM KNIGHTS + word: GREEN LANTERN + word: INJUSTICE GANG + word: JLA + word: JLI + word: JSA + word: + name: K-O + word: LEAGUE OF ASSASSINS + word: LEGIONNAIRES + word: MANHUNTERS + word: NEW GODS + word: OUTSIDERS + word: + name: P-T + word: RANN + word: REVENGE SQUAD + word: SECRET SIX + word: SHADOWPACT + word: SPEED FORCE + word: SQUADRON SUPREME + word: TEAM SUPERMAN + word: TEEN TITANS + word: THANAGAR + word: + name: U-Z + word: VILLAINS UNITED + word: + name: Marvel + word: + name: A-E + word: ALPHA FLIGHT + word: ASGARDIANS + word: ATLANTIS + word: AVENGERS + word: BROTHERHOOD + word: CRIME LORDS + word: DEFENDERS + word: DOOM + word: EXILES + word: + name: F-J + word: FANTASTIC FOUR + word: HERALDS OF GALACTUS + word: HEROES OF EARTH + word: HELLFIRE CLUB + word: HORSEMEN OF APOCALYPSE + word: INFINITY WATCH + word: INHUMANS + word: INVADERS + word: + name: K-O + word: KANG COUNCIL + word: KREE + word: MARAUDERS + word: MARVEL DEFENDERS + word: MARVEL KNIGHTS + word: MASTERS OF EVIL + word: MORLOCKS + word: NEGATIVE ZONE + word: NEXTWAVE + word: NOVA CORPS + word: + name: P-T + word: PHALANX + word: RUNAWAYS + word: SENTINELS + word: THE SHI'AR + word: SHIELD + word: SINISTER SYNDICATE + word: SKRULL + word: SPIDER-FRIENDS + word: THUNDERBOLTS + word: + name: U-Z + word: UNDERWORLD + word: UNITED FRONT + word: VILLAINS OF EARTH + word: X-FACTOR + word: X-FORCE + word: X-MEN + word: X-STATIX + word: WARBOUND + word: WEAPON X + word: WILD PACK + word: + name: Other + word: B.P.R.D. + word: THULE SOCIETY + word: EQUIPMENT + word: LOCATION + word: PLOT TWIST + word: PLANET + word: + name: Your Affiliations + word: + script: all_affiliations() + line below: true +word list: + name: affiliation2 + word: + name: DC + word: + name: A-E + word: ANTI-MATTER + word: ARKHAM INMATES + word: BIRDS OF PREY + word: CHECKMATE + word: CRISIS + word: DARKSEID'S ELITE + word: DEATHSTROKE + word: DOOM PATROL + word: EMERALD ENEMIES + word: + name: F-J + word: FEARSOME FIVE + word: FUTURE FOES + word: GOTHAM KNIGHTS + word: GREEN LANTERN + word: INJUSTICE GANG + word: JLA + word: JLI + word: JSA + word: + name: K-O + word: LEAGUE OF ASSASSINS + word: LEGIONNAIRES + word: MANHUNTERS + word: NEW GODS + word: OUTSIDERS + word: + name: P-T + word: RANN + word: REVENGE SQUAD + word: SECRET SIX + word: SHADOWPACT + word: SPEED FORCE + word: SQUADRON SUPREME + word: TEAM SUPERMAN + word: TEEN TITANS + word: THANAGAR + word: + name: U-Z + word: VILLAINS UNITED + word: + name: Marvel + word: + name: A-E + word: ALPHA FLIGHT + word: ASGARDIANS + word: ATLANTIS + word: AVENGERS + word: CRIME LORDS + word: DEFENDERS + word: DOOM + word: EXILES + word: + name: F-J + word: FANTASTIC FOUR + word: HERALDS OF GALACTUS + word: HEROES OF EARTH + word: HELLFIRE CLUB + word: HORSEMEN OF APOCALYPSE + word: INFINITY WATCH + word: INHUMANS + word: INVADERS + word: + name: K-O + word: KANG COUNCIL + word: KREE + word: MARAUDERS + word: MARVEL DEFENDERS + word: MARVEL KNIGHTS + word: MASTERS OF EVIL + word: MORLOCKS + word: NEGATIVE ZONE + word: NEXTWAVE + word: NOVA CORPS + word: + name: P-T + word: PHALANX + word: RUNAWAYS + word: SENTINELS + word: THE SHI'AR + word: SHIELD + word: SINISTER SYNDICATE + word: SKRULL + word: SPIDER-FRIENDS + word: THUNDERBOLTS + word: + name: U-Z + word: UNDERWORLD + word: UNITED FRONT + word: VILLAINS OF EARTH + word: X-FACTOR + word: X-FORCE + word: X-MEN + word: X-STATIX + word: WARBOUND + word: WEAPON X + word: WILD PACK + word: + name: Other + word: B.P.R.D. + word: THULE SOCIETY + word: EQUIPMENT + word: LOCATION + word: PLOT TWIST + word: PLANET + word: + name: Your Affiliations + word: + script: all_affiliations() + line below: true diff --git a/data/yugioh-standard-levels.mse-symbol-font/symbol-font b/data/yugioh-standard-levels.mse-symbol-font/symbol-font index fafa64ca..7fa809eb 100644 --- a/data/yugioh-standard-levels.mse-symbol-font/symbol-font +++ b/data/yugioh-standard-levels.mse-symbol-font/symbol-font @@ -1,58 +1,58 @@ -mse version: 0.3.6 -version: 2008-10-27 -short name: Standard -position hint: 001 -icon: star.png -installer group: Yugioh/Symbol Fonts/Standard -# Symbol font for level symbols - -image font size: 16 -horizontal space: 3 -symbol: - code: % - image: continuous.png -symbol: - code: ! - image: counter.png -symbol: - code: + - image: equipment.png -symbol: - code: & - image: field.png -symbol: - code: $ - image: quickplay.png -symbol: - code: # - image: ritual.png -symbol: - code: [ - image: leftbracket.png - image font size: 28 -symbol: - code: ] - image: rightbracket.png - image font size: 28 -symbol: - code: * - image: dstar.png - enabled: {card.card_type=="dark synchro monster"} - image font size: 20 -symbol: - code: * - image: star.png - image font size: 20 - -############################################################## -# Insert-symbol menu -insert symbol menu: - item: % - item: ! - item: + - item: & - item: $ - item: # - item: [ - item: ] - item: * +mse version: 0.3.6 +version: 2008-10-27 +short name: Standard +position hint: 001 +icon: star.png +installer group: Yugioh/Symbol Fonts/Standard +# Symbol font for level symbols + +image font size: 16 +horizontal space: 3 +symbol: + code: % + image: continuous.png +symbol: + code: ! + image: counter.png +symbol: + code: + + image: equipment.png +symbol: + code: & + image: field.png +symbol: + code: $ + image: quickplay.png +symbol: + code: # + image: ritual.png +symbol: + code: [ + image: leftbracket.png + image font size: 28 +symbol: + code: ] + image: rightbracket.png + image font size: 28 +symbol: + code: * + image: dstar.png + enabled: {card.card_type=="dark synchro monster"} + image font size: 20 +symbol: + code: * + image: star.png + image font size: 20 + +############################################################## +# Insert-symbol menu +insert symbol menu: + item: % + item: ! + item: + + item: & + item: $ + item: # + item: [ + item: ] + item: * diff --git a/data/yugioh-standard.mse-style/style b/data/yugioh-standard.mse-style/style index 01741e0b..3ff1e8a3 100644 --- a/data/yugioh-standard.mse-style/style +++ b/data/yugioh-standard.mse-style/style @@ -1,392 +1,392 @@ -mse version: 0.3.8 -game: yugioh -short name: Standard -installer group: Yugioh/Standard -icon: card-sample.png -position hint: 01 - -version: 2009-08-08 -depends on: - package: yugioh.mse-game - version: 2009-08-08 -depends on: - package: yugioh-standard-levels.mse-symbol-font - version: 2007-10-27 -depends on: - package: yugioh-text-replacements.mse-symbol-font - version: 2008-01-04 - -card width: 361 -card height: 523 -card dpi: 152.6265 - -############################################################## Extra scripts -############################################################## Extra style -styling field: - type: choice - name: rules alignment - description: Should the rules text be justified? WARNING: Justification is not perfect. - initial: justified - choice: not justified - choice: justified -styling field: - type: boolean - name: image frame - description: Choosing "no" will omit the image frame like on Anniversary Edition cards. - initial: yes -styling field: - type: boolean - name: bold effect text - description: Should effect text be bold as seen on some cards such as those from The Dark Emperor? - initial: no -############################################################## Card fields -card style: - ############################# Background stuff - card type: - left: 0 - top: 0 - width: 361 - height: 523 - z index: -2 - render style: image - popup style: in place - choice images: - normal monster: card-normal.jpg - effect monster: card-effect.jpg - ritual monster: card-ritual.jpg - synchro monster: card-synchro.jpg - dark synchro monster: card-dsynchro.jpg - fusion monster: card-fusion.jpg - token monster: card-token.jpg - obelisk: card-obelisk.jpg - slifer: card-slifer.jpg - ra: card-ra.jpg - legendary dragons: card-dragons.jpg - spell card: card-spell.jpg - trap card: card-trap.jpg - foils: - left: { if card.rarity=="parallel rare" then 0 else if card.rarity=="gold tech" then 0 else if styling.image_frame=="no" then 45 else 51 } - top: { if card.rarity=="parallel rare" then 0 else if card.rarity=="gold tech" then 0 else if styling.image_frame=="no" then 106 else 114 } - width: { if card.rarity=="parallel rare" then 361 else if card.rarity=="gold tech" then 361 else if styling.image_frame=="no" then 272 else 259 } - height: { if card.rarity=="parallel rare" then 523 else if card.rarity=="gold tech" then 523 else if styling.image_frame=="no" then 273 else 259 } - z index: 5 - render style: image - popup style: in place - image: - script: if card.rarity=="super rare" then "superfoil.png" else - if card.rarity=="ultra rare" then "superfoil.png" else - if card.rarity=="secret rare" then "secretfoil.png" else - if card.rarity=="ultimate rare" then "superfoil.png" else - if card.rarity=="parallel rare" then "parallelfoil.png" else - if card.rarity=="gold tech" then "goldfoil.png" else - if card.rarity=="promo" then "superfoil.png" else "blank2.png" - ############################# Name line - name: - left: 34 - top : 30 - width: 254 - height: 37 - alignment: middle shrink-overflow - padding bottom: 0 - z index: 2 - font: - name: MatrixRegularSmallCaps - size: 26 - color: - script: if card.rarity=="rare" then rgb(230,230,230) - else if card.rarity=="secret rare" then rgb(230,230,230) - else if card.rarity=="promo" then rgb(230,230,230) - else if card.rarity=="ultra rare" then rgb(216,199,53) - else if card.rarity=="ultimate rare" then rgb(60,0,0) - else if card.rarity=="parallel rare" then rgb(216,199,53) - else if card.rarity=="gold tech" then rgb(216,199,53) - else if card.card_type=="dark synchro monster" then rgb(255,255,255) - else if is_nmonster() then rgb(255,255,255) - else rgb(0,0,0) - attribute: - left: 290 - top : 30 - width: 37 - height: 37 - z index: 2 - render style: image - popup style: in place - choice images: - earth: earth.png - water: water.png - fire: fire.png - wind: wind.png - light: light.png - dark: dark.png - divine: divine.png - spell: spell.png - trap: trap.png - level: - left: 40 - top : 74 - height: 28 - width: {if is_nmonster() then 275 else 280 } - z index: 2 - alignment: { if card.card_type=="dark synchro monster" then "middle left" else "middle right" } - font: - name: MatrixBoldSmallCaps - italic name: Matrix - size: 17 - color: rgb(0,0,0) - symbol font: - name: yugioh-standard-levels - alignment: middle center - scale down to: 1 - size: 7.5 - ############################# Image - image: - left: { if styling.image_frame=="no" then 45 else 51 } - top: { if styling.image_frame=="no" then 106 else 113 } - width: { if styling.image_frame=="no" then 272 else 260 } - height: { if styling.image_frame=="no" then 273 else 260 } - z index: 1 - ############################# Card type - monster type: - left: 39 - top : 401 - width: { card_style.monster_type.content_width + 6 } - height: 14 - alignment: middle left - z index: 2 - font: - name: MatrixBoldSmallCaps - italic name: Matrix - size: 12 - color: rgb(0,0,0) - symbol font: - name: yugioh-text-replacements - alignment: middle center - size: 3.5 - visible: script: if is_nmonster() then false else true - ############################# Edition and Card ID - number: - left: 203 - top : 380 - width: 115 - height: 15 - z index: 2 - alignment: top right - font: - name: Palatino Linotype - size: 8 - color: - script: if card.card_type=="dark synchro monster" then rgb(255,255,255) - else rgb(0,0,0) - edition: - left: 43 - top: 380 - width: 115 - height: 15 - z index: 2 - font: - name: { if card.edition=="DUEL TERMINAL" then "BankGothic Md BT" else "Palatino Linotype Bold" } - size: { if card.edition=="DUEL TERMINAL" then "10" else "8" } - color: - script: if card.card_type=="dark synchro monster" then rgb(255,255,255) - else rgb(0,0,0) - ############################# Text box - rule text: - left: 35 - top : - script: if is_nmonster() then 397 else 412 - width: 289 - height: - script: if is_nmonster() then 92 else 62 - font: - name: { if styling.bold_effect_text=="yes" then "Matrix-Bold" else "MatrixBook" } - size: { if styling.bold_effect_text=="yes" then "9" else "8" } - scale down to: 4 - color: rgb(0,0,0) - symbol font: - name: yugioh-text-replacements - alignment: middle center - size: 3.5 - alignment: { if styling.rules_alignment=="justified" then "top left justify" else "top left" } - z index: 3 - padding left: 1 - padding top: 2 - padding right: 0 - padding bottom: 0 - line height hard: 1.0 - line height line: 1.0 - line height soft: 0.9 - line height hard max: 1.1 - line height line max: 1.1 - ############################# Attack/Defense - attack: - left: 204 - top: 475 - width: 48 - height: 18 - z index: 2 - alignment: right middle - font: - name: MatrixBoldSmallCaps - italic name: Matrix-Bold - size: 12 - color: rgb(0,0,0) - symbol font: - name: yugioh-text-replacements - alignment: middle center - size: 6 - visible: script: if is_nmonster() then false else true - defense: - z index: 4 - left: 278 - top: 475 - width: 48 - height: 18 - z index: 2 - alignment: right middle - font: - name: MatrixBoldSmallCaps - italic name: Matrix-Bold - size: 12 - color: rgb(0,0,0) - symbol font: - name: yugioh-text-replacements - alignment: middle center - size: 6 - visible: script: if is_nmonster() then false else true - ############################# Card sorting / numbering - ############################# Copyright stuff - gamecode: - left: 16 - top : 494 - width: 96 - height: 18 - alignment: middle left - z index: 2 - font: - name: Palatino Linotype - size: 8 - color: - script: if card.card_type=="dark synchro monster" then rgb(255,255,255) - else rgb(0,0,0) - rarity: - left: 332 - top : 492 - height: 20 - width: 20 - z index: 3 - render style: image - popup style: in place - choice images: - common: blank2.png - rare: blank2.png - super rare: blank2.png - ultra rare: blank2.png - secret rare: blank2.png - ultimate rare: blank2.png - parallel rare: blank2.png - gold tech: blank2.png - promo: blank2.png - corner foil: - left: 332 - top : 492 - height: 20 - width: 20 - z index: 2 - render style: image list - choice images: - stamp: - script: if card.edition!="" then "cornerfirst.png" else "cornerunlimited.png" - copyright: - left: 180 - top : 495 - width: 145 - height: 18 - z index: 4 - alignment: middle right - font: - name: Palatino Linotype - size: 7 - color: - script: if card.card_type=="dark synchro monster" then rgb(255,255,255) - else rgb(0,0,0) -############################################extra card field: -extra card field: - type: choice - name: bar - choice: bar - editable: false -extra card field: - type: choice - name: leftbracket - choice: lbracket - editable: false -extra card field: - type: choice - name: rightbracket - choice: rbracket - editable: false -extra card field: - type: text - name: atkoverlay - default: "ATK/" - editable: false -extra card field: - type: text - name: defoverlay - default: "DEF/" - editable: false -extra card style: - bar: - left: 37 - top : 474 - height: 1 - width: 288 - z index: 4 - render style: image list - choice images: - bar: bar.png - visible: script: if is_nmonster() then false else true - leftbracket: - left: { if is_nmonster() then (309 - card_style.level.content_width) else 35 } - top : { if is_nmonster() then 79 else 400 } - height: { if is_nmonster() then 17 else 14 } - width: { if is_nmonster() then 5 else 4 } - z index: 2 - render style: image list - choice images: - lbracket: /yugioh-standard-levels.mse-symbol-font/leftbracket.png - rightbracket: - left: { if is_nmonster() then 315 else (card_style.monster_type.content_width + 40) } - top : { if is_nmonster() then 79 else 400 } - height: { if is_nmonster() then 17 else 14 } - width: { if is_nmonster() then 5 else 4 } - z index: 4 - render style: image list - choice images: - rbracket: /yugioh-standard-levels.mse-symbol-font/rightbracket.png - atkoverlay: - left: 170 - top: 475 - width: 48 - height: 18 - z index: 1 - alignment: right middle - font: - name: MatrixBoldSmallCaps - italic name: Matrix-Bold - size: 12 - color: rgb(0,0,0) - visible: script: if is_nmonster() then false else true - defoverlay: - left: 244 - top: 475 - width: 48 - height: 18 - z index: 1 - alignment: right middle - font: - name: MatrixBoldSmallCaps - italic name: Matrix-Bold - size: 12 - color: rgb(0,0,0) - visible: script: if is_nmonster() then false else true +mse version: 0.3.8 +game: yugioh +short name: Standard +installer group: Yugioh/Standard +icon: card-sample.png +position hint: 01 + +version: 2009-08-08 +depends on: + package: yugioh.mse-game + version: 2009-08-08 +depends on: + package: yugioh-standard-levels.mse-symbol-font + version: 2007-10-27 +depends on: + package: yugioh-text-replacements.mse-symbol-font + version: 2008-01-04 + +card width: 361 +card height: 523 +card dpi: 152.6265 + +############################################################## Extra scripts +############################################################## Extra style +styling field: + type: choice + name: rules alignment + description: Should the rules text be justified? WARNING: Justification is not perfect. + initial: justified + choice: not justified + choice: justified +styling field: + type: boolean + name: image frame + description: Choosing "no" will omit the image frame like on Anniversary Edition cards. + initial: yes +styling field: + type: boolean + name: bold effect text + description: Should effect text be bold as seen on some cards such as those from The Dark Emperor? + initial: no +############################################################## Card fields +card style: + ############################# Background stuff + card type: + left: 0 + top: 0 + width: 361 + height: 523 + z index: -2 + render style: image + popup style: in place + choice images: + normal monster: card-normal.jpg + effect monster: card-effect.jpg + ritual monster: card-ritual.jpg + synchro monster: card-synchro.jpg + dark synchro monster: card-dsynchro.jpg + fusion monster: card-fusion.jpg + token monster: card-token.jpg + obelisk: card-obelisk.jpg + slifer: card-slifer.jpg + ra: card-ra.jpg + legendary dragons: card-dragons.jpg + spell card: card-spell.jpg + trap card: card-trap.jpg + foils: + left: { if card.rarity=="parallel rare" then 0 else if card.rarity=="gold tech" then 0 else if styling.image_frame=="no" then 45 else 51 } + top: { if card.rarity=="parallel rare" then 0 else if card.rarity=="gold tech" then 0 else if styling.image_frame=="no" then 106 else 114 } + width: { if card.rarity=="parallel rare" then 361 else if card.rarity=="gold tech" then 361 else if styling.image_frame=="no" then 272 else 259 } + height: { if card.rarity=="parallel rare" then 523 else if card.rarity=="gold tech" then 523 else if styling.image_frame=="no" then 273 else 259 } + z index: 5 + render style: image + popup style: in place + image: + script: if card.rarity=="super rare" then "superfoil.png" else + if card.rarity=="ultra rare" then "superfoil.png" else + if card.rarity=="secret rare" then "secretfoil.png" else + if card.rarity=="ultimate rare" then "superfoil.png" else + if card.rarity=="parallel rare" then "parallelfoil.png" else + if card.rarity=="gold tech" then "goldfoil.png" else + if card.rarity=="promo" then "superfoil.png" else "blank2.png" + ############################# Name line + name: + left: 34 + top : 30 + width: 254 + height: 37 + alignment: middle shrink-overflow + padding bottom: 0 + z index: 2 + font: + name: MatrixRegularSmallCaps + size: 26 + color: + script: if card.rarity=="rare" then rgb(230,230,230) + else if card.rarity=="secret rare" then rgb(230,230,230) + else if card.rarity=="promo" then rgb(230,230,230) + else if card.rarity=="ultra rare" then rgb(216,199,53) + else if card.rarity=="ultimate rare" then rgb(60,0,0) + else if card.rarity=="parallel rare" then rgb(216,199,53) + else if card.rarity=="gold tech" then rgb(216,199,53) + else if card.card_type=="dark synchro monster" then rgb(255,255,255) + else if is_nmonster() then rgb(255,255,255) + else rgb(0,0,0) + attribute: + left: 290 + top : 30 + width: 37 + height: 37 + z index: 2 + render style: image + popup style: in place + choice images: + earth: earth.png + water: water.png + fire: fire.png + wind: wind.png + light: light.png + dark: dark.png + divine: divine.png + spell: spell.png + trap: trap.png + level: + left: 40 + top : 74 + height: 28 + width: {if is_nmonster() then 275 else 280 } + z index: 2 + alignment: { if card.card_type=="dark synchro monster" then "middle left" else "middle right" } + font: + name: MatrixBoldSmallCaps + italic name: Matrix + size: 17 + color: rgb(0,0,0) + symbol font: + name: yugioh-standard-levels + alignment: middle center + scale down to: 1 + size: 7.5 + ############################# Image + image: + left: { if styling.image_frame=="no" then 45 else 51 } + top: { if styling.image_frame=="no" then 106 else 113 } + width: { if styling.image_frame=="no" then 272 else 260 } + height: { if styling.image_frame=="no" then 273 else 260 } + z index: 1 + ############################# Card type + monster type: + left: 39 + top : 401 + width: { card_style.monster_type.content_width + 6 } + height: 14 + alignment: middle left + z index: 2 + font: + name: MatrixBoldSmallCaps + italic name: Matrix + size: 12 + color: rgb(0,0,0) + symbol font: + name: yugioh-text-replacements + alignment: middle center + size: 3.5 + visible: script: if is_nmonster() then false else true + ############################# Edition and Card ID + number: + left: 203 + top : 380 + width: 115 + height: 15 + z index: 2 + alignment: top right + font: + name: Palatino Linotype + size: 8 + color: + script: if card.card_type=="dark synchro monster" then rgb(255,255,255) + else rgb(0,0,0) + edition: + left: 43 + top: 380 + width: 115 + height: 15 + z index: 2 + font: + name: { if card.edition=="DUEL TERMINAL" then "BankGothic Md BT" else "Palatino Linotype Bold" } + size: { if card.edition=="DUEL TERMINAL" then "10" else "8" } + color: + script: if card.card_type=="dark synchro monster" then rgb(255,255,255) + else rgb(0,0,0) + ############################# Text box + rule text: + left: 35 + top : + script: if is_nmonster() then 397 else 412 + width: 289 + height: + script: if is_nmonster() then 92 else 62 + font: + name: { if styling.bold_effect_text=="yes" then "Matrix-Bold" else "MatrixBook" } + size: { if styling.bold_effect_text=="yes" then "9" else "8" } + scale down to: 4 + color: rgb(0,0,0) + symbol font: + name: yugioh-text-replacements + alignment: middle center + size: 3.5 + alignment: { if styling.rules_alignment=="justified" then "top left justify" else "top left" } + z index: 3 + padding left: 1 + padding top: 2 + padding right: 0 + padding bottom: 0 + line height hard: 1.0 + line height line: 1.0 + line height soft: 0.9 + line height hard max: 1.1 + line height line max: 1.1 + ############################# Attack/Defense + attack: + left: 204 + top: 475 + width: 48 + height: 18 + z index: 2 + alignment: right middle + font: + name: MatrixBoldSmallCaps + italic name: Matrix-Bold + size: 12 + color: rgb(0,0,0) + symbol font: + name: yugioh-text-replacements + alignment: middle center + size: 6 + visible: script: if is_nmonster() then false else true + defense: + z index: 4 + left: 278 + top: 475 + width: 48 + height: 18 + z index: 2 + alignment: right middle + font: + name: MatrixBoldSmallCaps + italic name: Matrix-Bold + size: 12 + color: rgb(0,0,0) + symbol font: + name: yugioh-text-replacements + alignment: middle center + size: 6 + visible: script: if is_nmonster() then false else true + ############################# Card sorting / numbering + ############################# Copyright stuff + gamecode: + left: 16 + top : 494 + width: 96 + height: 18 + alignment: middle left + z index: 2 + font: + name: Palatino Linotype + size: 8 + color: + script: if card.card_type=="dark synchro monster" then rgb(255,255,255) + else rgb(0,0,0) + rarity: + left: 332 + top : 492 + height: 20 + width: 20 + z index: 3 + render style: image + popup style: in place + choice images: + common: blank2.png + rare: blank2.png + super rare: blank2.png + ultra rare: blank2.png + secret rare: blank2.png + ultimate rare: blank2.png + parallel rare: blank2.png + gold tech: blank2.png + promo: blank2.png + corner foil: + left: 332 + top : 492 + height: 20 + width: 20 + z index: 2 + render style: image list + choice images: + stamp: + script: if card.edition!="" then "cornerfirst.png" else "cornerunlimited.png" + copyright: + left: 180 + top : 495 + width: 145 + height: 18 + z index: 4 + alignment: middle right + font: + name: Palatino Linotype + size: 7 + color: + script: if card.card_type=="dark synchro monster" then rgb(255,255,255) + else rgb(0,0,0) +############################################extra card field: +extra card field: + type: choice + name: bar + choice: bar + editable: false +extra card field: + type: choice + name: leftbracket + choice: lbracket + editable: false +extra card field: + type: choice + name: rightbracket + choice: rbracket + editable: false +extra card field: + type: text + name: atkoverlay + default: "ATK/" + editable: false +extra card field: + type: text + name: defoverlay + default: "DEF/" + editable: false +extra card style: + bar: + left: 37 + top : 474 + height: 1 + width: 288 + z index: 4 + render style: image list + choice images: + bar: bar.png + visible: script: if is_nmonster() then false else true + leftbracket: + left: { if is_nmonster() then (309 - card_style.level.content_width) else 35 } + top : { if is_nmonster() then 79 else 400 } + height: { if is_nmonster() then 17 else 14 } + width: { if is_nmonster() then 5 else 4 } + z index: 2 + render style: image list + choice images: + lbracket: /yugioh-standard-levels.mse-symbol-font/leftbracket.png + rightbracket: + left: { if is_nmonster() then 315 else (card_style.monster_type.content_width + 40) } + top : { if is_nmonster() then 79 else 400 } + height: { if is_nmonster() then 17 else 14 } + width: { if is_nmonster() then 5 else 4 } + z index: 4 + render style: image list + choice images: + rbracket: /yugioh-standard-levels.mse-symbol-font/rightbracket.png + atkoverlay: + left: 170 + top: 475 + width: 48 + height: 18 + z index: 1 + alignment: right middle + font: + name: MatrixBoldSmallCaps + italic name: Matrix-Bold + size: 12 + color: rgb(0,0,0) + visible: script: if is_nmonster() then false else true + defoverlay: + left: 244 + top: 475 + width: 48 + height: 18 + z index: 1 + alignment: right middle + font: + name: MatrixBoldSmallCaps + italic name: Matrix-Bold + size: 12 + color: rgb(0,0,0) + visible: script: if is_nmonster() then false else true diff --git a/data/yugioh-text-replacements.mse-symbol-font/symbol-font b/data/yugioh-text-replacements.mse-symbol-font/symbol-font index 785ab777..d2c05949 100644 --- a/data/yugioh-text-replacements.mse-symbol-font/symbol-font +++ b/data/yugioh-text-replacements.mse-symbol-font/symbol-font @@ -1,36 +1,36 @@ -mse version: 0.3.7 -version: 2008-08-10 -short name: Text Replacements -position hint: 003 -icon: dot.png -installer group: Yugioh/Symbol Fonts/Text Replacements -# Symbol font for missing characters - -image font size: 16 -horizontal space: 2 -symbol: - code: [ - image: leftbracket.png -symbol: - code: ] - image: rightbracket.png -symbol: - code: @ - image: infinity.png - image font size: 25 -symbol: - code: ? - image: qmark.png - image font size: 32 -symbol: - code: * - image: dot.png - -############################################################## -# Insert-symbol menu -insert symbol menu: - item: [ - item: ] - item: @ - item: ? - item: * +mse version: 0.3.7 +version: 2008-08-10 +short name: Text Replacements +position hint: 003 +icon: dot.png +installer group: Yugioh/Symbol Fonts/Text Replacements +# Symbol font for missing characters + +image font size: 16 +horizontal space: 2 +symbol: + code: [ + image: leftbracket.png +symbol: + code: ] + image: rightbracket.png +symbol: + code: @ + image: infinity.png + image font size: 25 +symbol: + code: ? + image: qmark.png + image font size: 32 +symbol: + code: * + image: dot.png + +############################################################## +# Insert-symbol menu +insert symbol menu: + item: [ + item: ] + item: @ + item: ? + item: * diff --git a/data/yugioh.mse-game/auto_replace b/data/yugioh.mse-game/auto_replace index 1057572f..0b54885d 100644 --- a/data/yugioh.mse-game/auto_replace +++ b/data/yugioh.mse-game/auto_replace @@ -1,16 +1,16 @@ - -############################################################## Auto replace - -auto replace: - match: (C) - replace: © -auto replace: - match: CR - replace: © -auto replace: - match: TM - replace: ™ - whole word: false -auto replace: - match: ~ + +############################################################## Auto replace + +auto replace: + match: (C) + replace: © +auto replace: + match: CR + replace: © +auto replace: + match: TM + replace: ™ + whole word: false +auto replace: + match: ~ replace: CARDNAME \ No newline at end of file diff --git a/data/yugioh.mse-game/card_fields b/data/yugioh.mse-game/card_fields index 1c707988..5b88bae7 100644 --- a/data/yugioh.mse-game/card_fields +++ b/data/yugioh.mse-game/card_fields @@ -1,224 +1,224 @@ - -############################################################## Card fields -############################# Background stuff -card field: - type: choice - name: card type - choice: normal monster - choice: effect monster - choice: ritual monster - choice: synchro monster - choice: dark synchro monster - choice: fusion monster - choice: token monster - choice: obelisk - choice: slifer - choice: ra - choice: legendary dragons - choice: spell card - choice: trap card - default: card_type() - choice colors cardlist: - normal monster: rgb(120,18,0) - effect monster: rgb(120,18,0) - ritual monster: rgb(26,26,26) - synchro monster: rgb(26,26,26) - dark synchro monster: rgb(26,26,26) - fusion monster: rgb(26,26,26) - token monster: rgb(120,18,0) - obelisk: rgb(26,26,26) - slifer: rgb(26,26,26) - ra: rgb(26,26,26) - legendary dragons: rgb(26,26,26) - spell card: rgb(80,80,80) - trap card: rgb(30,110,0) -card field: - type: choice - name: foils - editable: false - choice: none - choice: holo image - choice: secret holo image - choice: parallel holo image - choice: gold tech holo image - default: foil() -############################# Name line -card field: - type: text - name: name - identifying: true - show statistics: false - card list visible: true - card list column: 1 -card field: - type: choice - name: attribute - choice: none - choice: earth - choice: water - choice: fire - choice: wind - choice: light - choice: dark - choice: divine - choice: spell - choice: trap - default: attribute() - card list visible: true - card list column: 2 -card field: - type: text - name: level - description: `=] * = star, % = continuous, ! = counter, + = equipment, & = field, $ = quickplay, # = ritual - script: level_filter(value) - -############################# Image -card field: - type: image - name: image - show statistics: false -############################# Card type -# Keep type1, type2, and separator fields for backwards compatibility until two or three versions after 0.3.8. -card field: - type: text - name: type1 - script: monster_type_filter(value) - default: " " - editable: false - show statistics: false -card field: - type: text - name: type2 - script: card_class_filter(value) - editable: false - show statistics: false -card field: - type: text - name: separator - script: " / " - editable: false - save value: false - show statistics: false -# These are the new type fields. -card field: - type: text - name: type 1 - script: monster_type_filter(value) - default: card.type1 # Remove when card.type1 is removed. -card field: - type: text - name: type 2 - script: card_class_filter(value) - default: split_text(match:" / ", card.type2).0 # Remove when card.type2 is removed. -card field: - type: text - name: type 3 - script: card_class_filter(value) - default: if contains(card.type2, match:" / ") then split_text(match:" / ", card.type2).1 else "" # Remove when card.type2 is removed. -card field: - type: text - name: monster type - script: - # Either just monster, monster / type1 - combined_editor( - field1: card.type_1, - separator1: " / ", - field2: card.type_2, - separator2: " / ", - field3: card.type_3, - soft_before_empty: true, - hide_when_empty: true - ) - card list visible: true - card list column: 3 - show statistics: false -############################# Edition and Card ID -card field: - type: text - name: number - script: - set.code - + "-" + - set.language + - if pos_of_card()<=9 then "00" + pos_of_card(value) else - if pos_of_card()>=9 and pos_of_card()<=99 then "0" + pos_of_card(value) else - "" + pos_of_card(value) - card list visible: true - card list column: 6 - card list width: 55 - card list name: # - editable: false - save value: false - show statistics: false -card field: - type: text - name: edition - default: set.edition - show statistics: false -############################# Text box -card field: - type: text - name: rules - script: text_filter(value) - editable: false - show statistics: false -card field: - type: text - name: rule text - multi line: true - save value: true - show statistics: false - script: - if nm_ext_querry(value) then flavor_text_filter(value) - else text_filter(value) - default: card.rules -############################# Attack/Defense -card field: - type: text - name: attack - save value: true - script: a_and_d_filter(value) - card list visible: true - card list column: 4 - card list width: 33 - card list name: ATK -card field: - type: text - name: defense - save value: true - script: a_and_d_filter(value) - card list visible: true - card list column: 5 - card list width: 33 - card list name: DEF - -############################# Copyright stuff -card field: - type: text - name: gamecode - show statistics: false -card field: - type: choice - name: rarity - show statistics: true - choice: common - choice: rare - choice: super rare - choice: ultra rare - choice: secret rare - choice: ultimate rare - choice: parallel rare - choice: gold tech - choice: promo - card list visible: true - card list column: 7 -card field: - type: choice - name: corner foil - choice: stamp - editable: false -card field: - type: text - name: copyright - default: set.copyright - show statistics: false + +############################################################## Card fields +############################# Background stuff +card field: + type: choice + name: card type + choice: normal monster + choice: effect monster + choice: ritual monster + choice: synchro monster + choice: dark synchro monster + choice: fusion monster + choice: token monster + choice: obelisk + choice: slifer + choice: ra + choice: legendary dragons + choice: spell card + choice: trap card + default: card_type() + choice colors cardlist: + normal monster: rgb(120,18,0) + effect monster: rgb(120,18,0) + ritual monster: rgb(26,26,26) + synchro monster: rgb(26,26,26) + dark synchro monster: rgb(26,26,26) + fusion monster: rgb(26,26,26) + token monster: rgb(120,18,0) + obelisk: rgb(26,26,26) + slifer: rgb(26,26,26) + ra: rgb(26,26,26) + legendary dragons: rgb(26,26,26) + spell card: rgb(80,80,80) + trap card: rgb(30,110,0) +card field: + type: choice + name: foils + editable: false + choice: none + choice: holo image + choice: secret holo image + choice: parallel holo image + choice: gold tech holo image + default: foil() +############################# Name line +card field: + type: text + name: name + identifying: true + show statistics: false + card list visible: true + card list column: 1 +card field: + type: choice + name: attribute + choice: none + choice: earth + choice: water + choice: fire + choice: wind + choice: light + choice: dark + choice: divine + choice: spell + choice: trap + default: attribute() + card list visible: true + card list column: 2 +card field: + type: text + name: level + description: `=] * = star, % = continuous, ! = counter, + = equipment, & = field, $ = quickplay, # = ritual + script: level_filter(value) + +############################# Image +card field: + type: image + name: image + show statistics: false +############################# Card type +# Keep type1, type2, and separator fields for backwards compatibility until two or three versions after 0.3.8. +card field: + type: text + name: type1 + script: monster_type_filter(value) + default: " " + editable: false + show statistics: false +card field: + type: text + name: type2 + script: card_class_filter(value) + editable: false + show statistics: false +card field: + type: text + name: separator + script: " / " + editable: false + save value: false + show statistics: false +# These are the new type fields. +card field: + type: text + name: type 1 + script: monster_type_filter(value) + default: card.type1 # Remove when card.type1 is removed. +card field: + type: text + name: type 2 + script: card_class_filter(value) + default: split_text(match:" / ", card.type2).0 # Remove when card.type2 is removed. +card field: + type: text + name: type 3 + script: card_class_filter(value) + default: if contains(card.type2, match:" / ") then split_text(match:" / ", card.type2).1 else "" # Remove when card.type2 is removed. +card field: + type: text + name: monster type + script: + # Either just monster, monster / type1 + combined_editor( + field1: card.type_1, + separator1: " / ", + field2: card.type_2, + separator2: " / ", + field3: card.type_3, + soft_before_empty: true, + hide_when_empty: true + ) + card list visible: true + card list column: 3 + show statistics: false +############################# Edition and Card ID +card field: + type: text + name: number + script: + set.code + + "-" + + set.language + + if pos_of_card()<=9 then "00" + pos_of_card(value) else + if pos_of_card()>=9 and pos_of_card()<=99 then "0" + pos_of_card(value) else + "" + pos_of_card(value) + card list visible: true + card list column: 6 + card list width: 55 + card list name: # + editable: false + save value: false + show statistics: false +card field: + type: text + name: edition + default: set.edition + show statistics: false +############################# Text box +card field: + type: text + name: rules + script: text_filter(value) + editable: false + show statistics: false +card field: + type: text + name: rule text + multi line: true + save value: true + show statistics: false + script: + if nm_ext_querry(value) then flavor_text_filter(value) + else text_filter(value) + default: card.rules +############################# Attack/Defense +card field: + type: text + name: attack + save value: true + script: a_and_d_filter(value) + card list visible: true + card list column: 4 + card list width: 33 + card list name: ATK +card field: + type: text + name: defense + save value: true + script: a_and_d_filter(value) + card list visible: true + card list column: 5 + card list width: 33 + card list name: DEF + +############################# Copyright stuff +card field: + type: text + name: gamecode + show statistics: false +card field: + type: choice + name: rarity + show statistics: true + choice: common + choice: rare + choice: super rare + choice: ultra rare + choice: secret rare + choice: ultimate rare + choice: parallel rare + choice: gold tech + choice: promo + card list visible: true + card list column: 7 +card field: + type: choice + name: corner foil + choice: stamp + editable: false +card field: + type: text + name: copyright + default: set.copyright + show statistics: false diff --git a/data/yugioh.mse-game/game b/data/yugioh.mse-game/game index 4e9487f0..b03b8f1a 100644 --- a/data/yugioh.mse-game/game +++ b/data/yugioh.mse-game/game @@ -1,22 +1,22 @@ -mse version: 0.3.8 -full name: Yu-Gi-Oh! -short name: Yu-Gi-Oh! -installer group: Yugioh/game files -icon: card-back.png -position hint: 4 - -version: 2009-08-09 - -############################################################## The script - -init script: include file: script - -############################################################## Lots of lists - -include file: card_fields -include file: set_fields -include file: packs -include file: word_lists -include file: auto_replace - +mse version: 0.3.8 +full name: Yu-Gi-Oh! +short name: Yu-Gi-Oh! +installer group: Yugioh/game files +icon: card-back.png +position hint: 4 + +version: 2009-08-09 + +############################################################## The script + +init script: include file: script + +############################################################## Lots of lists + +include file: card_fields +include file: set_fields +include file: packs +include file: word_lists +include file: auto_replace + ############################################################## Other stuff \ No newline at end of file diff --git a/data/yugioh.mse-game/packs b/data/yugioh.mse-game/packs index ef0e667a..9d591bed 100644 --- a/data/yugioh.mse-game/packs +++ b/data/yugioh.mse-game/packs @@ -1,81 +1,81 @@ - -############################################################## Card pack items -pack type: - name: rare - filter: card.rarity != "common" -pack type: - name: common - filter: card.rarity == "common" -pack type: - name: gold - filter: card.rarity == "gold tech" -pack type: - name: card - filter: card.number != "" -############################################################## Card packs -pack type: - name: booster pack - item: - name: rare - amount: 1 - item: - name: common - amount: 8 -pack type: - name: champion pack - item: - name: rare - amount: 1 - item: - name: common - amount: 2 -pack type: - name: duelist pack - item: - name: rare - amount: 1 - item: - name: common - amount: 5 -pack type: - name: gold series - item: - name: gold - amount: 3 - item: - name: common - amount: 22 -pack type: - name: movie pack - item: - name: rare - amount: 3 - item: - name: common - amount: 5 -pack type: - name: premium pack - item: - name: rare - amount: 5 -pack type: - name: tournament pack - item: - name: card - amount: 3 -pack type: - name: additional rare - item: - name: rare -pack type: - name: additional common - item: - name: common -pack type: - name: additional gold - item: - name: gold -pack type: - name: additional card - item: - name: card + +############################################################## Card pack items +pack type: + name: rare + filter: card.rarity != "common" +pack type: + name: common + filter: card.rarity == "common" +pack type: + name: gold + filter: card.rarity == "gold tech" +pack type: + name: card + filter: card.number != "" +############################################################## Card packs +pack type: + name: booster pack + item: + name: rare + amount: 1 + item: + name: common + amount: 8 +pack type: + name: champion pack + item: + name: rare + amount: 1 + item: + name: common + amount: 2 +pack type: + name: duelist pack + item: + name: rare + amount: 1 + item: + name: common + amount: 5 +pack type: + name: gold series + item: + name: gold + amount: 3 + item: + name: common + amount: 22 +pack type: + name: movie pack + item: + name: rare + amount: 3 + item: + name: common + amount: 5 +pack type: + name: premium pack + item: + name: rare + amount: 5 +pack type: + name: tournament pack + item: + name: card + amount: 3 +pack type: + name: additional rare + item: + name: rare +pack type: + name: additional common + item: + name: common +pack type: + name: additional gold + item: + name: gold +pack type: + name: additional card + item: + name: card diff --git a/data/yugioh.mse-game/script b/data/yugioh.mse-game/script index c8cacf4a..ee1b7390 100644 --- a/data/yugioh.mse-game/script +++ b/data/yugioh.mse-game/script @@ -1,178 +1,178 @@ - # the rule text filter - # - adds continuous symbols - # - adds counter symbols - # - adds equipment symbols - # - adds field symbols - # - adds quickplay symbols - # - adds ritual symbols - # - adds level symbols - # - adds infinity symbols - # - makes text in parentheses italic - text_filter := - # step 1 : remove all automatic tags - tag_remove_rule(tag: "") + - # step 2 : expand shortcut words ~ and CARDNAME - replace_rule( - match: "CARDNAME", - in_context: "(^|[[:space:]]|\\()", # TODO: Allow any punctuation before - replace: "" - ) + - # step 3 : fill in the cardname atom field - tag_contents_rule( - tag: "", - contents: { if card.name=="" then "CARDNAME" else card.name } - ) + - # step 4 : symbols - replace_rule( - match: "[|@|*|?|]", - replace: "&" ); - level_filter := - # step 1 : remove all automatic tags - tag_remove_rule(tag: "") + - # step 2 : symbols - replace_rule( - match: "[|%|!|+|&|$|#|*|^|]", - replace: "&" ); - a_and_d_filter := - # step 1 : remove all automatic tags - tag_remove_rule(tag: "") + - # step 2 : infinity - replace_rule( - match: "@", - replace: "&" ) + - # step 3 : question mark - replace_rule( - match: "\\?", - replace: "&" ); - - # the flavor text filter - flavor_text_filter := - # step 1 : remove italic tags - tag_remove_rule(tag: "") + - # step 2 : surround by tags - { "" + input + "" }; - - type_over_list := replace_rule(match:" ?/", replace:"") - - monster_type_filter := - tag_remove_rule(tag: "{input}" } - - space_to_wltags := replace_rule(match:"( +| )", - replace:{"{_1}"}) - - card_class_filter := - tag_remove_rule(tag: "{input}" } - - # Determine type of card - card_type := { - if card.attribute == "spell" then "spell card" - else if contains(card.level, match:"Spell Card") then "spell card" - else if card.attribute == "trap" then "trap card" - else if contains(card.level, match:"Trap Card") then "trap card" - else if card.type_1 == "Divine-Beast" then "obelisk" - else if card.type_1 == "Legendary Dragon" then "legendary dragons" - else if contains(card.monster_type, match:"Fusion") then "fusion monster" - else if contains(card.monster_type, match:"Ritual") then "ritual monster" - else if contains(card.monster_type, match:"Dark Synchro") then "dark synchro monster" - else if contains(card.monster_type, match:"Dark Tuner") then "effect monster" - else if contains(card.monster_type, match:"Synchro") then "synchro monster" - else if contains(card.monster_type, match:"Effect") then "effect monster" - else if contains(card.monster_type, match:"Spirit") then "effect monster" - else if contains(card.monster_type, match:"Toon") then "effect monster" - else if contains(card.monster_type, match:"Tuner") then "effect monster" - else if contains(card.monster_type, match:"Union") then "effect monster" - else "normal monster" - } - # Default 'attribute' of card - attribute := { - if is_spell_card() then "Spell" - else if is_trap_card() then "Trap" - else "none" - } - # Default foil for a card - foil := { - if card.rarity == "super rare" then "holo image" - else if card.rarity == "ultra rare" then "holo image" - else if card.rarity == "secret rare" then "secret holo image" - else if card.rarity == "ultimate rare" then "holo image" - else if card.rarity == "parallel rare" then "parallel holo image" - else if card.rarity == "gold tech" then "gold tech holo image" - else if card.rarity == "promo" then "secret holo image" - else "none" - } - - ############### Type of card - - nm_ext_querry := { - if set.gods_have_effects == "no" then is_normal_monster_extended(value) - else is_normal_monster(value) - } - is_nmonster := { - card.card_type == "spell card" or - card.card_type == "trap card" - } - is_monster := { - card.card_type == "normal monster" or - card.card_type == "effect monster" or - card.card_type == "ritual monster" or - card.card_type == "dark synchro monster" or - card.card_type == "synchro monster" or - card.card_type == "fusion monster" or - card.card_type == "token monster" or - card.card_type == "obelisk" or - card.card_type == "slifer" or - card.card_type == "ra" or - card.card_type == "legendary dragons" - } - is_normal_monster_extended := { - card.card_type == "normal monster" or - card.card_type == "obelisk" or - card.card_type == "slifer" or - card.card_type == "ra" or - card.card_type == "legendary dragons" - } - is_normal_monster := { - card.card_type == "normal monster" - } - is_spell_card := { - card.card_type == "spell card" or - card.attribute == "spell" or - card.level == "Spell" - } - is_trap_card := { - card.card_type == "trap card" or - card.attribute == "trap" or - card.level == "Trap" - } - ############### Determine Card Position - - type_sort := { - type := card.card_type - if chosen(choice:"normal monster", type) then "A" - else if chosen(choice:"ra", type) then "B" - else if chosen(choice:"effect monster", type) then "C" - else if chosen(choice:"slifer", type) then "D" - else if chosen(choice:"ritual monster", type) then "E" - else if chosen(choice:"obelisk", type) then "F" - else if chosen(choice:"fusion monster", type) then "G" - else if chosen(choice:"synchro monster", type) then "H" - else if chosen(choice:"dark synchro monster", type) then "I" - else if chosen(choice:"token monster", type) then "J" - else if chosen(choice:"legendary dragons", type) then "K" - else if chosen(choice:"spell card", type) then "L" - else if chosen(choice:"trap card", type) then "M" - else "N" - } - - pos_of_card := { - position( - of: card - in: set - order_by: { - type_sort() + card.monster_type + card.name + card.attribute - }) + 1 - } + # the rule text filter + # - adds continuous symbols + # - adds counter symbols + # - adds equipment symbols + # - adds field symbols + # - adds quickplay symbols + # - adds ritual symbols + # - adds level symbols + # - adds infinity symbols + # - makes text in parentheses italic + text_filter := + # step 1 : remove all automatic tags + tag_remove_rule(tag: "") + + # step 2 : expand shortcut words ~ and CARDNAME + replace_rule( + match: "CARDNAME", + in_context: "(^|[[:space:]]|\\()", # TODO: Allow any punctuation before + replace: "" + ) + + # step 3 : fill in the cardname atom field + tag_contents_rule( + tag: "", + contents: { if card.name=="" then "CARDNAME" else card.name } + ) + + # step 4 : symbols + replace_rule( + match: "[|@|*|?|]", + replace: "&" ); + level_filter := + # step 1 : remove all automatic tags + tag_remove_rule(tag: "") + + # step 2 : symbols + replace_rule( + match: "[|%|!|+|&|$|#|*|^|]", + replace: "&" ); + a_and_d_filter := + # step 1 : remove all automatic tags + tag_remove_rule(tag: "") + + # step 2 : infinity + replace_rule( + match: "@", + replace: "&" ) + + # step 3 : question mark + replace_rule( + match: "\\?", + replace: "&" ); + + # the flavor text filter + flavor_text_filter := + # step 1 : remove italic tags + tag_remove_rule(tag: "") + + # step 2 : surround by tags + { "" + input + "" }; + + type_over_list := replace_rule(match:" ?/", replace:"") + + monster_type_filter := + tag_remove_rule(tag: "{input}" } + + space_to_wltags := replace_rule(match:"( +| )", + replace:{"{_1}"}) + + card_class_filter := + tag_remove_rule(tag: "{input}" } + + # Determine type of card + card_type := { + if card.attribute == "spell" then "spell card" + else if contains(card.level, match:"Spell Card") then "spell card" + else if card.attribute == "trap" then "trap card" + else if contains(card.level, match:"Trap Card") then "trap card" + else if card.type_1 == "Divine-Beast" then "obelisk" + else if card.type_1 == "Legendary Dragon" then "legendary dragons" + else if contains(card.monster_type, match:"Fusion") then "fusion monster" + else if contains(card.monster_type, match:"Ritual") then "ritual monster" + else if contains(card.monster_type, match:"Dark Synchro") then "dark synchro monster" + else if contains(card.monster_type, match:"Dark Tuner") then "effect monster" + else if contains(card.monster_type, match:"Synchro") then "synchro monster" + else if contains(card.monster_type, match:"Effect") then "effect monster" + else if contains(card.monster_type, match:"Spirit") then "effect monster" + else if contains(card.monster_type, match:"Toon") then "effect monster" + else if contains(card.monster_type, match:"Tuner") then "effect monster" + else if contains(card.monster_type, match:"Union") then "effect monster" + else "normal monster" + } + # Default 'attribute' of card + attribute := { + if is_spell_card() then "Spell" + else if is_trap_card() then "Trap" + else "none" + } + # Default foil for a card + foil := { + if card.rarity == "super rare" then "holo image" + else if card.rarity == "ultra rare" then "holo image" + else if card.rarity == "secret rare" then "secret holo image" + else if card.rarity == "ultimate rare" then "holo image" + else if card.rarity == "parallel rare" then "parallel holo image" + else if card.rarity == "gold tech" then "gold tech holo image" + else if card.rarity == "promo" then "secret holo image" + else "none" + } + + ############### Type of card + + nm_ext_querry := { + if set.gods_have_effects == "no" then is_normal_monster_extended(value) + else is_normal_monster(value) + } + is_nmonster := { + card.card_type == "spell card" or + card.card_type == "trap card" + } + is_monster := { + card.card_type == "normal monster" or + card.card_type == "effect monster" or + card.card_type == "ritual monster" or + card.card_type == "dark synchro monster" or + card.card_type == "synchro monster" or + card.card_type == "fusion monster" or + card.card_type == "token monster" or + card.card_type == "obelisk" or + card.card_type == "slifer" or + card.card_type == "ra" or + card.card_type == "legendary dragons" + } + is_normal_monster_extended := { + card.card_type == "normal monster" or + card.card_type == "obelisk" or + card.card_type == "slifer" or + card.card_type == "ra" or + card.card_type == "legendary dragons" + } + is_normal_monster := { + card.card_type == "normal monster" + } + is_spell_card := { + card.card_type == "spell card" or + card.attribute == "spell" or + card.level == "Spell" + } + is_trap_card := { + card.card_type == "trap card" or + card.attribute == "trap" or + card.level == "Trap" + } + ############### Determine Card Position + + type_sort := { + type := card.card_type + if chosen(choice:"normal monster", type) then "A" + else if chosen(choice:"ra", type) then "B" + else if chosen(choice:"effect monster", type) then "C" + else if chosen(choice:"slifer", type) then "D" + else if chosen(choice:"ritual monster", type) then "E" + else if chosen(choice:"obelisk", type) then "F" + else if chosen(choice:"fusion monster", type) then "G" + else if chosen(choice:"synchro monster", type) then "H" + else if chosen(choice:"dark synchro monster", type) then "I" + else if chosen(choice:"token monster", type) then "J" + else if chosen(choice:"legendary dragons", type) then "K" + else if chosen(choice:"spell card", type) then "L" + else if chosen(choice:"trap card", type) then "M" + else "N" + } + + pos_of_card := { + position( + of: card + in: set + order_by: { + type_sort() + card.monster_type + card.name + card.attribute + }) + 1 + } diff --git a/data/yugioh.mse-game/set_fields b/data/yugioh.mse-game/set_fields index 744428e4..baf5ce05 100644 --- a/data/yugioh.mse-game/set_fields +++ b/data/yugioh.mse-game/set_fields @@ -1,41 +1,41 @@ - -############################################################## Set fields -set field: - type: info - name: Set Information -set field: - type: text - name: title - description: This information will not appear on the card. -set field: - type: text - name: code - description: Recommended only 3 Capital digits. Will appear before card number. ex: LOB-XX101 -set field: - type: text - name: language - description: Recommended 2 - 3 Captital digits. Will appear before the card number, after the code. ex: XXX-EN101 -set field: - type: text - name: description - multi line: true - description: This information will not appear on the card. -set field: - type: text - name: edition - description: Editting this will set 1 edition for all the cards and will appear in the edition bar below the picture. ex-> LIMITED EDITION -set field: - type: text - name: copyright - description: Copyright information. This will not appear on the card. -set field: - type: boolean - name: gods have effects - description: Should god cards have effects? - initial: yes -############################# Default style -default set style: - title: - padding left: 2 - font: - size: 16 + +############################################################## Set fields +set field: + type: info + name: Set Information +set field: + type: text + name: title + description: This information will not appear on the card. +set field: + type: text + name: code + description: Recommended only 3 Capital digits. Will appear before card number. ex: LOB-XX101 +set field: + type: text + name: language + description: Recommended 2 - 3 Captital digits. Will appear before the card number, after the code. ex: XXX-EN101 +set field: + type: text + name: description + multi line: true + description: This information will not appear on the card. +set field: + type: text + name: edition + description: Editting this will set 1 edition for all the cards and will appear in the edition bar below the picture. ex-> LIMITED EDITION +set field: + type: text + name: copyright + description: Copyright information. This will not appear on the card. +set field: + type: boolean + name: gods have effects + description: Should god cards have effects? + initial: yes +############################# Default style +default set style: + title: + padding left: 2 + font: + size: 16 diff --git a/data/yugioh.mse-game/word_lists b/data/yugioh.mse-game/word_lists index ac1bab1f..be5c123b 100644 --- a/data/yugioh.mse-game/word_lists +++ b/data/yugioh.mse-game/word_lists @@ -1,41 +1,41 @@ - -############################################################## Word lists - -word list: - name: monster - word: Aqua - word: Beast - word: Beast-Warrior - word: Dinosaur - word: Divine-Beast - word: Dragon - word: Fairy - word: Fiend - word: Fish - word: Insect - word: Legendary Dragon - word: Machine - word: Plant - word: Pyro - word: Psychic - word: Reptile - word: Rock - word: Sea Serpent - word: Spellcaster - word: Thunder - word: Warrior - word: Winged Beast - word: Zombie -word list: - name: card - word: Dark Synchro - word: Dark Tuner - word: Effect - word: Fusion - word: Gemini - word: Ritual - word: Spirit - word: Synchro - word: Toon - word: Tuner - word: Union + +############################################################## Word lists + +word list: + name: monster + word: Aqua + word: Beast + word: Beast-Warrior + word: Dinosaur + word: Divine-Beast + word: Dragon + word: Fairy + word: Fiend + word: Fish + word: Insect + word: Legendary Dragon + word: Machine + word: Plant + word: Pyro + word: Psychic + word: Reptile + word: Rock + word: Sea Serpent + word: Spellcaster + word: Thunder + word: Warrior + word: Winged Beast + word: Zombie +word list: + name: card + word: Dark Synchro + word: Dark Tuner + word: Effect + word: Fusion + word: Gemini + word: Ritual + word: Spirit + word: Synchro + word: Toon + word: Tuner + word: Union