Update en/events.md

This commit is contained in:
Xertis 2026-03-23 00:28:57 +03:00 • committed by GitHub
parent f486219a77
commit 4f80a56362
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -180,22 +180,6 @@ function on_inventory_closed(invid: int, playerid: int)
Called when the inventory is closed.
### CONTENT events
Callbacks specified in *content.lua* script.
```lua
function on_scripts_loading()
```
Called before the content pack scripts are loaded
```lua
function on_content_loaded()
```
Called after the content pack has been fully loaded
## Layout events
Script *layouts/layout_name.xml.lua* events.
@ -214,6 +198,22 @@ function on_close(invid: int)
Called on element removed from the screen.
## CONTENT events
Callbacks specified in *content.lua* script.
```lua
function on_scripts_loading()
```
Called before the content pack scripts are loaded
```lua
function on_content_loaded()
```
Called after the content pack has been fully loaded
## HUD events
Callbacks specified in *hud.lua* script.