diff options
author | Vladimir Krasheninnikov <boba09@list.ru> | 2025-03-16 12:49:29 +0100 |
---|---|---|
committer | Vladimir Krasheninnikov <boba09@list.ru> | 2025-03-16 12:49:29 +0100 |
commit | e8309c463d58b2ff8aab2e14a5b1e5f5065cecda (patch) | |
tree | 005e6a4915092ff9c9e861638ae9c076cf9077ed /doc/lua | |
parent | 76d4ddd57c65269052c4784e5ffa94bfb574c6ba (diff) | |
parent | 6f51c2c129ab50872a4944e5218fcf97f89abb1d (diff) |
Merge branch 'main' of https://github.com/KrashV/OpenStarbound
Diffstat (limited to 'doc/lua')
-rw-r--r-- | doc/lua/openstarbound/root.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/lua/openstarbound/root.md b/doc/lua/openstarbound/root.md index e87a0fe..1009c8f 100644 --- a/doc/lua/openstarbound/root.md +++ b/doc/lua/openstarbound/root.md @@ -61,6 +61,10 @@ 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. +#### `Json` root.assetSourceMetadata(`String` path) + +Returns the metadata of an asset source. + #### `Image` root.assetImage(`String` image) Returns an image. |