mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Added Package::saveCopy, which is used to implement the write_set_file script function.
git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1169 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -11,6 +11,11 @@ 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
|
||||
@@ -203,6 +208,9 @@ script:
|
||||
<h1>{ to_html(set.title) }</h1>
|
||||
<div class='copyright'>{ to_html(set.copyright) }</div>
|
||||
<div class='description'>{ to_html(set.description) }</div>
|
||||
{ if options.include_set_file then
|
||||
"<div class='set-file'><a href='{ write_set_file(file:"set.mse-set") }'>Download set in MSE format</a></div>"
|
||||
}
|
||||
{ if options.grouping == "group by color" then
|
||||
# Codes as by sort_index
|
||||
write_group(title: "White", code:"A") +
|
||||
|
||||
Reference in New Issue
Block a user