Skip to content

Commit

Permalink
update libworld docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailRis committed Dec 12, 2024
1 parent 9ec8788 commit 8e6fb1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/en/scripting/builtins/libworld.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,7 @@ world.is_day() -> bool

-- Checks if the current time is nighttime. From 0.833(8pm) to 0.333(8am).
world.is_night() -> bool

-- Returns the total number of chunks loaded into memory
world.count_chunks() -> int
```
3 changes: 3 additions & 0 deletions doc/ru/scripting/builtins/libworld.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,7 @@ world.is_day() -> bool

-- Проверяет является ли текущее время ночью. От 0.833(8 вечера) до 0.333(8 утра).
world.is_night() -> bool

-- Возвращает общее количество загруженных в память чанков
world.count_chunks() -> int
```

0 comments on commit 8e6fb1d

Please sign in to comment.