Project Zomboid exchanges percepts and actions through ports with the Silk OTP agent. The body asks the goal setter and planner for decisions and receives goals and plans. Logical responsibilities; helper processes omitted.
JVM · Clojure host + Kahlua scripting
Silk OTP
Clojure host
Goal-based
Project Zomboid
Environment
Java + Kahlua
Ports
Agent
Memory · reflexes · actions
Goal setter
Priority lookup table
Planner
HTN method table
Percepts
Ask / answer
Actions
Director
gen-server
verbs → out-port
REPL thread
Silk eval · verbs are messages
send [:say …] to the director
nREPL · 7888
Emacs
CIDER · REPL client
Silk OTP message
nREPL · Emacs
call
1×
loop
1
-
3
modes
space
play
→
step
esc
picture