Re: Technology
Christian Knoke <chrisk-IBfkmQ/[email protected]>
| Newsgroups | gmane.games.freeciv.general |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Apr 13, 2003 at 09:51:46AM -0700, David Paigen wrote: > > func CMA_loop( city ) // run when cma needed > do_all_normal_cma_processing() > if( option.script_filename exists ) > tclshell = fork_tcl_shell() > set_tcl_variables( tclshell, city ) > run_tcl_script( tclshell, option.script_filename ) > get_tcl_return_values( tclshell ) > close_tcl_shell( tclshell ) > endif > endfunc I like this idea, esp. the use of tcl, which gives you additionally access to an easy programmable GUI. > The script should be prevented from: > Buying things > setting tax rates > moving units > seeing outside the city limits > setting tech priorities Why this? The only thing what would be hard to play against is moving units, but I think one can handle it. Christian -- Christian Knoke * * * http://www.enter.de/~c.knoke/ * * * * * * * * * Ceterum censeo Microsoft esse dividendum.