From d9f0098d0107f71bc9c9404d4484dca3bbdc9efe Mon Sep 17 00:00:00 2001 From: Vitaliy Olkhin Date: Thu, 11 Jan 2024 17:35:21 +0500 Subject: [PATCH] files --- industrial_floor.lua | 110 ++++++++++++++++-- locale/plant_blocks.ru.tr | 5 +- textures/scissors.png | Bin 0 -> 978 bytes .../sign_attention_to_forklift_operating.png | Bin 0 -> 6783 bytes textures/triangular_stencil.png | Bin 0 -> 1471 bytes 5 files changed, 105 insertions(+), 10 deletions(-) create mode 100644 textures/scissors.png create mode 100644 textures/sign_attention_to_forklift_operating.png create mode 100644 textures/triangular_stencil.png diff --git a/industrial_floor.lua b/industrial_floor.lua index a42d1b2..8b508f0 100644 --- a/industrial_floor.lua +++ b/industrial_floor.lua @@ -29,6 +29,39 @@ minetest.register_craft({ replacements = {{"default:sword_steel", "default:sword_steel"}} }) +--plant_blocks:scissors +minetest.register_craftitem("plant_blocks:scissors", { + description = S("Scissors"), + inventory_image = "scissors.png" +}) + +minetest.register_craft({ + output = 'plant_blocks:scissors', + recipe = { + {'basic_materials:steel_strip', '', ''}, + {'basic_materials:plastic_sheet','', ''}, + } +}) + +--plant_blocks:triangular_stencil Треугольный трафарет +minetest.register_craftitem("plant_blocks:triangular_stencil", { + description = S("Triangular_stencil"), + inventory_image = "triangular_stencil.png" +}) + +minetest.register_craft({ + output = 'plant_blocks:triangular_stencil', + recipe = { + {'basic_materials:plastic_sheet','plant_blocks:scissors','plant_blocks:ruler'} + }, + replacements = { + {"plant_blocks:scissors", "plant_blocks:scissors"}, + {"plant_blocks:ruler", "plant_blocks:ruler"}, + } +}) + +--[[*******************************************************************]] + --plant_blocks:industrial_floor minetest.register_node("plant_blocks:floor", { description = S("Industrial floor"), @@ -83,7 +116,7 @@ minetest.register_craft({ minetest.register_node("plant_blocks:yellow_black_line_floor", { description = S("Industrial with black and yellow line floor"), paramtype2 = "facedir", - place_param2 = 0, + --place_param2 = 0, tiles = { "floor_up.png^[combine:32x32:0,0=yellow_black_line_up.png", "basic_materials_cement_block.png", @@ -114,7 +147,7 @@ minetest.register_craft({ minetest.register_node("plant_blocks:yellow_black_line_corner_floor", { description = S("Industrial floor with black and yellow corner line"), paramtype2 = "facedir", - place_param2 = 0, + --place_param2 = 0, tiles = { "floor_up.png^yellow_black_line_corner_up.png", "basic_materials_cement_block.png", @@ -146,7 +179,7 @@ minetest.register_craft({ minetest.register_node("plant_blocks:forklift_floor_sign", { description = S("Industrial forklift floor sign"), paramtype2 = "facedir", - place_param2 = 0, + --place_param2 = 0, tiles = { "floor_up.png^forklift_sign_up.png", "basic_materials_cement_block.png", @@ -163,14 +196,73 @@ minetest.register_node("plant_blocks:forklift_floor_sign", { minetest.register_craft({ output = 'plant_blocks:forklift_floor_sign', recipe = { - {'dye:black','', 'dye:yellow'}, - {'plant_blocks:ruler', 'plant_blocks:floor', 'plant_blocks:ruler'}, - {'plant_blocks:brush', 'plant_blocks:ruler', ''}, + {'dye:black','plant_blocks:triangular_stencil', 'dye:yellow'}, + {'', 'plant_blocks:floor', ''}, + {'plant_blocks:brush', '', ''}, }, replacements = { {"plant_blocks:brush", "plant_blocks:brush"}, - {"plant_blocks:ruler", "plant_blocks:ruler"}, - {"plant_blocks:ruler", "plant_blocks:ruler"}, - {"plant_blocks:ruler", "plant_blocks:ruler"} + {"plant_blocks:triangular_stencil", "plant_blocks:triangular_stencil"}, } }) + +--plant_blocks:wall_sign_attention_forklift_operating Настенный знак внимание работает автопогрузчик +minetest.register_node("plant_blocks:wall_sign_attention_forklift_operating", { + description = S("Wall sign attention to forklift operating"), + drawtype = "mesh", + -- Holds the texture for each "material" + tiles = { + "sign_attention_to_forklift_operating.png" + }, + paramtype2 = "facedir", + --place_param2 = 0, + -- Path to the mesh + mesh = "triangular_sign.obj", + paramtype = "light", + bounding_boxes = {{0.4375, -0.5, -0.5, 0.5, 0.5, 0.5}}, + selection_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.4375, 0.5, 0.5, 0.5}, + }, + }, + node_box = { + type = "wallmounted", + + -- Ceiling + wall_top = { + {-0.5, 0.4375, -0.5, 0.5, 0.5, 0.5}, + }, + + -- Floor + wall_bottom = { + {-0.5, -0.5, -0.5, 0.5, -0.4375, 0.5}, + }, + + -- Wall + wall_side = { + {-0.5, -0.3125, -0.4375, -0.4375, 0.3125, 0.4375} + } + }, + collision_box = { + type = "fixed", + fixed = { + {-0.5, -0.5, 0.4375, 0.5, 0.5, 0.5}, + }, + }, + is_ground_content = false, + groups = {crumbly=3}, +}) + +minetest.register_craft({ + output = 'plant_blocks:wall_sign_attention_forklift_operating', + recipe = { + {'dye:black','plant_blocks:triangular_stencil', 'dye:yellow'}, + {'plant_blocks:brush', 'basic_materials:plastic_sheet', 'plant_blocks:scissors'}, + }, + replacements = { + {"plant_blocks:brush", "plant_blocks:brush"}, + {"plant_blocks:triangular_stencil", "plant_blocks:triangular_stencil"}, + {"plant_blocks:scissors", "plant_blocks:scissors"}, + } +}) \ No newline at end of file diff --git a/locale/plant_blocks.ru.tr b/locale/plant_blocks.ru.tr index dd3e7f5..215f82a 100644 --- a/locale/plant_blocks.ru.tr +++ b/locale/plant_blocks.ru.tr @@ -5,4 +5,7 @@ Industrial floor=Промышленный пол Ruler=Линейка Industrial with black and yellow line floor=Промышленный с черно-желтый линией пол Industrial floor with black and yellow corner line=Промышленный пол с черно-желтой угловой линии -Industrial forklift floor sign=Промышленный напольный знак погрузчика \ No newline at end of file +Industrial forklift floor sign=Промышленный напольный знак погрузчика +Wall sign attention to forklift operating=Настенный знак внимание работает автопогрузчик +Triangular_stencil=Треугольный трафарет +Scissors=Ножницы \ No newline at end of file diff --git a/textures/scissors.png b/textures/scissors.png new file mode 100644 index 0000000000000000000000000000000000000000..c1fa0cda4ba26ddbfc8c172052e9964cd43624f5 GIT binary patch literal 978 zcmV;@11dlNxsU0hs_j*gI!kffxf7BW(6YHDk1YZov{l9H0EtE+l?dV+$2 z6gpdsjEoj9OD}JzD?wWt85t8oXAez!e0+QkP=6*|j9*?}YHDf>PJ<3gdq84}ICH9) ztHq(Kx)MZd5KMS)j#GV}LO^|Nok>qhP_-)?A(5h3fys;8XRi|D|1ezt_zFx0nCo z*8l(QgRTGn_5bzj|Nj60h$Dmv00009a7bBm001r{001r{0eGc9b^rhYkV!;AR5;6h z()UxsFcb&yq@ffFtrgirK#(oqR;J2u@4fflGK!?a;)?f-lc1Gx3M%l>*eLNYvySQB#n`eT5}%RP2YCl$93Z{|vr)pj1qVbj zX=DL_rF|?BQeXpcpGC$4(xuD>OoQ<1KXlqa$0CD|&Reec>qRzf}Qzv;djW<0%7#Mc}C1r-*fpa#- z0{y)5;z+*ER#^ZZIo?)#OEI?qh&h!?=>Jdi4WvA6)4u5k+5i9m07*qoM6N<$f_b>I A0RR91 literal 0 HcmV?d00001 diff --git a/textures/sign_attention_to_forklift_operating.png b/textures/sign_attention_to_forklift_operating.png new file mode 100644 index 0000000000000000000000000000000000000000..511fe83f4bf97b5d355c65110e51f3cce450f08f GIT binary patch literal 6783 zcmd5>Wn5J6vp-8M5(3g7X|M}ON#{}$0s=~iNd72kl&+u#b#5qg5ydS~}4CM?Jf)T%Rr zetv8H4IVbgvbSEGxWdt;2@xepxfAFFn4Ngb&FCA=QapRNw_|)Ty%!YPEukxcc&RSu zc{5wn-Z9bhLLxR`dAa45r$BUg672fJ%9E$Ak!ArG7qJ-;7Z?z_4X+cF^5vshqvn%^|6QHX(+0cMM)^ zFHEoA?kzU}*@L6d6QHhcxEl2~l^XWRdFA$>t8T4Q3Oaao`DXXZgV9&W` ziMxHLDDNV7Ae!rRz|jC0ne6%t^uGzvVBguAVR#-@bqCnN0MO`iwq%4=P+zSJbHnej z{_mD_I=fA6?<~ES;5O>r{va}bU`U(M>W)uQsh0*O-3e-{b?7JT-cOm^-s#8@cz^6J zmlmXY=k;Hhy1C+X{i=FZm$Uh|Lbt_hx4Yz-maV`AotoC>t4i)`9LP-Ry?>w5s_k4x zi0B}W?q=v**nevH6x{{xZ(qeWe{sbVqSm9;25&0NVw>L?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