fix libworld docs
This commit is contained in:
parent
5ffc054d75
commit
8f37704530
@ -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
|
||||
```
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user