extern const obituary_t obituaries[];
extern const hint_t hints[];
extern long conditions[];
-extern const long actspk[];
extern const motion_t motions[];
extern const action_t actions[];
{}
}};
-const long actspk[] = {{
- NO_MESSAGE,
-{}
-}};
-
const motion_t motions[] = {{
{}
}};
sys.stderr.write("%s is not a known word classifier\n" % attrs["type"])
sys.exit(1)
-def get_actspk(actspk):
- res = ""
- for (i, word) in actspk.items():
- res += " %s,\n" % word
- return res
-
def buildtravel(locs, objs, voc):
ltravel = []
lkeys = []
get_obituaries(db["obituaries"]),
get_hints(db["hints"], db["arbitrary_messages"]),
get_condbits(db["locations"]),
- get_actspk(db["actspk"]),
get_motions(db["motions"]),
get_actions(db["actions"]),
)
len(db["classes"])-1,
len(db["obituaries"]),
len(db["turn_thresholds"]),
- len(db["actspk"]),
+ len(db["actions"]),
len(travel),
get_refs(db["arbitrary_messages"]),
get_refs(db["locations"]),