Mod Request ?

ShadowAce
Member
 
Posts: 18
Joined: Tue Sep 22, 2015 00:30

Mod Request ?

by ShadowAce » Fri Nov 06, 2015 15:49

Not being a programmer anymore (years ago), I'd like to request a mod from you current programmers out there.

I looked at the Mesecons Mod, but I'm not sure it does what I'd like--provide wireless power transmission, like tesseracts in Minecraft.

I'm getting tired of stringing HV cable down 500m holes for my quarry machines. :)
 

User avatar
Krock
Member
 
Posts: 3598
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker

Re: Mod Request ?

by Krock » Fri Nov 06, 2015 18:10

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,
}
Newest Win32 builds - Find a mod - All my mods
ALL YOUR DONATION ARE BELONG TO PARAMAT (Please support him and Minetest)
New DuckDuckGo !bang: !mtmod <keyword here>
 

ShadowAce
Member
 
Posts: 18
Joined: Tue Sep 22, 2015 00:30

Re: Mod Request ?

by ShadowAce » Fri Nov 06, 2015 19:27

Yeah--I've already got a couple of admin_anchors--one on top of the nuclear reactor, and one down by the quarry machines--so keeping them loaded and running is not the issue.

However, once they are done digging (a limit of 100m down, it seems), I need to move the machines down and string another 100m of HV cable down to them. What I'd like is to have a power transmitter on top and just move the quarry machines down and connect them to a power receiver without having to construct and string all that cable.

This would allow me to put machines wherever I need them and not have to have HV cable all over the place.
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 5 guests

cron