From ed35a17db44dc1709e3f0e270de59f2d5300cb96 Mon Sep 17 00:00:00 2001 From: Thunderforge Date: Sun, 4 Jan 2026 21:21:32 +0000 Subject: [PATCH] Adding -1 duration light effect to documentation --- files/lua_api/openmw/types.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/lua_api/openmw/types.lua b/files/lua_api/openmw/types.lua index b937e96c14..58f168854a 100644 --- a/files/lua_api/openmw/types.lua +++ b/files/lua_api/openmw/types.lua @@ -806,7 +806,7 @@ --- -- @type ItemData --- @field #number condition The item's current condition. Time remaining for lights. Uses left for repairs, lockpicks and probes. Current health for weapons and armor. +-- @field #number condition The item's current condition. Time remaining for lights (seetting this to `-1` will make it last forever). Uses left for repairs, lockpicks and probes. Current health for weapons and armor. -- @field #number enchantmentCharge The item's current enchantment charge. Unenchanted items will always return a value of `nil`. Setting this to `nil` will reset the charge of the item. -- @field #string soul The recordId of the item's current soul. Items without soul will always return a value of `nil`. Setting this to `nil` will remove the soul from the item.