Add gravel paths

and update textures and locales for it too
This commit is contained in:
Mikita Wiśniewski 2022-02-23 14:41:49 +07:00
parent b2a7aa94a3
commit c2c16c8531
6 changed files with 38 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# textdomain: mcl_decor
Coalquartz tile=Уголекварцевая плитка
Gravel path=Дорожка из гравия
Rainbow block=Радужный блок
Oak Chair=Дубовый стул
Acacia Chair=Стул из акации

View File

@ -1,5 +1,6 @@
# textdomain: mcl_decor
Coalquartz tile=
Gravel path=
Rainbow block=
Oak Chair=
Acacia Chair=

View File

@ -27,6 +27,42 @@ minetest.register_craft({
}
})
--- Gravel path ---
minetest.register_node("mcl_decor:gravel_path", {
description = S("Gravel path"),
tiles = {
"mcl_decor_gravel_path.png",
"blank.png" -- just to fix that ugly texturing for sides of the nodebox
},
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.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"}
}
})
--- Rainbow block ---
minetest.register_node("mcl_decor:rainbow_block", {
description = S("Rainbow block"),

Binary file not shown.

After

Width:  |  Height:  |  Size: 430 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 409 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B