KhymChanur: I tried giving a flag a string value in an item kind definition. I had to add a little code to engine/info.lua so that grab_flags() could deal with strings, and I think I did it right, but it's not working. When I add code to the item to print its flag's value, it just says "nil" if I've wished for the object in the game session which ran the object kind code in the absence of the cache, but prints nothing if the item kind information is taken from the cache; not quite sure what that means.
I've made sure that setting and getting strings to/from flags works, so that's not the problem.
I'd look into this myself, but I don't know where to start.
ToME Wiki