X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=plomrogue%2Fthings.py;h=1d9a4d021cc50425ae680584db3a570557fb1aa4;hb=1a8eb9fa4e8dfaae9a0508882f49575ab68fc45c;hp=6dbe8ef7eee4ccd2d4bb17354895edc0cc584044;hpb=cf2a7a164c24e82a5efc4cfe9c56c4b4f2c442df;p=plomrogue2 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