Re: [Freeciv-Dev] Adding scripting language
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hello,
I just want to recall that some months ago Schaefer Frank R
<fschaef@xxxxxxxxxxxxxxx> started to implement city plans.
I invite you to have a look at
/freeciv/contrib/development/scripting-language
on ftp.freeciv.org .
Here is an example of cityplan :
(setq we-want-war ( 2 "Archers" 1 "Phalanx" 1 "Warriors" ) )
(setq want-no-war ( *growth 10 "Phalanx" 45 "Warriors" ) )
(setq we-want-more ( 1 "Archers" 10 "Phalanx" 45 "Warriors" ) )
(setq suck-totally ( 1 "Archers" 1 "Phalanx" 1 "Warriors" ) )
(setq grow-quick ( "Granary" *science "Phalanx" ) )
;; start immediately with 'we-want-war'
(require we-want-war ( immediate )
( "Paris" ) )
;; start from random and choose builds randomly
(require suck-totally ( startrandom random )
( "Metz" ) )
;; empty option list => no options set
;(require suck-totally ( )
; ( "Grenoble" "Nice" "Tours" ) )
Bye and happy coding,
- Re: [Freeciv-Dev] Adding scripting language, Jules Bean, 1999/09/01
- Re: [Freeciv-Dev] Adding scripting language, Artur Biesiadowski, 1999/09/01
- Re: [Freeciv-Dev] Adding scripting language, Artur Biesiadowski, 1999/09/01
- Re: [Freeciv-Dev] Adding scripting language, Chris Lawrence, 1999/09/01
- Re: [Freeciv-Dev] Adding scripting language, Artur Biesiadowski, 1999/09/01
- Re: [Freeciv-Dev] Adding scripting language,
Nicolas Brunel <=
- Re: [Freeciv-Dev] Adding scripting language, FRS, 1999/09/03
- [Freeciv-Dev] tunnels, Laurent Vibert, 1999/09/03
- Re: [Freeciv-Dev] tunnels, Reinier Post, 1999/09/03
- Re: [Freeciv-Dev] tunnels, Nicolas Brunel, 1999/09/03
- Re: [Freeciv-Dev] railroad movement, Peter Schaefer, 1999/09/06
- Re: [Freeciv-Dev] railroad movement, Reinier Post, 1999/09/07
- Re: [Freeciv-Dev] railroad movement, Artur Biesiadowski, 1999/09/08
- Re: [Freeciv-Dev] tunnels, Ed Cogburn, 1999/09/03
- Re: [Freeciv-Dev] tunnels, Reinier Post, 1999/09/03
- Re: [Freeciv-Dev] Adding scripting language, Alex Zepeda, 1999/09/01
|
|