How would it be possible to create corporations using Lua? Basically, I would like to create Lua objects that could do the following:
Produce "gold", "science", "food", etc. and store these values, with the actual values of these to one's empire determined by other functions (taxation...