URL:
<http://gna.org/patch/?4799>
Summary: Unhardcode "IgWall"
Project: Freeciv
Submitted by: cazfi
Submitted on: Fri 13 Jun 2014 05:46:54 AM EEST
Category: general
Priority: 5 - Normal
Status: In Progress
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.6.0
_______________________________________________________
Details:
Attached patch removes "IgWall" unit type flag. It has never been very clean
implementation in that it causes unit to ignore *any* kind of Defend_Bonus
effects, with no way of ruleset author to affect that. Since we have
"UnitFlag" requirement type and user defined unit type flags, it's much better
to implement this kind of ruleset features as negated ("not present")
requirements for the defense bonus effects.
In addition to removing the IgWall -flag from the engine, attached patch adds
"Howitzer" user defined flag to rulesets having IgWall Howitzer. I'm going to
change that to next version of the patch, though. As there's just one unit
type where it applies, it's better to use "UnitType" requirement directly than
"UnitFlag".
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 13 Jun 2014 05:46:54 AM EEST Name: IgWallRm.patch.bz2 Size: 6kB
By: cazfi
<http://gna.org/patch/download.php?file_id=20993>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?4799>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev