Gem blockses

This commit is contained in:
GloopMaster 2013-08-25 13:46:46 -04:00
parent 4b655d3a25
commit aa3d2db274
6 changed files with 105 additions and 0 deletions

View File

@ -408,6 +408,13 @@ glooptest.ore_module.register_ore("glooptest", "ruby", "Ruby", {
maxy = -30
},
},
block = {
makes = true,
texture = "glooptest_ruby_block.png",
groups = {bendy=3,cracky=2,level=1},
sounds = stone_sounds,
fromingots = false
}
})
minetest.register_craftitem("glooptest:ruby_gem", {
@ -415,6 +422,20 @@ minetest.register_craftitem("glooptest:ruby_gem", {
inventory_image = "glooptest_gem_ruby.png",
groups = {glooptest_gem=1},
})
minetest.register_craft({
output = "glooptest:rubyblock",
recipe = {
{"glooptest:ruby_gem", "glooptest:ruby_gem", "glooptest:ruby_gem"},
{"glooptest:ruby_gem", "glooptest:ruby_gem", "glooptest:ruby_gem"},
{"glooptest:ruby_gem", "glooptest:ruby_gem", "glooptest:ruby_gem"}
}
})
minetest.register_craft({
output = "glooptest:ruby_gem 9",
recipe = {
{"glooptest:rubyblock"}
}
})
glooptest.ore_module.register_ore("glooptest", "sapphire", "Sapphire", {
ore = {
@ -435,6 +456,13 @@ glooptest.ore_module.register_ore("glooptest", "sapphire", "Sapphire", {
maxy = -30
},
},
block = {
makes = true,
texture = "glooptest_sapphire_block.png",
groups = {bendy=3,cracky=2,level=1},
sounds = stone_sounds,
fromingots = false
}
})
minetest.register_craftitem("glooptest:sapphire_gem", {
@ -442,6 +470,20 @@ minetest.register_craftitem("glooptest:sapphire_gem", {
inventory_image = "glooptest_gem_sapphire.png",
groups = {glooptest_gem=1},
})
minetest.register_craft({
output = "glooptest:sapphireblock",
recipe = {
{"glooptest:sapphire_gem", "glooptest:sapphire_gem", "glooptest:sapphire_gem"},
{"glooptest:sapphire_gem", "glooptest:sapphire_gem", "glooptest:sapphire_gem"},
{"glooptest:sapphire_gem", "glooptest:sapphire_gem", "glooptest:sapphire_gem"}
}
})
minetest.register_craft({
output = "glooptest:emerald_gem 9",
recipe = {
{"glooptest:sapphireblock"}
}
})
glooptest.ore_module.register_ore("glooptest", "emerald", "Emerald", {
ore = {
@ -462,6 +504,13 @@ glooptest.ore_module.register_ore("glooptest", "emerald", "Emerald", {
maxy = -70
},
},
block = {
makes = true,
texture = "glooptest_emerald_block.png",
groups = {bendy=3,cracky=2,level=1},
sounds = stone_sounds,
fromingots = false
}
})
minetest.register_craftitem("glooptest:emerald_gem", {
@ -469,6 +518,20 @@ minetest.register_craftitem("glooptest:emerald_gem", {
inventory_image = "glooptest_gem_emerald.png",
groups = {glooptest_gem=1},
})
minetest.register_craft({
output = "glooptest:emeraldblock",
recipe = {
{"glooptest:emerald_gem", "glooptest:emerald_gem", "glooptest:emerald_gem"},
{"glooptest:emerald_gem", "glooptest:emerald_gem", "glooptest:emerald_gem"},
{"glooptest:emerald_gem", "glooptest:emerald_gem", "glooptest:emerald_gem"}
}
})
minetest.register_craft({
output = "glooptest:emerald_gem 9",
recipe = {
{"glooptest:emeraldblock"}
}
})
glooptest.ore_module.register_ore("glooptest", "topaz", "Topaz", {
ore = {
@ -489,6 +552,13 @@ glooptest.ore_module.register_ore("glooptest", "topaz", "Topaz", {
maxy = -70
},
},
block = {
makes = true,
texture = "glooptest_topaz_block.png",
groups = {bendy=3,cracky=2,level=1},
sounds = stone_sounds,
fromingots = false
}
})
minetest.register_craftitem("glooptest:topaz_gem", {
@ -496,6 +566,20 @@ minetest.register_craftitem("glooptest:topaz_gem", {
inventory_image = "glooptest_gem_topaz.png",
groups = {glooptest_gem=1},
})
minetest.register_craft({
output = "glooptest:topazblock",
recipe = {
{"glooptest:topaz_gem", "glooptest:topaz_gem", "glooptest:topaz_gem"},
{"glooptest:topaz_gem", "glooptest:topaz_gem", "glooptest:topaz_gem"},
{"glooptest:topaz_gem", "glooptest:topaz_gem", "glooptest:topaz_gem"}
}
})
minetest.register_craft({
output = "glooptest:topaz_gem 9",
recipe = {
{"glooptest:topazblock"}
}
})
glooptest.ore_module.register_ore("glooptest", "amethyst", "Amethyst", {
ore = {
@ -516,6 +600,13 @@ glooptest.ore_module.register_ore("glooptest", "amethyst", "Amethyst", {
maxy = -128
},
},
block = {
makes = true,
texture = "glooptest_amethyst_block.png",
groups = {bendy=3,cracky=2,level=1},
sounds = stone_sounds,
fromingots = false
}
})
minetest.register_craftitem("glooptest:amethyst_gem", {
@ -523,3 +614,17 @@ minetest.register_craftitem("glooptest:amethyst_gem", {
inventory_image = "glooptest_gem_amethyst.png",
groups = {glooptest_gem=1},
})
minetest.register_craft({
output = "glooptest:amethystblock",
recipe = {
{"glooptest:amethyst_gem", "glooptest:amethyst_gem", "glooptest:amethyst_gem"},
{"glooptest:amethyst_gem", "glooptest:amethyst_gem", "glooptest:amethyst_gem"},
{"glooptest:amethyst_gem", "glooptest:amethyst_gem", "glooptest:amethyst_gem"}
}
})
minetest.register_craft({
output = "glooptest:amethyst_gem 9",
recipe = {
{"glooptest:amethystblock"}
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 848 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 869 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 775 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 889 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 835 B