Lua functions geared towards game development