diff options
Diffstat (limited to 'doc/lua_api.txt')
-rw-r--r-- | doc/lua_api.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 6109f082b..de4cc5029 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -3366,6 +3366,9 @@ Can be obtained via `item:get_meta()`. #### Methods * All methods in MetaDataRef +* `set_tool_capabilities([tool_capabilities])` + * overrides the item's tool capabilities + * a nil value will clear the override data and restore the original behavior ### `StorageRef` Mod metadata: per mod metadata, saved automatically. |