Added 2 guide signs

This commit is contained in:
Vitaliy Olkhin 2024-01-17 17:00:48 +05:00
parent 21095c85fb
commit 5c16eb58c6
7 changed files with 166 additions and 1 deletions

View File

@ -265,4 +265,165 @@ 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"}
}
})
--plant_blocks:e07
minetest.register_node("plant_blocks:e07", {
description = S("Direction to the emergency exit down right"),
inventory_image = "plant_blocks_e07.png",
tiles = {
"bg_green_sign.png",
"bg_green_sign.png",
"bg_green_sign.png",
"bg_green_sign.png",
"bg_green_sign.png",
"[combine:64x60:0,0=plant_blocks_e07.png"
},
drawtype = "nodebox",
--drawtype = "signlike",
--paramtype = "fencelike",
legacy_facedir_simple = false,
--paramtype2 = "4dir",
paramtype2 = "facedir",
--paramtype2 = "wallmounted",
--paramtype2 = "leveled",
--sunlight_propagates = true,
--walkable = true,
node_box = {
--type = "connected",
type = "fixed",
--type = "wallmounted",
fixed = {
{-0.5, -0, 0.46, 0.5, 0.5, 0.5},
--{-0.5, -0.3, -0.0625, 0.5, 0.3, 0}, --center
},
--wall_bottom = {{-0.0625, -0.5, 0, 0.0625, 0.3125, 0.125}},
--connect_bottom = {{-0.0625, -0.5, 0, 0.0625, 0.3125, 0.125},},
},
--[[selection_box = {
type = "connected",
connect_bottom = {{-0.0625, -0.5, 0, 0.0625, 0.3125, 0.125},},
fixed = {}
},]]
--connects_to = {"group:wood", "group:tree",'group:cracky'},
--selection_box = {type = "wallmounted"},
is_ground_content = false,
groups = {crumbly=3},
--connect_sides={'back'},
--on_rotate = false,
--on_place = minetest.rotate_node,
})
minetest.register_craft({
output = 'plant_blocks:e07',
recipe = {
{'dye:green','plant_blocks:ruler', ''},
{'default:sign_wall_wood', 'plant_blocks:brush', ''},
{'', '', ''},
},
replacements = {
{"plant_blocks:brush", "plant_blocks:brush"},
{"plant_blocks:ruler", "plant_blocks:ruler"},
}
})
--plant_blocks:e05
minetest.register_node("plant_blocks:e05", {
description = S("Direction to the emergency exit to the right up"),
inventory_image = "plant_blocks_e05.png",
tiles = {
"bg_green_sign.png",
"bg_green_sign.png",
"bg_green_sign.png",
"bg_green_sign.png",
"bg_green_sign.png",
"[combine:64x60:0,0=plant_blocks_e05.png" --^[transform4
},
drawtype = "nodebox",
legacy_facedir_simple = false,
paramtype2 = "facedir",
node_box = {
type = "fixed",
fixed = {
{-0.5, -0, 0.46, 0.5, 0.5, 0.5},
},
},
is_ground_content = false,
groups = {crumbly=3},
})
minetest.register_craft({
output = 'plant_blocks:e05',
recipe = {
{'dye:green','plant_blocks:ruler', 'plant_blocks:brush'},
{'default:sign_wall_wood', '', ''},
{'', '', ''},
},
replacements = {
{"plant_blocks:brush", "plant_blocks:brush"},
{"plant_blocks:ruler", "plant_blocks:ruler"},
}
})

View File

@ -8,4 +8,8 @@ Industrial floor with black and yellow corner line=Промышленный по
Industrial forklift floor sign=Промышленный напольный знак погрузчика
Wall sign attention to forklift operating=Настенный знак внимание работает автопогрузчик
Triangular_stencil=Треугольный трафарет
Scissors=Ножницы
Scissors=Ножницы
Industrial floor with yellow corner line=Промышленный пол с желтой угловой линией
Industrial with yellow line floor=Промышленный пол с желтой линией
Direction to the emergency exit down right=Направление к эвакуационному выходу направо вниз
Direction to the emergency exit to the right up=Направление к эвакуационному выходу направо вверх

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 869 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 939 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 B