]> git.somenet.org - factorio/Waterbomb.git/blob - prototypes/recipes.lua
RELEASE 2.0.0 - Initial compatibility with Factorio 2.0
[factorio/Waterbomb.git] / prototypes / recipes.lua
1 data:extend({
2     {
3         type = "recipe",
4         name = "waterbomb",
5         energy_required = 5,
6         enabled = false,
7         category = "crafting-with-fluid",
8         ingredients =
9         {
10             {type="item", name="steel-plate", amount=32},
11             {type="item", name="electric-engine-unit", amount=4},
12             {type="item", name="processing-unit", amount=1},
13             {type="fluid", name="water", amount=32},
14             {type="item", name="explosives", amount=24}
15         },
16         results = {{type="item", name="waterbomb", amount=1}}
17     }
18 })
19
20 table.insert(data.raw["technology"]["explosives"].effects, {type = "unlock-recipe",recipe = "waterbomb"})