URL:
  <http://gna.org/patch/?3320>

                 Summary: Add ai type argument to Lua create_player()
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Fri Jun 15 23:32:30 2012
                Category: None
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 2.5.0

    _______________________________________________________

Details:

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
format freeze.

Would be nice for 2.4.0, but not a blocker.




    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?3320>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to