mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add function item.icon(...,)
This commit is contained in:
parent
71c754b039
commit
26e2068164
3 changed files with 41 additions and 11 deletions
|
|
@ -458,6 +458,12 @@ item.defs_count() -> int
|
|||
|
||||
Возвращает общее число доступных предметов (включая сгенерированные)
|
||||
|
||||
```python
|
||||
item.icon(itemid: int) -> str
|
||||
```
|
||||
|
||||
Возвращает имя иконки предмета для использования в свойстве 'src' элемента image
|
||||
|
||||
## Библиотека hud
|
||||
|
||||
```python
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue