obsi.system - simadude/obsi GitHub Wiki

This is a module for checking the environment in which the game engine is running.

Functions of obsi.system:

function description
obsi.system.isAdvanced Returns true if the game engine is running inside of an advanced computer or an emulator.
obsi.system.isEmulated Returns true if the game engine is running inside of an emulator.
obsi.system.getHost Returns the name of the running environment (whether it be "Minecraft 1.19.2" or "CraftOS-PC 2.8" or something similar).
obsi.system.getVersion Returns the version of ComputerCraft.

Functions

obsi.system.isAdvanced

Returns true if the game engine is running inside of an advanced computer or an emulator.

Declared as:

obsi.system.isAdvanced() -> boolean

obsi.system.isEmulated

Returns true if the game engine is running inside of an emulator.

Declared as:

obsi.system.isEmulated() -> boolean

obsi.system.getHost

Returns the name of the running environment (whether it be "Minecraft 1.19.2" or "CraftOS-PC 2.8" or something similar).

Declared as:

obsi.system.getHost() -> string

obsi.system.getVersion

Returns the version of ComputerCraft.

Declared as:

obsi.system.getVersion() -> string