From 5457eeb4b040514a9649e2ebf1f406bf0232796e Mon Sep 17 00:00:00 2001 From: wilkgr Date: Tue, 27 Oct 2015 11:53:49 +1000 Subject: [PATCH] Create steel_bars.lua --- steel_bars.lua | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 steel_bars.lua diff --git a/steel_bars.lua b/steel_bars.lua new file mode 100644 index 0000000..9679639 --- /dev/null +++ b/steel_bars.lua @@ -0,0 +1,24 @@ +-- Steel bars + +xpanes.register_pane("bar", { + description = "Steel bar", + tiles = {"xpanes_space.png"}, + drawtype = "airlike", + paramtype = "light", + is_ground_content = false, + sunlight_propagates = true, + walkable = false, + pointable = false, + diggable = false, + buildable_to = true, + air_equivalent = true, + textures = {"xpanes_bar.png","xpanes_bar.png","xpanes_space.png"}, + inventory_image = "xpanes_bar.png", + wield_image = "xpanes_bar.png", + groups = {snappy=2, cracky=3, oddly_breakable_by_hand=3, pane=1}, + sounds = default.node_sound_stone_defaults(), + recipe = { + {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'}, + {'default:steel_ingot', 'default:steel_ingot', 'default:steel_ingot'} + } +})