The mesecons mod sends signals to other mesecons devices with a very high impedance.
Using the technic mod, you can generate power using solar panels or burning coal or any other flammable item.
Minetest unloads unused mapblocks, so there are three ways to solve your quarry problem:
1) Charge batteries on the surface where all your generators are and take them down (inefficient)
2) Build a generator system near to your quarry to make sure it's powered when you're there
3) Force load blocks, so they will stay active forever: (here the code to add a force load command, untested)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
minetest.register_chatcommand("forceload", {
params = "X, Y, Z",
description = "Force loads a block",
privs = {server=true},
func = function(name, param)
local pos = minetest.string_to_pos(param)
if not pos then
return false, "Incorrect position format. Expected: (x,y,z)"
end
if minetest.forceload_block(pos) then
return true, "Successfully forceloaded block ".. minetest.pos_to_string(pos)
else
return false, "Failed to forceload block. Limit reached?"
end
end,
})
minetest.register_chatcommand("unforceload", {
params = "X, Y, Z",
description = "Unloads a force loaded block",
privs = {server=true},
func = function(name, param)
local pos = minetest.string_to_pos(param)
if not pos then
return false, "Incorrect position format. Expected: (x,y,z)"
end
minetest.forceload_free_block(pos)
return true, "Successfully forceloaded block ".. minetest.pos_to_string(pos)
end,
}