forked from nalc/homedecor_modpack
		
	Building Blocks Delete return to the line
This commit is contained in:
		| @@ -38,7 +38,6 @@ if not minetest.get_modpath("technic") then | |||||||
| 		    groups = {cracky=1}, | 		    groups = {cracky=1}, | ||||||
| 		    sounds = default.node_sound_stone_defaults(), | 		    sounds = default.node_sound_stone_defaults(), | ||||||
| 	}) | 	}) | ||||||
| 	 |  | ||||||
| 	minetest.register_craft({ | 	minetest.register_craft({ | ||||||
| 		output = "technic:granite 9", | 		output = "technic:granite 9", | ||||||
| 		recipe = { | 		recipe = { | ||||||
| @@ -47,7 +46,6 @@ if not minetest.get_modpath("technic") then | |||||||
| 			{ "group:tar_block", "group:marble", "group:tar_block" } | 			{ "group:tar_block", "group:marble", "group:tar_block" } | ||||||
| 		}, | 		}, | ||||||
| 	}) | 	}) | ||||||
| 	 |  | ||||||
| 	if minetest.get_modpath("moreblocks") then | 	if minetest.get_modpath("moreblocks") then | ||||||
| 		stairsplus:register_all("technic", "granite", "technic:granite", { | 		stairsplus:register_all("technic", "granite", "technic:granite", { | ||||||
| 				description=S("Granite"), | 				description=S("Granite"), | ||||||
|   | |||||||
| @@ -4,7 +4,4 @@ local modpath = minetest.get_modpath("building_blocks") | |||||||
| dofile(modpath.."/alias.lua") | dofile(modpath.."/alias.lua") | ||||||
| dofile(modpath.."/node_stairs.lua") | dofile(modpath.."/node_stairs.lua") | ||||||
| dofile(modpath.."/others.lua") | dofile(modpath.."/others.lua") | ||||||
| dofile(modpath.."/recipes.lua") | dofile(modpath.."/recipes.lua") | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| @@ -15,8 +15,7 @@ local function building_blocks_stairs(nodename, def) | |||||||
| 			then | 			then | ||||||
| 				def.groups.groupname = nil | 				def.groups.groupname = nil | ||||||
| 			end | 			end | ||||||
| 		end | 		end	 | ||||||
| 		 |  | ||||||
| 		if minetest.get_modpath("moreblocks") then | 		if minetest.get_modpath("moreblocks") then | ||||||
| 			stairsplus:register_all( | 			stairsplus:register_all( | ||||||
| 				mod, | 				mod, | ||||||
| @@ -54,7 +53,6 @@ building_blocks_stairs("building_blocks:Roofing", { | |||||||
| 	description = S("Roof block"), | 	description = S("Roof block"), | ||||||
| 	groups = {snappy=3}, | 	groups = {snappy=3}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_node("building_blocks:smoothglass", { | minetest.register_node("building_blocks:smoothglass", { | ||||||
| 	drawtype = "glasslike", | 	drawtype = "glasslike", | ||||||
| 	description = S("Streak Free Glass"), | 	description = S("Streak Free Glass"), | ||||||
| @@ -76,7 +74,6 @@ building_blocks_stairs("building_blocks:grate", { | |||||||
| 	is_ground_content = true, | 	is_ground_content = true, | ||||||
| 	groups = {cracky=1}, | 	groups = {cracky=1}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_node("building_blocks:Fireplace", { | minetest.register_node("building_blocks:Fireplace", { | ||||||
| 	description = S("Fireplace"), | 	description = S("Fireplace"), | ||||||
| 	tiles = { | 	tiles = { | ||||||
| @@ -92,7 +89,6 @@ minetest.register_node("building_blocks:Fireplace", { | |||||||
| 	is_ground_content = true, | 	is_ground_content = true, | ||||||
| 	groups = {cracky=2}, | 	groups = {cracky=2}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_node("building_blocks:woodglass", { | minetest.register_node("building_blocks:woodglass", { | ||||||
| 	drawtype = "glasslike", | 	drawtype = "glasslike", | ||||||
| 	description = S("Wood Framed Glass"), | 	description = S("Wood Framed Glass"), | ||||||
| @@ -214,7 +210,6 @@ building_blocks_stairs("building_blocks:fakegrass", { | |||||||
| 		footstep = {name="default_grass_footstep", gain=0.4}, | 		footstep = {name="default_grass_footstep", gain=0.4}, | ||||||
| 	}), | 	}), | ||||||
| }) | }) | ||||||
|  |  | ||||||
| building_blocks_stairs("building_blocks:Tar", { | building_blocks_stairs("building_blocks:Tar", { | ||||||
| 	description = S("Tar"), | 	description = S("Tar"), | ||||||
| 	tiles = {"building_blocks_tar.png"}, | 	tiles = {"building_blocks_tar.png"}, | ||||||
|   | |||||||
| @@ -5,7 +5,6 @@ minetest.register_craftitem("building_blocks:sticks", { | |||||||
| 	image = "building_blocks_sticks.png", | 	image = "building_blocks_sticks.png", | ||||||
| 	on_place_on_ground = minetest.craftitem_place_item, | 	on_place_on_ground = minetest.craftitem_place_item, | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craftitem("building_blocks:tar_base", { | minetest.register_craftitem("building_blocks:tar_base", { | ||||||
| 	description = S("Tar base"), | 	description = S("Tar base"), | ||||||
| 	image = "building_blocks_tar_base.png", | 	image = "building_blocks_tar_base.png", | ||||||
|   | |||||||
| @@ -38,7 +38,6 @@ minetest.register_craft({ | |||||||
| 		{"group:stick"}, | 		{"group:stick"}, | ||||||
| 	} | 	} | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft({ | minetest.register_craft({ | ||||||
| 	output = 'building_blocks:Roofing 10', | 	output = 'building_blocks:Roofing 10', | ||||||
| 	recipe = { | 	recipe = { | ||||||
| @@ -74,7 +73,6 @@ minetest.register_craft({ | |||||||
| 		{"default:junglewood", "default:wood"}, | 		{"default:junglewood", "default:wood"}, | ||||||
| 	} | 	} | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft({ | minetest.register_craft({ | ||||||
| 	output = 'building_blocks:hardwood 2', | 	output = 'building_blocks:hardwood 2', | ||||||
| 	recipe = { | 	recipe = { | ||||||
| @@ -100,14 +98,12 @@ else | |||||||
| 		} | 		} | ||||||
| 	}) | 	}) | ||||||
| end | end | ||||||
|  |  | ||||||
| minetest.register_craft({ | minetest.register_craft({ | ||||||
| 	output = 'default:stick 4', | 	output = 'default:stick 4', | ||||||
| 	recipe = { | 	recipe = { | ||||||
| 		{'building_blocks:sticks'}, | 		{'building_blocks:sticks'}, | ||||||
| 	} | 	} | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft({ | minetest.register_craft({ | ||||||
| 	output = 'building_blocks:fakegrass 2', | 	output = 'building_blocks:fakegrass 2', | ||||||
| 	recipe = { | 	recipe = { | ||||||
| @@ -115,7 +111,6 @@ minetest.register_craft({ | |||||||
| 		{"default:dirt"}, | 		{"default:dirt"}, | ||||||
| 	} | 	} | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft({ | minetest.register_craft({ | ||||||
| 	output = 'building_blocks:tar_base 4', | 	output = 'building_blocks:tar_base 4', | ||||||
| 	recipe = { | 	recipe = { | ||||||
| @@ -123,7 +118,6 @@ minetest.register_craft({ | |||||||
| 		{"default:gravel", "default:coal_lump"} | 		{"default:gravel", "default:coal_lump"} | ||||||
| 	} | 	} | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft({ | minetest.register_craft({ | ||||||
| 	output = 'building_blocks:tar_base 4', | 	output = 'building_blocks:tar_base 4', | ||||||
| 	recipe = { | 	recipe = { | ||||||
| @@ -131,26 +125,16 @@ minetest.register_craft({ | |||||||
| 		{"default:coal_lump", "default:gravel"} | 		{"default:coal_lump", "default:gravel"} | ||||||
| 	} | 	} | ||||||
| }) | }) | ||||||
|  |  | ||||||
| minetest.register_craft({ | minetest.register_craft({ | ||||||
| 	type = "cooking", | 	type = "cooking", | ||||||
| 	output = "building_blocks:smoothglass", | 	output = "building_blocks:smoothglass", | ||||||
| 	recipe = "default:glass" | 	recipe = "default:glass" | ||||||
| }) | }) | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| minetest.register_craft({ | minetest.register_craft({ | ||||||
| 	type = "fuel", | 	type = "fuel", | ||||||
| 	recipe = "building_blocks:hardwood", | 	recipe = "building_blocks:hardwood", | ||||||
| 	burntime = 28, | 	burntime = 28, | ||||||
| }) | }) | ||||||
|  |  | ||||||
|  |  | ||||||
|  |  | ||||||
| --Tar |  | ||||||
| minetest.register_craft({ | minetest.register_craft({ | ||||||
| 	output = 'building_blocks:knife 1', | 	output = 'building_blocks:knife 1', | ||||||
| 	recipe = { | 	recipe = { | ||||||
| @@ -158,8 +142,6 @@ minetest.register_craft({ | |||||||
| 		{"group:stick"}, | 		{"group:stick"}, | ||||||
| 	} | 	} | ||||||
| }) | }) | ||||||
|  |  | ||||||
|  |  | ||||||
| minetest.register_craft({ | minetest.register_craft({ | ||||||
| 	type = "fuel", | 	type = "fuel", | ||||||
| 	recipe = "building_blocks:sticks", | 	recipe = "building_blocks:sticks", | ||||||
| @@ -176,8 +158,6 @@ minetest.register_craft({ | |||||||
| 	output = "building_blocks:Tar", | 	output = "building_blocks:Tar", | ||||||
| 	recipe = "building_blocks:tar_base", | 	recipe = "building_blocks:tar_base", | ||||||
| }) | }) | ||||||
|  |  | ||||||
|  |  | ||||||
| minetest.register_craft({ | minetest.register_craft({ | ||||||
| 	output = "building_blocks:Marble 9", | 	output = "building_blocks:Marble 9", | ||||||
| 	recipe = { | 	recipe = { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user