diff --git a/hive.lua b/hive.lua index 13a3b95..7256239 100644 --- a/hive.lua +++ b/hive.lua @@ -6,7 +6,7 @@ function hive.construct(pos) local xbg = default.gui_bg..default.gui_bg_img..default.gui_slots local formspec = "size[8,5;]"..xbg.. - "label[1.35,0;Bees are making honey\nwith pollen around...]image[6,0;1,1;xdecor_bee.png]image[5,0;1,1;hive_layout.png]list[current_name;honey;5,0;1,1;]list[current_player;main;0,1.35;8,4;]" + "label[1.35,0;Bees are making honey\nwith pollen around...]image[6,0;1,1;hive_bee.png]image[5,0;1,1;hive_layout.png]list[current_name;honey;5,0;1,1;]list[current_player;main;0,1.35;8,4;]" meta:set_string("formspec", formspec) meta:set_string("infotext", "Artificial Hive") diff --git a/nodes.lua b/nodes.lua index 052992f..927c8d3 100644 --- a/nodes.lua +++ b/nodes.lua @@ -513,6 +513,23 @@ xdecor.register("tv", { } }) +xpanes.register_pane("wood_frame", { + description = "Wood Frame", + tiles = {"xdecor_wood_frame.png"}, + drawtype = "airlike", + paramtype = "light", + textures = {"xdecor_wood_frame.png", "xdecor_wood_frame.png", "xpanes_space.png"}, + inventory_image = "xdecor_wood_frame.png", + wield_image = "xdecor_wood_frame.png", + groups = {choppy=3, pane=1, flammable=3}, + sounds = default.node_sound_wood_defaults(), + recipe = { + {"group:wood", "group:stick", "group:wood"}, + {"group:stick", "group:stick", "group:stick"}, + {"group:wood", "group:stick", "group:wood"} + } +}) + xdecor.register("woodframed_glass", { description = "Wood Framed Glass", drawtype = "glasslike_framed", diff --git a/textures/xdecor_bee.png b/textures/hive_bee.png similarity index 100% rename from textures/xdecor_bee.png rename to textures/hive_bee.png diff --git a/textures/hive_layout.png b/textures/hive_layout.png index 9d7aeb0..90280d8 100644 Binary files a/textures/hive_layout.png and b/textures/hive_layout.png differ diff --git a/textures/xdecor_anvil.png b/textures/worktable_anvil.png similarity index 100% rename from textures/xdecor_anvil.png rename to textures/worktable_anvil.png diff --git a/textures/xdecor_saw.png b/textures/worktable_saw.png similarity index 100% rename from textures/xdecor_saw.png rename to textures/worktable_saw.png diff --git a/textures/xdecor_lightbox.png b/textures/xdecor_lightbox.png index 4bfd183..a89b09b 100644 Binary files a/textures/xdecor_lightbox.png and b/textures/xdecor_lightbox.png differ diff --git a/textures/xdecor_wood_frame.png b/textures/xdecor_wood_frame.png new file mode 100644 index 0000000..fcbfd16 Binary files /dev/null and b/textures/xdecor_wood_frame.png differ diff --git a/worktable.lua b/worktable.lua index dd798db..62eb1d3 100644 --- a/worktable.lua +++ b/worktable.lua @@ -55,7 +55,7 @@ function worktable.construct(pos) inv:set_size("hammer", 1) local formspec = "size[8,7;]"..xbg.. - "list[context;forms;4,0;4,3;]label[0.95,1.23;Cut]box[-0.05,1;2.05,0.9;#555555]image[3,1;1,1;gui_furnace_arrow_bg.png^[transformR270]label[0.95,2.23;Repair]box[-0.05,2;2.05,0.9;#555555]image[0,1;1,1;xdecor_saw.png]image[0,2;1,1;xdecor_anvil.png]image[3,2;1,1;hammer_layout.png]list[current_name;input;2,1;1,1;]list[current_name;tool;2,2;1,1;]list[current_name;hammer;3,2;1,1;]button[0,0;2,1;craft;Crafting]button[2,0;2,1;storage;Storage]list[current_player;main;0,3.25;8,4;]" + "list[context;forms;4,0;4,3;]label[0.95,1.23;Cut]box[-0.05,1;2.05,0.9;#555555]image[3,1;1,1;gui_furnace_arrow_bg.png^[transformR270]label[0.95,2.23;Repair]box[-0.05,2;2.05,0.9;#555555]image[0,1;1,1;worktable_saw.png]image[0,2;1,1;worktable_anvil.png]image[3,2;1,1;hammer_layout.png]list[current_name;input;2,1;1,1;]list[current_name;tool;2,2;1,1;]list[current_name;hammer;3,2;1,1;]button[0,0;2,1;craft;Crafting]button[2,0;2,1;storage;Storage]list[current_player;main;0,3.25;8,4;]" meta:set_string("formspec", formspec) meta:set_string("infotext", "Work Table")