The International Simutrans Forum

 

Author Topic: narrowboat inconsistencies  (Read 406 times)

0 Members and 1 Guest are viewing this topic.

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2632
    • My addons, mostly roadsigns
  • Languages: EN, CS
narrowboat inconsistencies
« on: March 27, 2019, 11:26:34 PM »
name=SemiDieselNarrowboatOil has engine_type=steam

Steam narrowboat for bulk and long goods cannot be built. They do not show up in "append" only in "insert" mode, and seem to have a constraint[prev] that cannot be satisfied. But looking at the dat file, these look the same as piece or cooled goods steam narrowboats, which can be built just fine.

Unpowered narrowboats should not have constraint[prev]=none, they must be pulled by something - either a powered narrowboat or horses.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18587
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: narrowboat inconsistencies
« Reply #1 on: March 29, 2019, 12:44:07 AM »
Thank you for the report.

I have partly fixed this: the issue with the bulk and long steam powered narrowboats is more complex: there is an issue in the code relating to multiple liveries and freight images that causes problems with the nodes which I will have to investigate when I get time. I am moving this to the section dealing with the code in consequence of this.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18587
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: narrowboat inconsistencies
« Reply #2 on: April 13, 2019, 10:16:07 PM »
I think that I have managed to fix the remaining issue with this: I should be grateful if you could re-test and confirm with to-morrow's nightly build.

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2632
    • My addons, mostly roadsigns
  • Languages: EN, CS
Re: narrowboat inconsistencies
« Reply #3 on: April 17, 2019, 08:16:03 PM »
I think that I have managed to fix the remaining issue with this: I should be grateful if you could re-test and confirm with to-morrow's nightly build.

I confirm the issue with narrowboats is solved.

However I found something similar with WoodenHullDumbBarge* :
They can be pulled (by horses, steam tug or some diesel barge) or pushed (by bantam pusher). Thus they have constraint[next]=none as well as constrain[prev]=none
Now the game is in 1915 so bantam pusher is not available yet. I can build the WoodenHullDumbBarge for Bulk and Long goods as first vehicle (to be pushed), but not the others.
I had a look at the dat file but can't see any difference between the barges. Only that the bantam pusher has no constraint for Oil barge...

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18587
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: narrowboat inconsistencies
« Reply #4 on: April 17, 2019, 08:47:36 PM »
Thank you for that. I have fixed the issue with the oil barges not being in the constraint set; I should be grateful if you could test with to-morrow's nightly build as to the extent to which this assists. If this requires more than this, I am likely to have to wait until I get home to look into this.

Offline Vladki cz

  • Devotee
  • *
  • Posts: 2632
    • My addons, mostly roadsigns
  • Languages: EN, CS
Re: narrowboat inconsistencies
« Reply #5 on: April 24, 2019, 01:54:43 PM »
It is still the same - only bulk and long goods wooden hull unpowered barges can be built as first vehicle of convoy. With timeline off, the same applies for steel hull unpowered barges.

If I try to build bantam pusher, and put any other barge than long or bulk goods, it looks as incomplete, requiring something in front of the barge - i.e. steam tug or horses...