X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=server%2Fai.py;fp=server%2Fai.py;h=21241fcd5b900502e6441d6ad3cbbed4ecceebd7;hb=009f06a7a2baef5af4474b18fd75b19c05befb4f;hp=ed65fbdfd13fa80a4b53ff9c49cf348a85de2587;hpb=778a1f997e42e4a5a9cbe60140b4ebe8c0b1c37f;p=plomrogue diff --git a/server/ai.py b/server/ai.py index ed65fbd..21241fc 100644 --- a/server/ai.py +++ b/server/ai.py @@ -285,7 +285,7 @@ def ai(t): elif standing_on_food(t): t["T_COMMAND"] = [id for id in world_db["ThingActions"] if world_db["ThingActions"][id]["TA_NAME"] - == "pick_up"][0] + == "pickup"][0] else: going_to_known_food_spot = get_dir_to_target(t, "c") if not going_to_known_food_spot: