From a07e2e706e718348a5ba183db2e686ad36f7b18f Mon Sep 17 00:00:00 2001 From: Sokomine Date: Sun, 26 Jul 2015 05:54:37 +0200 Subject: added missing textures; made indigrents for craft receipes configurable; added compatibility for realtest; added wool in case no wool is installed; other minor tweaks --- nodes_barrel.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'nodes_barrel.lua') diff --git a/nodes_barrel.lua b/nodes_barrel.lua index dbee3ed..ce37646 100644 --- a/nodes_barrel.lua +++ b/nodes_barrel.lua @@ -111,7 +111,7 @@ end drawtype = "mesh", mesh = "cottages_barrel.obj", tiles = {"cottages_barrel.png" }, - groups = { tree = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2 + groups = { tree = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, not_in_creative_inventory=1, }, drop = "cottages:barrel", -- on_rightclick = function(pos, node, puncher) @@ -131,7 +131,7 @@ end drawtype = "mesh", mesh = "cottages_barrel_closed_lying.obj", tiles = {"cottages_barrel.png" }, - groups = { tree = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2 + groups = { tree = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, not_in_creative_inventory=1, }, drop = "cottages:barrel", on_rightclick = function(pos, node, puncher) @@ -155,7 +155,7 @@ end drawtype = "mesh", mesh = "cottages_barrel_lying.obj", tiles = {"cottages_barrel.png" }, - groups = { tree = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2 + groups = { tree = 1, snappy = 1, choppy = 2, oddly_breakable_by_hand = 1, flammable = 2, not_in_creative_inventory=1, }, drop = "cottages:barrel", on_rightclick = function(pos, node, puncher) @@ -188,9 +188,9 @@ end minetest.register_craft({ output = "cottages:barrel", recipe = { - {"group:wood", "", "group:wood" }, - {"default:steel_ingot", "", "default:steel_ingot"}, - {"group:wood", "group:wood", "group:wood" }, + {cottages.craftitem_wood, "", cottages.craftitem_wood }, + {cottages.craftitem_steel, "", cottages.craftitem_steel}, + {cottages.craftitem_wood, cottages.craftitem_wood, cottages.craftitem_wood }, }, }) -- cgit v1.2.3