There's a set number of features, but Lua does leave some room for doing things your own way, but no real way to get new things in.
Hey Martino, can you add a function for placing units on an X,Y grid? It'd be extremely helpful and probably easy to code.