URL:
<http://gna.org/patch/?962>
Summary: Add "slowed" and "max_movement" methods to the
python interface for unit
Project: Battle for Wesnoth
Submitted by: mesilliac
Submitted on: Friday 02/01/2008 at 21:20
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
The python_ai unit interface is currently missing "unit.slowed" (to test if a
unit is slowed or not) and "unit.max_movement" (a unit's maximum movement
points).
They were pretty straightforward to add and have been tested working
correctly by me.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Friday 02/01/2008 at 21:20 Name: ai_python.diff Size: 2kB By:
mesilliac
patch to ai_python.cpp, changelog and about.cfg
<http://gna.org/patch/download.php?file_id=3709>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?962>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs