diff --git a/enchanting.lua b/enchanting.lua index 119c02f..9dd038e 100644 --- a/enchanting.lua +++ b/enchanting.lua @@ -3,11 +3,12 @@ local function enchconstruct(pos) meta:set_string("formspec", "size[8,7;]"..xdecor.fancy_gui.. "label[0.65,-0.15;Enchant]".. "image[0.4,0.2;2,2;default_book.png]".. + "image[1.3,2;1,1;ench_mese_layout.png]".. "list[current_name;tool;0.3,2;1,1;]".. "list[current_name;mese;1.3,2;1,1;]".. - "image_button[2.5,0;5.3,1.1;bg.png;durable;Durable]".. - "image_button[2.5,1;5.3,1.1;bg.png;fast;Fast]".. - "image_button[2.5,2;5.3,1.1;bg.png;luck;Luck]".. + "image_button[2.5,0;5.3,1.1;ench_bg.png;durable;Durable]".. + "image_button[2.5,1;5.3,1.1;ench_bg.png;fast;Fast]".. + "image_button[2.5,2;5.3,1.1;ench_bg.png;luck;Luck]".. "list[current_player;main;0,3.3;8,4;]") meta:set_string("infotext", "Enchantment Table") diff --git a/hive.lua b/hive.lua index b310ef7..03004ab 100644 --- a/hive.lua +++ b/hive.lua @@ -1,10 +1,12 @@ local function hive_construct(pos) local meta = minetest.get_meta(pos) meta:set_string("formspec", "size[8,5;]"..xdecor.fancy_gui.. - "label[1.25,0;Bees are making honey\nwith pollen around...]".. - "image[0,0;0.9,0.9;xdecor_bee3.png]".. -- Bees textures by Charles Sanchez and Mark Weyer. - "image[6,0;0.9,0.9;xdecor_bee2.png]".. - "image[7,0.35;0.8,0.8;xdecor_bee1.png]".. + "label[1.35,0;Bees are making honey\nwith pollen around...]".. + "image[-0.1,-0.2;1,1;flowers_tulip.png]".. + "image[0.5,0.2;1,1;flowers_dandelion_yellow.png]".. + "image[6.6,0.1;1,1;flowers_geranium.png]".. + "image[7.2,-0.1;1,1;flowers_rose.png]".. + "image[6,0;0.9,0.9;xdecor_bee.png]".. -- Bee texture by Charles Sanchez and Mark Weyer. "list[current_name;honey;5,0;1,1;]".. "list[current_player;main;0,1.35;8,4;]") meta:set_string("infotext", "Artificial Hive") diff --git a/init.lua b/init.lua index 0dbbf05..fa79559 100644 --- a/init.lua +++ b/init.lua @@ -4,7 +4,7 @@ modpath = minetest.get_modpath("xdecor") dofile(modpath.."/handlers/nodeboxes.lua") dofile(modpath.."/handlers/registration.lua") dofile(modpath.."/crafts.lua") ---dofile(modpath.."/enchanting.lua") -- In development. +dofile(modpath.."/enchanting.lua") -- In development. dofile(modpath.."/hive.lua") dofile(modpath.."/itemframe.lua") dofile(modpath.."/mailbox.lua") diff --git a/textures/bg.png b/textures/ench_bg.png similarity index 100% rename from textures/bg.png rename to textures/ench_bg.png diff --git a/textures/ench_mese_layout.png b/textures/ench_mese_layout.png new file mode 100644 index 0000000..830ece1 Binary files /dev/null and b/textures/ench_mese_layout.png differ diff --git a/textures/xdecor_bee2.png b/textures/xdecor_bee.png similarity index 100% rename from textures/xdecor_bee2.png rename to textures/xdecor_bee.png diff --git a/textures/xdecor_bee1.png b/textures/xdecor_bee1.png deleted file mode 100644 index 6b3e4c8..0000000 Binary files a/textures/xdecor_bee1.png and /dev/null differ diff --git a/textures/xdecor_bee3.png b/textures/xdecor_bee3.png deleted file mode 100644 index 0ba599b..0000000 Binary files a/textures/xdecor_bee3.png and /dev/null differ diff --git a/worktable.lua b/worktable.lua index 062b2a1..6abf2b1 100644 --- a/worktable.lua +++ b/worktable.lua @@ -156,7 +156,7 @@ end minetest.register_abm({ nodenames = {"xdecor:worktable"}, - interval = 2, chance = 1, + interval = 3, chance = 1, action = function(pos, node, active_object_count, active_object_count_wider) local meta = minetest.get_meta(pos) local inv = meta:get_inventory()