Skip to content

Commit

Permalink
Docs: adding games rework (ArchipelagoMW#2892)
Browse files Browse the repository at this point in the history
* Docs: complete adding games.md rework

* remove all the now unused images

* review changes

* address medic's review

* address more comments
  • Loading branch information
alwaysintreble authored Mar 29, 2024
1 parent 9dc7089 commit 301d9de
Show file tree
Hide file tree
Showing 7 changed files with 82 additions and 274 deletions.
347 changes: 78 additions & 269 deletions docs/adding games.md

Large diffs are not rendered by default.

Binary file removed docs/img/creepy-castle-directory.png
Binary file not shown.
Binary file removed docs/img/gato-roboto-directory.png
Binary file not shown.
Binary file removed docs/img/heavy-bullets-data-directory.png
Binary file not shown.
Binary file removed docs/img/heavy-bullets-directory.png
Binary file not shown.
Binary file removed docs/img/stardew-valley-directory.png
Binary file not shown.
9 changes: 4 additions & 5 deletions docs/options api.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ Archipelago will be abbreviated as "AP" from now on.
## Option Definitions
Option parsing in AP is done using different Option classes. For each option you would like to have in your game, you
need to create:
- A new option class with a docstring detailing what the option will do to your user.
- A `display_name` to be displayed on the webhost.
- A new entry in the `option_definitions` dict for your World.
By style and convention, the internal names should be snake_case.
- A new option class, with a docstring detailing what the option does, to be exposed to the user.
- A new entry in the `options_dataclass` definition for your World.
By style and convention, the dataclass attributes should be `snake_case`.

### Option Creation
- If the option supports having multiple sub_options, such as Choice options, these can be defined with
Expand Down Expand Up @@ -43,7 +42,7 @@ from Options import Toggle, Range, Choice, PerGameCommonOptions

class StartingSword(Toggle):
"""Adds a sword to your starting inventory."""
display_name = "Start With Sword"
display_name = "Start With Sword" # this is the option name as it's displayed to the user on the webhost and in the spoiler log


class Difficulty(Choice):
Expand Down

0 comments on commit 301d9de

Please sign in to comment.