forked from CajunAvenger/Cajun-Style-Templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle
512 lines (505 loc) · 13.5 KB
/
style
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
mse version: 2.0.0
game: magic
short name: M15 Future Clear
full name: Futureshifted Clear
installer group: magic/Future/Clear
icon: card-sample.png
position hint: 074
version: 2018-02-08
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
#M15 Update by Cajun
############################################################## 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 }
colorless_color := {"c"}
card_shape := { if styling.shifted_sorting then "shifted" else "normal" }
is_unsorted := {styling.remove_from_autocount}
frame_version := { "future" }
############################################################## 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: original symbols
description: Should these cards use the original type symbol?
initial: no
styling field:
type: boolean
name: beleren
description: Should these cards use Beleren or the original font?
initial: yes
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: use holofoil stamps
description: Change to no to disable rare holofoil stamps
styling field:
type: boolean
name: remove from autocount
description: Removes the automatic card number for specific cards, to allow for overcounted cards like in Planeswalker Decks.
initial: no
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 field:
type: boolean
name: border visible
description: Should the card border be visible?
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-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: { if card.pt != "" then "pt_bordermask.png" else "bordermask.png" }
visible: {styling.border_visible}
z index: 3
############################# Name line
name:
left: { if card.card_symbol=="none" then 73 else 88 }
top : 28
width: { if card.card_symbol=="none" then 269 else 254 }
height: 26
alignment: middle shrink-overflow
padding bottom: 0
z index: 3
font:
name: { if styling.beleren then "Beleren" else "Matrix" }
size: { if styling.beleren then "16" else "18" }
color: black
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: 2
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: 3
render style: image
choice images:
tombstone: tombstone.png
type symbol:
left: 23
top: 22
width: 21
height: 20
z index: 2
render style: image
choice images:
artifact: { if styling.original_symbols then "/magic-future-common.mse-include/artifact_black.png" }
creature: { if styling.original_symbols then "/magic-future-common.mse-include/creature_black.png" }
enchantment: { if styling.original_symbols then "/magic-future-common.mse-include/enchantment_black.png" }
instant: { if styling.original_symbols then "/magic-future-common.mse-include/instant_black.png"}
land: { if styling.original_symbols then "/magic-future-common.mse-include/land_black.png" }
multitype: { if styling.original_symbols then "/magic-future-common.mse-include/multitype_black.png" }
sorcery: { if styling.original_symbols then "/magic-future-common.mse-include/sorcery_black.png" }
planeswalker: { if styling.original_symbols then "/magic-future-common.mse-include/planeswalker_black.png" }
############################# Image
image:
left: {if styling.border_visible then 19 else 0}
top: {if styling.border_visible then 18 else 0}
width: {if styling.border_visible then 340 else 375}
height: {if styling.border_visible then 489 else 523}
z index: 0
mask: {if not styling.border_visible then "image_mask.png" else nil}
############################# Card type
type:
left: 49
top : 298
width: { 300 - max(21,card_style.rarity.content_width) }
height: 20
alignment: middle shrink-overflow
z index: 2
padding top: 2
font:
name: { if styling.beleren then "Beleren" else "Matrix" }
size: { if styling.beleren then "12" else "14" }
color: black
separator color: rgb(128,128,128)
rarity:
right: 353
top : 300
width: 22
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")
masterpiece: script: symbol_variation(symbol: set.masterpiece_symbol, variation: "mythic rare")
############################# Text box
text:
left: 36
top : 328
width: 301
height: 138
font:
name: MPlantin
italic name: MPlantin-Italic
size: 13
scale down to: 6
color: black
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 == "<i-flavor></i-flavor>" 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 soft: 0.9
line height line: 1.5
watermark:
left: 127
top : 319
width: 132
height: 152
z index: 2
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: black
separator color: rgb(200,0,0)
############################# Card sorting / numbering
set code:
left: 24
top: 498
width: 40
height: 10
z index: 4
font:
name: Relay-Medium
size: 7
color: { if styling.border_visible then "white" else "black" }
weight: bold
############################# Copyright stuff
illustrator:
left: { 44 + card_style.set_code.content_width }
top : 497.5
width: 200
height: 10
z index: 4
font:
name: Beleren Small Caps Bold
size: 7.5
color: { if styling.border_visible then "white" else "black" }
copyright:
right: 350
top : { if card.pt != "" then 504 else 488 }
width: 140
height: 10
visible: {not set.automatic_copyright}
alignment: bottom right
z index: 4
font:
name: Matrix
size: 7
color: { if styling.border_visible then "white" else "black" }
############################################################## Extra card fields
extra card field:
type: choice
name: frame
script: if card.pt != "" then "pt" else "frame"
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: "black"
editable: false
save value: false
extra card field:
type: choice
name: artist arrow
choice: artist arrow
editable: false
save value: false
extra card field:
type: text
name: card code
save value: false
script:
if set.automatic_card_numbers and not styling.remove_from_autocount then
forward_editor(prefix: card_number_m15() + "/" + card_count_m15() + " " + rarity_code() + " ", field: card.card_code_text)
else
combined_editor(field1: card.custom_card_number, separator: " " + rarity_code() + " ", field2: card.card_code_text)
extra card field:
type: choice
name: future node
default: typesymbol_type(type: card.super_type)
card list visible: false
show statistics: false
choice: artifact
choice: creature
choice: enchantment
choice: fortress
choice: instant
choice: land
choice: multitype
choice: planeswalker
choice: sorcery
choice: aetherprint
choice: none
description: The card type symbol for this card
extra card field:
type: choice
name: foil stamp
choice: stamp
save value: false
editable: false
extra card field:
type: choice
name: stamp
choice: stamp
save value: false
editable: false
extra card field:
type: text
name: auto copyright
script: set.copyright
save value: false
editable: false
show statistics: false
extra card style:
card code:
left: 24
top: 488
width: 120
height: 10
z index: 4
font:
name: Relay-Medium
size: 7
color: { if styling.border_visible then "white" else "black" }
weight: bold
frame:
left: 0
top: 0
width: 375
height: 523
z index: 1
render style: image
mask: image_mask.png
choice images:
frame: frame.png
pt: pt_frame.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"}
future node:
left: { if styling.original_symbols then 0 else 18 }
top: { if styling.original_symbols then 0 else 17 }
width: { if styling.original_symbols then 0 else 30 }
height: { if styling.original_symbols then 0 else 30 }
z index: 4
render style: image
choice images:
artifact: artifact.png
creature: creature.png
enchantment: enchantment.png
fortress: fortress.png
instant: instant.png
land: land.png
multitype: multitype.png
sorcery: sorcery.png
planeswalker: planeswalker.png
aetherprint: aetherprint.png
stamp:
left: 170
top: 472
width: 36.5
height: 22.5
z index: 3
visible: { is_rare() and styling.use_holofoil_stamps}
render style: image
mask: futurestampmask.png
image: cstamp.jpg
foil stamp:
left: 170
top: 475
width: 36.5
height: 22.5
z index: 4
visible: { is_rare() and styling.use_holofoil_stamps }
render style: image
image: foil_stamp.png
artist arrow:
left: { 28 + card_style.set_code.content_width }
top : 500
width: 12
height: 7
z index: 4
render style: image
image: artist_arrow.png
auto copyright:
right: 350
top: { if card.pt != "" then 504 else 488 }
width: 140
height: 10
z index: 4
alignment: middle right shrink-overflow
visible: {set.automatic_copyright}
font:
name: Matrix
size: 7
color: white
weight: bold