update doc/*/scripting/builtins/libapp.md

This commit is contained in:
MihailRis 2025-01-17 19:24:07 +03:00
parent 01b4b6f19a
commit 3266204c0e
2 changed files with 6 additions and 2 deletions

View File

@ -77,12 +77,14 @@ Checks if content is loaded.
```lua
app.new_world(
-- world name
-- world name, empty string will create a nameless world
name: str,
-- generation seed
seed: str,
-- generator name
generator: str
-- local player id
[optional] local_player: int=0
)
```

View File

@ -77,12 +77,14 @@ app.is_content_loaded() -> bool
```lua
app.new_world(
-- название мира
-- название мира, пустая строка приведёт к созданию безымянного мира
name: str,
-- зерно генерации
seed: str,
-- название генератора
generator: str
-- id локального игрока
[опционально] local_player: int=0
)
```