mirror of
https://github.com/t-affeldt/climate_api.git
synced 2025-07-05 01:40:38 +02:00
Add datastorage, fix player_monoids support, tweak wind
This commit is contained in:
9
init.lua
9
init.lua
@ -33,16 +33,15 @@ weather_mod.settings = {
|
||||
min_height = getNumericSetting("min_height", -50)
|
||||
}
|
||||
|
||||
weather_mod.state = {
|
||||
heat = 1,
|
||||
humidity = 1,
|
||||
wind = vector.new(0, 0, -0.25)
|
||||
}
|
||||
dofile(weather_mod.modpath.."/lib/datastorage.lua")
|
||||
weather_mod.state = weather_mod.get_storage()
|
||||
|
||||
-- import core API
|
||||
dofile(weather_mod.modpath.."/lib/player.lua")
|
||||
dofile(weather_mod.modpath.."/lib/environment.lua")
|
||||
dofile(weather_mod.modpath.."/lib/wind.lua")
|
||||
dofile(weather_mod.modpath.."/lib/calendar_dictionary.lua")
|
||||
dofile(weather_mod.modpath.."/lib/calendar.lua")
|
||||
dofile(weather_mod.modpath.."/lib/main.lua")
|
||||
dofile(weather_mod.modpath.."/lib/commands.lua")
|
||||
|
||||
|
Reference in New Issue
Block a user