home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10152e3
)
TCE: Make sure stomach is never fuller than 32.
author
Christian Heller
<c.heller@plomlompom.de>
Tue, 8 Mar 2016 01:37:52 +0000
(
02:37
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Tue, 8 Mar 2016 01:37:52 +0000
(
02:37
+0100)
plugins/server/TheCrawlingEater.py
patch
|
blob
|
history
diff --git
a/plugins/server/TheCrawlingEater.py
b/plugins/server/TheCrawlingEater.py
index b88368444e7a830c2df99b57b739aa86501a29ca..e23f00f2cb893e4350d413a37b864b4fd70dd86b 100644
(file)
--- a/
plugins/server/TheCrawlingEater.py
+++ b/
plugins/server/TheCrawlingEater.py
@@
-107,6
+107,8
@@
def actor_move(t):
log("You EAT.")
world_db["MAP"][pos] = ord("_")
t["T_STOMACH"] += 4
+ if t["T_STOMACH"] > 32:
+ t["T_STOMACH"] = 32
def make_map():