I was thinking about how to handle scripts that were used in original DK. I have two alternatives. I could write my own parser/compiler or use existing one. After some thinking i decided to use the existing LUA scripting language. This will take a few months from development time. Now i only have to write a tool that will convert DK scripts to LUA scripts. That will take much less time than writing my own copiler.