diff --git a/doc/lua/openstarbound.md b/doc/lua/openstarbound.md index 6e29afc..d888e55 100644 --- a/doc/lua/openstarbound.md +++ b/doc/lua/openstarbound.md @@ -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.