Hello.

I think the Python API is now in (pre) alpha stage :)
Script can move units, attack, recruit, things like that. It has some
basic information on attacktypes, unit types, but is missing things like
defense on a square.

Complete reference on that API is at
http://www.wesnoth.org/wiki/ReferencePythonAPI

I could use help from Python developers to:
* say whether the exposed API makes sense, what could be changed / added
/ ...
* actually test things, to see what needs improving / fixing.

Warning: the script can easily crash the game. In particular, if you
simply try to move a unit by specifying a location where there is no
unit, the game will simply assert. I'll add safeguards, of course :)

Nicolas

Reply via email to