Author Topic: [r8076] Stackable docks?  (Read 260 times)

0 Members and 1 Guest are viewing this topic.

Offline Spacethingy

[r8076] Stackable docks?
« on: February 12, 2017, 06:44:47 PM »



Single tile docks (i.e. ones with no piers extending into the water) can be connected together up a slope. Is this a bug or a feature?  ;D
Life is like a new Simutrans transformer:

You only get one of them, and you can't have it on a slope.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4067
  • Total likes: 98
  • Helpful: 146
  • Languages: EN, DE, AT
Re: [r8076] Stackable docks?
« Reply #1 on: February 12, 2017, 07:23:04 PM »
Thanks for posting! There is no need to stack harbours, you can build them on any straight slope you like. I doubt it was ever working correctly. I could reproduce this in 111.3, which predates known history :)

Should this be fixed? Or has this flaw already mastered the transition from bug to feature? I always like it, when recent bug reports reveal ancient bugs.
Parsley, sage, rosemary, and maggikraut.

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4451
  • Total likes: 141
  • Helpful: 105
  • Languages: EN, NO
Re: [r8076] Stackable docks?
« Reply #2 on: February 12, 2017, 08:39:54 PM »
Is this in any way useful, or does it only allow ugly constructions?

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 8561
  • Total likes: 253
  • Helpful: 226
  • Languages: De,EN,JP
Re: [r8076] Stackable docks?
« Reply #3 on: February 12, 2017, 11:37:11 PM »
I think it was shortly introduced after rivers, although the check for a nearby river seems to be not really executed. But without this, having extensive harbour near rivers were difficult. But since now lakes return water too, how about putting the restriction "next to water" back in.

Offline Dwachs

  • DevTeam, Coder/patcher
  • Administrator
  • *
  • Posts: 4067
  • Total likes: 98
  • Helpful: 146
  • Languages: EN, DE, AT
Re: [r8076] Stackable docks?
« Reply #4 on: February 13, 2017, 05:59:08 PM »
I committed a fix in r8086 (The very first computer I got my hands on was an 8086, too.)

The check was missing for 1x1 docks. I added an extra check requiring water or water ways in front of such docks.
Parsley, sage, rosemary, and maggikraut.