Page 1 of 1

[mod] (coming soon) Branches [branches]

PostPosted: Sat May 25, 2013 01:27
by 12Me21
This mod makes it so you can't break trees with your bare hand. To get your first wood you need to dig a bunch of leaves until you get 2 branches (sticks) to make the handle of your tool. Then you dig around in dirt until you find at least 3 rocks, and use the rocks and sticks to make a stone axe, so you can chop down a tree. I am mostly done with this mod, and I will probably release it by tomorrow.

PostPosted: Sat May 25, 2013 06:47
by qznc
12Me21 wrote:This mod makes it so you can't break trees with your bare hand.


The stoneage mod provides similar functionality.

PostPosted: Tue May 28, 2013 06:54
by Mossmanikin
Like the stoneage mod.
Probably will like this one too.

PostPosted: Tue May 28, 2013 13:52
by 12Me21
I am almost done with the textures (just need to make the sword texture) and mostly done with the code, I just need to make a way for you to not be able to break trees with your hand. (usually if you want to modify an existing node/tool/craftitem you do:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_node (":nodename:modname", {...

but the name of the hand is ":", and I'm not sure what to do to that ("::" I guess))

PostPosted: Tue May 28, 2013 14:39
by PilzAdam
12Me21 wrote:I am almost done with the textures (just need to make the sword texture) and mostly done with the code, I just need to make a way for you to not be able to break trees with your hand. (usually if you want to modify an existing node/tool/craftitem you do:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_node (":nodename:modname", {...

but the name of the hand is ":", and I'm not sure what to do to that ("::" I guess))

No, the name of the hand is "" (empty string). If you want to override it, then do it as the default mod in minetest_game: ":"
Btw: Its "modname:nodename", not the other way round.

PostPosted: Tue May 28, 2013 18:44
by 12Me21
PilzAdam wrote:
12Me21 wrote:I am almost done with the textures (just need to make the sword texture) and mostly done with the code, I just need to make a way for you to not be able to break trees with your hand. (usually if you want to modify an existing node/tool/craftitem you do:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.register_node (":nodename:modname", {...

but the name of the hand is ":", and I'm not sure what to do to that ("::" I guess))

No, the name of the hand is "" (empty string). If you want to override it, then do it as the default mod in minetest_game: ":"
Btw: Its "modname:nodename", not the other way round.


ok, I'll try that.