1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- minetest.register_craftitem("gems_sapphire:sapphire", {
- description = "Sapphire",
- inventory_image = "sapphire_crystal.png",
- })
- minetest.register_node("gems_sapphire:sapphire_ore", {
- description = "Sapphire Ore",
- tiles = {"default_stone.png^sapphire_ore.png"},
- groups = {cracky = 2},
- drop = {
- items = {
- {
- rarity = 1,
- items = {"gems_sapphire:sapphire 2"},
- },
- {
- rarity = 2,
- items = {"gems_sapphire:sapphire"},
- },
- {
- rarity = 4,
- items = {"gems_sapphire:sapphire 3"},
- }
- }
- },
- sounds = default.node_sound_stone_defaults(),
- })
- minetest.register_ore({
- ore_type = "scatter",
- ore = "gems_sapphire:sapphire_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_sapphire:block", {
- description = "Sapphire Block",
- tiles = {"sapphire_block.png"},
- groups = {cracky=3},
- sounds = default.node_sound_glass_defaults(),
- })
- minetest.register_craft({
- output = "gems_sapphire:block",
- recipe = {
- {"gems_sapphire:sapphire", "gems_sapphire:sapphire"},
- {"gems_sapphire:sapphire", "gems_sapphire:sapphire"}
- }
- })
- stairs.register_stair_and_slab("sapphireblock", "gems_sapphire:block",
- {cracky=3},
- {"sapphire_block.png"},
- "Sapphire Stair",
- "Sapphire Slab",
- default.node_sound_glass_defaults()
- )
|