{/* The welcome cards again, ending in Close (decision 0.5.132). */}
{howToPlay && setHowToPlay(false)} />}
{isDevBuild() && (
)}
);
}
function Section({ title, children }: { title: string; children: ReactNode }) {
const id = `settings-${title.toLowerCase()}`;
return (
{title}
{children}
);
}
/** "Fleet goes quiet after": the sleep threshold (decision 0.5.137), a company setting. */
function SleepThreshold() {
const state = useLoadedPlayer();
const save = useGameAction("setSleepThreshold");
if (state.tutorial) return null;
return (
Without any orders from you for this long, Independent pilots stop taking new jobs.
{save.isError && (
{errorMessage(save.error)}
)}
);
}
/** A labelled radio group of a few options, styled as a segmented control. */
function Choice(props: {
label: string;
value: T;
options: [T, string][];
onChange: (value: T) => void;
}) {
return (
);
}