improve adventure & saga split auto nyx
This commit is contained in:
@@ -156,7 +156,16 @@ init script:
|
|||||||
is_beyond := { not is_spot() and (auto_ub() or contains(styling.frames, match:"universes beyond")) }
|
is_beyond := { not is_spot() and (auto_ub() or contains(styling.frames, match:"universes beyond")) }
|
||||||
auto_legend := { set.auto_legends and lang_setting("is_legendary")(card.super_type) }
|
auto_legend := { set.auto_legends and lang_setting("is_legendary")(card.super_type) }
|
||||||
auto_vehicle := { contains(styling.auto_frames, match:"vehicle") and lang_setting("is_vehicle")(card.sub_type) }
|
auto_vehicle := { contains(styling.auto_frames, match:"vehicle") and lang_setting("is_vehicle")(card.sub_type) }
|
||||||
auto_nyx := { contains(styling.auto_frames, match:"nyx") and lang_setting("is_enchantment")(card.super_type) }
|
auto_nyx := {
|
||||||
|
is_ench := lang_setting("is_enchantment")(card.super_type)
|
||||||
|
if not is_ench
|
||||||
|
then false ## not an enchantment
|
||||||
|
else if not set.auto_nyx
|
||||||
|
then false ## set auto disabled
|
||||||
|
else if not chosen(styling.auto_frames, choice:"nyx")
|
||||||
|
then false ## style auto disabled
|
||||||
|
else true ## auto nyx
|
||||||
|
}
|
||||||
auto_snow := { contains(styling.auto_frames, match:"snow") and lang_setting("is_snow")(card.super_type) }
|
auto_snow := { contains(styling.auto_frames, match:"snow") and lang_setting("is_snow")(card.super_type) }
|
||||||
auto_ub := { contains(styling.auto_frames, match:"universes beyond") and (card.card_stamp == "universes beyond" or card.card_stamp == "flatstamped universes beyond") }
|
auto_ub := { contains(styling.auto_frames, match:"universes beyond") and (card.card_stamp == "universes beyond" or card.card_stamp == "flatstamped universes beyond") }
|
||||||
|
|
||||||
|
|||||||
@@ -229,7 +229,16 @@ init script:
|
|||||||
is_snow := { auto_snow() or contains(styling.other_options, match:"snow") }
|
is_snow := { auto_snow() or contains(styling.other_options, match:"snow") }
|
||||||
auto_legend := { set.auto_legends and lang_setting("is_legendary")(card.super_type) }
|
auto_legend := { set.auto_legends and lang_setting("is_legendary")(card.super_type) }
|
||||||
auto_vehicle := { contains(styling.auto_frames, match:"vehicle") and lang_setting("is_vehicle")(card.sub_type) }
|
auto_vehicle := { contains(styling.auto_frames, match:"vehicle") and lang_setting("is_vehicle")(card.sub_type) }
|
||||||
auto_nyx := { (contains(styling.auto_frames, match:"nyx") or set.auto_nyx) and lang_setting("is_enchantment")(card.super_type) }
|
auto_nyx := {
|
||||||
|
is_ench := lang_setting("is_enchantment")(card.super_type)
|
||||||
|
if not is_ench
|
||||||
|
then false ## not an enchantment
|
||||||
|
else if not set.auto_nyx
|
||||||
|
then false ## set auto disabled
|
||||||
|
else if not chosen(styling.auto_frames, choice:"nyx")
|
||||||
|
then false ## style auto disabled
|
||||||
|
else true ## auto nyx
|
||||||
|
}
|
||||||
auto_snow := { contains(styling.auto_frames, match:"snow") and lang_setting("is_snow")(card.super_type) }
|
auto_snow := { contains(styling.auto_frames, match:"snow") and lang_setting("is_snow")(card.super_type) }
|
||||||
is_beyond := {
|
is_beyond := {
|
||||||
chosen(styling.other_options, choice:"universes beyond")
|
chosen(styling.other_options, choice:"universes beyond")
|
||||||
|
|||||||
Reference in New Issue
Block a user