]> git.somenet.org - factorio/Waterbomb.git/blob - prototypes/entities.lua
Update to factorio 0.18.x
[factorio/Waterbomb.git] / prototypes / entities.lua
1 data:extend({
2     {
3         type = "electric-energy-interface",
4         name = "waterbomb",
5         icon = "__Waterbomb__/graphics/icons/waterbomb.png",
6         icon_size = 32,
7         flags = {"placeable-neutral", "placeable-player", "player-creation"},
8         minable = {mining_time = 5, result = "waterbomb"},
9         max_health = 500,
10         corpse = "small-remnants",
11         collision_box = {{-0.35, -0.35}, {0.35, 0.35}},
12         selection_box = {{-0.5, -0.5}, {0.5, 0.5}},
13         energy_source =
14         {
15             type = "electric",
16             buffer_capacity = "50MJ",
17             usage_priority = "secondary-input",
18             input_flow_limit = "1500kW",
19             output_flow_limit = "0kW"
20         },
21         picture =
22         {
23             filename = "__Waterbomb__/graphics/entity/waterbomb.png",
24             priority = "extra-high",
25             width = 160,
26             height = 160,
27             shift = {-0.01625, 0}
28         },
29         charge_cooldown = 45,
30         discharge_cooldown = 90,
31         order="b[waterbomb]",
32         subgroup = "equipment"
33     }
34 })