update kaldheim, fix advub bug
This commit is contained in:
@@ -133,7 +133,7 @@ init script:
|
||||
spot_pt := { color_background(type:"spotpt", base_hybrid:card_hybrid, folder:"blend_masks/") }
|
||||
|
||||
crown_background := { color_background(type:"crown", base_hybrid: card_hybrid, folder:"blend_masks/")}
|
||||
beyond_background := { color_background(type:"ubcard", base_hybrid: card_hybrid, folder:template_prefix["ubcard"], blend_type:"card")}
|
||||
beyond_background := { color_background(type:"ubcard", base_hybrid: card_hybrid, folder:template_prefix["card"], blend_type:"card")}
|
||||
|
||||
# Use the normal tap symbol
|
||||
mana_t := {
|
||||
|
||||
@@ -96,6 +96,14 @@ init script:
|
||||
un_png := replace@(match:".png", replace: "")
|
||||
is_vehicle := {lang_setting("is_vehicle")(card.sub_type)}
|
||||
card_stamp_offset_top_1 := {1}
|
||||
|
||||
include file: /magic-modules.mse-include/loyalty/init_script
|
||||
loyalty_abilities_count_real := loyalty_abilities_count
|
||||
loyalty_abilities_count := {
|
||||
if mainframe_walker() then loyalty_abilities_count_real(instance:instance, active:active) else 0
|
||||
}@(active:false, instance:1)
|
||||
mainframe_walker := { lang_setting("is_planeswalker")(card.type) }
|
||||
loyalty_textbox_mask := {"walker_mask.png"}
|
||||
############################################################## Set info fields
|
||||
set info style:
|
||||
symbol:
|
||||
@@ -124,6 +132,69 @@ styling field:
|
||||
description: Removes the automatic card number for specific cards, to allow for overcounted cards like in Planeswalker Decks.
|
||||
initial: no
|
||||
include file: /magic-modules.mse-include/stamps/styling_fields
|
||||
styling field:
|
||||
type: choice
|
||||
name: number of textboxes
|
||||
description: Number of textboxes for abilities and passives. MODIFY CONTENTS OF TEXTBOXES IF THIS HAS TROUBLE UPDATING AFTER BEING CHANGED.
|
||||
choice: automatic
|
||||
choice: 1
|
||||
choice: 2
|
||||
choice: 3
|
||||
choice: 4
|
||||
choice: 5
|
||||
choice: 6
|
||||
choice: 7
|
||||
choice: 8
|
||||
initial: automatic
|
||||
styling field:
|
||||
type: text
|
||||
name: move separators
|
||||
description: Moves the limits between abilities down by this many pixels. Use negatives to move up. Formatted as "1,2,3,4,5"
|
||||
styling field:
|
||||
type: text
|
||||
name: move loyalty costs
|
||||
description: Moves loyalty costs down by this many pixels. Use negatives to move up. Formatted as "1,2,3,4,5,6"
|
||||
styling field:
|
||||
type: text
|
||||
name: textbox opacity percentage
|
||||
description: Set the opacity percentage for textboxes. Opaque is 100, transparent is 0, default is 70.
|
||||
styling field:
|
||||
type: color
|
||||
name: textbox color
|
||||
description: Use the specified color for the textbox background.
|
||||
choice:
|
||||
name: black
|
||||
color: rgb(0,0,0)
|
||||
choice:
|
||||
name: white
|
||||
color: rgb(255,255,255)
|
||||
initial: rgb(255,255,255)
|
||||
styling field:
|
||||
type: text
|
||||
name: stripes opacity percentage
|
||||
description: Set the opacity percentage for stripes separating abilities. Opaque is 100, transparent is 0, default is 40.
|
||||
styling field:
|
||||
type: color
|
||||
name: stripes color
|
||||
description: Use the specified color for the textbox background.
|
||||
choice:
|
||||
name: black
|
||||
color: rgb(0,0,0)
|
||||
choice:
|
||||
name: white
|
||||
color: rgb(255,255,255)
|
||||
initial: rgb(0,0,0)
|
||||
styling field:
|
||||
type: color
|
||||
name: rule text color
|
||||
description: Use the specified color for the rule text.
|
||||
choice:
|
||||
name: black
|
||||
color: rgb(0,0,0)
|
||||
choice:
|
||||
name: white
|
||||
color: rgb(255,255,255)
|
||||
initial: rgb(0,0,0)
|
||||
|
||||
styling field:
|
||||
type: boolean
|
||||
@@ -218,6 +289,7 @@ include file: /magic-modules.mse-include/stamps/card_fields
|
||||
include file: /magic-modules.mse-include/stamps/stamp_back
|
||||
include file: /magic-modules.mse-include/watermarks/card_fields
|
||||
include file: /magic-modules.mse-include/separators/card_fields
|
||||
include file: /magic-modules.mse-include/loyalty/card_fields
|
||||
card style:
|
||||
############################# Background stuff
|
||||
border color:
|
||||
@@ -314,7 +386,7 @@ card style:
|
||||
include file: /magic-modules.mse-include/rarities/choice_images
|
||||
############################# Text box
|
||||
text:
|
||||
left: 29
|
||||
left: { if mainframe_walker() then 35 else 29 }
|
||||
top: {338-(-chop_top())}
|
||||
width: 314
|
||||
bottom: {477-chop_bot()}
|
||||
@@ -350,7 +422,7 @@ card style:
|
||||
z index: 900
|
||||
left: 293
|
||||
top: 468
|
||||
width: 60
|
||||
width: { if mainframe_walker() then 0 else 60 }
|
||||
height: 28
|
||||
alignment: center middle shrink-overflow
|
||||
font:
|
||||
@@ -383,7 +455,7 @@ extra card style:
|
||||
pt box:
|
||||
left: 285
|
||||
top: 460
|
||||
width: 77
|
||||
width: { if mainframe_walker() then 0 else 77 }
|
||||
height: 43
|
||||
z index: 840
|
||||
visible: { card.pt != "" }
|
||||
|
||||
BIN
data/magic-m15-showcase-kaldheim.mse-style/walker_mask.png
Normal file
BIN
data/magic-m15-showcase-kaldheim.mse-style/walker_mask.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
Reference in New Issue
Block a user