X-Git-Url: https://plomlompom.com/repos/?p=plomrogue;a=blobdiff_plain;f=plomrogue-server.py;h=e763a3dd292590c375f5f09be6dbcdd378bd5e56;hp=cb7f9b0cbb31b81d006330528971d99ec56a7151;hb=6d11d947ea8860da01922be28a0657b8e33f7a93;hpb=21873292b1a80e842bdb7b9ac8ee763d9ab2ead5 diff --git a/plomrogue-server.py b/plomrogue-server.py index cb7f9b0..e763a3d 100755 --- a/plomrogue-server.py +++ b/plomrogue-server.py @@ -455,7 +455,7 @@ def actor_wait(t): strong_write(io_db["file_out"], "LOG You wait.\n") -def actor_move(Thing): +def actor_move(t): pass @@ -484,12 +484,13 @@ def actor_drop(t): t["T_CARRIES"].remove(id) world_db["Things"][id]["carried"] = False if t == world_db["Things"][0]: - print("You drop an object.") + strong_write(io_db["file_out"], "LOG You drop an object.\n") elif t == world_db["Things"][0]: - print("You try to drop an object, but you own none.") + err = "You try to drop an object, but you own none." + strong_write(io_db["file_out"], "LOG " + err + "\n") -def actor_use(Thing): +def actor_use(t): pass