diff --git a/mods/homedecor_modpack/homedecor/copyright.txt b/mods/homedecor_modpack/homedecor/copyright.txt index fab890e2..99b3f1ce 100644 --- a/mods/homedecor_modpack/homedecor/copyright.txt +++ b/mods/homedecor_modpack/homedecor/copyright.txt @@ -11,4 +11,6 @@ Licenses: http://freesound.org/people/j1987/sounds/106116/ * For the doorbell sound, CC0 by guitarguy1985 on freesound.org http://freesound.org/people/guitarguy1985/sounds/69384/ +* For the book sound, Public Domain by mckinneysound's on http://www.freesfx.co.uk/ + http://www.freesfx.co.uk/sfx/book?p=3 * For all images and everything else, WTFPL. diff --git a/mods/homedecor_modpack/homedecor/crafts.lua b/mods/homedecor_modpack/homedecor/crafts.lua index e18bb168..b6db71fc 100644 --- a/mods/homedecor_modpack/homedecor/crafts.lua +++ b/mods/homedecor_modpack/homedecor/crafts.lua @@ -2982,6 +2982,34 @@ minetest.register_craft({ }, }) +local picture_dyes = { + {"dye:brown", "dye:green"}, -- the figure sitting by the tree, wielding a pick + {"dye:green", "dye:blue"} -- the "family photo" +} + +for i in ipairs(picture_dyes) do + minetest.register_craft({ + output = "homedecor:picture_frame"..i, + recipe = { + { picture_dyes[i][1], picture_dyes[i][2] }, + { "homedecor:blank_canvas", "group:stick" }, + }, + }) +end + +local dlamp_colors = { "red","blue","green","violet" } + +for _, color in ipairs(dlamp_colors) do + minetest.register_craft({ + output = "homedecor:desk_lamp_"..color, + recipe = { + { "", "homedecor:steel_strip", "homedecor:glowlight_small_cube_white" }, + { "", "homedecor:copper_wire", "" }, + { "homedecor:plastic_sheeting", "dye:"..color, "homedecor:plastic_sheeting" }, + }, + }) +end + if (minetest.get_modpath("technic") and minetest.get_modpath("dye") and minetest.get_modpath("bees")) then technic.register_separating_recipe({ input = {"bees:wax 1"}, output = {"homedecor:oil_extract 2","dye:yellow 1"} }) end diff --git a/mods/homedecor_modpack/homedecor/lighting.lua b/mods/homedecor_modpack/homedecor/lighting.lua index 4dbb59a7..7b8338e5 100644 --- a/mods/homedecor_modpack/homedecor/lighting.lua +++ b/mods/homedecor_modpack/homedecor/lighting.lua @@ -391,3 +391,23 @@ for _, color in ipairs(lamp_colors) do reg_lamp("hi", "max", "h", 11, color ) reg_lamp("max", "off", "x", 14, color ) end + +local dlamp_cbox = { + type = "fixed", + fixed = { -0.2, -0.5, -0.15, 0.32, 0.12, 0.15 }, +} + +local dlamp_colors = { "red","blue","green","violet" } + +for _, color in ipairs(dlamp_colors) do + homedecor.register("desk_lamp_"..color, { + description = S("Desk Lamp ("..color..")"), + mesh = "homedecor_desk_lamp.obj", + tiles = {"homedecor_desk_lamp_"..color..".png"}, + inventory_image = "homedecor_desk_lamp_inv_"..color..".png", + wield_image = "homedecor_desk_lamp_inv_"..color..".png", + selection_box = dlamp_cbox, + collision_box = dlamp_cbox, + groups = {snappy=3}, + }) +end diff --git a/mods/homedecor_modpack/homedecor/misc-nodes.lua b/mods/homedecor_modpack/homedecor/misc-nodes.lua index ee511809..669b2048 100644 --- a/mods/homedecor_modpack/homedecor/misc-nodes.lua +++ b/mods/homedecor_modpack/homedecor/misc-nodes.lua @@ -1244,24 +1244,12 @@ for c in ipairs(bookcolors) do homedecor.register("book_"..color, { description = S("Book (%s)"):format(color_d), - tiles = { - "homedecor_book_"..color.."_top.png", - "homedecor_book_"..color.."_bottom.png", - "homedecor_book_open_sides.png", - "homedecor_book_"..color.."_bottom.png", - "homedecor_book_open_sides.png", - "homedecor_book_open_sides.png" - }, + mesh = "homedecor_book.obj", + tiles = { "homedecor_book_"..color..".png" }, inventory_image = "homedecor_book_"..color.."_inv.png", wield_image = "homedecor_book_"..color.."_inv.png", groups = { snappy=3, oddly_breakable_by_hand=3, book=1 }, stack_max = 1, - node_box = { - type = "fixed", - fixed = { - {0, -0.5, -0.375, 0.3125, -0.4375, 0.0625}, - } - }, on_rightclick = function(pos, node, clicker) local fdir = node.param2 minetest.swap_node(pos, { name = "homedecor:book_open_"..color, param2 = fdir }) @@ -1321,30 +1309,39 @@ homedecor.register("book_"..color, { end minetest.show_formspec(user:get_player_name(), BOOK_FORMNAME, formspec) end, + selection_box = { + type = "fixed", + fixed = {-0.2, -0.5, -0.25, 0.2, -0.35, 0.25} + }, + collision_box = { + type = "fixed", + fixed = {-0.15, -0.5, -0.25, 0.15, -0.35, 0.25} + }, }) homedecor.register("book_open_"..color, { - tiles = { - "homedecor_book_open_top.png", - "homedecor_book_open_"..color.."_bottom.png", - "homedecor_book_open_sides.png", - "homedecor_book_open_sides.png", - "homedecor_book_open_sides.png", - "homedecor_book_open_sides.png" - }, + mesh = "homedecor_book_open.obj", + tiles = { "homedecor_book_open_"..color..".png" }, groups = { snappy=3, oddly_breakable_by_hand=3, not_in_creative_inventory=1 }, - node_box = { - type = "fixed", - fixed = { - {-0.3125, -0.5, -0.375, 0.3125, -0.47, 0.0625}, -- NodeBox1 - } - }, drop = "homedecor:book_"..color, on_dig = book_dig, on_rightclick = function(pos, node, clicker) local fdir = node.param2 minetest.swap_node(pos, { name = "homedecor:book_"..color, param2 = fdir }) + minetest.sound_play("homedecor_book_close", { + pos=pos, + max_hear_distance = 3, + gain = 2, + }) end, + selection_box = { + type = "fixed", + fixed = {-0.35, -0.5, -0.25, 0.35, -0.4, 0.25} + }, + collision_box = { + type = "fixed", + fixed = {-0.35, -0.5, -0.25, 0.35, -0.4, 0.25} + }, }) end @@ -1362,6 +1359,8 @@ minetest.register_on_player_receive_fields(function(player, form_name, fields) fields.title, fields.text, player:get_player_name() stack:set_metadata(minetest.serialize(data)) player:set_wielded_item(stack) + minetest.log("action", player:get_player_name().." has written in a book (title: \""..fields.title.."\"): \""..fields.text.. + "\" at location: "..minetest.pos_to_string(player:getpos())) end) homedecor.register("calendar", { @@ -1409,3 +1408,21 @@ homedecor.register("wine_rack", { sounds = default.node_sound_defaults(), }) +local pframe_cbox = { + type = "fixed", + fixed = { -0.18, -0.5, -0.08, 0.18, -0.08, 0.18 } +} +local n = { 1, 2 } + +for _, i in ipairs(n) do + homedecor.register("picture_frame"..i, { + description = S("Picture Frame"), + mesh = "homedecor_picture_frame.obj", + tiles = { "homedecor_picture_frame"..i..".png" }, + inventory_image = "homedecor_picture_frame"..i.."_inv.png", + wield_image = "homedecor_picture_frame"..i.."_inv.png", + groups = {snappy = 3}, + selection_box = pframe_cbox, + collision_box = pframe_cbox, + }) +end diff --git a/mods/homedecor_modpack/homedecor/sounds/homedecor_book_close.ogg b/mods/homedecor_modpack/homedecor/sounds/homedecor_book_close.ogg new file mode 100644 index 00000000..22116a3f Binary files /dev/null and b/mods/homedecor_modpack/homedecor/sounds/homedecor_book_close.ogg differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_blue.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_blue.png new file mode 100644 index 00000000..19139838 Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_blue.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_blue_bottom.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_blue_bottom.png deleted file mode 100644 index cf7e2799..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_blue_bottom.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_blue_inv.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_blue_inv.png index 4d8195fa..67820749 100644 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_blue_inv.png and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_blue_inv.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_blue_top.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_blue_top.png deleted file mode 100644 index ea4724c4..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_blue_top.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_brown.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_brown.png new file mode 100644 index 00000000..54db053f Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_brown.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_brown_bottom.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_brown_bottom.png deleted file mode 100644 index f1164fb7..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_brown_bottom.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_brown_inv.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_brown_inv.png index 3b2e49b5..c9add688 100644 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_brown_inv.png and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_brown_inv.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_brown_top.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_brown_top.png deleted file mode 100644 index 85aeb374..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_brown_top.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_green.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_green.png new file mode 100644 index 00000000..22c7d804 Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_green.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_green_bottom.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_green_bottom.png deleted file mode 100644 index 8871dd1d..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_green_bottom.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_green_inv.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_green_inv.png index 2d994c81..954d7a74 100644 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_green_inv.png and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_green_inv.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_green_top.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_green_top.png deleted file mode 100644 index cec1948e..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_green_top.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_grey.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_grey.png new file mode 100644 index 00000000..d3f8f276 Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_grey.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_grey_bottom.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_grey_bottom.png deleted file mode 100644 index 404f2dec..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_grey_bottom.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_grey_inv.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_grey_inv.png index 09a10626..aac5320d 100644 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_grey_inv.png and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_grey_inv.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_grey_top.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_grey_top.png deleted file mode 100644 index b38fc6bc..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_grey_top.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_blue.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_blue.png new file mode 100644 index 00000000..7881d982 Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_blue.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_blue_bottom.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_blue_bottom.png deleted file mode 100644 index a254ed12..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_blue_bottom.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_brown.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_brown.png new file mode 100644 index 00000000..7a065e1e Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_brown.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_brown_bottom.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_brown_bottom.png deleted file mode 100644 index 86543442..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_brown_bottom.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_green.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_green.png new file mode 100644 index 00000000..aacecd04 Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_green.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_green_bottom.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_green_bottom.png deleted file mode 100644 index 0df1a39c..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_green_bottom.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_grey.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_grey.png new file mode 100644 index 00000000..05f8b729 Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_grey.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_grey_bottom.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_grey_bottom.png deleted file mode 100644 index 8a019d81..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_grey_bottom.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_red.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_red.png new file mode 100644 index 00000000..7ea535c7 Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_red.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_red_bottom.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_red_bottom.png deleted file mode 100644 index b6884438..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_red_bottom.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_sides.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_sides.png deleted file mode 100644 index 4617fbda..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_sides.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_top.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_top.png deleted file mode 100644 index 53c3d342..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_top.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_violet.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_violet.png new file mode 100644 index 00000000..4f8cdd01 Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_violet.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_violet_bottom.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_violet_bottom.png deleted file mode 100644 index 1f148590..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_open_violet_bottom.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_red.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_red.png new file mode 100644 index 00000000..91a06c88 Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_red.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_red_bottom.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_red_bottom.png deleted file mode 100644 index 52d312d9..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_red_bottom.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_red_inv.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_red_inv.png index b491ae3a..8230dc08 100644 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_red_inv.png and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_red_inv.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_red_top.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_red_top.png deleted file mode 100644 index 15fb3e63..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_red_top.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_violet.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_violet.png new file mode 100644 index 00000000..e21c419e Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_violet.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_violet_bottom.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_violet_bottom.png deleted file mode 100644 index 39f99895..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_violet_bottom.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_violet_inv.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_violet_inv.png index 7572eb7b..0abf858d 100644 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_violet_inv.png and b/mods/homedecor_modpack/homedecor/textures/homedecor_book_violet_inv.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_book_violet_top.png b/mods/homedecor_modpack/homedecor/textures/homedecor_book_violet_top.png deleted file mode 100644 index 51810579..00000000 Binary files a/mods/homedecor_modpack/homedecor/textures/homedecor_book_violet_top.png and /dev/null differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_blue.png b/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_blue.png new file mode 100644 index 00000000..6943807c Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_blue.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_green.png b/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_green.png new file mode 100644 index 00000000..d4599338 Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_green.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_inv_blue.png b/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_inv_blue.png new file mode 100644 index 00000000..120a280a Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_inv_blue.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_inv_green.png b/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_inv_green.png new file mode 100644 index 00000000..59651eb7 Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_inv_green.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_inv_red.png b/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_inv_red.png new file mode 100644 index 00000000..5db1dc10 Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_inv_red.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_inv_violet.png b/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_inv_violet.png new file mode 100644 index 00000000..b5b7b359 Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_inv_violet.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_red.png b/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_red.png new file mode 100644 index 00000000..460039e2 Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_red.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_violet.png b/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_violet.png new file mode 100644 index 00000000..b2f8bcbb Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_desk_lamp_violet.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_picture_frame1.png b/mods/homedecor_modpack/homedecor/textures/homedecor_picture_frame1.png new file mode 100644 index 00000000..e07854c2 Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_picture_frame1.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_picture_frame1_inv.png b/mods/homedecor_modpack/homedecor/textures/homedecor_picture_frame1_inv.png new file mode 100644 index 00000000..c984196b Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_picture_frame1_inv.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_picture_frame2.png b/mods/homedecor_modpack/homedecor/textures/homedecor_picture_frame2.png new file mode 100644 index 00000000..6917fbdd Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_picture_frame2.png differ diff --git a/mods/homedecor_modpack/homedecor/textures/homedecor_picture_frame2_inv.png b/mods/homedecor_modpack/homedecor/textures/homedecor_picture_frame2_inv.png new file mode 100644 index 00000000..e6fae20f Binary files /dev/null and b/mods/homedecor_modpack/homedecor/textures/homedecor_picture_frame2_inv.png differ diff --git a/mods/homedecor_modpack/itemframes/init.lua b/mods/homedecor_modpack/itemframes/init.lua index dfcdf1f9..2ffd031b 100644 --- a/mods/homedecor_modpack/itemframes/init.lua +++ b/mods/homedecor_modpack/itemframes/init.lua @@ -1,6 +1,4 @@ --- See README.txt for licensing and other information local tmp = {} -itemframes = {} minetest.register_entity("itemframes:item",{ hp_max = 1, @@ -223,7 +221,7 @@ itemframes.register_pedestal("obsidian", "default:obsidian", default.node_sound_stone_defaults() ) itemframes.register_pedestal("cloud", "default:cloud", - {cracky=3,not_in_creative_inventory=1,pedestal=1}, + {cracky=1,level=2,not_in_creative_inventory=1,pedestal=1}, {"default_cloud.png"}, "Cloud Pedestal", default.node_sound_defaults()