Follow-up Comment #8, patch #5306 (project freeciv):
_I totally agree. Unfortunately I have to read the code with more attention._
Here:
_ || wanted_action == ACTION_SPY_INCITE_CITY
|| wanted_action == ACTION_SPY_BRIBE_UNIT
- || wanted_action == ACTION_CAPTURE_UNITS) {
+ || wanted_action == ACTION_CAPTURE_UNITS
+ || wanted_action == ACTION_EXPEL_UNIT) {
/* Why this is a hard requirement: There is currently no point in
* allowing the listed actions against domestic targets.
* (Possible counter argument: crazy hack involving the Lua callback_
_The same thing for find_closest_city(). I've added the function in the patch,
but I don't know how I can insert "Capital" reference in the code._
I think that sending it back to the same city the diplomat would have fled to
(find_closest_city) is an acceptable alternative to sending it to the capital
or to its home city.
_Capital is a city where you can find the Palace... It's correct?_
The Capital_City effect decides what the capital is. In classic it looks for
the palace.
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?5306>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev