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:
51bb20d
)
Server/py: Add error message on manipulating ThingAction yet undefined.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 25 Feb 2015 09:40:25 +0000
(10:40 +0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 25 Feb 2015 09:40:25 +0000
(10:40 +0100)
plomrogue-server.py
patch
|
blob
|
history
diff --git
a/plomrogue-server.py
b/plomrogue-server.py
index b6196c3c18100c94e57dd261928f38d6ba9a5d18..edefac75198cb973130ec3f0e936de5f742db9f1 100755
(executable)
--- a/
plomrogue-server.py
+++ b/
plomrogue-server.py
@@
-368,6
+368,9
@@
def command_taeffort(str_int):
val = integer_test(str_int, 0, 255)
if val:
world_db["thing actions"][command_taid.id]["TA_EFFORT"] = val
+ else:
+ print("No thing action defined to manipulate yet.")
+
"""Commands database.