From: Christian Heller Date: Thu, 17 Dec 2020 00:32:17 +0000 (+0100) Subject: Start with energy 50, don't force dancing up to that value. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bprefix%7D%7D/static/git-favicon.png?a=commitdiff_plain;h=1a8eb9fa4e8dfaae9a0508882f49575ab68fc45c;p=plomrogue2 Start with energy 50, don't force dancing up to that value. --- 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