mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-17 08:26:50 -04:00
Doc update
This commit is contained in:
parent
1b9802472d
commit
7143115e57
@ -153,15 +153,6 @@ Reduces stack size of an item by a given amount, removing the item completely if
|
|||||||
|
|
||||||
core.sendGlobalEvent('ConsumeItem', {item = foobar, amount = 1})
|
core.sendGlobalEvent('ConsumeItem', {item = foobar, amount = 1})
|
||||||
|
|
||||||
**ModifyItemCharge**
|
|
||||||
|
|
||||||
Modify a specified amount of enchantment charge of an item
|
|
||||||
|
|
||||||
.. code-block:: Lua
|
|
||||||
|
|
||||||
-- Reduce charge by 10
|
|
||||||
core.sendGlobalEvent('ModifyItemCharge', {item = foobar, amount = -10})
|
|
||||||
|
|
||||||
**Lock**
|
**Lock**
|
||||||
|
|
||||||
Lock a container or door
|
Lock a container or door
|
||||||
|
Loading…
x
Reference in New Issue
Block a user