In this next exercise, we will build a simple object using data in a table. This script gets the job done, but is not a very effective means of going about it. Instead, modify it so that given this description, the script creates the object.
Finally, we can improve on the ideas in the previous exercise by making use of Lua syntax to make the description of Ecotect entities more self-documenting. This script defines several zones which will be created in the Ecotect model. Note by making use of string keys for the table elements, you do not need to remember a particular order to list parameters. Using the ideas from this script, come up with a similar approach to create objects.