[274/274] magic-modules rollout (#51)
Add Magic-Modules support to all frames
This commit is contained in:
36
data/magic-modules.mse-include/crowns/init_script
Normal file
36
data/magic-modules.mse-include/crowns/init_script
Normal file
@@ -0,0 +1,36 @@
|
||||
crowns_folder := {"/magic-modules.mse-include/crowns/375/"}
|
||||
module_legend_crown_template := { crowns_folder() + input + "crown.png" }
|
||||
module_borderless_crown_template := { crowns_folder() + "borderless/" + input + "crown.png" }
|
||||
module_nyx_crown_template := { crowns_folder() + "nyx/" + input + "crown.png" }
|
||||
module_companion_crown_template := { crowns_folder() + "companion/" + input + "crown.png" }
|
||||
module_custom_crown_template := {
|
||||
"/magic-mainframe-extras.mse-include/"
|
||||
+ styling.custom_crown_location
|
||||
+ input
|
||||
+ "crown.png"
|
||||
}
|
||||
|
||||
module_crown_template := {
|
||||
crown_shape := styling.legend_crown or else crown_type
|
||||
if override != "" then crown_shape := override
|
||||
case crown_shape of
|
||||
"borderless": module_borderless_crown_template(),
|
||||
"nyx": module_nyx_crown_template(),
|
||||
"companion": module_companion_crown_template(),
|
||||
"custom": module_custom_crown_template(),
|
||||
else: module_legend_crown_template();
|
||||
}@(crown_type:"normal", override:"")
|
||||
|
||||
module_crown := { color_background(type:"crown", base_hybrid:card_hybrid, folder:crowns_folder()) }
|
||||
module_crown_2 := { color_background(type:"crown", base_hybrid:card_hybrid, folder:crowns_folder(), blend_type:"crown") }
|
||||
module_crown_3 := { color_background(type:"crown", base_hybrid:card_hybrid, folder:crowns_folder(), blend_type:"crown") }
|
||||
|
||||
crown_disabled_1 := { not is_legend(face:1) }
|
||||
crown_offset_left_1 := { 0 }
|
||||
crown_offset_top_1 := { 0 }
|
||||
crown_disabled_2 := { not is_legend(face:2) }
|
||||
crown_offset_left_2 := { 0 }
|
||||
crown_offset_top_2 := { 0 }
|
||||
crown_disabled_3 := { not is_legend(face:3) }
|
||||
crown_offset_left_3 := { 0 }
|
||||
crown_offset_top_3 := { 0 }
|
||||
Reference in New Issue
Block a user