Update openstarbound.md
This commit is contained in:
parent
dd7e3c91b0
commit
661540efe2
@ -76,6 +76,16 @@ Returns the asset source path of an asset, or nil if the asset doesn't exist. If
|
||||
Without metadata: Returns an array with all the asset source paths.
|
||||
With metadata: Returns a table, key/value being source path/metadata.
|
||||
|
||||
#### `?` root.assetImage(`String` image)
|
||||
|
||||
*TODO*
|
||||
|
||||
#### `JsonArray` root.assetPatches(`String` asset)
|
||||
|
||||
Returns a list of asset sources which patch the specified asset and the paths to those patches.
|
||||
|
||||
---
|
||||
|
||||
#### `Json` root.getConfiguration(`String` key)
|
||||
|
||||
Gets a configuration value in `/storage/starbound.config`.
|
||||
@ -96,18 +106,14 @@ Sets a configuration value in `/storage/starbound.config` by path.
|
||||
|
||||
*Both setters will error if you try to set `safeScripts`, as that can break Starbound's sandbox.*
|
||||
|
||||
#### `Json` root.assetImage(`String` image)
|
||||
|
||||
*TODO*
|
||||
|
||||
#### `Json` root.assetPatches(`String` asset)
|
||||
|
||||
*TODO*
|
||||
---
|
||||
|
||||
#### `JsonArray` root.allRecipes()
|
||||
|
||||
Returns all recipes.
|
||||
|
||||
---
|
||||
|
||||
# Player
|
||||
|
||||
The player table now contains bindings which contains functions to save/load, access and modify the player's identity, mode, aim, emote and more.
|
||||
|
Loading…
Reference in New Issue
Block a user