URL:
<http://gna.org/patch/?5616>
Summary: Spreading extras
Project: Freeciv
Submitted by: sveinung
Submitted on: Fri 26 Dec 2014 01:44:48 AM UTC
Category: None
Priority: 5 - Normal
Status: In Progress
Privacy: Public
Assigned to: sveinung
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 3.0.0
_______________________________________________________
Details:
A spreading extra has a probability to spread each turn. If it spreads it will
pick a direction, test if it can spread in that direction and then spread.
Use cases:
* Dirt Road (auto on city tile) spreads out of a city.
* Whaler unit builds a Rain Deer extra on an island. The Rain Deers spread to
cover the island.
* Spy unit builds a Pest Insect deep inside enemy terrain. Unless the enemy
gets rid of them they will spread and reduce food production for his cities.
WIP patch. Still missing:
* Notification. A worker may have to give up what he is working on if the
wrong extra spreads to its tile. Should tile owner e notified? A player that
can see the tile?
* Test how current implementation affects performance.
* Probability should be effect controlled. An effect for that + a cache may
also eliminate the need to introduce an extra flag.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 26 Dec 2014 01:44:48 AM UTC Name:
0001-A-spreading-extra-has-a-probability-to-spread-each-t.patch Size: 5kB
By: sveinung
<http://gna.org/patch/download.php?file_id=23300>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?5616>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev