[Mod] Workers [2.0] [workers]

User avatar
cornernote
Member
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Post

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
Last edited by cornernote on Sat Sep 22, 2012 02:08, edited 1 time in total.

User avatar
Actev8
Member
Posts: 120
Joined: Sat Sep 15, 2012 14:09

by Actev8 » Post

Fantastic mod thank you

User avatar
creeper96
Member
Posts: 25
Joined: Thu Sep 13, 2012 10:52
Location: New Zealand

by creeper96 » Post

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.

User avatar
chris36202
Member
Posts: 38
Joined: Thu Sep 27, 2012 12:22

by chris36202 » Post

good mod x100000
chris mcleod
my windows live mesgener name is rock36202

User avatar
deivan
Member
Posts: 452
Joined: Fri Feb 15, 2013 10:16
Location: Brazil. :D

by deivan » Post

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

User avatar
Adarqet
Member
Posts: 173
Joined: Thu Oct 04, 2012 14:05
Location: Traveling with BorisGrishenko

by Adarqet » Post

How to make the builder actually buil stuff

User avatar
xavier108
Member
Posts: 227
Joined: Sat Nov 24, 2012 06:05
IRC: Ezlif
Location: Black Mesa Facility
Contact:

by xavier108 » Post

That look so awesome +1 and a happy face :D
Ezlif :D

User avatar
Darkman
New member
Posts: 5
Joined: Sat Mar 09, 2013 10:10

by Darkman » Post

Genius Worker...

User avatar
acridstone
Member
Posts: 14
Joined: Sat Mar 02, 2013 06:53

by acridstone » Post

I will get it if it has a git page

User avatar
sneebliahj1
Member
Posts: 61
Joined: Wed Jul 10, 2013 18:41

by sneebliahj1 » Post

i have a question. how do you get them to work? how do you get the builder to build? I am lost

User avatar
Topywo
Member
Posts: 1721
Joined: Fri May 18, 2012 20:27

by Topywo » Post

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

User avatar
Exilyth
Member
Posts: 73
Joined: Sun Jul 28, 2013 18:46
Location: Earth

by Exilyth » Post

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.
I'm running 0.4.13 stable with [technic][carts][farming_plus][biome_lib][unified_inventory] and a few other mods.

User avatar
LionsDen
Member
Posts: 530
Joined: Thu Jun 06, 2013 03:19

by LionsDen » Post

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
Last edited by LionsDen on Tue Jul 30, 2013 01:23, edited 1 time in total.

User avatar
george90867
Member
Posts: 25
Joined: Fri Jul 26, 2013 17:42

by george90867 » Post

what version of minetest is needed?

User avatar
LionsDen
Member
Posts: 530
Joined: Thu Jun 06, 2013 03:19

by LionsDen » Post

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.

User avatar
LionsDen
Member
Posts: 530
Joined: Thu Jun 06, 2013 03:19

by LionsDen » Post

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/gma9d ... orkers.zip

EDIT: Forgot to post the link. :P
Last edited by LionsDen on Sun Aug 04, 2013 23:40, edited 1 time in total.

User avatar
Topywo
Member
Posts: 1721
Joined: Fri May 18, 2012 20:27

by Topywo » Post

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!

User avatar
Ikishida
Member
Posts: 107
Joined: Sat Aug 17, 2013 08:02
Location: (secret)

by Ikishida » Post

uhh... when i put a hut plan in Benjo,he didn't build it,how come?
When life hands you lemons,throw it back at life saying "I don't need your goddamn lemons!" =D

User avatar
ninjaxx
New member
Posts: 4
Joined: Thu Nov 21, 2013 13:55

by ninjaxx » Post

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

User avatar
ninjaxx
New member
Posts: 4
Joined: Thu Nov 21, 2013 13:55

by ninjaxx » Post

nice thing

User avatar
keyxmakerx
Member
Posts: 104
Joined: Mon Apr 08, 2013 23:53

by keyxmakerx » Post

This mod needs to be improved upon. Many people could use this for a offline use...

User avatar
Markov
New member
Posts: 6
Joined: Sat Jan 11, 2014 06:59
Location: Russia
Contact:

by Markov » Post

Amazing mode!
But can you make them like people (2 blocks:)

dangrega33
Member
Posts: 10
Joined: Sat Aug 02, 2014 05:12

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

by dangrega33 » Post

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.

User avatar
LionsDen
Member
Posts: 530
Joined: Thu Jun 06, 2013 03:19

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

by LionsDen » Post

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.

User avatar
Krock
Developer
Posts: 4589
Joined: Thu Oct 03, 2013 07:48
GitHub: SmallJoker
Location: Switzerland
Contact:

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

by Krock » Post

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.
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>

Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests