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