diff --git a/doc/en/scripting/builtins/libworld.md b/doc/en/scripting/builtins/libworld.md index 5bf01abb..5a1214f3 100644 --- a/doc/en/scripting/builtins/libworld.md +++ b/doc/en/scripting/builtins/libworld.md @@ -36,14 +36,12 @@ world.get_seed() -> int -- Returns generator name. world.get_generator() -> str --- Proves that this is the current time during the day --- from 0.333(8 am) to 0.833(8 pm). -world.is_day() -> boolean - --- Checks that it is the current time at night --- from 0.833(8 pm) to 0.333(8 am). -world.is_night() -> bool - -- Checks the existence of a world by name. -world.exists() -> bool +world.exists(name: str) -> bool + +-- Checks if the current time is daytime. From 0.333(8am) to 0.833(8pm). +world.is_day() -> bool + +-- Checks if the current time is nighttime. From 0.833(8pm) to 0.333(8am). +world.is_night() -> bool ``` diff --git a/doc/ru/scripting/builtins/libworld.md b/doc/ru/scripting/builtins/libworld.md index 9d7d635e..49ac46fa 100644 --- a/doc/ru/scripting/builtins/libworld.md +++ b/doc/ru/scripting/builtins/libworld.md @@ -36,7 +36,7 @@ world.get_seed() -> int world.get_generator() -> str -- Проверяет существование мира по имени. -world.exists() -> bool +world.exists(name: str) -> bool -- Проверяет является ли текущее время днём. От 0.333(8 утра) до 0.833(8 вечера). world.is_day() -> bool