Closed LeNitrous closed 2 years ago
VFS is a part of Stride. They have documentations for it on their end.
VFS is a part of Stride. They have documentations for it on their end.
We're not talking about the VFS, we're talking about how we use it. Is this still in-line with our spec in #251?
For the most part yes specially with handling of the metadata.
However, I've taken a few liberties in the scripting API and loading the entry point script. A minimal working example is basically an ES6 Javascript file with two exports named activate
and deactivate
respectively. Additionally, the developer can access the core by importing the vignette
module.
import { vignette } from "vignette";
export function activate() { }
export function deactivate() { }
This PR is only the bare minimum and does not fully implement the specification. Other parts of the API will be added in different PRs at a later time after consideration and discussion.
Base implementation for extensions. Closes #251.