User talk:Shakesoda

Lua theming simplification concepts
The goal of these concepts is to simplify theming for new users without hurting the ability of advanced/older users to make complex themes their way.

Here, local t = Def.ActorFrame is foregone in favor of a "magic" table (which resides somewhere in scripts, really). Eliminates the need for creating big tables all at once or awkward array syntax (t[#t+1] = foo)

Concept 2
Building from the previous concept, helper functions (which make and modify objects on a stack) can be created as such: