You mean the switch statement? Tables make it redundant in Lua, because of code like this. It's essentially how to do the switch statement in Lua.