mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-08 20:41:49 +00:00
libitem: exposed placing_block and emission to lua
This commit is contained in:
parent
aaa2115cd6
commit
76fc7b5fb4
3 changed files with 23 additions and 0 deletions
|
|
@ -24,6 +24,9 @@ item.placing_block(itemid: int) -> int
|
|||
|
||||
-- Возвращает значение свойства `model-name`
|
||||
item.model_name(itemid: int) -> str
|
||||
|
||||
-- Возвращает emission параметр у предмета
|
||||
item.emission(itemid: int) -> str
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue