Add Wood Frame
2
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")
|
||||
|
17
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",
|
||||
|
Before Width: | Height: | Size: 290 B After Width: | Height: | Size: 290 B |
Before Width: | Height: | Size: 338 B After Width: | Height: | Size: 235 B |
Before Width: | Height: | Size: 157 B After Width: | Height: | Size: 157 B |
Before Width: | Height: | Size: 192 B After Width: | Height: | Size: 192 B |
Before Width: | Height: | Size: 240 B After Width: | Height: | Size: 236 B |
BIN
textures/xdecor_wood_frame.png
Normal file
After Width: | Height: | Size: 255 B |
@ -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")
|
||||
|