mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-29 19:04:31 +00:00
Merge branch 'master' into 'master'
Update file events.rst See merge request OpenMW/openmw!5014
This commit is contained in:
commit
422e1135e9
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