# Open77.runtime — client runtime

Runs inside the game process. Reads and presentation are local; anything that changes shared state has to go through the server.

2 functions.

## luaVersion

```lua
Open77.runtime.luaVersion()
```

`SHARED` — Available without a live game instance.

Embedded Lua version.

Returns the embedded Lua interpreter version used by this resource VM. Use it for diagnostics or compatibility checks, not to infer the Open77 build version.

Returns: `string`

Registered in `ResourceHost.cpp` (line 6675) as `LuaLanguageVersion`.

## version

```lua
Open77.runtime.version()
```

`SHARED` — Available without a live game instance.

Open77 version.

Returns the Open77 scripting runtime version exposed to resources. This describes the host API and is distinct from both the resource manifest version and game build.

Returns: `string`

Registered in `ResourceHost.cpp` (line 6674) as `LuaRuntimeVersion`.

