URL:
http://gna.org/patch/?2450
Summary: Effect Irrig_Possible
Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 02 Feb 2011 01:21:06 AM EET
Category: general
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.4.0
___
Details:
Requirement that there must be cardinally adjacent tile with oceanic terrain,
river, or irrigation, before tile can be irrigated is hardcoded.
Attached patch changes this to use effects/requirements framework. Tile can
be irrigated if it has Irrig_Possible effect.
New requirement range CAdjacent (Cardinally Adjacent) is added to support
this. Also added support (function get_tile_bonus() ) to effects system for
using tiles as effect target.
No rule changes in any of the shipped rulesets; they have effects providing
identical behavior to old hardcoded system.
___
File Attachments:
---
Date: Wed 02 Feb 2011 01:21:06 AM EET Name: EftIrrigPossible.diff.bz2 Size:
6kB By: cazfi
http://gna.org/patch/download.php?file_id=12200
___
Reply to this item at:
http://gna.org/patch/?2450
___
Message sent via/by Gna!
http://gna.org/
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev