Code: Select all
{
type = "projectile",
name = "glowstick",
flags = {"not-on-map"},
acceleration = 0.005,
action =
{
{
type = "direct",
action_delivery =
{
type = "instant",
target_effects =
{
{
type = "create-entity",
entity_name = "" -- crashes
}
}
}
},
{
type = "area",
perimeter = 6.5,
action_delivery =
{
type = "instant",
target_effects =
{
type = "create-entity",
entity_name = "" -- crashes
}
}
}
},
light = {intensity = 20, size = 4},
animation =
{
filename = "__Caves__/graphics/icons/glowstick.png",
frame_count = 1,
width = 32,
height = 32,
priority = "high"
},
shadow =
{
filename = "__base__/graphics/entity/basic-grenade/basic-grenade-shadow.png",
frame_count = 1,
width = 24,
height = 32,
priority = "high"
}
}