[Mod] Workers [2.0] [workers]

User avatar
LocaL_ALchemisT
Member
Posts: 56
Joined: Thu Jul 19, 2012 16:21
Location: Asia Tenggara

[Mod] Workers [2.0] [workers]

by LocaL_ALchemisT » Post

Nodes which move on its own, and ready to serve you

Workers available:

ImageImageImageImage
ImageImageImageImage

Some screenshots:

Image

Image

Image

Image

Image

Depends on "default" and "bucket" (highly recommended)

To be done:
1. Find & fix bugs
2. More workers

Known bug(s):
1. Worker moves too fast to north and east

License: WTFPL for code & textures, CC BY-SA for sounds

Version(s):
0.0
1.0: Added gardener & miner
1.1: Improved miner's inventory management
2.0: Added 5 more workers (and user guide doc for v2.0)
Last edited by LocaL_ALchemisT on Sun Aug 05, 2012 20:09, edited 1 time in total.
Built Telegate v1.0, Workers v2.0, Broadcast v0.0 & Weeping Angel v0.1
Having A Buzy Week
From 0.4.10 with love~

cae2000
Member
Posts: 23
Joined: Thu Jul 26, 2012 19:10

by cae2000 » Post

cool! +1

ashenk69
Member
Posts: 230
Joined: Tue Jul 03, 2012 00:08

by ashenk69 » Post

Really cool unique idea.

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

by Topywo » Post

I liked playing around with them!

Is it possible to program the Harveys to harvest other Harveys, instead of themselfs and to combine this mod with the painting mod to give an individual touch...?

edit: (typo's)
Last edited by Topywo on Fri Jul 27, 2012 01:15, edited 1 time in total.

User avatar
LocaL_ALchemisT
Member
Posts: 56
Joined: Thu Jul 19, 2012 16:21
Location: Asia Tenggara

by LocaL_ALchemisT » Post

haven't tried it, but it may be possible (Harvey is a node after all). i don't think i would want to combine it with any mods though, i just want this mod to depend only on 'default'. Sorry about that, but great idea. you could personalize your Harveys with that.

coming up next: miners, builders and more worker types, along with better interface & sounds

edit: now that you mention it, i figured out that a player can use harvey to steal other players' harveys...meh i'll let that be for now
Last edited by LocaL_ALchemisT on Fri Jul 27, 2012 02:29, edited 1 time in total.
Built Telegate v1.0, Workers v2.0, Broadcast v0.0 & Weeping Angel v0.1
Having A Buzy Week
From 0.4.10 with love~

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

Epic! now we can have our own little freind in minetest! good job LocaL_ALchemisT.

User avatar
Jeija
Member
Posts: 686
Joined: Fri Dec 23, 2011 21:46
Location: Nürtingen, Germany

by Jeija » Post

+1 That's cool!
Redstone for minetest: Mesecons (mesecons.net)

User avatar
LolManKuba
Member
Posts: 939
Joined: Fri Feb 10, 2012 22:36
Location: Ontario, Canada
Contact:

by LolManKuba » Post

NICE! +45!
NPC's in Minetest!

User avatar
Stef
Member
Posts: 394
Joined: Wed Apr 04, 2012 10:46
Location: Belgium

by Stef » Post

nice
Sorry for my crappy english, im dutch :D

mauvebic
Member
Posts: 1550
Joined: Fri Jan 27, 2012 11:32

by mauvebic » Post

here, if you wanna make Don the Dredger :P

Code: Select all

--[[
    -------------------------------------------------------
--------------        water levelling                    ---------------------------
        ---------------------------------------------------------------

minetest.register_abm({
    nodenames = {"multinode:pump"},
    interval = 20,
    chance = 1,
    action = function(pos, node, _, _)
        local nodes = {{x=pos.x,y=pos.y+1,z=pos.z}, {x=pos.x+1,y=pos.y,z=pos.z}, {x=pos.x-1,y=pos.y,z=pos.z}, {x=pos.x,y=pos.y,z=pos.z+1}, {x=pos.x,y=pos.y,z=pos.z+1}}

        for i,po in pairs(nodes) do
            local node = minetest.env:get_node(po)
            if node.name == 'riventest:water_source' or node.name == 'riventest:water_flowing' or node.name == 'default:water_source' or node.name == 'default:water_flowing' then
                minetest.env:add_node(po,{type="node",name='multinode:pump'})
            end
        
        end

    end,
})

minetest.register_abm({
    nodenames = {"multinode:pump"},
    interval = 45,
    chance = 1,
    action = function(pos, node, _, _)
        local nodes = {{x=pos.x,y=pos.y+1,z=pos.z}, {x=pos.x+1,y=pos.y,z=pos.z}, {x=pos.x-1,y=pos.y,z=pos.z}, {x=pos.x,y=pos.y,z=pos.z+1}, {x=pos.x,y=pos.y,z=pos.z+1}}
        local found_something = false
        for i,po in pairs(nodes) do
            local node = minetest.env:get_node(po)
            if node.name == 'riventest:water_source' or node.name == 'riventest:water_flowing' or node.name == 'default:water_source' or node.name == 'default:water_flowing' then
                found_something = true end
        end
        if found_something == false then minetest.env:remove_node(pos) end
    end,
})
minetest.register_node("multinode:pump", {
    description = "pump",

    tile_images = {"default_cobble.png"},
    inventory_image = "default_cobble.png",
    wield_image = "default_cobble.png",
    paramtype = "light",
    groups = {choppy=2,dig_immediate=2},
    sounds = default.node_sound_defaults(),
})]]--
basically this node replaces all the water next to and over itself (not below) with copies of itself, which then disappear when it no longer detects water on any of its sides.
Last edited by mauvebic on Fri Jul 27, 2012 10:22, edited 1 time in total.

TheLoLMan
Member
Posts: 190
Joined: Sat Jun 16, 2012 13:43

by TheLoLMan » Post

Cool +1 :D

User avatar
dannydark
Member
Posts: 428
Joined: Fri Aug 12, 2011 21:28
Location: Manchester, UK

by dannydark » Post

+1 Haha nice ^_^

User avatar
kddekadenz
Member
Posts: 323
Joined: Mon Jun 27, 2011 17:21
GitHub: tinyworlds
Location: Germany
Contact:

by kddekadenz » Post

Amazing mod.

Suggestions:
  • make a upper limit of 99 blocks per task
  • make the worker 'pick up' the drops of the blocks he harvest (e.g. stone-cobble)
  • make him not pick up liquid nodes
  • make a worker which harvest trees and plants saplings and brings the wood to a chest

User avatar
LocaL_ALchemisT
Member
Posts: 56
Joined: Thu Jul 19, 2012 16:21
Location: Asia Tenggara

by LocaL_ALchemisT » Post

Thank you everyone for your ideas & support :D

my code is getting messy and it would take some time to finish it. got something else to do this weekend so i'll be far away from my computer for a while. but worry not people, i am making progress...

here's a sneak peek on what's in v1.0:

Image

Garren The Gardener will help you grow some cactus, papyrus & more..
also coming up: miners, builders & more worker :)
Built Telegate v1.0, Workers v2.0, Broadcast v0.0 & Weeping Angel v0.1
Having A Buzy Week
From 0.4.10 with love~

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

LocaL_ALchemisT wrote:Thank you everyone for your ideas & support :D

my code is getting messy and it would take some time to finish it. got something else to do this weekend so i'll be far away from my computer for a while. but worry not people, i am making progress...

here's a sneak peek on what's in v1.0:

Image

Garren The Gardener will help you grow some cactus, papyrus & more..
also coming up: miners, builders & more worker :)
Garren The Gardener looks cool!

User avatar
LolManKuba
Member
Posts: 939
Joined: Fri Feb 10, 2012 22:36
Location: Ontario, Canada
Contact:

by LolManKuba » Post

Josh wrote:
LocaL_ALchemisT wrote:Thank you everyone for your ideas & support :D

my code is getting messy and it would take some time to finish it. got something else to do this weekend so i'll be far away from my computer for a while. but worry not people, i am making progress...

here's a sneak peek on what's in v1.0:

Image

Garren The Gardener will help you grow some cactus, papyrus & more..
also coming up: miners, builders & more worker :)
Garren The Gardener looks cool!
And funny lol.

Ghost_of_tino

by Ghost_of_tino » Post

What my brother suggested, I will relay:

"Why not ha'e a chat command that returns the workers to their master? I occasionally lose track of my workers when I release them in swarms, so this seems logical."

User avatar
LocaL_ALchemisT
Member
Posts: 56
Joined: Thu Jul 19, 2012 16:21
Location: Asia Tenggara

by LocaL_ALchemisT » Post

hey all i just got back
Ghost_of_tino wrote:What my brother suggested, I will relay:

"Why not ha'e a chat command that returns the workers to their master? I occasionally lose track of my workers when I release them in swarms, so this seems logical."
short reply: at some time the workers will tell you their current coordinate, just teleport there. i cant make the command for now.
Built Telegate v1.0, Workers v2.0, Broadcast v0.0 & Weeping Angel v0.1
Having A Buzy Week
From 0.4.10 with love~

Josh
Member
Posts: 1146
Joined: Fri Jun 29, 2012 23:11
Location: Victoria, Australia

by Josh » Post

LolManKuba wrote:
Josh wrote:
LocaL_ALchemisT wrote:Thank you everyone for your ideas & support :D

my code is getting messy and it would take some time to finish it. got something else to do this weekend so i'll be far away from my computer for a while. but worry not people, i am making progress...

here's a sneak peek on what's in v1.0:

Image

Garren The Gardener will help you grow some cactus, papyrus & more..
also coming up: miners, builders & more worker :)
Garren The Gardener looks cool!
And funny lol.
Yeah he does look funny he kindv'e looks like kevin of that movie home alone when he yells lol!

User avatar
LocaL_ALchemisT
Member
Posts: 56
Joined: Thu Jul 19, 2012 16:21
Location: Asia Tenggara

by LocaL_ALchemisT » Post

Version 1.0 is out! Introducing Garren The Gardener & Mordec The Miner
Built Telegate v1.0, Workers v2.0, Broadcast v0.0 & Weeping Angel v0.1
Having A Buzy Week
From 0.4.10 with love~

User avatar
LolManKuba
Member
Posts: 939
Joined: Fri Feb 10, 2012 22:36
Location: Ontario, Canada
Contact:

by LolManKuba » Post

NICE!

User avatar
LocaL_ALchemisT
Member
Posts: 56
Joined: Thu Jul 19, 2012 16:21
Location: Asia Tenggara

by LocaL_ALchemisT » Post

v1.1 just released, improved miner's inventory management.
now it will throw out full stack of cobbles, dirts & sands to give more space for ores.
Built Telegate v1.0, Workers v2.0, Broadcast v0.0 & Weeping Angel v0.1
Having A Buzy Week
From 0.4.10 with love~

User avatar
LocaL_ALchemisT
Member
Posts: 56
Joined: Thu Jul 19, 2012 16:21
Location: Asia Tenggara

by LocaL_ALchemisT » Post

Hey, v2.0 is out! Added 5 more workers. User guide also included!

can this go to mod release?
Built Telegate v1.0, Workers v2.0, Broadcast v0.0 & Weeping Angel v0.1
Having A Buzy Week
From 0.4.10 with love~

User avatar
Keegan
Member
Posts: 332
Joined: Thu Jun 14, 2012 18:31

by Keegan » Post

Idk forgot and my friend said he remove the havery guy and the server crash
Owner of Keegan's server address>66.227.221.69:30000<port

TheLoLMan
Member
Posts: 190
Joined: Sat Jun 16, 2012 13:43

by TheLoLMan » Post

Please crafting

Post Reply

Who is online

Users browsing this forum: No registered users and 24 guests