From 34976f4134883714c03238bc240646d0e85f8d64 Mon Sep 17 00:00:00 2001 From: Linden <65407488+thelindat@users.noreply.github.com> Date: Sat, 12 Nov 2022 14:54:50 +1100 Subject: [PATCH] Update creatingItems.md Add a note about durability consumption. Still need to reformat docs. --- docs/ox_inventory/Guides/creatingItems.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ox_inventory/Guides/creatingItems.md b/docs/ox_inventory/Guides/creatingItems.md index 9f17c8c3..1dd2284e 100644 --- a/docs/ox_inventory/Guides/creatingItems.md +++ b/docs/ox_inventory/Guides/creatingItems.md @@ -24,7 +24,7 @@ options for the item. -- degrade: number (optional) -- The amount of time in minutes an item will degrade after -- close: boolean (optional) -- If set to false will not close the inventory on item use -- description: string (optional) --- consume: number (optional) -- Number of an item needed to use it, and removed after use (Default: 1) +-- consume: number (optional) -- Item count needed, and removed, on use. (Default: 1) Set to a decimal for durability loss (0.2 = 20%) -- allowArmed: boolean (optional) -- If set to true will allow use of item while armed with a weapon -- client: table (optional) -- buttons: table (optional) -- Allows you to define custom context menu functions for the item