The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Topic started by: sdog on July 01, 2010, 05:32:30 pm

Title: suggestion: Waterways restriction
Post by: sdog on July 01, 2010, 05:32:30 pm
It would be very useful if the restriction 'can only use waterways' would also allow boats also to use open water fields adjacent to a coast field. This would facilitate interfacing with harbours and allow them to use estuaries.

I know there's a problem with horses walking on the water then.
Title: Re: suggestion: Waterways restriction
Post by: Isaac Eiland-Hall on July 01, 2010, 11:22:40 pm
Or maybe only water of the shallowest depth?
Title: Re: suggestion: Waterways restriction
Post by: jamespetts on July 02, 2010, 08:36:27 am
What is an "open water field" here? The way constraints system isn't really set up to interface with open water.
Title: Re: suggestion: Waterways restriction
Post by: wlindley on July 02, 2010, 02:58:14 pm
perhaps meaning "a water square bordered on at least one side by land" ...?

In other words, water squares so bordered would be treated as river tiles when checking for "use only waterways"... yes?
Title: Re: suggestion: Waterways restriction
Post by: sdog on July 02, 2010, 04:24:44 pm
Code: [Select]
In other words, water squares so bordered would be treated as river tiles when checking for "use only waterways"... yes?
Yes, indeed.

Code: [Select]
Or maybe only water of the shallowest depth?
In most maps i've seen this would be almost equal to no restriction at all.
Title: Re: suggestion: Waterways restriction
Post by: jamespetts on July 02, 2010, 10:21:46 pm
I don't think that there is an easy way of checking whether a water tile is bounded by land. And wouldn't that make the restrictions of limited effect, as (say) canal barges towed by horses could always skirt the coast from one canal/river to the next?