[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 » Thu Jul 26, 2012 23:51

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
 

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

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

by Topywo » Fri Jul 27, 2012 01:14

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 » Fri Jul 27, 2012 02:25

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 » Fri Jul 27, 2012 03:21

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 » Fri Jul 27, 2012 04:50

+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
 

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

by Stef » Fri Jul 27, 2012 09:46

nice
Sorry for my crappy english, im dutch :D
 

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

by mauvebic » Fri Jul 27, 2012 10:22

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
 

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

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

by kddekadenz » Fri Jul 27, 2012 17:44

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 » Fri Jul 27, 2012 22:50

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 » Sat Jul 28, 2012 03:28

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

by LolManKuba » Sat Jul 28, 2012 14:03

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 » Sat Jul 28, 2012 18:49

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 » Sun Jul 29, 2012 02:15

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 » Sun Jul 29, 2012 03:09

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 » Mon Jul 30, 2012 17:20

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
 

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

by LocaL_ALchemisT » Tue Jul 31, 2012 13:44

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 » Sun Aug 05, 2012 16:21

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 » Sun Aug 05, 2012 19:17

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
 

Next

Return to Mod Releases



Who is online

Users browsing this forum: No registered users and 7 guests