added 2 floor nodes

This commit is contained in:
Vitaliy Olkhin 2024-01-12 12:32:01 +05:00
parent d9f0098d01
commit 0bbfea7171
4 changed files with 66 additions and 1 deletions

View File

@ -266,3 +266,66 @@ minetest.register_craft({
{"plant_blocks:scissors", "plant_blocks:scissors"}, {"plant_blocks:scissors", "plant_blocks:scissors"},
} }
}) })
--plant_blocks:yellow_line_floor
minetest.register_node("plant_blocks:yellow_line_floor", {
description = S("Industrial with yellow line floor"),
paramtype2 = "facedir",
--place_param2 = 0,
tiles = {
"floor_up.png^[combine:32x32:0,0=yellow_line_up.png",
"basic_materials_cement_block.png",
"basic_materials_cement_block.png",
"basic_materials_cement_block.png",
"basic_materials_cement_block.png",
"basic_materials_cement_block.png",
},
is_ground_content = false,
groups = {cracky=3, stone=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craft({
output = 'plant_blocks:yellow_line_floor',
recipe = {
{'','dye:yellow', 'plant_blocks:ruler'},
{'plant_blocks:floor', 'plant_blocks:brush', ''},
{'', '', ''},
},
replacements = {
{"plant_blocks:brush", "plant_blocks:brush"},
{"plant_blocks:ruler", "plant_blocks:ruler"}
}
})
--plant_blocks:yellow_line_corner_floor
minetest.register_node("plant_blocks:yellow_line_corner_floor", {
description = S("Industrial floor with yellow corner line"),
paramtype2 = "facedir",
--place_param2 = 0,
tiles = {
"floor_up.png^yellow_line_corner_up.png",
"basic_materials_cement_block.png",
"basic_materials_cement_block.png",
"basic_materials_cement_block.png",
"basic_materials_cement_block.png",
"basic_materials_cement_block.png",
},
is_ground_content = false,
groups = {cracky=3, stone=1},
sounds = default.node_sound_stone_defaults(),
})
minetest.register_craft({
output = 'plant_blocks:yellow_line_corner_floor',
recipe = {
{'','dye:yellow', 'plant_blocks:ruler'},
{'plant_blocks:floor', 'plant_blocks:brush', 'plant_blocks:ruler'},
{'', '', ''},
},
replacements = {
{"plant_blocks:brush", "plant_blocks:brush"},
{"plant_blocks:ruler", "plant_blocks:ruler"},
{"plant_blocks:ruler", "plant_blocks:ruler"}
}
})

View File

@ -9,3 +9,5 @@ Industrial forklift floor sign=Промышленный напольный зн
Wall sign attention to forklift operating=Настенный знак внимание работает автопогрузчик Wall sign attention to forklift operating=Настенный знак внимание работает автопогрузчик
Triangular_stencil=Треугольный трафарет Triangular_stencil=Треугольный трафарет
Scissors=Ножницы Scissors=Ножницы
Industrial floor with yellow corner line=Промышленный пол с желтой угловой линией
Industrial with yellow line floor=Промышленный пол с желтой линией

Binary file not shown.

After

Width:  |  Height:  |  Size: 939 B

BIN
textures/yellow_line_up.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B