Skip to content

Commit 80a6d13

Browse files
committed
Merge branch 'patch-1' into 'master'
Adding to documentation that a condition of -1 makes a light source last forever See merge request OpenMW/openmw!5081
2 parents 9c221ed + d76234d commit 80a6d13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

files/lua_api/openmw/types.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@
806806

807807
---
808808
-- @type ItemData
809-
-- @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.
809+
-- @field #number condition The item's current condition. Time remaining for lights (setting this to `-1` will make it last forever). Uses left for repairs, lockpicks and probes. Current health for weapons and armor.
810810
-- @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.
811811
-- @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.
812812

0 commit comments

Comments
 (0)