Code: Select all
{
type = "ammo",
name = "laser_ammo",
icon = "__laser_weapon__/graphics/icons/laser_ammo.png",
icon_size = 64, icon_mipmaps = 4,
flags = {},
ammo_type =
{
category = "laser-battery",
action =
{
type = "direct",
action_delivery =
{
type = "beam",
beam = "laser-beam",
max_length = 15,
duration = 40,
source_offset = {0, -1.31439 }
target_effects =
{
{
type = "damage",
damage = { amount = 10 , type = "laser"}
}
},
},
}
},
magazine_size = 20,
subgroup = "ammo",
order = "a[basic-clips]-b[laser_ammo]",
stack_size = 100
},