Update creatingItems.md

Add a note about durability consumption. Still need to reformat docs.
This commit is contained in:
Linden authored and GitHub committed 2022-11-12 14:54:50 +11:00
1 parent f326f87924
commit 34976f4134
1 file changed
+1 -1
+1 -1
View File
@@ -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