tobymao / 18xx

A platform for playing 18xx games online!
https://18xx.games
Other
274 stars 179 forks source link

18Rhl Trajektanstalt power cannot be used before the normal tile lay as it is supposed to #10931

Open bonnevier opened 1 month ago

bonnevier commented 1 month ago

What's your Game ID? https://18xx.games/game/166569

I wanted to use Trajektanstalt to upgrade F9 and lay E10 as my normal tile lay. Nothing in the rules says this can’t be done. I had to lay my normal tile lay first and then use Trajektanstalt instead, which did not give me what I wanted.

This is the specific turn when I wanted to do this: https://18xx.games/game/166569?action=128

How to Reproduce the Bug? I guess just try to use Trajektanstalt before the normal tile lay. Doesn’t seem to work.

Which Browser / Platform? all

philcampeau commented 4 weeks ago

I imported the game and it worked on my end. Did you click on the button for the Trajektanstalt before attempting to do the tile lay?

bonnevier commented 3 weeks ago

Hi,I could USE it, but I couldn’t do my normal tile lay action afterwards. It went directly to token and buy trains, if I remember correctly. /MartinSkickat från min iPhone18 juni 2024 kl. 22:35 skrev philcampeau @.***>: I imported the game and it worked on my end. Did you click on the button for the Trajektanstalt before attempting to do the tile lay?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

philcampeau commented 3 weeks ago

Ok, I think I see the issue in the code now. I'll look into this more later today.

philcampeau commented 3 weeks ago

Alright. I think I understand the problem, but the solution is a little trickier. Right now, the way the teleport function works throughout the site, it uses the tile_lay step for the tile, and then moves to the token step for the token. This usually works because, I guess, other games that have teleports usually have it use the tile lay of the corp.

I'll have to chat with the other devs.

bonnevier commented 3 weeks ago

Cool. Thanks for looking into it. Good luck!/MartinSkickat från min iPhone21 juni 2024 kl. 23:23 skrev philcampeau @.***>: Alright. I think I understand the problem, but the solution is a little trickier. Right now, the way the teleport function works throughout the site, it uses the tile_lay step for the tile, and then moves to the token step for the token. This usually works because, I guess, other games that have teleports usually have it use the tile lay of the corp. I'll have to chat with the other devs.

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>