feat: expose storage engine compatibility context

This commit is contained in:
MaxTomahawk
2026-08-07 17:14:42 +02:00
parent 05b43ca258
commit af00d6ad14
4 changed files with 19 additions and 5 deletions
+3 -2
View File
@@ -51,10 +51,11 @@ honors injected test filesystems; it is not exposed on the mod object.
Returns:
```lua
{ gameVersion = "red", playthroughId = "..." }
{ engineVersion = "0.9.0", gameVersion = "red", playthroughId = "..." }
```
or `nil, code, message`. It intentionally omits launcher slot ids and paths.
or `nil, code, message`. `engineVersion` is warning-grade compatibility metadata;
the context intentionally omits launcher slot ids and paths.
### `mod.storage:write(game, key, value)`