Summary: Add ai type argument to Lua create_player()
Submitted by: jtn
Submitted on: Fri Jun 15 23:32:30 2012
Priority: 3 - Low
Assigned to: None
Discussion Lock: Any
Planned Release: 2.5.0
Currently, the only way to create a player with a non-default AI type in S2_4
is with the "/create" server command. This is probably sufficient for the
design goal of making it possible to run games with different AIs competing.
However, it should be pretty easy to extend the Lua script function
create_player() to accept an AI type argument too. It could have a default
value and thus not break (hypothetical) scripts created since the 2.4 file
Would be nice for 2.4.0, but not a blocker.
Reply to this item at:
Message sent via/by Gna!
Freeciv-dev mailing list