2020-04-13 01:55:39 +02:00
|
|
|
local state = minetest.get_mod_storage()
|
2020-04-10 03:06:57 +02:00
|
|
|
|
2020-05-12 16:00:24 +02:00
|
|
|
if not state:contains("heat_random") then
|
2020-04-13 16:53:32 +02:00
|
|
|
state:from_table({
|
|
|
|
heat_random = 1,
|
|
|
|
humidity_random = 1,
|
|
|
|
humidity_base = 50,
|
|
|
|
wind_x = 0.5,
|
2020-05-12 16:00:24 +02:00
|
|
|
wind_z = 0.5
|
2020-04-13 16:53:32 +02:00
|
|
|
})
|
2020-04-10 03:06:57 +02:00
|
|
|
end
|
|
|
|
|
2020-04-13 01:55:39 +02:00
|
|
|
return state
|