First Upload

master
DonBatman 2016-03-15 19:46:58 -07:00
commit de033aa90b
5 changed files with 43 additions and 0 deletions

10
README.md Normal file
View File

@ -0,0 +1,10 @@
# mycobble
mycobble allows you to turn cobble into gravel and gravel into sand.
This also works with desert cobble.
This mod adds desert gravel.
Put cobble in the craft grid to get gravel.
Put gravel in the craft grid to get sand.
Licence - WTFPL

1
depends.txt Normal file
View File

@ -0,0 +1 @@
default

1
description.txt Normal file
View File

@ -0,0 +1 @@
Turn cobble into gravel and gravel into sand.

30
init.lua Normal file
View File

@ -0,0 +1,30 @@
minetest.register_craft({
type = "shapeless",
output = "default:gravel",
recipe ={"default:cobble"},
})
minetest.register_craft({
type = "shapeless",
output = "default:sand",
recipe ={"default:gravel"},
})
minetest.register_craft({
type = "shapeless",
output = "mycobble:desert_gravel",
recipe ={"default:desert_cobble"},
})
minetest.register_craft({
type = "shapeless",
output = "default:desert_sand",
recipe ={"mycobble:desert_gravel"},
})
minetest.register_node ("mycobble:desert_gravel",{
description = "Desert Gravel",
tiles = {"default_gravel.png^[colorize:#8A2908:120"},
is_ground_content = true,
groups = {crumbly=2, falling_node=1},
sounds = default.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.5},
dug = {name="default_gravel_footstep", gain=1.0},
}),
})

1
mod.conf Normal file
View File

@ -0,0 +1 @@
name = mycobble