1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-11-29 20:34:30 +00:00

Merge branch 'master' into 'master'

Update file events.rst

See merge request OpenMW/openmw!5014
This commit is contained in:
Alexei Kotov 2025-11-24 13:27:16 +03:00
commit 422e1135e9

View file

@ -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