[Mod] Workers [2.0] [workers]
- LocaL_ALchemisT
- Member
- Posts: 56
- Joined: Thu Jul 19, 2012 16:21
- Location: Asia Tenggara
[Mod] Workers [2.0] [workers]
Nodes which move on its own, and ready to serve you
Workers available:
Some screenshots:
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)
Workers available:
Some screenshots:
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~
Having A Buzy Week
From 0.4.10 with love~
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)
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.
- LocaL_ALchemisT
- Member
- Posts: 56
- Joined: Thu Jul 19, 2012 16:21
- Location: Asia Tenggara
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
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~
Having A Buzy Week
From 0.4.10 with love~
- LolManKuba
- Member
- Posts: 939
- Joined: Fri Feb 10, 2012 22:36
- Location: Ontario, Canada
- Contact:
here, if you wanna make Don the Dredger
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.
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(),
})]]--
Last edited by mauvebic on Fri Jul 27, 2012 10:22, edited 1 time in total.
- kddekadenz
- Member
- Posts: 323
- Joined: Mon Jun 27, 2011 17:21
- GitHub: tinyworlds
- Location: Germany
- Contact:
- LocaL_ALchemisT
- Member
- Posts: 56
- Joined: Thu Jul 19, 2012 16:21
- Location: Asia Tenggara
Thank you everyone for your ideas & support
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:
Garren The Gardener will help you grow some cactus, papyrus & more..
also coming up: miners, builders & more worker
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:
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~
Having A Buzy Week
From 0.4.10 with love~
Garren The Gardener looks cool!LocaL_ALchemisT wrote:Thank you everyone for your ideas & support
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:
Garren The Gardener will help you grow some cactus, papyrus & more..
also coming up: miners, builders & more worker
- LolManKuba
- Member
- Posts: 939
- Joined: Fri Feb 10, 2012 22:36
- Location: Ontario, Canada
- Contact:
And funny lol.Josh wrote:Garren The Gardener looks cool!LocaL_ALchemisT wrote:Thank you everyone for your ideas & support
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:
Garren The Gardener will help you grow some cactus, papyrus & more..
also coming up: miners, builders & more worker
- LocaL_ALchemisT
- Member
- Posts: 56
- Joined: Thu Jul 19, 2012 16:21
- Location: Asia Tenggara
hey all i just got back
short reply: at some time the workers will tell you their current coordinate, just teleport there. i cant make the command for now.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."
Built Telegate v1.0, Workers v2.0, Broadcast v0.0 & Weeping Angel v0.1
Having A Buzy Week
From 0.4.10 with love~
Having A Buzy Week
From 0.4.10 with love~
Yeah he does look funny he kindv'e looks like kevin of that movie home alone when he yells lol!LolManKuba wrote:And funny lol.Josh wrote:Garren The Gardener looks cool!LocaL_ALchemisT wrote:Thank you everyone for your ideas & support
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:
Garren The Gardener will help you grow some cactus, papyrus & more..
also coming up: miners, builders & more worker
- LocaL_ALchemisT
- Member
- Posts: 56
- Joined: Thu Jul 19, 2012 16:21
- Location: Asia Tenggara
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~
Having A Buzy Week
From 0.4.10 with love~
- LolManKuba
- Member
- Posts: 939
- Joined: Fri Feb 10, 2012 22:36
- Location: Ontario, Canada
- Contact:
- LocaL_ALchemisT
- Member
- Posts: 56
- Joined: Thu Jul 19, 2012 16:21
- Location: Asia Tenggara
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.
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~
Having A Buzy Week
From 0.4.10 with love~
- LocaL_ALchemisT
- Member
- Posts: 56
- Joined: Thu Jul 19, 2012 16:21
- Location: Asia Tenggara
Hey, v2.0 is out! Added 5 more workers. User guide also included!
can this go to mod release?
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~
Having A Buzy Week
From 0.4.10 with love~
Who is online
Users browsing this forum: No registered users and 34 guests