OSHA Wind Power


Adds windmills for power. For best results keep spread and near water if possible

Content
2 years ago
0.17 - 1.1
1.77K
Power

g Code for fix crash on server start

4 years ago

Hi can you change the migration script: migrations/0.0.3.lua Like this :

local num_wind_turbines = global.num_wind_turbines
if num_wind_turbines ~= nil then
for i=1,num_wind_turbines do
turbine = global.wind_turbines[i]
check_turbine_surroundings(turbine)
calculate_turbine_power(i)
end
end

This fix the crash on first start.
Thanks you

4 years ago

I've updated for .18 and included this as well. Thanks for using :)

This thread has been locked.