Skip to content

Instantly share code, notes, and snippets.

@nezuo
Last active January 9, 2023 22:50
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nezuo/9e8ce700a55e748334d6d77e34d70a74 to your computer and use it in GitHub Desktop.
Save nezuo/9e8ce700a55e748334d6d77e34d70a74 to your computer and use it in GitHub Desktop.
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