How would it be possible to create corporations using Lua? Basically, I would like to create Lua objects that could do the following:
Any help is appreciated.
- Produce "gold", "science", "food", etc. and store these values, with the actual values of these to one's empire determined by other functions (taxation, contracts,etc.)
- Response to the existence of specific "corporate buildings" (such status will be determined with SQL/XML)
- Be headquartered in a specific city, producing bonuses for that location.
- Starting based on technological, social, economic, and diplomatic state.
- Being able to grow from starting.
Any help is appreciated.