From: Christian Heller Date: Wed, 25 Feb 2015 09:40:25 +0000 (+0100) Subject: Server/py: Add error message on manipulating ThingAction yet undefined. X-Git-Tag: tce~459 X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/add_task?a=commitdiff_plain;h=a6fd795234fd4e4f9aebcfdc1771afd22c3c9c23;p=plomrogue Server/py: Add error message on manipulating ThingAction yet undefined. --- diff --git a/plomrogue-server.py b/plomrogue-server.py index b6196c3..edefac7 100755 --- 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.