Complete.Org: Mailing Lists: Archives: freeciv: April 2003:
[Freeciv] Re: Technology
Home

[Freeciv] Re: Technology

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv@xxxxxxxxxxx
Subject: [Freeciv] Re: Technology
From: Christian Knoke <chrisk@xxxxxxxx>
Date: Sun, 13 Apr 2003 20:20:35 +0200

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.


[Prev in Thread] Current Thread [Next in Thread]