mirror of
				https://github.com/mt-mods/homedecor_modpack.git
				synced 2025-10-31 22:35:28 +01:00 
			
		
		
		
	add hd furniture medieval
This commit is contained in:
		| @@ -1,20 +0,0 @@ | |||||||
| unused_args = false |  | ||||||
| allow_defined_top = true |  | ||||||
| max_comment_line_length = 999 |  | ||||||
|  |  | ||||||
| read_globals = { |  | ||||||
| 	"DIR_DELIM", |  | ||||||
| 	"minetest", "core", |  | ||||||
| 	"unpack", |  | ||||||
| 	"dump", |  | ||||||
| 	table = { fields = { "copy", "getn" } }, |  | ||||||
| 	"vector", "nodeupdate", |  | ||||||
| 	"VoxelManip", "VoxelArea", |  | ||||||
| 	"PseudoRandom", "ItemStack", |  | ||||||
| 	"default", |  | ||||||
| 	"homedecor", |  | ||||||
| } |  | ||||||
|  |  | ||||||
| globals = { |  | ||||||
| } |  | ||||||
|  |  | ||||||
| @@ -17,8 +17,19 @@ homedecor.register("bars", { | |||||||
| 		type = "fixed", | 		type = "fixed", | ||||||
| 		fixed = { -0.5, -0.5, -0.1, 0.5, 0.5, 0.1 }, | 		fixed = { -0.5, -0.5, -0.1, 0.5, 0.5, 0.1 }, | ||||||
| 	}, | 	}, | ||||||
| 	groups = {cracky=3}, | 	groups = {cracky=3, dig_stone=1}, | ||||||
| 	sounds = default.node_sound_stone_defaults(), | 	_sound_def = { | ||||||
|  | 		key = "node_sound_stone_defaults", | ||||||
|  | 	}, | ||||||
|  | 	crafts = { | ||||||
|  | 		{ | ||||||
|  | 			output = "homedecor:bars 6", | ||||||
|  | 			recipe = { | ||||||
|  | 				{ "steel_ingot","steel_ingot","steel_ingot" }, | ||||||
|  | 				{ "homedecor:pole_wrought_iron","homedecor:pole_wrought_iron","homedecor:pole_wrought_iron" }, | ||||||
|  | 			}, | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
| }) | }) | ||||||
|  |  | ||||||
| --L Binding Bars | --L Binding Bars | ||||||
| @@ -37,8 +48,19 @@ homedecor.register("L_binding_bars", { | |||||||
| 			{ -0.05,  0.45, -0.50,  0.05,  0.50,  0.00 }, | 			{ -0.05,  0.45, -0.50,  0.05,  0.50,  0.00 }, | ||||||
| 		}, | 		}, | ||||||
| 	}, | 	}, | ||||||
| 	groups = {cracky=3}, | 	groups = {cracky=3, dig_stone=1}, | ||||||
| 	sounds = default.node_sound_stone_defaults(), | 	_sound_def = { | ||||||
|  | 		key = "node_sound_stone_defaults", | ||||||
|  | 	}, | ||||||
|  | 	crafts = { | ||||||
|  | 		{ | ||||||
|  | 			output = "homedecor:L_binding_bars 3", | ||||||
|  | 			recipe = { | ||||||
|  | 				{ "homedecor:bars","" }, | ||||||
|  | 				{ "homedecor:bars","homedecor:bars" }, | ||||||
|  | 			}, | ||||||
|  | 		} | ||||||
|  | 	} | ||||||
| }) | }) | ||||||
|  |  | ||||||
| local chain_cbox = { | local chain_cbox = { | ||||||
| @@ -53,25 +75,9 @@ homedecor.register("chains", { | |||||||
| 	inventory_image="forniture_chains_inv.png", | 	inventory_image="forniture_chains_inv.png", | ||||||
| 	selection_box = chain_cbox, | 	selection_box = chain_cbox, | ||||||
| 	walkable = false, | 	walkable = false, | ||||||
| 	groups = {cracky=3}, | 	groups = {cracky=3, dig_stone=1}, | ||||||
| 	sounds = default.node_sound_stone_defaults(), | 	_sound_def = { | ||||||
| }) | 		key = "node_sound_stone_defaults", | ||||||
|  |  | ||||||
| -- Crafts |  | ||||||
|  |  | ||||||
| minetest.register_craft({ |  | ||||||
| 	output = "homedecor:bars 6", |  | ||||||
| 	recipe = { |  | ||||||
| 		{ "default:steel_ingot","default:steel_ingot","default:steel_ingot" }, |  | ||||||
| 		{ "homedecor:pole_wrought_iron","homedecor:pole_wrought_iron","homedecor:pole_wrought_iron" }, |  | ||||||
| 	}, |  | ||||||
| }) |  | ||||||
|  |  | ||||||
| minetest.register_craft({ |  | ||||||
| 	output = "homedecor:L_binding_bars 3", |  | ||||||
| 	recipe = { |  | ||||||
| 		{ "homedecor:bars","" }, |  | ||||||
| 		{ "homedecor:bars","homedecor:bars" }, |  | ||||||
| 	}, | 	}, | ||||||
| }) | }) | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,3 +1,3 @@ | |||||||
| name = homedecor_furniture_medieval | name = homedecor_furniture_medieval | ||||||
| description = Homedecor mod: furniture medieval | description = Homedecor mod: furniture medieval | ||||||
| depends = homedecor_common, default, creative | depends = homedecor_common | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user