1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
struct string_info { u32 offset; u32 flags; }; struct strings { u32 nmemb; struct string_info info[nmemb]; }; struct item { u32 id; u16 flags; u16 stack; u16 type; u16 resource; u16 targets; select (type) { 4) struct weapon weapon; 5) struct armor armor; 7) struct usable usable; 12) struct puppet puppet; *) struct general general; } data; struct strings strings; };