Skip to content

[1824] or [General] 2 lanes does not always work for tokening #12006

@perwestling

Description

@perwestling

This is a possibly general issue discovered during 1824 improvement of map, namely the Sarajevo off board.

In the 1824 directory, map.rb, change the Sarajevo definitions to:

        SARAJEVO = 'city=revenue:yellow_10|green_10|brown_50|gray_50;'\
                   'path=a:1,b:_0,lanes:2,terminal:1;path=a:2,b:_0,terminal:1;border=edge:1;'\
                   'path=a:3,b:_0,terminal:1;path=a:4,b:_0,terminal:1;border=edge:4'
        SARAJEVO_W = 'path=a:2,b:4,b_lane:2.0;path=a:3,b:4,b_lane:2.1;border=edge:4;border=edge:5'
        SARAJEVO_E = 'path=a:1,b:2;path=a:0,b:3;border=edge:0;border=edge:1'
        SARAJEVO_SW = 'border=edge:2;border=edge:3;border=edge:4'
        SARAJEVO_SE = 'path=a:2,b:3;border=edge:1;border=edge:2;border=edge:3'

This makes Sarajevo go from (with some tokens and hexes added):

Image

To:

Image

As you can see it is possible to lay the tile in Triest but BH is not allowed to token it.

So for some reason it seems there is a different when it comes to reach for tokening compared to build.

What's your Game ID?

N/A - code change, not specific game

How to Reproduce the Bug?

There is a reference game checked in: public/fixtures/1824/receivership_and_emergency_buy.json.
Import this as an hotseat game and the game breaks at the tokening of Trieste.

Which Browser / Platform?

Have gotten this in different Chrome and Firefox versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    1824mapIssues relating to map display

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions