home · contact · privacy
Start with energy 50, don't force dancing up to that value.
[plomrogue2] / plomrogue / things.py
index 6dbe8ef7eee4ccd2d4bb17354895edc0cc584044..1d9a4d021cc50425ae680584db3a570557fb1aa4 100644 (file)
@@ -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