Skip to content

Commit

Permalink
Document hidden_by field on achievements
Browse files Browse the repository at this point in the history
  • Loading branch information
jbytheway committed May 3, 2020
1 parent 8ecd8e2 commit 007e7ce
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion doc/JSON_INFO.md
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,17 @@ an `event_statistic`. For example:
The `"is"` field must be `">="`, `"<="` or `"anything"`. When it is not
`"anything"` the `"target"` must be present, and must be an integer.

Another optional field is
There are further optional fields:

```C++
"hidden_by": [ "other_achievement_id" ]
```

Give a list of other achievement ids. This achievement will be hidden (i.e.
not appear in the achievements UI) until all of the achievements listed have
been completed.

Use this to prevent spoilers or to reduce clutter in the list of achievements.

```C++
"time_constraint": { "since": "game_start", "is": "<=", "target": "1 minute" }
Expand Down

0 comments on commit 007e7ce

Please sign in to comment.