Added 2 guide signs

This commit is contained in:
Vitaliy Olkhin 2024-01-17 16:59:25 +05:00
parent 0bbfea7171
commit 3059d9190f
5 changed files with 101 additions and 1 deletions

View File

@ -328,4 +328,102 @@ minetest.register_craft({
{"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

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

BIN
textures/bg_green_sign.png Normal file

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