fix doc/*/scripting/builtins/libinventory.md
This commit is contained in:
parent
bbe5688a53
commit
06adaaeadc
@ -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…
x
Reference in New Issue
Block a user