From 0bbfea7171b8d3a7d32e0c65148fa5bda9127c90 Mon Sep 17 00:00:00 2001 From: Vitaliy Olkhin Date: Fri, 12 Jan 2024 12:32:01 +0500 Subject: [PATCH] added 2 floor nodes --- industrial_floor.lua | 63 +++++++++++++++++++++++++++++ locale/plant_blocks.ru.tr | 4 +- textures/yellow_line_corner_up.png | Bin 0 -> 939 bytes textures/yellow_line_up.png | Bin 0 -> 486 bytes 4 files changed, 66 insertions(+), 1 deletion(-) create mode 100644 textures/yellow_line_corner_up.png create mode 100644 textures/yellow_line_up.png diff --git a/industrial_floor.lua b/industrial_floor.lua index 8b508f0..d115065 100644 --- a/industrial_floor.lua +++ b/industrial_floor.lua @@ -265,4 +265,67 @@ minetest.register_craft({ {"plant_blocks:triangular_stencil", "plant_blocks:triangular_stencil"}, {"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"} + } }) \ No newline at end of file diff --git a/locale/plant_blocks.ru.tr b/locale/plant_blocks.ru.tr index 215f82a..479e458 100644 --- a/locale/plant_blocks.ru.tr +++ b/locale/plant_blocks.ru.tr @@ -8,4 +8,6 @@ Industrial floor with black and yellow corner line=Промышленный по Industrial forklift floor sign=Промышленный напольный знак погрузчика Wall sign attention to forklift operating=Настенный знак внимание работает автопогрузчик Triangular_stencil=Треугольный трафарет -Scissors=Ножницы \ No newline at end of file +Scissors=Ножницы +Industrial floor with yellow corner line=Промышленный пол с желтой угловой линией +Industrial with yellow line floor=Промышленный пол с желтой линией \ No newline at end of file diff --git a/textures/yellow_line_corner_up.png b/textures/yellow_line_corner_up.png new file mode 100644 index 0000000000000000000000000000000000000000..83c3271d66fea418ebe22b21d18f57897a11a844 GIT binary patch literal 939 zcmV;c162HpP)Pl(51`wT zCSo=ye*$7>Z&K86MU4l8qYHg!X8IgN>^Ox;B(bbU8z_PiMq1m7cGG~t>fj9+my%VsLnO(I=zcNH^k#F6bpMvP^5h$&0=L;n4 znT!Du=O6|>U~C)djy;iFUFz_~f{^la7{jrV_8}NmYNEUVyS0&JM#0a~I+Z)o> zXElCY5$o=xR3{)wg1c` zTsi_@P)e zSad^gZEa<4bO1wgWnpw>WFU8GbZ8()Nlj2!fese{00B-(L_t(I%casWavL!aMA6s4 zQh_4h|4=@QT~0)Ccg6ugTd^2z0hsOT?)mxk^GA0xa!Do%Z}=qWyKdTn7z1ut&((we zBblnR@27+@xUL5tsv40TlA%ou$H*WLV|;AML$xjRMg|5R``bneWf^bPH&v08ZiN@5*FiH0L!U?L@^=dDYhzCwx5haPMvj@o-=EyPt z$vRvGt(A!GPt{YjLLAFOx2o3AQ5_>or+e<1Ph7iIMvfh5s5-V*IcU9>?7GIPKCM0X zdDmSMx-OkH)5g++mBVv!>)+sG&n}ZP)>@0R%A6ec`)_j|tHL}Lze3cKb3=4)=L7RU zA8n`I5ck_kn|J!YY>lxYKL0@s$L;p6s=o~puR(lN^-B