mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-01 17:34:33 +00:00
Update file events.rst
This commit is contained in:
parent
c06f94fee8
commit
ac7cc4c9ea
1 changed files with 1 additions and 1 deletions
|
|
@ -133,7 +133,7 @@ Example:
|
|||
if item then
|
||||
-- Reduce condition by 1
|
||||
-- Note that actor should be included, if applicable, to allow forcibly unequipping items whose condition is reduced to 0
|
||||
core:sendGlobalEvent('ModifyItemCondition', {actor = self, item = item, amount: -1})
|
||||
core.sendGlobalEvent('ModifyItemCondition', {actor = self, item = item, amount= -1})
|
||||
end
|
||||
|
||||
UI events
|
||||
|
|
|
|||
Loading…
Reference in a new issue