diff options
| -rw-r--r-- | adaptions.lua | 1 | ||||
| -rw-r--r-- | nodes_furniture.lua | 33 | 
2 files changed, 31 insertions, 3 deletions
| diff --git a/adaptions.lua b/adaptions.lua index 9a46a04..0083534 100644 --- a/adaptions.lua +++ b/adaptions.lua @@ -42,6 +42,7 @@ cottages.craftitem_clay_brick   = "default:clay_brick";  -- used for: treshing floor  cottages.craftitem_junglewood   = "default:junglewood";  cottages.craftitem_chest_locked = "default:chest_locked"; +cottages.craftitem_chest        = "default:chest";  -- used for: hatch, table  cottages.craftitem_slab_wood    = "stairs:slab_wood"; diff --git a/nodes_furniture.lua b/nodes_furniture.lua index 47aeb5c..fa3e24b 100644 --- a/nodes_furniture.lua +++ b/nodes_furniture.lua @@ -862,9 +862,36 @@ minetest.register_craft({  minetest.register_craft({  	output = "cottages:shelf",  	recipe = { -		{cottages.craftitem_stick,  cottages.craftitem_wood, cottages.craftitem_stick, }, -		{cottages.craftitem_stick, cottages.craftitem_wood, cottages.craftitem_stick, }, -		{cottages.craftitem_stick, "",             cottages.craftitem_stick} +		{cottages.craftitem_stick, cottages.craftitem_wood,  cottages.craftitem_stick, }, +		{cottages.craftitem_stick, cottages.craftitem_chest, cottages.craftitem_stick, }, +		{cottages.craftitem_stick, "",                       cottages.craftitem_stick  } +	} +}) + +minetest.register_craft({ +	output = "cottages:cabinet", +	recipe = { +		{cottages.craftitem_wood,  cottages.craftitem_wood,  cottages.craftitem_wood, }, +		{cottages.craftitem_wood,  cottages.craftitem_chest, cottages.craftitem_wood, }, +		{cottages.craftitem_stick, "",                       cottages.craftitem_stick } +	} +}) + +minetest.register_craft({ +	output = "cottages:bedside_table", +	recipe = { +		{cottages.craftitem_wood,      cottages.craftitem_wood,  cottages.craftitem_wood, }, +		{cottages.craftitem_wood,      cottages.craftitem_chest, cottages.craftitem_wood, }, +		{cottages.craftitem_slab_wood, "",                       cottages.craftitem_slab_wood  } +	} +}) + +minetest.register_craft({ +	output = "cottages:sturdy_table", +	recipe = { +		{cottages.craftitem_wood,  cottages.craftitem_wood, cottages.craftitem_wood,  }, +		{cottages.craftitem_stick, "",                      cottages.craftitem_stick, }, +		{cottages.craftitem_stick, "",                      cottages.craftitem_stick  }  	}  }) | 
