mirror of
https://github.com/t-affeldt/climate_api.git
synced 2025-07-06 06:30:28 -04:00
Add lightning, fix cloud size
This commit is contained in:
parent
3581ad71cb
commit
dd73a0df17
7 changed files with 60 additions and 28 deletions
|
@ -29,7 +29,7 @@ minetest.register_chatcommand("set_weather", {
|
|||
|
||||
-- Set wind speed and direction
|
||||
minetest.register_chatcommand("set_wind", {
|
||||
params = "<weather>",
|
||||
params = "<wind>",
|
||||
description = "Set wind to the given x,z direction", -- full description
|
||||
privs = {weather = true},
|
||||
func = function(name, param)
|
||||
|
@ -50,7 +50,7 @@ minetest.register_chatcommand("set_wind", {
|
|||
|
||||
-- Set base value of global heat level
|
||||
minetest.register_chatcommand("set_heat", {
|
||||
params = "<weather>",
|
||||
params = "<heat>",
|
||||
description = "Set base value of global heat level", -- full description
|
||||
privs = {weather = true},
|
||||
func = function(name, param)
|
||||
|
@ -69,7 +69,7 @@ minetest.register_chatcommand("set_heat", {
|
|||
|
||||
-- Set base value of global humidity level
|
||||
minetest.register_chatcommand("set_humidity", {
|
||||
params = "<weather>",
|
||||
params = "<humidity>",
|
||||
description = "Set base value of global humidity level", -- full description
|
||||
privs = {weather = true},
|
||||
func = function(name, param)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue