AFAIK, for actions with type = "area", we already have "collision_mask", "force" and "entity_flags" to filter entities. I hope we can make use of the sticker system so that we can also filter entities according to the existence of stickers on entities.
The format may be like this:
Code: Select all
action =
{
type = "area",
perimeter = 11,
with_stickers = {"death-fire"},
action_delivery =
{
type = "instant",
target_effects =
{
type = "damage", damage = {amount = 999999, type = "fire"}
}
}
}
Or,
Code: Select all
action =
{
type = "area",
perimeter = 11,
without_stickers = {"chained-lightning"},
action_delivery =
{
type = "beam",
target_effects =
{
beam = "chained-lightning-beam-1",
max_length = 30,
duration = 20,
source_offset = {0, 0}
}
}
}
