dev is a class in the Teverse Lua API that contains 3 properties, 2 methods and 0 events.
This class cannot be constructed, it is managed by Teverse.
This is an internal singleton, and tevapps that require this permission may be rejected from our app marketplace.
We may remove or change these development APIs at any time, so please do not create any apps that are reliant on this singleton.
A default script that is loaded on startup binds the key combination
LSHIFT + F1, this keybind will invoke
teverse.dev:promptTevGit() and allow you to select a local tevgit repository. Only do this if you know what you are doing.
Another keybind is
LSHIFT + F2, this keybind will invoke
teverse.dev:reloadAllShaders() which recompiles all of the shaders used in a 3D game/scene. Only do this if you know what you are doing.
Workshop level interface, renders above the core.interface singletonCODE SAMPLE
print(dev.interface) --> interface
Returns path to local tevgitCODE SAMPLE
print(dev.localTevGit) --> ""
Mostly for internal use, represents what the user is currently doing.CODE SAMPLE
dev.state = "" print(dev.state) --> ""
Prompts the user to select a directory for tevgit.CODE SAMPLE
Reloads all shaders.CODE SAMPLE