]> git.somenet.org - factorio/Waterbomb.git/blob - prototypes/projectiles.lua
RELEASE 1.1.3 - Version-Bump. No functional changes. (I am still alive :)
[factorio/Waterbomb.git] / prototypes / projectiles.lua
1 data:extend({
2     {
3         type = "projectile",
4         name = "waterbomb-detonation",
5         flags = {"not-on-map"},
6         acceleration = 0,
7         range = 8,
8         action =
9         {
10             type = "direct",
11             action_delivery =
12             {
13                 type = "instant",
14                 target_effects =
15                 {
16                     {
17                         type = "nested-result",
18                         action =
19                         {
20                             type = "area",
21                             radius = 6,
22                             action_delivery =
23                             {
24                                 type = "instant",
25                                 target_effects =
26                                 {
27                                     {
28                                         type = "damage",
29                                         damage = {amount = 561, type = "explosion"}
30                                     }
31                                 }
32                             }
33                         }
34                     },
35                     {
36                         type = "nested-result",
37                         action =
38                         {
39                             type = "area",
40                             radius = 14,
41                             action_delivery =
42                             {
43                                 type = "instant",
44                                 target_effects =
45                                 {
46                                     {
47                                         type = "damage",
48                                         damage = {amount = 39, type = "explosion"}
49                                     }
50                                 }
51                             }
52                         }
53                     }
54                 }
55             }
56         },
57         animation =
58         {
59             filename = "__Waterbomb__/graphics/null.png",
60             frame_count = 1,
61             width = 1,
62             height = 1,
63             priority = "high"
64         },
65         light = {intensity = 1, size = 8},
66         smoke = capsule_smoke,
67     }
68 })