From 78dbf19a80402efa879fc2496229b84b43ece920 Mon Sep 17 00:00:00 2001
From: Someone <someone@somenet.org>
Date: Fri, 27 Mar 2020 04:55:34 +0100
Subject: [PATCH] Explosion damage is correctly applied again. Stacksize
 decreased from 50 to 20. Release: 0.18.1

---
 changelog.txt              | 10 ++++++++++
 info.json                  |  2 +-
 prototypes/items.lua       |  2 +-
 prototypes/projectiles.lua |  9 ++++-----
 4 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/changelog.txt b/changelog.txt
index 2dda46b..4ff8255 100644
--- a/changelog.txt
+++ b/changelog.txt
@@ -1,3 +1,13 @@
+---------------------------------------------------------------------------------------------------
+Version: 0.18.1
+Date: 2020-03-27
+
+  Fixed:
+    - Explosion damage is correctly applied again.
+
+  Changed:
+    - Stacksize decreased from 50 to 20. Its big and chunky, you know. :)
+
 ---------------------------------------------------------------------------------------------------
 Version: 0.18.0
 Date: 2020-01-24
diff --git a/info.json b/info.json
index dac468d..c924833 100644
--- a/info.json
+++ b/info.json
@@ -1,6 +1,6 @@
 {
     "name": "Waterbomb",
-    "version": "0.18.0",
+    "version": "0.18.1",
     "title": "Waterbomb",
     "author": "someone1337",
     "homepage": "https://git.somenet.org/pub/jan/factorio_Waterbomb.git",
diff --git a/prototypes/items.lua b/prototypes/items.lua
index 2b0bc7e..5bfc1c7 100644
--- a/prototypes/items.lua
+++ b/prototypes/items.lua
@@ -7,6 +7,6 @@ data:extend({
         subgroup = "equipment",
         order = "a[waterbomb]",
         place_result = "waterbomb",
-        stack_size = 50
+        stack_size = 20
     }
 })
diff --git a/prototypes/projectiles.lua b/prototypes/projectiles.lua
index 713b2d2..83016e7 100644
--- a/prototypes/projectiles.lua
+++ b/prototypes/projectiles.lua
@@ -4,6 +4,7 @@ data:extend({
         name = "waterbomb-detonation",
         flags = {"not-on-map"},
         acceleration = 0,
+        range = 8,
         action =
         {
             type = "direct",
@@ -16,9 +17,8 @@ data:extend({
                         type = "nested-result",
                         action =
                         {
-                            radius = 1,
                             type = "area",
-                            perimeter = 5,
+                            radius = 6,
                             action_delivery =
                             {
                                 type = "instant",
@@ -36,9 +36,8 @@ data:extend({
                         type = "nested-result",
                         action =
                         {
-                            radius = 1,
                             type = "area",
-                            perimeter = 10,
+                            radius = 14,
                             action_delivery =
                             {
                                 type = "instant",
@@ -63,7 +62,7 @@ data:extend({
             height = 1,
             priority = "high"
         },
-        light = {intensity = 1, size = 4},
+        light = {intensity = 1, size = 8},
         smoke = capsule_smoke,
     }
 })
-- 
2.43.0