Skip to content

Instantly share code, notes, and snippets.

@nezuo
Last active January 9, 2023 22:50
Embed
What would you like to do?
Remodel standard library for selene

Instructions

  1. Copy the file below into one called remodel.yml
  2. In selene.toml, replace std = "roblox" with std = "roblox+remodel"
---
base: lua53
globals:
json.fromString:
args:
- type: string
json.toString:
args:
- type: any
remodel.createDirAll:
args:
- type: string
remodel.getRawProperty:
args:
- type:
display: Instance
- 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
- type: string
- type: string
- type: any
remodel.writeExistingModelAsset:
args:
- type:
display: Instance
- type: string
remodel.writeExistingPlaceAsset:
args:
- type:
display: Instance
- type: string
remodel.writeFile:
args:
- type: string
- type: string
remodel.writeModelFile:
args:
- type:
display: Instance
- type: string
remodel.writePlaceFile:
args:
- type:
display: DataModel
- type: string
@guidojw
Copy link

guidojw commented Jan 9, 2023

This is outdated as of v0.11.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment