Page 3 of 4

PostPosted: Fri Sep 21, 2012 09:35
by cornernote
I get this error:

18:35:42: ERROR[main]: ERROR: An unhandled exception occurred: ServerError: LuaError: error:
...ames\cornernote_game\mods\technical\workers\init.lua:438: attempt to call field 'node_metadata_inventory_take_allow_all' (a nil value)

i found just removing the lines with minetest.node_metadata_inventory_take_allow_all() fixes it

PostPosted: Sat Sep 22, 2012 16:46
by Actev8
Fantastic mod thank you

PostPosted: Sat Sep 22, 2012 19:23
by creeper96
Awesome!!!! if you have time could you make one of those workers change into a guard so it can defend you or your house or even if you tell it to stay in one position and kill anything that gets to close.

PostPosted: Tue Oct 02, 2012 23:10
by chris36202
good mod x100000

PostPosted: Tue Feb 19, 2013 11:48
by deivan
Very nice. But the miner put every torch in the middle of air... I fixed it adding +1 to x and z values of the add_node line but the torch is reversed... :-o

PostPosted: Sat Mar 09, 2013 12:11
by Adarqet
How to make the builder actually buil stuff

PostPosted: Sun Mar 10, 2013 01:10
by xavier108
That look so awesome +1 and a happy face :D

PostPosted: Sun Mar 10, 2013 02:38
by Darkman
Genius Worker...

PostPosted: Sun Mar 24, 2013 21:49
by acridstone
I will get it if it has a git page

PostPosted: Sat Jul 27, 2013 16:45
by sneebliahj1
i have a question. how do you get them to work? how do you get the builder to build? I am lost

PostPosted: Sat Jul 27, 2013 21:31
by Topywo
sneebliahj1 wrote:i have a question. how do you get them to work? how do you get the builder to build? I am lost


In the first post there's a working link to a doc:

http://dl.dropbox.com/u/94028701/workers_doc_2.0.zip

PostPosted: Mon Jul 29, 2013 20:19
by Exilyth
Great mod with great documentation :)

The requirement of a full mese block makes the workers hard to craft, but they're well worth the resources invested.

I'd like to suggest the addition of a tunneler, which would be exactly like the miner, but horizontal.

PostPosted: Tue Jul 30, 2013 01:20
by LionsDen
His last post was 2012-10-05 so I doubt you will be getting an answer. I made a modification to the miner so that it checks the level below the current mine level to make sure that it isn't tunneling into water, lava or air. I'm thinking of creating a tunneler that tunnels horizontally and builds a wall around itself as it goes.

EDIT: Typos

PostPosted: Tue Jul 30, 2013 14:41
by george90867
what version of minetest is needed?

PostPosted: Tue Jul 30, 2013 15:58
by LionsDen
george90867 wrote:what version of minetest is needed?


For the original mod? I would say any version that has been made since this mod came out late 2012. I am currently playing with it in the Indev version by PilzAdam on Windows XP.

PostPosted: Sun Aug 04, 2013 23:38
by LionsDen
I figured someone might like to try my changes so I uploaded the new workers mod v2-1 to mediafire for people to download and try.

Changes:
1. Miners now look below the level they are about to mine for air, water or lava and stop if any is found.
2. Miners now attach torches to walls so placing objects near them or mining near them doesn't cause them to fall.
3. Miners now place ladders on the wall they are facing as they dig down.

Hope people like them and if LocaL_ALchemisT ever comes back, he can incorporate the changes into the regular mod if he likes.

Mediafire link: http://www.mediafire.com/download/gma9dm5l1cr552x/workers.zip

EDIT: Forgot to post the link. :P

PostPosted: Mon Aug 05, 2013 21:49
by Topywo
LionsDen wrote:Changes:
1. Miners now look below the level they are about to mine for air, water or lava and stop if any is found.
2. Miners now attach torches to walls so placing objects near them or mining near them doesn't cause them to fall.
3. Miners now place ladders on the wall they are facing as they dig down.


Didn't try them yet. Reading the changes, I think they're a great addition to this mod!

PostPosted: Thu Sep 26, 2013 08:35
by Ikishida
uhh... when i put a hut plan in Benjo,he didn't build it,how come?

PostPosted: Thu Nov 21, 2013 16:39
by ninjaxx
this is prety cool
does anyone use it in a server?
i have an idea you can make a defender and an attacker that they use guns or swords

PostPosted: Sat Nov 23, 2013 15:46
by ninjaxx
nice thing

PostPosted: Fri Dec 20, 2013 06:37
by keyxmakerx
This mod needs to be improved upon. Many people could use this for a offline use...

PostPosted: Tue Jan 14, 2014 09:52
by Markov
Amazing mode!
But can you make them like people (2 blocks:)

Re: [Mod] Workers [2.0] [workers]

PostPosted: Mon Aug 04, 2014 17:19
by dangrega33
I downloaded the document to see the crafting recipes and it isn't showing the pics. It is showing that they are all broken links. If anybody can help me out and let me know what the crafting recipes are, or even better, sending me a working link to show me how to use this mod I'd appreciate it. I downloaded the mod, I just have to figure out how to use it. Thanks in advance.

Re: [Mod] Workers [2.0] [workers]

PostPosted: Mon Aug 04, 2014 18:24
by LionsDen
Here is the relevant part of the code that contain many if not all of the crafting recipes.

Code: Select all
minetest.register_craft({
   output = "workers:harvester",
   recipe = {
      {"default:dirt","default:chest","default:dirt"},
      {"default:dirt","default:mese","default:dirt"},
      {"default:dirt","default:dirt","default:dirt"}
   }
})

minetest.register_craft({
   output = "workers:gardener",
   recipe = {
      {"default:dirt","default:shovel_steel","default:dirt"},
      {"default:dirt","default:mese","default:dirt"},
      {"default:dirt","default:dirt","default:dirt"}
   }
})

minetest.register_craft({
   output = "workers:miner",
   recipe = {
      {"default:dirt","default:pick_steel","default:dirt"},
      {"default:dirt","default:mese","default:dirt"},
      {"default:dirt","default:dirt","default:dirt"}
   }
})

minetest.register_craft({
   output = "workers:builder",
   recipe = {
      {"default:dirt","default:brick","default:dirt"},
      {"default:dirt","default:mese","default:dirt"},
      {"default:dirt","default:dirt","default:dirt"}
   }
})

minetest.register_craft({
   output = "workers:guard",
   recipe = {
      {"default:dirt","default:steelblock","default:dirt"},
      {"default:dirt","default:mese","default:dirt"},
      {"default:dirt","default:dirt","default:dirt"}
   }
})

minetest.register_craft({
   output = "workers:assassin",
   recipe = {
      {"default:dirt","default:sword_steel","default:dirt"},
      {"default:dirt","default:mese","default:dirt"},
      {"default:dirt","default:dirt","default:dirt"}
   }
})

minetest.register_craft({
   output = "workers:thief",
   recipe = {
      {"default:dirt","default:coal_lump","default:dirt"},
      {"default:dirt","default:mese","default:dirt"},
      {"default:dirt","default:dirt","default:dirt"}
   }
})

minetest.register_craft({
   output = "workers:cop",
   recipe = {
      {"default:dirt","workers:guard","default:dirt"},
      {"default:dirt","default:mese","default:dirt"},
      {"default:dirt","default:dirt","default:dirt"}
   }
})

-- BENJO'S PLANS

minetest.register_craft({
   output = "workers:plan_house",
   recipe = {
      {"default:clay_brick","default:clay_brick","default:clay_brick"},
      {"default:clay_brick","                  ","default:clay_brick"},
      {"                  ","default:paper     ","                  "}
   }
})

minetest.register_craft({
   output = "workers:plan_hut",
   recipe = {
      {"                  ","default:clay_brick","                  "},
      {"default:clay_brick","                  ","default:clay_brick"},
      {"                  ","default:paper     ","                  "}
   }
})

minetest.register_craft({
   output = "workers:plan_pool",
   recipe = {
      {"default:clay_brick","bucket:bucket_water","default:clay_brick"},
      {"default:clay_brick","default:clay_brick ","default:clay_brick"},
      {"                  ","default:paper      ","                  "}
   }
})

minetest.register_craft({
   output = "workers:plan_moat",
   recipe = {
      {"bucket:bucket_water","default:clay_brick","bucket:bucket_water"},
      {"default:clay_brick ","default:clay_brick","default:clay_brick "},
      {"                   ","default:paper     ","                   "}
   }
})

minetest.register_craft({
   output = "workers:plan_tower",
   recipe = {
      {"default:clay_brick","                   ","default:clay_brick"},
      {"default:clay_brick","                   ","default:clay_brick"},
      {"                  ","default:paper      ","                  "}
   }
})

minetest.register_craft({
   output = "workers:plan_ubunker",
   recipe = {
      {"default:dirt       ","default:dirt      ","default:dirt      "},
      {"default:clay_brick ","default:clay_brick","default:clay_brick"},
      {"                   ","default:paper     ","                  "}
   }
})

minetest.register_craft({
   output = "workers:plan_wall",
   recipe = {
      {"default:clay_brick","default:clay_brick","default:clay_brick"},
      {"default:clay_brick","default:clay_brick","default:clay_brick"},
      {"                  ","default:paper     ","                  "}
   }
})

minetest.register_craft({
   output = "workers:plan_lavapool",
   recipe = {
      {"default:clay_brick","bucket:bucket_lava","default:clay_brick"},
      {"default:clay_brick","default:clay_brick","default:clay_brick"},
      {"                  ","default:paper     ","                  "}
   }
})

minetest.register_craft({
   output = "workers:plan_lavamoat",
   recipe = {
      {"bucket:bucket_lava","default:clay_brick","bucket:bucket_lava"},
      {"default:clay_brick","default:clay_brick","default:clay_brick"},
      {"                  ","default:paper     ","                  "}
   }
})


EDIT: I should add that there is a version in which I modified the miner to stop if the layer below the one it will be working on is water, air or lava. I also modified the miner to place the ladder in a specific place each time and I made it so the torches don't fall when you dig near them. Just look around a half dozen posts up above for my post with the attachment.

Re: [Mod] Workers [2.0] [workers]

PostPosted: Mon Aug 04, 2014 18:57
by Krock
Yes, they still work but some of them have a bug where it's not possible anymore to give them a name.

Replace
Code: Select all
hack:sign_text_input

with
Code: Select all
field[text;;${text}]

- Everywhere.

Also, digging those workers deletes all items inside them and the builder does not consume any bricks.