From 0cb436bfd06f906a42a25896a0b87f8ec59b3925 Mon Sep 17 00:00:00 2001
From: juliancoffee <lightdarkdaughter@gmail.com>
Date: Tue, 22 Jun 2021 20:36:30 +0300
Subject: [PATCH] Balance food to have sane health per second regen

* Gatherable food gives you slightly variable regen with variable time
based on tier and that fact that we have x2 health on endgame character.
For example while mushroom gives you 5 health over 10 seconds (0.5 health-per-second),
mushroom curry will give you 120 health over 80 seconds (1.5 health-per-second).

* Meat gives you twice powerful regen strength, but with twice shorter
duration
---
 assets/common/items/food/apple.ron                   | 4 ++--
 assets/common/items/food/apple_mushroom_curry.ron    | 4 ++--
 assets/common/items/food/apple_stick.ron             | 4 ++--
 assets/common/items/food/cactus_colada.ron           | 4 ++--
 assets/common/items/food/cheese.ron                  | 4 ++--
 assets/common/items/food/coconut.ron                 | 4 ++--
 assets/common/items/food/meat.ron                    | 4 ++--
 assets/common/items/food/meat/beast_small_cooked.ron | 4 ++--
 assets/common/items/food/meat/bird_large_cooked.ron  | 4 ++--
 assets/common/items/food/mushroom_stick.ron          | 4 ++--
 assets/common/items/food/plainsalad.ron              | 4 ++--
 assets/common/items/food/sunflower_icetea.ron        | 4 ++--
 assets/common/items/food/tomatosalad.ron             | 4 ++--
 13 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/assets/common/items/food/apple.ron b/assets/common/items/food/apple.ron
index aa6a35341e..4648ace03b 100644
--- a/assets/common/items/food/apple.ron
+++ b/assets/common/items/food/apple.ron
@@ -7,9 +7,9 @@ ItemDef(
             Buff((
                 kind: Saturation,
                 data: (
-                    strength: 10.0,
+                    strength: 5.0,
                     duration: Some((
-                            secs: 10,
+                            secs: 20,
                             nanos: 0,
                         )),
                     ),
diff --git a/assets/common/items/food/apple_mushroom_curry.ron b/assets/common/items/food/apple_mushroom_curry.ron
index 372b0f5450..62d591d08b 100644
--- a/assets/common/items/food/apple_mushroom_curry.ron
+++ b/assets/common/items/food/apple_mushroom_curry.ron
@@ -7,9 +7,9 @@ ItemDef(
             Buff((
                 kind: Saturation,
                 data: (
-                    strength: 120.0,
+                    strength: 15.0,
                     duration: Some((
-                            secs: 10,
+                            secs: 80,
                             nanos: 0,
                         )),
                     ),
diff --git a/assets/common/items/food/apple_stick.ron b/assets/common/items/food/apple_stick.ron
index 010f151623..185f75a2bb 100644
--- a/assets/common/items/food/apple_stick.ron
+++ b/assets/common/items/food/apple_stick.ron
@@ -7,9 +7,9 @@ ItemDef(
             Buff((
                 kind: Saturation,
                 data: (
-                    strength: 25.0,
+                    strength: 10.0,
                     duration: Some((
-                            secs: 10,
+                            secs: 25,
                             nanos: 0,
                         )),
                     ),
diff --git a/assets/common/items/food/cactus_colada.ron b/assets/common/items/food/cactus_colada.ron
index cef46eee0d..421c140c23 100644
--- a/assets/common/items/food/cactus_colada.ron
+++ b/assets/common/items/food/cactus_colada.ron
@@ -7,9 +7,9 @@ ItemDef(
             Buff((
                 kind: Saturation,
                 data: (
-                    strength: 25.0,
+                    strength: 10.0,
                     duration: Some((
-                            secs: 15,
+                            secs: 25,
                             nanos: 0,
                         )),
                     ),
diff --git a/assets/common/items/food/cheese.ron b/assets/common/items/food/cheese.ron
index 3a11c642a0..22141cfe96 100644
--- a/assets/common/items/food/cheese.ron
+++ b/assets/common/items/food/cheese.ron
@@ -7,9 +7,9 @@ ItemDef(
             Buff((
                 kind: Saturation,
                 data: (
-                    strength: 15.0,
+                    strength: 10.0,
                     duration: Some((
-                            secs: 10,
+                            secs: 15,
                             nanos: 0,
                         )),
                     ),
diff --git a/assets/common/items/food/coconut.ron b/assets/common/items/food/coconut.ron
index 94732f2cab..d9ee0f05a1 100644
--- a/assets/common/items/food/coconut.ron
+++ b/assets/common/items/food/coconut.ron
@@ -7,9 +7,9 @@ ItemDef(
             Buff((
                 kind: Saturation,
                 data: (
-                    strength: 20.0,
+                    strength: 10.0,
                     duration: Some((
-                            secs: 10,
+                            secs: 20,
                             nanos: 0,
                         )),
                     ),
diff --git a/assets/common/items/food/meat.ron b/assets/common/items/food/meat.ron
index 6f94633577..9ae711fcb3 100644
--- a/assets/common/items/food/meat.ron
+++ b/assets/common/items/food/meat.ron
@@ -7,9 +7,9 @@ ItemDef(
             Buff((
                 kind: Saturation,
                 data: (
-                    strength: 5.0,
+                    strength: 10.0,
                     duration: Some((
-                            secs: 10,
+                            secs: 5,
                             nanos: 0,
                         )),
                     ),
diff --git a/assets/common/items/food/meat/beast_small_cooked.ron b/assets/common/items/food/meat/beast_small_cooked.ron
index 1091b9bcee..e7c5a70809 100644
--- a/assets/common/items/food/meat/beast_small_cooked.ron
+++ b/assets/common/items/food/meat/beast_small_cooked.ron
@@ -7,9 +7,9 @@ ItemDef(
             Buff((
                 kind: Saturation,
                 data: (
-                    strength: 15.0,
+                    strength: 19.0,
                     duration: Some((
-                            secs: 10,
+                            secs: 8,
                             nanos: 0,
                         )),
                     ),
diff --git a/assets/common/items/food/meat/bird_large_cooked.ron b/assets/common/items/food/meat/bird_large_cooked.ron
index a1c94aa038..5664416901 100644
--- a/assets/common/items/food/meat/bird_large_cooked.ron
+++ b/assets/common/items/food/meat/bird_large_cooked.ron
@@ -7,9 +7,9 @@ ItemDef(
             Buff((
                 kind: Saturation,
                 data: (
-                    strength: 80.0,
+                    strength: 32.0,
                     duration: Some((
-                            secs: 10,
+                            secs: 25,
                             nanos: 0,
                         )),
                     ),
diff --git a/assets/common/items/food/mushroom_stick.ron b/assets/common/items/food/mushroom_stick.ron
index e756cdf58b..326eec6540 100644
--- a/assets/common/items/food/mushroom_stick.ron
+++ b/assets/common/items/food/mushroom_stick.ron
@@ -7,9 +7,9 @@ ItemDef(
             Buff((
                 kind: Saturation,
                 data: (
-                    strength: 20.0,
+                    strength: 10.0,
                     duration: Some((
-                            secs: 10,
+                            secs: 20,
                             nanos: 0,
                         )),
                     ),
diff --git a/assets/common/items/food/plainsalad.ron b/assets/common/items/food/plainsalad.ron
index d928b978d6..276648092e 100644
--- a/assets/common/items/food/plainsalad.ron
+++ b/assets/common/items/food/plainsalad.ron
@@ -7,9 +7,9 @@ ItemDef(
             Buff((
                 kind: Saturation,
                 data: (
-                    strength: 10.0,
+                    strength: 5.0,
                     duration: Some((
-                            secs: 10,
+                            secs: 20,
                             nanos: 0,
                         )),
                     ),
diff --git a/assets/common/items/food/sunflower_icetea.ron b/assets/common/items/food/sunflower_icetea.ron
index 5497914d26..aed7842885 100644
--- a/assets/common/items/food/sunflower_icetea.ron
+++ b/assets/common/items/food/sunflower_icetea.ron
@@ -7,9 +7,9 @@ ItemDef(
             Buff((
                 kind: Saturation,
                 data: (
-                    strength: 50.0,
+                    strength: 10.0,
                     duration: Some((
-                            secs: 10,
+                            secs: 50,
                             nanos: 0,
                         )),
                     ),
diff --git a/assets/common/items/food/tomatosalad.ron b/assets/common/items/food/tomatosalad.ron
index 6c6f4d35f3..eb550f9bb3 100644
--- a/assets/common/items/food/tomatosalad.ron
+++ b/assets/common/items/food/tomatosalad.ron
@@ -7,9 +7,9 @@ ItemDef(
             Buff((
                 kind: Saturation,
                 data: (
-                    strength: 15.0,
+                    strength: 10.0,
                     duration: Some((
-                            secs: 10,
+                            secs: 15,
                             nanos: 0,
                         )),
                     ),