1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- minetest.register_craftitem("gems_quartz:quartz", {
- description = "Quartz",
- inventory_image = "quartz_crystal.png",
- })
- minetest.register_node("gems_quartz:quartz_ore", {
- description = "Quartz Ore",
- tiles = {"default_stone.png^quartz_ore.png"},
- groups = {cracky = 2},
- drop = {
- items = {
- {
- rarity = 1,
- items = {"gems_quartz:quartz 2"},
- },
- {
- rarity = 2,
- items = {"gems_quartz:quartz"},
- },
- {
- rarity = 4,
- items = {"gems_quartz:quartz 3"},
- }
- }
- },
- sounds = default.node_sound_stone_defaults(),
- })
- minetest.register_ore({
- ore_type = "scatter",
- ore = "gems_quartz:quartz_ore",
- wherein = "default:stone",
- clust_scarcity = 40*40*40,
- clust_num_ores = 27,
- clust_size = 6,
- y_min = -31000,
- y_max = -64,
- })
- minetest.register_node("gems_quartz:block", {
- description = "Quartz Block",
- tiles = {"quartz_block.png"},
- groups = {cracky=3},
- sounds = default.node_sound_glass_defaults(),
- })
- minetest.register_craft({
- output = "gems_quartz:block",
- recipe = {
- {"gems_quartz:quartz", "gems_quartz:quartz"},
- {"gems_quartz:quartz", "gems_quartz:quartz"}
- }
- })
- stairs.register_stair_and_slab("quartzblock", "gems_quartz:block",
- {cracky=3},
- {"quartz_block.png"},
- "Quartz Stair",
- "Quartz Slab",
- default.node_sound_glass_defaults()
- )
|