diff --git a/mods/cozylights/init.lua b/mods/cozylights/init.lua index 816a7dd5..fe6c0a42 100644 --- a/mods/cozylights/init.lua +++ b/mods/cozylights/init.lua @@ -542,7 +542,7 @@ minetest.register_globalstep(function(dtime) local exe_time = (os.clock() - t) total_wield_time = total_wield_time + mf(exe_time * 1000) total_wield_step_count = total_wield_step_count + 1 - print("Av wielded cozy light step time " .. mf(total_wield_time/total_wield_step_count) .. " ms. Sample of: "..total_wield_step_count) + --print("Av wielded cozy light step time " .. mf(total_wield_time/total_wield_step_count) .. " ms. Sample of: "..total_wield_step_count) if cozylights.crispy_potato and exe_time > wield_step then cozylights:set_wielded_light_radius(cozylights.max_wield_light_radius - 1) minetest.chat_send_all("wield light step was adjusted to "..(exe_time*2).." secs to help crispy potato.") diff --git a/mods/cozylights/wield_light.lua b/mods/cozylights/wield_light.lua index ba7d764a..a962765b 100644 --- a/mods/cozylights/wield_light.lua +++ b/mods/cozylights/wield_light.lua @@ -257,6 +257,6 @@ function cozylights:draw_wielded_light(pos, last_pos, cozy_item,vel,cozyplayer,v cozyplayer.last_wield_radius = radius gent_total = gent_total + mf((os.clock() - t) * 1000) gent_count = gent_count + 1 - print("Av wield illum time " .. mf(gent_total/gent_count) .. " ms. Sample of: "..gent_count) + --print("Av wield illum time " .. mf(gent_total/gent_count) .. " ms. Sample of: "..gent_count) end diff --git a/wield cozy b/wield cozy new file mode 100644 index 00000000..ad44e919 --- /dev/null +++ b/wield cozy @@ -0,0 +1 @@ +heat_point = 47, humidity_point = 66, \ No newline at end of file