Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Remodel standard library for selene

Instructions

  1. Copy the file below into one called remodel.toml
  2. In selene.toml, replace std = "roblox" with std = "roblox+remodel"
# Remodel
[selene]
base = "lua51"
[[json.fromString.args]]
type = "string"
[[json.toString.args]]
type = "any"
[[remodel.createDirAll.args]]
type = "string"
[[remodel.getRawProperty.args]]
type = { display = "Instance" }
[[remodel.getRawProperty.args]]
type = "string"
[[remodel.isDir.args]]
type = "string"
[[remodel.isFile.args]]
type = "string"
[[remodel.readDir.args]]
type = "string"
[[remodel.readFile.args]]
type = "string"
[[remodel.readModelAsset.args]]
type = "string"
[[remodel.readModelFile.args]]
type = "string"
[[remodel.readPlaceAsset.args]]
type = "string"
[[remodel.readPlaceFile.args]]
type = "string"
[[remodel.setRawProperty.args]]
type = { display = "Instance" }
[[remodel.setRawProperty.args]]
type = "string"
[[remodel.setRawProperty.args]]
type = "string"
[[remodel.setRawProperty.args]]
type = "any"
[[remodel.writeExistingModelAsset.args]]
type = { display = "Instance" }
[[remodel.writeExistingModelAsset.args]]
type = "string"
[[remodel.writeExistingPlaceAsset.args]]
type = { display = "Instance" }
[[remodel.writeExistingPlaceAsset.args]]
type = "string"
[[remodel.writeFile.args]]
type = "string"
[[remodel.writeFile.args]]
type = "string"
[[remodel.writeModelFile.args]]
type = { display = "Instance" }
[[remodel.writeModelFile.args]]
type = "string"
[[remodel.writePlaceFile.args]]
type = { display = "DataModel" }
[[remodel.writePlaceFile.args]]
type = "string"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment