fix
2
plant_blocks/README.md
Normal file
@ -0,0 +1,2 @@
|
||||
# plant_blocks
|
||||
Mod for the construction of industrial buildings.
|
176
plant_blocks/industrial_floor.lua
Normal file
@ -0,0 +1,176 @@
|
||||
local S = minetest.get_translator("plant_blocks")
|
||||
|
||||
--plant_blocks:brush
|
||||
minetest.register_craftitem("plant_blocks:brush", {
|
||||
description = S("Brush"),
|
||||
inventory_image = "brush.png"
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'plant_blocks:brush',
|
||||
recipe = {
|
||||
{'basic_materials:plastic_sheet','', ''},
|
||||
{'basic_materials:steel_strip', '', ''},
|
||||
{'default:stick', '', ''},
|
||||
}
|
||||
})
|
||||
|
||||
--plant_blocks:ruler
|
||||
minetest.register_craftitem("plant_blocks:ruler", {
|
||||
description = S("Ruler"),
|
||||
inventory_image = "ruler.png"
|
||||
})
|
||||
|
||||
minetest.register_craft({
|
||||
output = 'plant_blocks:ruler',
|
||||
recipe = {
|
||||
{'default:stick','default:sword_steel', ''},
|
||||
},
|
||||
replacements = {{"default:sword_steel", "default:sword_steel"}}
|
||||
})
|
||||
|
||||
--plant_blocks:industrial_floor
|
||||
minetest.register_node("plant_blocks:floor", {
|
||||
description = S("Industrial floor"),
|
||||
tiles = {
|
||||
"floor_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:floor',
|
||||
recipe = {
|
||||
{'basic_materials:cement_block','plant_blocks:brush', 'dye:grey'},
|
||||
},
|
||||
replacements = {{"plant_blocks:brush", "plant_blocks:brush"}}
|
||||
})
|
||||
|
||||
--plant_blocks:yellow_black_floor
|
||||
minetest.register_node("plant_blocks:yellow_black_floor", {
|
||||
description = S("Industrial black and yellow floor"),
|
||||
tiles = {
|
||||
"yellow_black_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_black_floor',
|
||||
recipe = {
|
||||
{'dye:black','dye:yellow', ''},
|
||||
{'basic_materials:cement_block', 'plant_blocks:brush', ''},
|
||||
{'', '', ''},
|
||||
},
|
||||
replacements = {{"plant_blocks:brush", "plant_blocks:brush"}}
|
||||
})
|
||||
|
||||
--plant_blocks:yellow_black_line_floor
|
||||
minetest.register_node("plant_blocks:yellow_black_line_floor", {
|
||||
description = S("Industrial with black and yellow line floor"),
|
||||
paramtype2 = "facedir",
|
||||
place_param2 = 0,
|
||||
tiles = {
|
||||
"floor_up.png^[combine:32x32:0,0=yellow_black_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_black_line_floor',
|
||||
recipe = {
|
||||
{'dye:black','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_black_line_corner_floor
|
||||
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,
|
||||
tiles = {
|
||||
"floor_up.png^yellow_black_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_black_line_corner_floor',
|
||||
recipe = {
|
||||
{'dye:black','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:industrial_forklift_sign_floor
|
||||
minetest.register_node("plant_blocks:forklift_floor_sign", {
|
||||
description = S("Industrial forklift floor sign"),
|
||||
paramtype2 = "facedir",
|
||||
place_param2 = 0,
|
||||
tiles = {
|
||||
"floor_up.png^forklift_sign_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:forklift_floor_sign',
|
||||
recipe = {
|
||||
{'dye:black','', 'dye:yellow'},
|
||||
{'plant_blocks:ruler', 'plant_blocks:floor', 'plant_blocks:ruler'},
|
||||
{'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:ruler", "plant_blocks:ruler"}
|
||||
}
|
||||
})
|
1
plant_blocks/init.lua
Normal file
@ -0,0 +1 @@
|
||||
dofile(minetest.get_modpath("plant_blocks") .. "/industrial_floor.lua")
|
8
plant_blocks/locale/plant_blocks.ru.tr
Normal file
@ -0,0 +1,8 @@
|
||||
# textdomain: plant_blocks
|
||||
Industrial black and yellow floor=Промышленный черный и жолтый пол
|
||||
Brush=Кисть
|
||||
Industrial floor=Промышленный пол
|
||||
Ruler=Линейка
|
||||
Industrial with black and yellow line floor=Промышленный с черно-желтый линией пол
|
||||
Industrial floor with black and yellow corner line=Промышленный пол с черно-желтой угловой линии
|
||||
Industrial forklift floor sign=Промышленный напольный знак погрузчика
|
6
plant_blocks/mod.conf
Normal file
@ -0,0 +1,6 @@
|
||||
name = plant_blocks
|
||||
description = Mod for the construction of industrial buildings.
|
||||
depends = default, basic_materials, dye
|
||||
min_minetest_version = 5.7
|
||||
title = Plant blocks
|
||||
author = VinAdmin
|
BIN
plant_blocks/screenshot.png
Normal file
After Width: | Height: | Size: 102 KiB |
BIN
plant_blocks/textures/brush.png
Normal file
After Width: | Height: | Size: 9.1 KiB |
BIN
plant_blocks/textures/floor_up.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
plant_blocks/textures/forklift_sign_up.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
plant_blocks/textures/m_floor.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
plant_blocks/textures/ruler.png
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
plant_blocks/textures/yellow_black_line_corner_up.png
Normal file
After Width: | Height: | Size: 1.4 KiB |
BIN
plant_blocks/textures/yellow_black_line_up.png
Normal file
After Width: | Height: | Size: 957 B |
BIN
plant_blocks/textures/yellow_black_up.png
Normal file
After Width: | Height: | Size: 2.6 KiB |