1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-01 13:04:30 +00:00

Update file events.rst

This commit is contained in:
ComeBESNIER 2025-11-23 09:16:55 +00:00
parent c06f94fee8
commit ac7cc4c9ea

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