mcl_decor-french_translation/register.lua

418 lines
12 KiB
Lua
Raw Normal View History

2022-02-22 10:30:42 +01:00
-- mcl_decor/register.lua
local S = minetest.get_translator(minetest.get_current_modname())
--- Coalquartz Tile ---
2022-02-22 10:30:42 +01:00
minetest.register_node("mcl_decor:coalquartz_tile", {
description = S("Coalquartz Tile"),
2022-02-22 10:30:42 +01:00
tiles = {"mcl_decor_coalquartz_tile.png"},
is_ground_content = false,
groups = {pickaxey=1, flammable=1, quartz_block=1, building_block=1, material_stone=1, fire_encouragement=5, fire_flammability=5},
sounds = mcl_sounds.node_sound_stone_defaults(),
_mcl_blast_resistance = 4,
_mcl_hardness = 3,
})
minetest.register_craft({
output = "mcl_decor:coalquartz_tile",
recipe = {
{"mcl_core:coal_lump", "mcl_nether:quartz"},
{"mcl_nether:quartz", "mcl_core:coal_lump"}
}
})
minetest.register_craft({
output = "mcl_decor:coalquartz_tile",
recipe = {
{"mcl_nether:quartz", "mcl_core:coal_lump"},
{"mcl_core:coal_lump", "mcl_nether:quartz"}
2022-02-22 10:30:42 +01:00
}
})
2022-02-23 08:50:04 +01:00
--- Gravel Path ---
minetest.register_node("mcl_decor:gravel_path", {
description = S("Gravel Path"),
tiles = {
"default_gravel.png",
},
wield_image = "mcl_decor_gravel_path.png",
inventory_image = "mcl_decor_gravel_path.png",
groups = {handy=1, shovely=1, attached_node=1, dig_by_piston=1, deco_block=1, material_sand=1},
drawtype = "nodebox",
paramtype = "light",
sunlight_propagates = true,
buildable_to = true,
walkable = true,
node_box = {
type = "fixed",
fixed = {
{-0.4375, -0.5, -0.4375, -0.125, -0.4375, -0.125}, -- NodeBox1
{-0.125, -0.5, -0.0625, 0.0625, -0.4375, 0.125}, -- NodeBox2
{-0.3125, -0.5, 0.1875, -0.0625, -0.4375, 0.4375}, -- NodeBox3
{0.0625, -0.5, -0.375, 0.25, -0.4375, -0.1875}, -- NodeBox4
{0.125, -0.5, 0.125, 0.375, -0.4375, 0.375}, -- NodeBox5
{0.25, -0.5, -0.125, 0.375, -0.4375, 0}, -- NodeBox6
{-0.4375, -0.5, 0, -0.3125, -0.4375, 0.125}, -- NodeBox7
}
},
selection_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
}
},
collision_box = {
type = "fixed",
fixed = {
{-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5},
}
},
_mcl_blast_resistance = 0.3,
_mcl_hardness = 0.3,
sounds = mcl_sounds.node_sound_dirt_defaults({
footstep = {name="default_gravel_footstep", gain=0.45},
}),
})
minetest.register_craft({
output = "mcl_decor:gravel_path 16",
recipe = {
{"mcl_core:gravel", "", "mcl_core:gravel"},
{"", "mcl_core:gravel", ""},
{"mcl_core:gravel", "", "mcl_core:gravel"}
}
})
2022-02-23 08:50:04 +01:00
--- Rainbow Block ---
2022-02-22 10:30:42 +01:00
minetest.register_node("mcl_decor:rainbow_block", {
description = S("Rainbow Block"),
tiles = {"mcl_decor_rainbow_block.png"},
2022-02-22 10:30:42 +01:00
is_ground_content = false,
light_source = minetest.LIGHT_MAX,
groups = {handy=1, building_block=1, material_glass=1},
sounds = mcl_sounds.node_sound_glass_defaults(),
_mcl_blast_resistance = 0.9,
_mcl_hardness = 0.9,
})
minetest.register_craft({
output = "mcl_decor:rainbow_block",
recipe = {
{"mcl_dye:red", "mcl_dye:orange", "mcl_dye:yellow"},
{"mcl_dye:green", "mcl_nether:glowstone", "mcl_dye:lightblue"},
{"mcl_dye:blue", "mcl_dye:violet", "mcl_dye:pink"}
}
})
--- Oak Chair ---
mcl_decor:register_chair("mcl_decor:wooden_chair", {
description = S("Oak Chair"),
tiles = {"default_wood.png"},
groups = {handy=1, axey=1, attached_node=1, material_wood=1, deco_block=1, flammable=-1},
2022-02-22 10:30:42 +01:00
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
sounds = mcl_sounds.node_sound_wood_defaults(),
})
minetest.register_craft({
output = "mcl_decor:wooden_chair 2",
recipe = {
{"", "", "mcl_core:stick"},
{"mcl_core:wood", "mcl_core:wood", "mcl_core:wood"},
{"mcl_core:stick", "", "mcl_core:stick"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_decor:wooden_chair",
burntime = 8,
})
--- Acacia Chair ---
mcl_decor:register_chair("mcl_decor:acacia_chair", {
description = S("Acacia Chair"),
tiles = {"default_acacia_wood.png"},
groups = {handy=1, axey=1, attached_node=1, material_wood=1, deco_block=1, flammable=-1},
2022-02-22 10:30:42 +01:00
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
sounds = mcl_sounds.node_sound_wood_defaults(),
})
minetest.register_craft({
output = "mcl_decor:acacia_chair 2",
recipe = {
{"", "", "mcl_core:stick"},
{"mcl_core:acaciawood", "mcl_core:acaciawood", "mcl_core:acaciawood"},
{"mcl_core:stick", "", "mcl_core:stick"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_decor:acacia_chair",
burntime = 8,
})
--- Birch Chair ---
mcl_decor:register_chair("mcl_decor:birch_chair", {
description = S("Birch Chair"),
tiles = {"mcl_core_planks_birch.png"},
groups = {handy=1, axey=1, attached_node=1, material_wood=1, deco_block=1, flammable=-1},
2022-02-22 10:30:42 +01:00
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
sounds = mcl_sounds.node_sound_wood_defaults(),
})
minetest.register_craft({
output = "mcl_decor:birch_chair 2",
recipe = {
{"", "", "mcl_core:stick"},
{"mcl_core:birchwood", "mcl_core:birchwood", "mcl_core:birchwood"},
{"mcl_core:stick", "", "mcl_core:stick"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_decor:birch_chair",
burntime = 8,
})
--- Dark Oak Chair ---
mcl_decor:register_chair("mcl_decor:dark_oak_chair", {
description = S("Dark Oak Chair"),
tiles = {"mcl_core_planks_big_oak.png"},
groups = {handy=1, axey=1, attached_node=1, material_wood=1, deco_block=1, flammable=-1},
2022-02-22 10:30:42 +01:00
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
sounds = mcl_sounds.node_sound_wood_defaults(),
})
minetest.register_craft({
output = "mcl_decor:dark_oak_chair 2",
recipe = {
{"", "", "mcl_core:stick"},
{"mcl_core:darkwood", "mcl_core:darkwood", "mcl_core:darkwood"},
{"mcl_core:stick", "", "mcl_core:stick"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_decor:dark_oak_chair",
burntime = 8,
})
--- Jungle Chair ---
mcl_decor:register_chair("mcl_decor:jungle_chair", {
description = S("Jungle Chair"),
tiles = {"default_junglewood.png"},
groups = {handy=1, axey=1, attached_node=1, material_wood=1, deco_block=1, flammable=-1},
2022-02-22 10:30:42 +01:00
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
sounds = mcl_sounds.node_sound_wood_defaults(),
})
minetest.register_craft({
output = "mcl_decor:jungle_chair 2",
recipe = {
{"", "", "mcl_core:stick"},
{"mcl_core:junglewood", "mcl_core:junglewood", "mcl_core:junglewood"},
{"mcl_core:stick", "", "mcl_core:stick"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_decor:jungle_chair",
burntime = 8,
})
--- Spruce Chair ---
mcl_decor:register_chair("mcl_decor:spruce_chair", {
description = S("Spruce Chair"),
tiles = {"mcl_core_planks_spruce.png"},
groups = {handy=1, axey=1, attached_node=1, material_wood=1, deco_block=1, flammable=-1},
2022-02-22 10:30:42 +01:00
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
sounds = mcl_sounds.node_sound_wood_defaults(),
})
minetest.register_craft({
output = "mcl_decor:spruce_chair 2",
recipe = {
{"", "", "mcl_core:stick"},
{"mcl_core:sprucewood", "mcl_core:sprucewood", "mcl_core:sprucewood"},
{"mcl_core:stick", "", "mcl_core:stick"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_decor:spruce_chair",
burntime = 8,
})
--- Iron Chair ---
mcl_decor:register_chair("mcl_decor:iron_chair", {
description = S("Iron Chair"),
tiles = {"default_steel_block.png"},
groups = {pickaxey=2, attached_node=1, deco_block=1},
2022-02-22 10:30:42 +01:00
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
sounds = mcl_sounds.node_sound_metal_defaults(),
})
minetest.register_craft({
output = "mcl_decor:iron_chair 2",
recipe = {
{"", "", "mcl_core:stick"},
{"mcl_core:iron_ingot", "mcl_core:iron_ingot", "mcl_core:iron_ingot"},
{"mcl_core:stick", "", "mcl_core:stick"}
}
})
--- Oak Table ---
mcl_decor:register_table("mcl_decor:wooden_table", {
description = S("Oak Table"),
tiles = {"default_wood.png"},
groups = {handy=1, axey=1, attached_node=1, material_wood=1, deco_block=1, flammable=-1},
2022-02-22 10:30:42 +01:00
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
sounds = mcl_sounds.node_sound_wood_defaults(),
})
minetest.register_craft({
output = "mcl_decor:wooden_table",
recipe = {
{"mcl_core:wood", "mcl_core:wood", "mcl_core:wood"},
{"mcl_core:stick", "", "mcl_core:stick"},
{"mcl_core:stick", "", "mcl_core:stick"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_decor:wooden_table",
burntime = 10,
})
--- Acacia Table ---
mcl_decor:register_table("mcl_decor:acacia_table", {
description = S("Acacia Table"),
tiles = {"default_acacia_wood.png"},
groups = {handy=1, axey=1, attached_node=1, material_wood=1, deco_block=1, flammable=-1},
2022-02-22 10:30:42 +01:00
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
sounds = mcl_sounds.node_sound_wood_defaults(),
})
minetest.register_craft({
output = "mcl_decor:acacia_table",
recipe = {
{"mcl_core:acaciawood", "mcl_core:acaciawood", "mcl_core:acaciawood"},
{"mcl_core:stick", "", "mcl_core:stick"},
{"mcl_core:stick", "", "mcl_core:stick"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_decor:acacia_table",
burntime = 10,
})
--- Birch Table ---
mcl_decor:register_table("mcl_decor:birch_table", {
description = S("Birch Table"),
tiles = {"mcl_core_planks_birch.png"},
groups = {handy=1, axey=1, attached_node=1, material_wood=1, deco_block=1, flammable=-1},
2022-02-22 10:30:42 +01:00
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
sounds = mcl_sounds.node_sound_wood_defaults(),
})
minetest.register_craft({
output = "mcl_decor:birch_table",
recipe = {
{"mcl_core:birchwood", "mcl_core:birchwood", "mcl_core:birchwood"},
{"mcl_core:stick", "", "mcl_core:stick"},
{"mcl_core:stick", "", "mcl_core:stick"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_decor:birch_table",
burntime = 10,
})
--- Dark Oak Table ---
mcl_decor:register_table("mcl_decor:dark_oak_table", {
description = S("Dark Oak Table"),
tiles = {"mcl_core_planks_big_oak.png"},
groups = {handy=1, axey=1, attached_node=1, material_wood=1, deco_block=1, flammable=-1},
2022-02-22 10:30:42 +01:00
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
sounds = mcl_sounds.node_sound_wood_defaults(),
})
minetest.register_craft({
output = "mcl_decor:dark_oak_table",
recipe = {
{"mcl_core:darkwood", "mcl_core:darkwood", "mcl_core:darkwood"},
{"mcl_core:stick", "", "mcl_core:stick"},
{"mcl_core:stick", "", "mcl_core:stick"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_decor:dark_oak_table",
burntime = 10,
})
--- Jungle Table ---
mcl_decor:register_table("mcl_decor:jungle_table", {
description = S("Jungle Table"),
tiles = {"default_junglewood.png"},
groups = {handy=1, axey=1, attached_node=1, material_wood=1, deco_block=1, flammable=-1},
2022-02-22 10:30:42 +01:00
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
sounds = mcl_sounds.node_sound_wood_defaults(),
})
minetest.register_craft({
output = "mcl_decor:jungle_table",
recipe = {
{"mcl_core:junglewood", "mcl_core:junglewood", "mcl_core:junglewood"},
{"mcl_core:stick", "", "mcl_core:stick"},
{"mcl_core:stick", "", "mcl_core:stick"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_decor:jungle_table",
burntime = 10,
})
--- Spruce Table ---
mcl_decor:register_table("mcl_decor:spruce_table", {
description = S("Spruce Table"),
tiles = {"mcl_core_planks_spruce.png"},
groups = {handy=1, axey=1, attached_node=1, material_wood=1, deco_block=1, flammable=-1},
2022-02-22 10:30:42 +01:00
_mcl_hardness = 3,
_mcl_blast_resistance = 3,
sounds = mcl_sounds.node_sound_wood_defaults(),
})
minetest.register_craft({
output = "mcl_decor:spruce_table",
recipe = {
{"mcl_core:sprucewood", "mcl_core:sprucewood", "mcl_core:sprucewood"},
{"mcl_core:stick", "", "mcl_core:stick"},
{"mcl_core:stick", "", "mcl_core:stick"}
}
})
minetest.register_craft({
type = "fuel",
recipe = "mcl_decor:spruce_table",
burntime = 10,
})
--- Iron Table ---
mcl_decor:register_table("mcl_decor:iron_table", {
description = S("Iron Table"),
tiles = {"default_steel_block.png"},
groups = {pickaxey=2, attached_node=1, deco_block=1},
2022-02-22 10:30:42 +01:00
_mcl_blast_resistance = 6,
_mcl_hardness = 5,
sounds = mcl_sounds.node_sound_metal_defaults(),
})
minetest.register_craft({
output = "mcl_decor:iron_table",
recipe = {
{"mcl_core:iron_ingot", "mcl_core:iron_ingot", "mcl_core:iron_ingot"},
{"mcl_core:stick", "", "mcl_core:stick"},
{"mcl_core:stick", "", "mcl_core:stick"}
}
})