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:
1a9bd85
)
Server/py: Don't replicate wrongful actor_use() behavior from original.
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 7 Mar 2015 21:36:12 +0000
(22:36 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Sat, 7 Mar 2015 21:36:12 +0000
(22:36 +0100)
plomrogue-server.py
patch
|
blob
|
history
diff --git
a/plomrogue-server.py
b/plomrogue-server.py
index cc7ddf761158aa61365ba36f2dda000c0fc45a4c..2b65287478bdfd3f462974d97e11ae341600fc8a 100755
(executable)
--- a/
plomrogue-server.py
+++ b/
plomrogue-server.py
@@
-668,8
+668,6
@@
def actor_use(t):
t["T_CARRIES"].remove(id)
del world_db["Things"][id]
t["T_SATIATION"] += world_db["ThingTypes"][type]["TT_CONSUMABLE"]
- t["T_LIFEPOINTS"] += 1
- # Wrongly increment HPs is a replica of the original code.
strong_write(io_db["file_out"], "LOG You consume this object.\n")
else:
strong_write(io_db["file_out"], "LOG You try to use this object," +