Core: move race_mode to read_data instead of stored_data (#4020)

* move race_mode to read_data

* add race_mode to docs
This commit is contained in:
Aaron Wagener
2024-10-01 16:55:34 -05:00
committed by GitHub
parent 5a853dfccd
commit f06f95d03d
4 changed files with 6 additions and 5 deletions

View File

@@ -395,6 +395,7 @@ Some special keys exist with specific return data, all of them have the prefix `
| item_name_groups_{game_name} | dict\[str, list\[str\]\] | item_name_groups belonging to the requested game. |
| location_name_groups_{game_name} | dict\[str, list\[str\]\] | location_name_groups belonging to the requested game. |
| client_status_{team}_{slot} | [ClientStatus](#ClientStatus) | The current game status of the requested player. |
| race_mode | int | 0 if race mode is disabled, and 1 if it's enabled. |
### Set
Used to write data to the server's data storage, that data can then be shared across worlds or just saved for later. Values for keys in the data storage can be retrieved with a [Get](#Get) package, or monitored with a [SetNotify](#SetNotify) package.