Added item type word to index converter

This will help with INI values: able to use words like "block", "npc" instead of type index like 0, 1, 3, etc.
Tiny fix
Update of rotation tables engine