fix doc/*/scripting/builtins/libinventory.md
This commit is contained in:
parent
ffa199ed91
commit
47c2dd8c7e
@ -170,7 +170,7 @@ inventory.decrement(
|
|||||||
-- creating a local `uses` property if none.
|
-- creating a local `uses` property if none.
|
||||||
-- Removes one item from the slot when the counter reaches zero.
|
-- 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.
|
-- 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.use(
|
||||||
-- inventory id
|
-- inventory id
|
||||||
invid: int,
|
invid: int,
|
||||||
|
|||||||
@ -181,7 +181,7 @@ inventory.decrement(
|
|||||||
-- создавая локальное свойство `uses` при отсутствии.
|
-- создавая локальное свойство `uses` при отсутствии.
|
||||||
-- Удаляет один предмет из слота при достижении нулевого значения счётчика.
|
-- Удаляет один предмет из слота при достижении нулевого значения счётчика.
|
||||||
-- При отсутствии в JSON предмета свойства `uses` ничего не делает.
|
-- При отсутствии в JSON предмета свойства `uses` ничего не делает.
|
||||||
-- См. [свойство `uses`](../../item-properties.md#число-использований-прочность---uses)
|
-- См. свойство предметов `uses`
|
||||||
inventory.use(
|
inventory.use(
|
||||||
-- id инвентаря
|
-- id инвентаря
|
||||||
invid: int,
|
invid: int,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user