diff options
author | Sokomine <wegwerf@anarres.dyndns.org> | 2015-07-26 05:54:37 +0200 |
---|---|---|
committer | Sokomine <wegwerf@anarres.dyndns.org> | 2015-07-26 05:54:37 +0200 |
commit | a07e2e706e718348a5ba183db2e686ad36f7b18f (patch) | |
tree | fed3f69e5dafe504bc9aaafcca78d5beaca3c8ef /nodes_barrel.lua | |
parent | d92685d20c6bebce0a88512991646a16121b0810 (diff) |
added missing textures; made indigrents for craft receipes configurable; added compatibility for realtest; added wool in case no wool is installed; other minor tweaks
Diffstat (limited to 'nodes_barrel.lua')
-rw-r--r-- | nodes_barrel.lua | 12 |
1 files changed, 6 insertions, 6 deletions
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 }, }, }) |