I agree, and it will be done - not for version 0.9, unfortunately, but it will be done.
For now, I will be willing to add the entries for you - with the power of regex, I’m sure it will be a heckuvalot easier for me than you. So feel free to tell me something like “everything in this item file should be assigned to this tile, everything with that type should be assigned to this tile” etc. and so on for now.
It looks right now like the generic “book” icon is
"fg" : 883,
“bg” : -1,
“rotates” : false,
“multitile” : false
So I can quickly apply that to ALL book ids if you want, for example. For now.
Okay, to isolate the ids in the booklist, I’m using the following regex replacements. This should work in ANY item file.
{([^}]\n) “id” -> “id”
“id”."(.)".\r\n([^}]\r\n)* -> \1\n
.}.\r\n -> nothing
This will give you JUST the ids for items in that file (plus an easily deletable leading and trailing array bracket)
Then, to give that the new format:
(.*) -> {\n “id” : “\1”,\n “fg” : 883,\n “bg” : -1,\n “rotates” : false,\n “multitile” : false\n },
Which gives me:
http://pastebin.com/YdRhrAKV
Is that helpful? I can do that to whatever file you want with whatever item file you want, no problems.