- if world_db["get_dir_to_target"](t, need[0])[0]:
- return
- elif t["T_STOMACH"] < 32 and \
- need[0] in {"fluid_certain", "fluid_potential"} and \
- world_db["get_dir_to_target"](t, "food")[0]:
+ if need[0] in {"fluid_certain", "fluid_potential", "food"}:
+ if world_db["get_dir_to_target"](t, need[0])[0]:
+ return
+ elif world_db["get_dir_to_target"](t, "hunt")[0]:
+ return
+ elif need[0] != "food" and t["T_STOMACH"] < 32 and \
+ world_db["get_dir_to_target"](t, "food")[0]:
+ return
+ elif world_db["get_dir_to_target"](t, need[0])[0]: