Parked train livery ignores the station's configured train

Aperta
#72 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
game-dev

Direzione di ricerca

Start in TrainTravel.onRoomChange, where the parked train's livery is picked at random the first time a station is entered, and compare it with the per-station train value in the config (stations.<key>.train). Reproduce by entering Tokyo or Osaka and checking which livery is parked. Done when each station parks the livery its config names, or the per-station train field is removed; the issue leaves that choice to the maintainers, so confirm it before editing.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Config stations.<key>.train says Tokyo and Osaka are train-orange and Inaka/Yukimura are train-green, but TrainTravel.onRoomChange picks one random livery the first time you enter any station and keeps it for the session — a green train was parked at Tokyo Station and OsakaStation during the #17 browser run. Either park the station's own livery or drop the per-station train field.

Found while implementing #17.

Lingua principale
JavaScript
Stelle
1
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di devhou-se/game

Tutte le issue di devhou-se/game

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.