add world.get_generator
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# *world* library
|
||||
|
||||
```lua
|
||||
-- Returns worlds information.
|
||||
world.get_list() -> tables array {
|
||||
-- world name
|
||||
name: str,
|
||||
@@ -27,6 +28,9 @@ world.get_total_time() -> number
|
||||
-- Returns world seed.
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user