libitem: exposed placing_block and emission to lua

This commit is contained in:
REDxEYE
2024-11-04 21:17:17 +03:00
parent aaa2115cd6
commit 76fc7b5fb4
3 changed files with 23 additions and 0 deletions
+3
View File
@@ -24,4 +24,7 @@ item.placing_block(itemid: int) -> int
-- Returns the value of the `model-name` property
item.model_name(itemid: int) -> str
-- Returns item emission property value
item.emission(itemid: int) -> str
```
+3
View File
@@ -24,6 +24,9 @@ item.placing_block(itemid: int) -> int
-- Возвращает значение свойства `model-name`
item.model_name(itemid: int) -> str
-- Возвращает emission параметр у предмета
item.emission(itemid: int) -> str
```