Too_Many_Stones/nodes.lua

390 lines
11 KiB
Lua

-- mods/too_many_stones/nodes.lua
-- support for MT game translation.
local S = default.get_translator
--[[ Index:
--]]
--
-- Stone
--
--Greenstone
minetest.register_node("too_many_stones:greenstone", {
description = S("Greenstone"),
tiles = {"tms_greenstone.png"},
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:greenstone_cobble",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:greenstone_block", {
description = S("Greenstone Block"),
tiles = {"tms_greenstone_block.png"},
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:greenstone_block",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:greenstone_cobble", {
description = S("Cobbled Greenstone"),
tiles = {"tms_greenstone_cobble.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:greenstone_brick", {
description = S("Greenstone Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_greenstone_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Bluestone
minetest.register_node("too_many_stones:bluestone", {
description = S("Bluestone"),
tiles = {"tms_bluestone.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:bluestone_cobble",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:bluestone_block", {
description = S("Bluestone Block"),
tiles = {"tms_bluestone_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:bluestone_block",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:bluestone_cobble", {
description = S("Cobbled Bluestone"),
tiles = {"tms_bluestone_cobble.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:bluestone_brick", {
description = S("Bluestone Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_bluestone_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Kyanite
minetest.register_node("too_many_stones:kyanite", {
description = S("Kyanite"),
tiles = {"tms_kyanite.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:kyanite_cobble",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:kyanite_block", {
description = S("Kyanite Block"),
tiles = {"tms_kyanite_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:kyanite_block",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:kyanite_cobble", {
description = S("Cobbled Kyanite"),
tiles = {"tms_kyanite_cobble.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:kyanite_brick", {
description = S("Kyanite Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_kyanite_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Calcite
minetest.register_node("too_many_stones:calcite", {
description = S("Calcite"),
use_texture_alpha = "blend",
drawtype = "glasslike",
tiles = {"tms_calcite.png"},
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:calcite",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:calcite_block", {
description = S("Calcite Block"),
use_texture_alpha = "blend",
drawtype = "glasslike",
tiles = {"tms_calcite_block.png"},
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:calcite_block",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:calcite_brick", {
description = S("Calcite Brick"),
use_texture_alpha = "blend",
drawtype = "glasslike",
sunlight_propagates = true,
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_calcite_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Carnotite
minetest.register_node("too_many_stones:carnotite", {
description = S("Carnotite"),
tiles = {"tms_carnotite.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:carnotite_cobble",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:carnotite_block", {
description = S("Carnotite Block"),
tiles = {"tms_carnotite_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:carnotite_block",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:carnotite_cobble", {
description = S("Cobbled Carnotite"),
tiles = {"tms_carnotite_cobble.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:carnotite_brick", {
description = S("Carnotite Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_carnotite_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Scoria
minetest.register_node("too_many_stones:scoria", {
description = S("Scoria"),
tiles = {"tms_scoria.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:scoria_cobble",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:scoria_block", {
description = S("Scoria Block"),
tiles = {"tms_scoria_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:scoria_block",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:scoria_cobble", {
description = S("Cobbled Scoria"),
tiles = {"tms_scoria_cobble.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:scoria_brick", {
description = S("Scoria Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_scoria_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Sugilite
minetest.register_node("too_many_stones:sugilite", {
description = S("Sugilite"),
tiles = {"tms_sugilite.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:sugilite_cobble",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:sugilite_block", {
description = S("Sugilite Block"),
tiles = {"tms_sugilite_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:sugilite_block",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:sugilite_cobble", {
description = S("Cobbled Sugilite"),
tiles = {"tms_sugilite_cobble.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:sugilite_brick", {
description = S("Sugilite Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_sugilite_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Ilvaite
minetest.register_node("too_many_stones:ilvaite", {
description = S("Ilvaite"),
tiles = {"tms_ilvaite.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:ilvaite_cobble",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:ilvaite_block", {
description = S("Ilvaite Block"),
tiles = {"tms_ilvaite_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:ilvaite_block",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:ilvaite_cobble", {
description = S("Cobbled Ilvaite"),
tiles = {"tms_ilvaite_cobble.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:ilvaite_brick", {
description = S("Ilvaite Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_ilvaite_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Amazonite
minetest.register_node("too_many_stones:amazonite", {
description = S("Amazonite"),
tiles = {"tms_amazonite.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:amazonite_cobble",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:amazonite_block", {
description = S("Amazonite Block"),
tiles = {"tms_amazonite_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:amazonite_block",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:amazonite_cobble", {
description = S("Cobbled Amazonite"),
tiles = {"tms_amazonite_cobble.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:amazonite_brick", {
description = S("Amazonite Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_amazonite_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
-- Marble
minetest.register_node("too_many_stones:marble", {
description = S("Marble"),
tiles = {"tms_marble.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:marble_cobble",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:marble_block", {
description = S("Marble Block"),
tiles = {"tms_marble_block.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:marble_block",
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:marble_cobble", {
description = S("Cobbled Marble"),
tiles = {"tms_marble_cobble.png"},
is_ground_content = false,
groups = {cracky = 3, stone = 2},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_node("too_many_stones:marble_brick", {
description = S("Marble Brick"),
paramtype2 = "facedir",
place_param2 = 0,
tiles = {"tms_marble_brick.png"},
is_ground_content = false,
groups = {cracky = 2, stone = 1},
sounds = default.node_sound_stone_defaults(),
})
--[[
minetest.register_node("too_many_stones:bluestone", {
description = S("Bluestone"),
drawtype = "glasslike",
tiles = {"tms_bluestone.png"},
paramtype = "light",
sunlight_propagates = true,
is_ground_content = false,
groups = {cracky = 3, stone = 1},
drop = "too_many_stones:bluestone_cobble",
sounds = default.node_sound_stone_defaults(),
light_source = default.LIGHT_MAX,
})
--]]