struct AIElementInfo { const char *key; double cdef, cmin, cmax; bool triggered; int tdef, tmin, tmax; bool negative; };