mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
Core: Add descriptions to Components (#4849)
* Add descriptions to components * Adhere to style guide * Tweak BHC wording * Trim Open Patch description * Update text client description for consistency Co-authored-by: Scipio Wright <scipiowright@gmail.com> * Remove newlines --------- Co-authored-by: Scipio Wright <scipiowright@gmail.com>
This commit is contained in:
21
Launcher.py
21
Launcher.py
@@ -104,14 +104,21 @@ def update_settings():
|
|||||||
|
|
||||||
components.extend([
|
components.extend([
|
||||||
# Functions
|
# Functions
|
||||||
Component("Open host.yaml", func=open_host_yaml),
|
Component("Open host.yaml", func=open_host_yaml,
|
||||||
Component("Open Patch", func=open_patch),
|
description="Open the host.yaml file to change settings for generation, games, and more."),
|
||||||
Component("Generate Template Options", func=generate_yamls),
|
Component("Open Patch", func=open_patch,
|
||||||
Component("Archipelago Website", func=lambda: webbrowser.open("https://archipelago.gg/")),
|
description="Open a patch file, downloaded from the room page or provided by the host."),
|
||||||
Component("Discord Server", icon="discord", func=lambda: webbrowser.open("https://discord.gg/8Z65BR2")),
|
Component("Generate Template Options", func=generate_yamls,
|
||||||
|
description="Generate template YAMLs for currently installed games."),
|
||||||
|
Component("Archipelago Website", func=lambda: webbrowser.open("https://archipelago.gg/"),
|
||||||
|
description="Open archipelago.gg in your browser."),
|
||||||
|
Component("Discord Server", icon="discord", func=lambda: webbrowser.open("https://discord.gg/8Z65BR2"),
|
||||||
|
description="Join the Discord server to play public multiworlds, report issues, or just chat!"),
|
||||||
Component("Unrated/18+ Discord Server", icon="discord",
|
Component("Unrated/18+ Discord Server", icon="discord",
|
||||||
func=lambda: webbrowser.open("https://discord.gg/fqvNCCRsu4")),
|
func=lambda: webbrowser.open("https://discord.gg/fqvNCCRsu4"),
|
||||||
Component("Browse Files", func=browse_files),
|
description="Find unrated and 18+ games in the After Dark Discord server."),
|
||||||
|
Component("Browse Files", func=browse_files,
|
||||||
|
description="Open the Archipelago installation folder in your file browser."),
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
|
@@ -210,10 +210,14 @@ components: List[Component] = [
|
|||||||
Component('Launcher', 'Launcher', component_type=Type.HIDDEN),
|
Component('Launcher', 'Launcher', component_type=Type.HIDDEN),
|
||||||
# Core
|
# Core
|
||||||
Component('Host', 'MultiServer', 'ArchipelagoServer', cli=True,
|
Component('Host', 'MultiServer', 'ArchipelagoServer', cli=True,
|
||||||
file_identifier=SuffixIdentifier('.archipelago', '.zip')),
|
file_identifier=SuffixIdentifier('.archipelago', '.zip'),
|
||||||
Component('Generate', 'Generate', cli=True),
|
description="Host a generated multiworld on your computer."),
|
||||||
Component("Install APWorld", func=install_apworld, file_identifier=SuffixIdentifier(".apworld")),
|
Component('Generate', 'Generate', cli=True,
|
||||||
Component('Text Client', 'CommonClient', 'ArchipelagoTextClient', func=launch_textclient),
|
description="Generate a multiworld with the YAMLs in the players folder."),
|
||||||
|
Component("Install APWorld", func=install_apworld, file_identifier=SuffixIdentifier(".apworld"),
|
||||||
|
description="Install an APWorld to play games not included with Archipelago by default."),
|
||||||
|
Component('Text Client', 'CommonClient', 'ArchipelagoTextClient', func=launch_textclient,
|
||||||
|
description="Connect to a multiworld using the text client."),
|
||||||
Component('Links Awakening DX Client', 'LinksAwakeningClient',
|
Component('Links Awakening DX Client', 'LinksAwakeningClient',
|
||||||
file_identifier=SuffixIdentifier('.apladx')),
|
file_identifier=SuffixIdentifier('.apladx')),
|
||||||
Component('LttP Adjuster', 'LttPAdjuster'),
|
Component('LttP Adjuster', 'LttPAdjuster'),
|
||||||
|
@@ -19,7 +19,8 @@ def launch_client(*args) -> None:
|
|||||||
|
|
||||||
|
|
||||||
component = Component("BizHawk Client", "BizHawkClient", component_type=Type.CLIENT, func=launch_client,
|
component = Component("BizHawk Client", "BizHawkClient", component_type=Type.CLIENT, func=launch_client,
|
||||||
file_identifier=SuffixIdentifier())
|
file_identifier=SuffixIdentifier(),
|
||||||
|
description="Open the BizHawk client, to play games using the Bizhawk emulator.")
|
||||||
components.append(component)
|
components.append(component)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user