fix doc/*/scripting/builtins/libinventory.md

This commit is contained in:
MihailRis 2025-03-29 18:17:19 +03:00
parent ffa199ed91
commit 47c2dd8c7e
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -181,7 +181,7 @@ inventory.decrement(
-- создавая локальное свойство `uses` при отсутствии.
-- Удаляет один предмет из слота при достижении нулевого значения счётчика.
-- При отсутствии в JSON предмета свойства `uses` ничего не делает.
-- См. [свойство `uses`](../../item-properties.md#число-использований-прочность---uses)
-- См. свойство предметов `uses`
inventory.use(
-- id инвентаря
invid: int,