import { WEATHER, costMessage } from '../game/constants' import { streetBusyness } from '../game/engine' import type { DayConditions } from '../game/types' import { Btn, Line } from './Crt' import { Scene } from './Scene' export function BriefingScreen({ conditions, onContinue, }: { conditions: DayConditions onContinue: () => void }) { const cost = costMessage(conditions.day) return (
DAY {conditions.day} IN LEMONSVILLE WEATHER REPORT: {WEATHER[conditions.weather].label} {cost?.map((t, i) => ( {t} ))} {conditions.heatWave && ( <> A HEAT WAVE HAS SETTLED OVER THE TOWN. EVERY THROAT IN IT IS DRY. )} {conditions.streetCrew && ( <> THE ROAD IS DUG UP OUTSIDE. NOTHING IS COMING DOWN YOUR STREET TODAY. )} {conditions.festival && ( <> THE SUMMER FAIR IS ON TODAY. HALF THE TOWN WILL COME PAST, AND THEY ARE OUT TO SPEND. )} {conditions.rival && ( <> SOMEBODY HAS SET UP A STAND ON THE NEXT CORNER. YOU WILL BE SPLITTING THE STREET WITH THEM. )}
OPEN THE STAND
) }