home
·
contact
·
privacy
projects
/
plomrogue2
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start with energy 50, don't force dancing up to that value.
[plomrogue2]
/
plomrogue
/
things.py
diff --git
a/plomrogue/things.py
b/plomrogue/things.py
index 6dbe8ef7eee4ccd2d4bb17354895edc0cc584044..1d9a4d021cc50425ae680584db3a570557fb1aa4 100644
(file)
--- a/
plomrogue/things.py
+++ b/
plomrogue/things.py
@@
-497,7
+497,7
@@
class Thing_CrateSpawner(ThingSpawner):
class ThingAnimate(Thing):
class ThingAnimate(Thing):
- energy = 0
+ energy =
5
0
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
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 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
self.send_msg('CHAT "Your body tries to '
'dance off its energy surplus."')
self.dancing += 50