Skip to content

Commit

Permalink
Merge pull request #5505 from mnalis/docs-countryInfo-example
Browse files Browse the repository at this point in the history
mention countryInfo in CONTRIBUTING_A_NEW_QUEST.md
  • Loading branch information
matkoniecz authored Feb 25, 2024
2 parents 2a3f94e + 903de3d commit 2aa9bb6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CONTRIBUTING_A_NEW_QUEST.md
Original file line number Diff line number Diff line change
Expand Up @@ -537,3 +537,7 @@ Note that a quest may be both disabled by default and limited to some countries.
This will decode whether the user should have access to direct deletion of elements. Note that ways and relations cannot be deleted by SC users.

For nodes within ways, the node will remain and tags will be removed.

## Per-country quest behaviour modification

While quests should generally be tailored to function in whole world similarly, if really needed one can use `countryInfo` to modify behaviour of the quest in specific country, see e.g. [AddTrafficSignalsVibrationForm.kt](app/src/main/java/de/westnordost/streetcomplete/quests/traffic_signals_vibrate/AddTrafficSignalsVibrationForm.kt) for example usage.

0 comments on commit 2aa9bb6

Please sign in to comment.