[Freeciv-Dev] River sailing: patch
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Hi again!
So here is a much better patch, which features the following:
Moving along river is natural now.
It's impossible to upgrade units on rivers to units that can not be on rivers.
Goto and auto-explore does work. (There is actually one problem in
gotohand.c:find_the_shortest_path(): If there is a river tile with adjacent
sea in the corner only, and there is no way to get to this tile sailing on
the river you probably won't get there, but this is very unlikely. I simply
have no idea how to fix it.)
Sailing through mountain disabled (though opinions vary)
a terrain.ruleset field is added to control the extra cost of
sailing on rivers, as a default set to 1/3 (so sailing on rivers
costs 1 and 1/3 movement point). This makes Trireme to be able
to make 2 moves on river, while 3 on the sea.
Thanks to Erik Sigra for very good comments.
/Jerzy
sail_river.diff.gz
Description: sail_river.diff.gz
- [Freeciv-Dev] River sailing: patch,
Jerzy Klek <=
|
|