update doc/*/xml-ui-layouts.md
This commit is contained in:
parent
69df0eba1b
commit
e34620b9bd
@ -142,6 +142,8 @@ Element must be in direct sub-element of *inventory*.
|
||||
- `sharefunc` - Lua event called on <btn>LMB</btn> + <btn>Shift</btn>. Inventory id and slot index passed as arguments.
|
||||
- `updatefunc` - Lua event called on slot content update.Inventory id and slot index passed as arguments.
|
||||
- `onrightclick` - Lua event called on <btn>RMB</btn> click. Inventory id and slot index passed as arguments.
|
||||
- `taking` - the ability to take an item from a slot.
|
||||
- `placing` - the ability to put an item in a slot.
|
||||
|
||||
## *slots-grid*
|
||||
|
||||
@ -154,4 +156,5 @@ Element must be in direct sub-element of *inventory*.
|
||||
- `sharefunc` - Lua event called on <btn>LMB</btn> + <btn>Shift</btn>. Inventory id and slot index passed as arguments.
|
||||
- `updatefunc` - Lua event called on slot content update.Inventory id and slot index passed as arguments.
|
||||
- `onrightclick` - Lua event called on <btn>RMB</btn> click. Inventory id and slot index passed as arguments.
|
||||
|
||||
- `taking` - the ability to take an item from a slot.
|
||||
- `placing` - the ability to put an item in a slot.
|
||||
|
||||
@ -143,6 +143,8 @@
|
||||
- `sharefunc` - lua событие вызываемое при использовании ЛКМ + Shift. Передается id инвентаря и индекс слота
|
||||
- `updatefunc` - lua событие вызываемое при изменении содержимого слота
|
||||
- `onrightclick` - lua событие вызываемое при использовании ПКМ. Передается id инвентаря и индекс слота
|
||||
- `taking` - возможность взять предмет из слота.
|
||||
- `placing` - возможность положить предмет в слот.
|
||||
|
||||
## Сетка слотов - *slots-grid*
|
||||
|
||||
@ -156,3 +158,5 @@
|
||||
- `sharefunc` - lua событие вызываемое при использовании ЛКМ + Shift. Передается id инвентаря и индекс слота
|
||||
- `updatefunc` - lua событие вызываемое при изменении содержимого слота
|
||||
- `onrightclick` - lua событие вызываемое при использовании ПКМ. Передается id инвентаря и индекс слота
|
||||
- `taking` - возможность взять предмет из слота.
|
||||
- `placing` - возможность положить предмет в слот.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user