Thread:Extension talk:Scribunto/ invoke without repeating all parameters?/reply (6)

If I understand you correctly, you're thinking of this along the lines of a C++ class something like this: and thinking that a Lua table like this should somehow work the same way: That's just not how Lua works. Functions in Lua, unlike in C++, are first-class objects. The function assigned to  has no idea that it happens to be a value in a table, and in fact could be a value in multiple tables as well as being stored in local or global variables. So you always have to specify the  table in a situation like this.