X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=server%2Fai.py;h=21241fcd5b900502e6441d6ad3cbbed4ecceebd7;hb=6f76684b256fdbd680224bdc47d32ef332d1a852;hp=9d5fc8d2282b0a34d06fab26d2c224391935ea40;hpb=08f8592f1a1e5d340b6c2372551f0a3da28a07d8;p=plomrogue diff --git a/server/ai.py b/server/ai.py index 9d5fc8d..21241fc 100644 --- a/server/ai.py +++ b/server/ai.py @@ -1,3 +1,8 @@ +# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3 +# or any later version. For details on its copyright, license, and warranties, +# see the file NOTICE in the root directory of the PlomRogue source package. + + from server.config.world_data import world_db @@ -280,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: