Docs, Undertale: Added Suggestions Missed in #2285 (#2435)

Co-authored-by: jonloveslegos <68133186+jonloveslegos@users.noreply.github.com>
Co-authored-by: kindasneaki <ryandj67@hotmail.com>
Co-authored-by: ScootyPuffJr1 <77215594+scootypuffjr1@users.noreply.github.com>
This commit is contained in:
Nicholas Saylor 2023-11-07 15:41:13 -05:00 committed by GitHub
parent 72cb8b7d60
commit 779a312650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -27,14 +27,14 @@ class UndertaleCommandProcessor(ClientCommandProcessor):
self.ctx.syncing = True self.ctx.syncing = True
def _cmd_patch(self): def _cmd_patch(self):
"""Patch the game.""" """Patch the game. Only use this command if /auto_patch fails."""
if isinstance(self.ctx, UndertaleContext): if isinstance(self.ctx, UndertaleContext):
os.makedirs(name=os.path.join(os.getcwd(), "Undertale"), exist_ok=True) os.makedirs(name=os.path.join(os.getcwd(), "Undertale"), exist_ok=True)
self.ctx.patch_game() self.ctx.patch_game()
self.output("Patched.") self.output("Patched.")
def _cmd_savepath(self, directory: str): def _cmd_savepath(self, directory: str):
"""Redirect to proper save data folder. (Use before connecting!)""" """Redirect to proper save data folder. This is necessary for Linux users to use before connecting."""
if isinstance(self.ctx, UndertaleContext): if isinstance(self.ctx, UndertaleContext):
self.ctx.save_game_folder = directory self.ctx.save_game_folder = directory
self.output("Changed to the following directory: " + self.ctx.save_game_folder) self.output("Changed to the following directory: " + self.ctx.save_game_folder)
@ -67,7 +67,7 @@ class UndertaleCommandProcessor(ClientCommandProcessor):
self.output("Patching successful!") self.output("Patching successful!")
def _cmd_online(self): def _cmd_online(self):
"""Makes you no longer able to see other Undertale players.""" """Toggles seeing other Undertale players."""
if isinstance(self.ctx, UndertaleContext): if isinstance(self.ctx, UndertaleContext):
self.ctx.update_online_mode(not ("Online" in self.ctx.tags)) self.ctx.update_online_mode(not ("Online" in self.ctx.tags))
if "Online" in self.ctx.tags: if "Online" in self.ctx.tags:

View File

@ -56,8 +56,8 @@ If you press `W` while in the save menu, you will teleport back to the flower ro
The following commands are only available when using the UndertaleClient to play with Archipelago. The following commands are only available when using the UndertaleClient to play with Archipelago.
- `/resync` Manually trigger a resync. - `/resync` Manually trigger a resync.
- `/patch` Patch the game. - `/savepath` Redirect to proper save data folder. This is necessary for Linux users to use before connecting.
- `/savepath` Redirect to proper save data folder. (Use before connecting!)
- `/auto_patch` Patch the game automatically. - `/auto_patch` Patch the game automatically.
- `/online` Makes you no longer able to see other Undertale players. - `/patch` Patch the game. Only use this command if `/auto_patch` fails.
- `/online` Toggles seeing other Undertale players.
- `/deathlink` Toggles deathlink - `/deathlink` Toggles deathlink