One tank with one type of ammo?
Ha!
Current features
Planned features
Any comments are welcome.Actually, currently nothing to illustrate.Fisherman wrote:Illustrations, please.
No.Stx3 wrote:new monsters?
Wtf i am reading?Stx3 wrote:or do you want transform monsters in children?
Code: Select all
data:extend(
{
{
type = "projectile",
name = "cannon-20mm-projectile",
flags = {"not-on-map"},
collision_box = {{-0.05, -1.1}, {0.05, 1.1}},
acceleration = 0,
direction_only = true,
piercing_damage = 300,
action =
{
type = "direct",
action_delivery =
{
type = "instant",
target_effects =
{
{
type = "create-entity",
entity_name = "explosion-gunshot"
},
{
type = "damage",
damage = { amount = 50 , type = "physical"}
},
{
type = "damage",
damage = { amount = 5 , type = "explosion"}
}
}
}
},
animation =
{
filename = "__base__/graphics/entity/bullet/bullet.png",
frame_count = 1,
width = 3,
height = 50,
priority = "high"
},
},
{
type = "projectile",
name = "cannon-20mm-he-projectile",
flags = {"not-on-map"},
collision_box = {{-0.05, -1.1}, {0.05, 1.1}},
acceleration = 0,
direction_only = true,
piercing_damage = 300,
action =
{
type = "direct",
action_delivery =
{
type = "instant",
target_effects =
{
{
type = "create-entity",
entity_name = "explosion"
},
{
type = "nested-result",
action =
{
type = "area",
perimeter = 1,
action_delivery =
{
type = "instant",
target_effects =
{
{
type = "damage",
damage = {amount = 15, type = "explosion"}
},
{
type = "damage",
damage = { amount = 15 , type = "physical"}
},
{
type = "create-entity",
entity_name = "explosion"
}
}
}
},
},
{
type = "nested-result",
action =
{
type = "area",
perimeter = 2.5,
action_delivery =
{
type = "instant",
target_effects =
{
{
type = "damage",
damage = {amount = 15, type = "explosion"}
},
{
type = "damage",
damage = { amount = 5 , type = "physical"}
},
{
type = "create-entity",
entity_name = "explosion"
}
}
}
},
}
}
}
},
animation =
{
filename = "__base__/graphics/entity/bullet/bullet.png",
frame_count = 1,
width = 3,
height = 50,
priority = "high"
},
},
{
type = "projectile",
name = "cannon-20mm-belt-projectile",
flags = {"not-on-map"},
collision_box = {{-0.05, -1.1}, {0.05, 1.1}},
acceleration = 0,
direction_only = true,
piercing_damage = 300,
action =
{
type = "direct",
action_delivery =
{
type = "instant",
target_effects =
{
{
type = "create-entity",
entity_name = "explosion-gunshot"
},
{
type = "damage",
damage = { amount = 50 , type = "physical"}
},
{
type = "damage",
damage = { amount = 5 , type = "explosion"}
}
}
}
},
animation =
{
filename = "__base__/graphics/entity/bullet/bullet.png",
frame_count = 1,
width = 3,
height = 50,
priority = "high"
},
},
}
)