mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix doc/*/scripting/builtins/libinventory.md
This commit is contained in:
parent
ffa199ed91
commit
47c2dd8c7e
2 changed files with 2 additions and 2 deletions
|
|
@ -170,7 +170,7 @@ inventory.decrement(
|
|||
-- creating a local `uses` property if none.
|
||||
-- Removes one item from the slot when the counter reaches zero.
|
||||
-- Does nothing if the `uses` property is not specified in the item's JSON.
|
||||
-- See [property `uses`](../../item-properties.md#number-of-uses-durability---uses)
|
||||
-- See an item property `uses`
|
||||
inventory.use(
|
||||
-- inventory id
|
||||
invid: int,
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ inventory.decrement(
|
|||
-- создавая локальное свойство `uses` при отсутствии.
|
||||
-- Удаляет один предмет из слота при достижении нулевого значения счётчика.
|
||||
-- При отсутствии в JSON предмета свойства `uses` ничего не делает.
|
||||
-- См. [свойство `uses`](../../item-properties.md#число-использований-прочность---uses)
|
||||
-- См. свойство предметов `uses`
|
||||
inventory.use(
|
||||
-- id инвентаря
|
||||
invid: int,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue