mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
add gfx.weather.get_current, get_current_data, get_fall_intencity
This commit is contained in:
parent
4d5b450145
commit
a152237f26
3 changed files with 40 additions and 3 deletions
|
|
@ -273,7 +273,7 @@ console.add_command(
|
|||
return "weather preset not found"
|
||||
end
|
||||
local preset = json.parse(file.read(filename))
|
||||
gfx.weather.change(preset, args[2])
|
||||
gfx.weather.change(preset, args[2], args[1])
|
||||
return "weather set to "..filename.." preset ("..tostring(args[2]).." s)"
|
||||
end
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue