OSHA Wind Power


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

Content
1 year, 8 months ago
0.17 - 1.1
1.65K
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

3 years ago

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

This thread has been locked.