home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
TCE: Make sure stomach is never fuller than 32.
[plomrogue]
/
plugins
/
server
/
TheCrawlingEater.py
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():