Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2005:
[Freeciv-Dev] (PR#12706) Events framework
Home

[Freeciv-Dev] (PR#12706) Events framework

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#12706) Events framework
From: "Vasco Alexandre da Silva Costa" <vasc@xxxxxxxxxxxxxx>
Date: Sun, 3 Apr 2005 11:54:12 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=12706 >

> [vasc - Sun Apr 03 18:32:08 2005]:
> 
> Hello,
> 
> Here is a small Lua toy that you may find interesting. Basically it
> allows running Lua commands via the civserver console. I also made a
> couple of custom Freeciv functions that will be acessible from Lua.
> Including:
> 
> * log (logs messages to the console)
> * notify (sends a message to a nation)
> 
> * foundNewTech(gives a nation a new tech)
> * changeGold(modifies a nation's gold by a certain amount)
> 
> To try it out:
> 
> 1) Get Lua from:
>    http://www.lua.org/ftp/lua-5.0.2.tar.gz
> 
> 2) cd freeciv/
> 
> 3) tar zxvf lua-5.0.2.tar.gz
> 
> 4) mv lua-5.0.2 lua
> 

Forgot that you need to build Lua :O)

cd lua; ./build; cd ..




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