From 1a8eb9fa4e8dfaae9a0508882f49575ab68fc45c Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Thu, 17 Dec 2020 01:32:17 +0100
Subject: [PATCH] Start with energy 50, don't force dancing up to that value.

---
 plomrogue/tasks.py  | 2 +-
 plomrogue/things.py | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/plomrogue/tasks.py b/plomrogue/tasks.py
index 4a0e147..10e4055 100644
--- a/plomrogue/tasks.py
+++ b/plomrogue/tasks.py
@@ -275,7 +275,7 @@ class Task_INTOXICATE(Task):
             self.thing.game.remove_thing(eaten)
         elif self.thing.carrying.type_ == 'Stimulant':
             self.thing.send_msg('CHAT "You feel a flash of energy."')
-            self.thing.energy += 100
+            self.thing.energy += 50
             eaten = self.thing.uncarry()
             self.thing.game.remove_thing(eaten)
 
diff --git a/plomrogue/things.py b/plomrogue/things.py
index 6dbe8ef..1d9a4d0 100644
--- a/plomrogue/things.py
+++ b/plomrogue/things.py
@@ -497,7 +497,7 @@ class Thing_CrateSpawner(ThingSpawner):
 
 
 class ThingAnimate(Thing):
-    energy = 0
+    energy = 50
 
     def __init__(self, *args, **kwargs):
         super().__init__(*args, **kwargs)
@@ -693,7 +693,7 @@ class Thing_Player(ThingAnimate):
             if random.random() > 0.9:
                 self.energy -= 1
                 self.game.changed = True
-        if 1000000 * random.random() < self.energy:
+        if 1000000 * random.random() < self.energy - 50:
             self.send_msg('CHAT "Your body tries to '
                           'dance off its energy surplus."')
             self.dancing += 50
-- 
2.30.2