Page 1 of 1

[Mod] mymasonhammer [mymasonhammer]

Posted: Mon Oct 26, 2015 02:25
by Don
This is a hammer to make rocks into stairs, ladders and footholds. It is great for mining to make it easier for you to get around in mines.
Left click to make a groove.
Right click to change mode. Mode is shown in chat.

Depends - Default
Download - https://github.com/minetest-mods/mymaso ... master.zip
Github - https://github.com/minetest-mods/mymasonhammer
License - DWYWPL

Image

Re: [Mod]mymasonhammer[mymasonhammer]

Posted: Mon Oct 26, 2015 11:23
by duane
Very nice concept and execution. It kind of feels like cheating to make ladders without wood, but I'm sure I'll get over it.

Re: [Mod]mymasonhammer[mymasonhammer]

Posted: Mon Oct 26, 2015 19:55
by Krock
Great idea! This will make the underground navigation/movement much easier.

Re: [Mod]mymasonhammer[mymasonhammer]

Posted: Mon Oct 26, 2015 20:22
by Don
It was suggested when I made the chisel. It has been on the chisel page for a while but I decided to give it it's own topic.

viewtopic.php?f=9&t=13104

Re: [Mod]mymasonhammer[mymasonhammer]

Posted: Mon Oct 26, 2015 22:10
by lightonflux
Very great mod. But has some smaller things that are a bit annoying. The hammer doesn't look too good.

And it is to fast. Imho it should take time to carve the stone. Just like it takes time to mine stone.

What i like is how you reduce the stone for a stone ladder in several steps. But it is a bit weird that ladder 3 is walkable when it is visually 100% flat.

And the shadow texture only works with small texture packs. With SummerFields (afaik 64px) it looks broken.

Re: [Mod]mymasonhammer[mymasonhammer]

Posted: Tue Oct 27, 2015 01:17
by Don
I changed the texture a bit. I will do a better texture soon.
I might change the time it takes later. I will think about it.
I fixed the ladder being walkable before it is a ladder.
I added 32 and 64 px textures. I have not test them. Just remove the 32 or 64 from the front of the name.

Thanks for your comment lightonflux.

Re: [Mod]mymasonhammer[mymasonhammer]

Posted: Sun Nov 08, 2015 14:29
by Don
I changed the hammer image. Please let me know if you like it.

Re: [Mod]mymasonhammer[mymasonhammer]

Posted: Sun Nov 08, 2015 23:27
by duane
Don wrote:I changed the hammer image. Please let me know if you like it.
I kind of liked the old one better, but I think of it more as a wall hammer than a masonry tool.

Re: [Mod]mymasonhammer[mymasonhammer]

Posted: Mon Nov 09, 2015 00:20
by Don
duane wrote:
Don wrote:I changed the hammer image. Please let me know if you like it.
I kind of liked the old one better, but I think of it more as a wall hammer than a masonry tool.
Should I put the old one back and just make the texture look better? The old one was a quick one I made as a place holder. I forgot to make a better one until now.

Re: [Mod]mymasonhammer[mymasonhammer]

Posted: Fri Nov 13, 2015 02:17
by Don
I made it so it takes 3 hits to make stairs.
I also added the old hammer image to the textures folder.

Re: [Mod] mymasonhammer [mymasonhammer]

Posted: Thu Jun 08, 2017 23:42
by AntumDeluge
Webpage still stays that it's not on the forums: http://donbatman.github.io/mymasonhammer.html

Re: [Mod] mymasonhammer [mymasonhammer]

Posted: Fri Oct 18, 2019 19:58
by Odracir
Niiice thing, very good digging mimic.
I'm researching a bit to make some tool, and like this method.

Found a little problem: a definition mismatch

- default_material in nodes.lua defines 4 materials
- default_material in hammer.lua defines 6 materials
(the first 4 + "default:stonebrick" + "default:desert_stonebrick")

I would better merge both tables in one, easier to maintain.
-----------------------------------------------------------------------------------------------------------------------------------
And you could add sound
minetest.sound_play("default_dig_cracky",{pos = pos, gain = 1.0, })

At the end offunction parti is a good place to do it.
I tried first with "default_dig_cracky.ogg" , failed silently, ok with "default_dig_cracky" without ".ogg"
-----------------------------------------------------------------------------------------------------------------------------------
And breaking sound too

Code: Select all

	if not minetest.setting_getbool("creative_mode") then
		if itemstack:get_wear() + 65535/(USES - 1) > 65535 then                   -- <----
			minetest.sound_play("default_tool_breaks",{pos = pos, gain = 1.0, })   -- <----
		end                                                                       -- <----
		itemstack:add_wear(65535 / (USES - 1))
	end
	return itemstack
-----------------------------------------------------------------------------------------------------------------------------------
And reset count to 0 if hitting a different node.

Now, in stairs mode,
- you hit node 1 one time, nothing happens,
- hit node 2 one time, nothing happens,
- hit node 3 one time, node 3 becomes stairs with only 1 hit.