MISC: Show more information about documentation in last step of tutorial (#1630)

This commit is contained in:
catloversg 2024-08-26 00:04:55 +07:00 committed by GitHub
parent e58a7d8eaa
commit 3750363d95
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -24,6 +24,7 @@ import {
iTutorialEnd, iTutorialEnd,
} from "../../InteractiveTutorial"; } from "../../InteractiveTutorial";
import { useRerender } from "../React/hooks"; import { useRerender } from "../React/hooks";
import { Settings } from "../../Settings/Settings";
interface IContent { interface IContent {
content: React.ReactElement; content: React.ReactElement;
@ -525,13 +526,27 @@ export function InteractiveTutorialRoot(): React.ReactElement {
}, },
[iTutorialSteps.DocumentationPageInfo as number]: { [iTutorialSteps.DocumentationPageInfo as number]: {
content: ( content: (
<Typography> <Typography component="div">
This page contains a lot of different documentation about the game's content and mechanics. I know it's a lot, This page contains a lot of different documentation about the game's contents and mechanics. I know it's a
but I highly suggest you read (or at least skim) through this before you start playing. lot, but I highly suggest you read (or at least skim) through this before you start playing. Some pages are
inaccessible at the start and will be unlocked later.
<br /> <br />
<br /> <br />
The Beginner's guide contains the guide for new players, navigating you through most of early game. You should at least check these pages:
<ul>
<li>
The Beginner's guide contains the guide for new players, navigating you through most of the early game.
</li>
<li>The NS API documentation contains reference materials for all NS APIs.</li>
</ul>
<Typography fontWeight="fontWeightBold">
This documentation page is the best place to get up-to-date information, especially when you get stuck. If
you have a question and cannot find the answer here, please ask us on Discord.
</Typography>
<br /> <br />
<Typography color={Settings.theme.warning}>
The documentation at readthedocs is outdated and unmaintained. Do not use them!
</Typography>
<br /> <br />
That's the end of the tutorial. Hope you enjoy the game! That's the end of the tutorial. Hope you enjoy the game!
</Typography> </Typography>