improve adventure & saga split auto nyx

This commit is contained in:
cajun
2024-09-24 06:08:53 -05:00
parent c1b8069dfe
commit 9668a1de6f
2 changed files with 20 additions and 2 deletions

View File

@@ -156,7 +156,16 @@ init script:
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_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_ub := { contains(styling.auto_frames, match:"universes beyond") and (card.card_stamp == "universes beyond" or card.card_stamp == "flatstamped universes beyond") }

View File

@@ -229,7 +229,16 @@ init script:
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_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) }
is_beyond := {
chosen(styling.other_options, choice:"universes beyond")