123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163 |
- -- Nodes
- minetest.register_node(":asteroid:stone", {
- description = "Asteroid Stone",
- tiles = {"asteroid_stone.png"},
- is_ground_content = false,
- drop = {
- max_items = 2,
- items = {
- {items = {'epic:float_crystal_shard'}, rarity = 25,},
- {items = {'asteroid:cobble'}},
- }
- },
- groups = {cracky = 3, level = 4},
- sounds = default.node_sound_stone_defaults(),
- })
- minetest.register_node(":asteroid:stone_brick", {
- description = "Asteroid Stone Brick",
- tiles = {"asteroid_stone_brick.png"},
- groups = {cracky = 3, level = 4},
- sounds = default.node_sound_stone_defaults(),
- })
- minetest.register_node(":asteroid:redstone", {
- description = "Asteroid Stone",
- tiles = {"asteroid_redstone.png"},
- is_ground_content = false,
- drop = {
- max_items = 2,
- items = {
- {items = {'epic:float_crystal_shard'}, rarity = 25,},
- {items = {'asteroid:redcobble'}},
- }
- },
- groups = {cracky = 3, level = 4},
- sounds = default.node_sound_stone_defaults(),
- })
- minetest.register_node(":asteroid:redstone_brick", {
- description = "Asteroid Stone Brick",
- tiles = {"asteroid_redstone_brick.png"},
- groups = {cracky = 3, level = 4},
- sounds = default.node_sound_stone_defaults(),
- })
- minetest.register_node(":asteroid:cobble", {
- description = "Asteroid Cobble",
- tiles = {"asteroid_cobble.png"},
- is_ground_content = false,
- groups = {cracky = 3},
- sounds = default.node_sound_stone_defaults(),
- })
- minetest.register_node(":asteroid:redcobble", {
- description = "Asteroid Cobble",
- tiles = {"asteroid_redcobble.png"},
- is_ground_content = false,
- groups = {cracky = 3},
- sounds = default.node_sound_stone_defaults(),
- })
- minetest.register_node(":asteroid:gravel", {
- description = "Asteroid Gravel",
- tiles = {"asteroid_gravel.png"},
- is_ground_content = false,
- groups = {crumbly = 2},
- sounds = default.node_sound_dirt_defaults({
- footstep = {name = "default_gravel_footstep", gain = 0.2},
- }),
- })
- minetest.register_node(":asteroid:redgravel", {
- description = "Asteroid Gravel",
- tiles = {"asteroid_redgravel.png"},
- is_ground_content = false,
- groups = {crumbly = 2},
- sounds = default.node_sound_dirt_defaults({
- footstep = {name = "default_gravel_footstep", gain = 0.2},
- }),
- })
- minetest.register_node(":asteroid:dust", {
- description = "Asteroid Dust",
- tiles = {"asteroid_dust.png"},
- is_ground_content = false,
- groups = {crumbly = 3},
- sounds = default.node_sound_dirt_defaults({
- footstep = {name = "default_gravel_footstep", gain = 0.1},
- }),
- })
- minetest.register_node(":asteroid:reddust", {
- description = "Asteroid Dust",
- tiles = {"asteroid_reddust.png"},
- is_ground_content = false,
- groups = {crumbly = 3},
- sounds = default.node_sound_dirt_defaults({
- footstep = {name = "default_gravel_footstep", gain = 0.1},
- }),
- })
- minetest.register_node(":asteroid:ironore", {
- description = "Asteroid Iron Ore",
- tiles = {"asteroid_redstone.png^default_mineral_iron.png"},
- is_ground_content = false,
- groups = {cracky = 2, level = 4},
- drop = "default:iron_lump",
- sounds = default.node_sound_stone_defaults(),
- })
- minetest.register_node(":asteroid:copperore", {
- description = "Asteroid Copper Ore",
- tiles = {"asteroid_redstone.png^default_mineral_copper.png"},
- is_ground_content = false,
- groups = {cracky = 2, level = 4},
- drop = "default:copper_lump",
- sounds = default.node_sound_stone_defaults(),
- })
- minetest.register_node(":asteroid:goldore", {
- description = "Asteroid Gold Ore",
- tiles = {"asteroid_redstone.png^default_mineral_gold.png"},
- is_ground_content = false,
- groups = {cracky = 2, level = 4},
- drop = "default:gold_lump",
- sounds = default.node_sound_stone_defaults(),
- })
- minetest.register_node(":asteroid:diamondore", {
- description = "Asteroid Diamond Ore",
- tiles = {"asteroid_redstone.png^default_mineral_diamond.png"},
- is_ground_content = false,
- groups = {cracky = 1, level = 4},
- drop = "default:diamond",
- sounds = default.node_sound_stone_defaults(),
- })
- minetest.register_node(":asteroid:meseore", {
- description = "Asteroid Mese Ore",
- tiles = {"asteroid_redstone.png^default_mineral_mese.png"},
- is_ground_content = false,
- groups = {cracky = 1, level = 4},
- drop = "default:mese_crystal",
- sounds = default.node_sound_stone_defaults(),
- })
- minetest.register_node(":asteroid:atmos", {
- description = "Comet Atmosphere",
- drawtype = "glasslike",
- tiles = {"asteroid_atmos.png"},
- paramtype = "light",
- sunlight_propagates = true,
- walkable = false,
- pointable = false,
- diggable = false,
- buildable_to = true,
- is_ground_content = false,
- use_texture_alpha = true,
- post_effect_color = {a = 31, r = 241, g = 248, b = 255},
- groups = {not_in_creative_inventory = 1},
- })
|