v1.02 history adapted, hammer Cobblestone bugfix, moreores added to depends.txt
This commit is contained in:
parent
2e37f53b05
commit
03fdc3ba1e
@ -1 +1,3 @@
|
||||
default
|
||||
moreores?
|
||||
|
||||
|
@ -33,7 +33,8 @@ gravelsieve.handler = function(itemstack, user, pointed_thing)
|
||||
end
|
||||
|
||||
local node = minetest.get_node(pos)
|
||||
if node.name == "default:cobble" then
|
||||
if node.name == "default:cobble" or node.name == "default:mossycobble"
|
||||
or node.name == "default:desert_cobble" then
|
||||
node.name = "default:gravel"
|
||||
minetest.swap_node(pos, node)
|
||||
minetest.sound_play({
|
||||
@ -48,7 +49,7 @@ gravelsieve.handler = function(itemstack, user, pointed_thing)
|
||||
end
|
||||
|
||||
minetest.register_tool("gravelsieve:hammer", {
|
||||
description = "Hammer converts any kind of stone to gravel",
|
||||
description = "Hammer converts Cobblestone into Gravel",
|
||||
inventory_image = "gravelsieve_hammer.png",
|
||||
on_use = function(itemstack, user, pointed_thing)
|
||||
gravelsieve.handler(itemstack, user, pointed_thing)
|
||||
|
BIN
img/animation64.gif
Normal file
BIN
img/animation64.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
img/bild1.png
Normal file
BIN
img/bild1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 435 KiB |
BIN
img/bild2.png
Normal file
BIN
img/bild2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 370 KiB |
6
init.lua
6
init.lua
@ -3,7 +3,7 @@
|
||||
Gravel Sieve Mod
|
||||
================
|
||||
|
||||
v1.00 by JoSt
|
||||
v1.02 by JoSt
|
||||
Derived from the work of celeron55, Perttu Ahola (furnace)
|
||||
|
||||
Copyright (C) 2017 Joachim Stolberg
|
||||
@ -26,7 +26,8 @@
|
||||
2017-06-20 v0.05 * Hammer sound bugfix
|
||||
2017-06-24 v1.00 * Released version w/o any changes
|
||||
2017-07-08 V1.01 * extended for moreores
|
||||
|
||||
2017-07-09 V1.02 * Cobblestone bugfix (NathanSalapat)
|
||||
* ore_probability is now global accessable (bell07)
|
||||
]]--
|
||||
|
||||
gravelsieve = {
|
||||
@ -314,6 +315,7 @@ for idx = 0,4 do
|
||||
sunlight_propagates = true,
|
||||
is_ground_content = false,
|
||||
groups = {choppy=2, cracky=1, not_in_creative_inventory=not_in_creative_inventory},
|
||||
drop = node_name.."0",
|
||||
})
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user