mirror of
https://github.com/t-affeldt/climate_api.git
synced 2025-07-06 02:10:35 +02:00
Various adjustments and fixes
This commit is contained in:
@ -1,13 +1,12 @@
|
||||
local state = minetest.get_mod_storage()
|
||||
|
||||
if not state:contains("noise_timer") then
|
||||
if not state:contains("heat_random") then
|
||||
state:from_table({
|
||||
heat_random = 1,
|
||||
humidity_random = 1,
|
||||
humidity_base = 50,
|
||||
wind_x = 0.5,
|
||||
wind_z = 0.5,
|
||||
noise_timer = 0
|
||||
wind_z = 0.5
|
||||
})
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user