URL:
<http://gna.org/patch/?3829>
Summary: Allow compatible roads
Project: Freeciv
Submitted by: persia
Submitted on: Wed 03 Apr 2013 11:11:55 AM GMT
Category: general
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release:
_______________________________________________________
Details:
This patch allows one to define multiple roads that both behave similarly
and allow continuous transit at the provided move_cost between them. Any
movement from a tile containing a road to another tile containing a compatible
road will entail a move_cost of the destination road: for example, if one
defined a "Mountain Trail" road with a move_cost of 3, which integrated with
"Road" (and "Road" integrated with "Mountain Trail"), units native to both
"Road" and "Mountain Trail" would be able to move from any tile with a "Road"
to a tile with a "Mountain Trail" at one third the normal cost of entering a
"Mountain" tile (perhaps interesting for mounted troops who normally would be
forced to end their turn atop the mountain). Similarly, one would be able to
leave the "Mountain Trail" containing tile and move into a "Road" tile with
only the "Road" move cost being deducted from the unit movement points.
As this offers considerable incentive for ruleset authors to further
differentiate roads (more options for roads, easier to have different roads
for different purposes, etc.), the maxiumum number of roads has been increased
from 8 to 16. Application of this patch will require a capability string
change, as the network protocol has changed. This patch expects that patch
#3820 has already been applied (and may have other offsets, but no other
direct dependencies).
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 03 Apr 2013 11:11:55 AM GMT Name: allow-compatible-roads.patch
Size: 14kB By: persia
<http://gna.org/patch/download.php?file_id=17665>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?3829>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev