home
·
contact
·
privacy
projects
/
plomrogue
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TCE: Fix AI bug.
[plomrogue]
/
plugins
/
server
/
TheCrawlingEater.py
diff --git
a/plugins/server/TheCrawlingEater.py
b/plugins/server/TheCrawlingEater.py
index e2de2e6f55d1aa8de92e6643c5cfd9e763bce629..b7bbee56d07f3632822dc66e734279454ce67ffe 100644
(file)
--- a/
plugins/server/TheCrawlingEater.py
+++ b/
plugins/server/TheCrawlingEater.py
@@
-820,7
+820,7
@@
def ai(t):
world_db["terrain_fullness"](t["pos"]) <= 3:
t["T_COMMAND"] = thing_action_id("drop")
return
world_db["terrain_fullness"](t["pos"]) <= 3:
t["T_COMMAND"] = thing_action_id("drop")
return
- elif world_db["get_dir_to_target"](t, "crack"):
+ elif world_db["get_dir_to_target"](t, "crack")
[0]
:
return
if need[0] in {"fluid_certain", "fluid_potential"}:
if standing_on_fluid(t):
return
if need[0] in {"fluid_certain", "fluid_potential"}:
if standing_on_fluid(t):