Lua API reference: hero and tiles