diff --git a/homedecor/copyright.txt b/homedecor/copyright.txt index fab890e2..99b3f1ce 100644 --- a/homedecor/copyright.txt +++ b/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/homedecor/misc-nodes.lua b/homedecor/misc-nodes.lua index 881a3be2..d4ea4d6f 100644 --- a/homedecor/misc-nodes.lua +++ b/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 diff --git a/homedecor/models/homedecor_book.obj b/homedecor/models/homedecor_book.obj new file mode 100644 index 00000000..0bce23a1 --- /dev/null +++ b/homedecor/models/homedecor_book.obj @@ -0,0 +1,191 @@ +# Blender v2.69 (sub 0) OBJ File: '' +# www.blender.org +mtllib homedecor_book.mtl +o Cube.002_Cube.001 +v 0.115781 -0.393272 -0.212050 +v 0.115781 -0.393272 0.208120 +v 0.145193 -0.393272 0.208120 +v 0.145193 -0.393272 -0.212050 +v 0.161995 -0.445266 -0.212050 +v 0.152482 -0.483223 -0.212050 +v 0.149566 -0.483223 -0.220555 +v 0.161995 -0.445266 -0.220555 +v 0.152482 -0.407308 -0.212050 +v 0.152482 -0.407308 0.208120 +v -0.148926 -0.407308 -0.212051 +v -0.155653 -0.445266 -0.212051 +v -0.155653 -0.445266 0.208120 +v -0.148926 -0.407308 0.208120 +v 0.161995 -0.445266 0.208120 +v 0.152482 -0.483223 0.208120 +v 0.115781 -0.496123 0.208120 +v 0.145193 -0.496123 0.208120 +v 0.141549 -0.496123 0.216624 +v 0.115781 -0.496123 0.216624 +v 0.115781 -0.407308 -0.212050 +v -0.159347 -0.407308 -0.220555 +v 0.113157 -0.407308 -0.220555 +v 0.115781 -0.483223 0.208120 +v 0.142021 -0.445266 0.208120 +v -0.148926 -0.483223 0.208120 +v 0.115781 -0.496123 -0.212050 +v 0.145193 -0.496123 -0.212050 +v 0.115781 -0.407308 0.208120 +v 0.142021 -0.445266 0.216625 +v 0.113157 -0.407308 0.216625 +v 0.149566 -0.407308 0.216625 +v 0.161995 -0.445266 0.216625 +v 0.115781 -0.393272 0.216625 +v 0.141549 -0.393272 0.216625 +v -0.148926 -0.496123 -0.212050 +v -0.148926 -0.496123 0.208120 +v -0.159347 -0.496123 0.216624 +v -0.159347 -0.496123 -0.220555 +v -0.148926 -0.483223 -0.212050 +v 0.115781 -0.483223 -0.212050 +v 0.113157 -0.483223 -0.220555 +v -0.159347 -0.483223 -0.220555 +v -0.148926 -0.393272 -0.212051 +v -0.148926 -0.393272 0.208120 +v 0.142021 -0.445266 -0.212050 +v 0.149566 -0.407308 -0.220555 +v 0.141549 -0.393272 -0.220555 +v -0.159346 -0.393272 -0.220555 +v -0.159347 -0.393272 0.216624 +v -0.159347 -0.483223 0.216624 +v 0.113157 -0.483223 0.216624 +v 0.149566 -0.483223 0.216624 +v 0.142021 -0.445266 -0.220555 +v 0.115781 -0.393272 -0.220555 +v -0.159347 -0.407308 0.216624 +v 0.115781 -0.496123 -0.220555 +v 0.141549 -0.496123 -0.220555 +vt 0.183561 0.065478 +vt 0.183562 0.933925 +vt 0.150275 0.933925 +vt 0.150275 0.065478 +vt 0.564551 0.044740 +vt 0.601180 0.044740 +vt 0.604843 -0.000355 +vt 0.564551 -0.000355 +vt 0.610338 0.044740 +vt 0.610338 0.946651 +vt 0.601180 0.946651 +vt 0.122698 0.645720 +vt 0.083984 0.645720 +vt 0.083984 0.397953 +vt 0.122698 0.397953 +vt 0.564551 0.946651 +vt 0.150275 0.977347 +vt 0.183562 0.977347 +vt 0.184398 0.044740 +vt 0.516959 0.044740 +vt 0.542903 -0.000356 +vt 0.187695 -0.000355 +vt 0.045271 0.174962 +vt 0.083984 0.152858 +vt 0.045271 0.397953 +vt 0.183562 0.065478 +vt 0.184399 0.946651 +vt 0.151432 0.946651 +vt 0.151432 0.991747 +vt 0.187695 0.991747 +vt 0.604843 0.991747 +vt 0.564551 0.991747 +vt 0.122698 0.174963 +vt 0.525512 0.065478 +vt 0.525512 0.933924 +vt 0.552189 0.977347 +vt 0.552189 0.022056 +vt 0.045271 0.645720 +vt 0.184399 0.044740 +vt 0.542903 -0.000355 +vt 0.525512 0.933925 +vt 0.083984 0.890816 +vt 0.045271 0.868711 +vt 0.614916 -0.000355 +vt 0.516959 0.946651 +vt 0.542903 0.991746 +vt 0.122698 0.868711 +vt 0.614916 0.991747 +vt 0.650586 -0.000355 +vt 0.614322 -0.000355 +vt 0.647289 -0.000355 +vt 0.187695 0.972997 +vt 0.184399 0.972997 +vt 0.542903 0.972996 +vt 0.184399 0.979247 +vt 0.187695 0.979247 +vt 0.542903 0.979246 +vt 0.542903 0.009019 +vt 0.184398 0.009020 +vt 0.187695 0.009020 +vt 0.614322 0.991747 +vt 0.650586 0.991747 +vt 0.647289 0.991747 +vt 0.542903 0.015270 +vt 0.187695 0.015270 +vt 0.184399 0.015270 +vt 0.150275 0.022056 +vt 0.183561 0.022056 +vt 0.151432 0.044740 +vt 0.151432 -0.000355 +vt 0.183562 0.022056 +usemtl Material.004 +s off +f 1/1 2/2 3/3 4/4 +f 5/5 6/6 7/7 8/8 +f 9/6 4/9 3/10 10/11 +f 11/12 12/13 13/14 14/15 +f 6/6 5/5 15/16 16/11 +f 17/2 18/3 19/17 20/18 +f 21/19 11/20 22/21 23/22 +f 24/23 25/24 13/14 26/25 +f 27/26 28/4 18/3 17/2 +f 29/27 25/28 30/29 31/30 +f 5/5 9/6 10/11 15/16 +f 15/16 10/11 32/31 33/32 +f 3/3 2/2 34/18 35/17 +f 25/24 29/33 14/15 13/14 +f 36/34 37/35 38/36 39/37 +f 28/9 6/6 16/11 18/10 +f 12/13 40/38 26/25 13/14 +f 40/20 41/39 42/22 43/40 +f 2/2 1/1 44/34 45/41 +f 40/38 12/13 46/42 41/43 +f 4/9 9/6 47/7 48/44 +f 45/41 44/34 49/37 50/36 +f 36/34 27/26 17/2 37/35 +f 24/27 26/45 51/46 52/30 +f 12/13 11/12 21/47 46/42 +f 37/35 17/2 20/18 38/36 +f 18/10 16/11 53/31 19/48 +f 2/2 45/41 50/36 34/18 +f 42/49 54/50 8/8 7/7 +f 23/49 55/51 48/44 47/7 +f 43/40 39/40 38/46 51/46 +f 31/52 34/53 50/54 56/54 +f 49/21 22/21 56/46 50/46 +f 54/50 23/49 47/7 8/8 +f 57/51 42/49 7/7 58/44 +f 20/55 52/56 51/57 38/57 +f 22/58 49/58 55/59 23/60 +f 53/31 33/32 30/61 52/62 +f 32/31 35/48 34/63 31/62 +f 33/32 32/31 31/62 30/61 +f 39/64 43/64 42/65 57/66 +f 19/48 53/31 52/62 20/63 +f 25/28 24/27 52/30 30/29 +f 1/1 4/4 48/67 55/68 +f 6/6 28/9 58/44 7/7 +f 14/45 29/27 31/30 56/46 +f 41/39 46/69 54/70 42/22 +f 28/4 27/26 57/71 58/67 +f 10/11 3/10 35/48 32/31 +f 11/20 14/45 56/46 22/21 +f 26/45 40/20 43/40 51/46 +f 44/34 1/1 55/68 49/37 +f 9/6 5/5 8/8 47/7 +f 46/69 21/19 23/22 54/70 +f 27/26 36/34 39/37 57/71 +f 16/11 15/16 33/32 53/31 diff --git a/homedecor/models/homedecor_book_open.obj b/homedecor/models/homedecor_book_open.obj new file mode 100644 index 00000000..8503fbab --- /dev/null +++ b/homedecor/models/homedecor_book_open.obj @@ -0,0 +1,416 @@ +# Blender v2.69 (sub 0) OBJ File: 'book_open.blend' +# www.blender.org +mtllib homedecor_book_open.mtl +o Cube +v 0.330442 -0.483655 -0.223350 +v 0.330442 -0.483655 0.214467 +v -0.330489 -0.483655 0.214467 +v -0.330488 -0.483655 -0.223350 +v 0.330442 -0.498010 -0.223350 +v 0.330442 -0.498010 0.214467 +v -0.330489 -0.498010 0.214467 +v -0.330489 -0.498010 -0.223350 +v -0.307854 -0.483655 -0.223350 +v -0.307854 -0.483655 0.214467 +v -0.307854 -0.498010 -0.223350 +v -0.307854 -0.498010 0.214467 +v 0.310071 -0.483655 -0.223350 +v 0.310071 -0.483655 0.214467 +v 0.310071 -0.498010 -0.223350 +v 0.310071 -0.498010 0.214467 +v 0.330442 -0.483655 -0.205856 +v -0.330488 -0.483655 -0.205856 +v 0.330442 -0.498010 -0.205856 +v -0.330489 -0.498010 -0.205856 +v -0.307854 -0.483655 -0.205856 +v -0.307854 -0.498010 -0.205856 +v 0.310071 -0.483655 -0.205856 +v 0.310071 -0.498010 -0.205856 +v 0.330442 -0.483655 0.196804 +v 0.330442 -0.498010 0.196804 +v -0.307854 -0.498010 0.196803 +v 0.310071 -0.498010 0.196804 +v -0.330489 -0.483655 0.196803 +v -0.330489 -0.498010 0.196803 +v -0.307854 -0.483655 0.196803 +v 0.310071 -0.483655 0.196804 +v -0.307854 -0.462606 -0.205856 +v 0.310071 -0.462606 -0.205856 +v -0.307854 -0.462606 0.196803 +v 0.310071 -0.462606 0.196804 +v 0.001108 -0.483655 -0.223350 +v 0.001108 -0.483655 0.214467 +v 0.001108 -0.498010 -0.223350 +v 0.001108 -0.498010 0.214467 +v 0.001108 -0.483655 -0.205856 +v 0.001108 -0.498010 -0.205856 +v 0.001108 -0.483655 0.196803 +v 0.001108 -0.498010 0.196804 +v 0.001108 -0.471858 -0.205856 +v 0.001108 -0.471858 0.196803 +v 0.104096 -0.498010 -0.205856 +v 0.207083 -0.498010 -0.205856 +v 0.104096 -0.498010 0.196804 +v 0.207083 -0.498010 0.196804 +v 0.104096 -0.483655 -0.223350 +v 0.207083 -0.483655 -0.223350 +v 0.104096 -0.483655 0.214467 +v 0.207083 -0.483655 0.214467 +v 0.104096 -0.498010 -0.223350 +v 0.207083 -0.498010 -0.223350 +v 0.104096 -0.498010 0.214467 +v 0.207083 -0.498010 0.214467 +v 0.104096 -0.483655 -0.205856 +v 0.207083 -0.483655 -0.205856 +v 0.104096 -0.483655 0.196803 +v 0.207083 -0.483655 0.196804 +v 0.104096 -0.449725 -0.205856 +v 0.207083 -0.453099 -0.205856 +v 0.104096 -0.449725 0.196803 +v 0.207083 -0.453099 0.196804 +v -0.101879 -0.483655 -0.223350 +v -0.204866 -0.483655 -0.223350 +v -0.101879 -0.483655 0.214467 +v -0.204867 -0.483655 0.214467 +v -0.101879 -0.498010 -0.223350 +v -0.204866 -0.498010 -0.223350 +v -0.101879 -0.498010 0.214467 +v -0.204867 -0.498010 0.214467 +v -0.101879 -0.483655 -0.205856 +v -0.204866 -0.483655 -0.205856 +v -0.101879 -0.483655 0.196803 +v -0.204867 -0.483655 0.196803 +v -0.101879 -0.449725 -0.205856 +v -0.204866 -0.453099 -0.205856 +v -0.101879 -0.449725 0.196803 +v -0.204867 -0.453099 0.196803 +v -0.101879 -0.498010 -0.205856 +v -0.204866 -0.498010 -0.205856 +v -0.101879 -0.498010 0.196804 +v -0.204867 -0.498010 0.196803 +v -0.050385 -0.483655 -0.223350 +v -0.050385 -0.483655 0.214467 +v -0.050385 -0.498010 -0.223350 +v -0.050385 -0.498010 0.214467 +v -0.050385 -0.483655 -0.205856 +v -0.050385 -0.483655 0.196803 +v -0.050385 -0.456839 -0.205856 +v -0.050385 -0.456839 0.196803 +v -0.050385 -0.498010 -0.205856 +v -0.050385 -0.498010 0.196804 +v 0.052602 -0.498010 -0.205856 +v 0.052602 -0.498010 0.196804 +v 0.052602 -0.483655 -0.223350 +v 0.052602 -0.483655 0.214467 +v 0.052602 -0.498010 -0.223350 +v 0.052602 -0.498010 0.214467 +v 0.052602 -0.483655 -0.205856 +v 0.052602 -0.483655 0.196803 +v 0.052602 -0.456839 -0.205856 +v 0.052602 -0.456839 0.196803 +vt 0.145116 0.822671 +vt 0.145383 0.821311 +vt 0.146977 0.821590 +vt 0.146799 0.822860 +vt 0.295366 0.524765 +vt 0.271818 0.524675 +vt 0.271889 0.506298 +vt 0.295437 0.506389 +vt 0.180003 0.804148 +vt 0.177602 0.804066 +vt 0.177702 0.801116 +vt 0.180102 0.801196 +vt 0.071439 0.795052 +vt 0.071356 0.797442 +vt 0.067587 0.797311 +vt 0.067670 0.794921 +vt 0.055739 0.865933 +vt 0.058038 0.865839 +vt 0.058185 0.868444 +vt 0.056022 0.868592 +vt 0.068824 0.870361 +vt 0.068741 0.872752 +vt 0.064971 0.872621 +vt 0.065054 0.870230 +vt 0.137033 0.819871 +vt 0.137310 0.818567 +vt 0.402512 0.525175 +vt 0.402582 0.506798 +vt 0.088592 0.795647 +vt 0.088509 0.798038 +vt 0.085976 0.870957 +vt 0.085893 0.873348 +vt 0.094115 0.822949 +vt 0.093920 0.821913 +vt 0.095085 0.821653 +vt 0.095431 0.822859 +vt 0.959689 0.527232 +vt 0.938429 0.527156 +vt 0.938495 0.508737 +vt 0.959744 0.508799 +vt 0.177783 0.798720 +vt 0.174301 0.801000 +vt 0.174382 0.798605 +vt 0.175057 0.874484 +vt 0.174910 0.876845 +vt 0.171562 0.876641 +vt 0.171697 0.874264 +vt 0.144830 0.852308 +vt 0.144530 0.851059 +vt 0.146052 0.851005 +vt 0.146169 0.852109 +vt 0.293698 0.961888 +vt 0.270149 0.961798 +vt 0.270219 0.943598 +vt 0.293768 0.943688 +vt 0.177408 0.874746 +vt 0.175307 0.871549 +vt 0.177777 0.871723 +vt 0.057537 0.798198 +vt 0.059990 0.798418 +vt 0.137086 0.855280 +vt 0.136756 0.853899 +vt 0.400844 0.962299 +vt 0.400914 0.944099 +vt 0.093037 0.852282 +vt 0.093190 0.851026 +vt 0.094704 0.851179 +vt 0.094455 0.852518 +vt 0.957389 0.967127 +vt 0.936381 0.966404 +vt 0.936908 0.948201 +vt 0.958381 0.948762 +vt 0.142752 0.594883 +vt 0.155559 0.599320 +vt 0.153557 0.601007 +vt 0.141758 0.599052 +vt 0.057965 0.795140 +vt 0.060355 0.795458 +vt 0.836622 0.436815 +vt 0.836346 0.042756 +vt 0.921012 0.042547 +vt 0.920392 0.436329 +vt 0.075680 0.644491 +vt 0.076832 0.599618 +vt 0.079487 0.601303 +vt 0.077685 0.642795 +vt 0.154631 0.644302 +vt 0.151944 0.642579 +vt 0.088498 0.648873 +vt 0.089483 0.644708 +vt 0.115599 0.819011 +vt 0.115646 0.817553 +vt 0.119876 0.817756 +vt 0.119874 0.819261 +vt 0.670385 0.526189 +vt 0.616807 0.525989 +vt 0.616876 0.507611 +vt 0.670453 0.507810 +vt 0.131473 0.797134 +vt 0.131391 0.799526 +vt 0.122814 0.799229 +vt 0.122897 0.796838 +vt 0.128853 0.872457 +vt 0.128767 0.874847 +vt 0.120195 0.874543 +vt 0.120279 0.872153 +vt 0.115560 0.856252 +vt 0.115513 0.854768 +vt 0.119941 0.854547 +vt 0.119937 0.856037 +vt 0.668683 0.963391 +vt 0.615123 0.963145 +vt 0.615202 0.944947 +vt 0.668777 0.945194 +vt 0.108789 0.593520 +vt 0.115563 0.593916 +vt 0.115550 0.595554 +vt 0.108686 0.596836 +vt 0.569449 0.436484 +vt 0.569233 0.040910 +vt 0.624671 0.042717 +vt 0.624107 0.437340 +vt 0.122441 0.650231 +vt 0.115668 0.649828 +vt 0.115683 0.648190 +vt 0.122550 0.646915 +vt 0.108652 0.650179 +vt 0.101862 0.650304 +vt 0.102059 0.645955 +vt 0.108510 0.646770 +vt 0.102740 0.818578 +vt 0.103086 0.819964 +vt 0.111336 0.817484 +vt 0.111410 0.818944 +vt 0.831161 0.526774 +vt 0.831226 0.508382 +vt 0.723969 0.526388 +vt 0.724035 0.508005 +vt 0.157128 0.800413 +vt 0.157210 0.798020 +vt 0.139968 0.799822 +vt 0.140051 0.797431 +vt 0.154466 0.875833 +vt 0.154570 0.873447 +vt 0.137335 0.875160 +vt 0.137426 0.872771 +vt 0.102794 0.853944 +vt 0.102523 0.855234 +vt 0.111228 0.854847 +vt 0.111154 0.856307 +vt 0.829348 0.964606 +vt 0.829574 0.946408 +vt 0.722239 0.963696 +vt 0.722365 0.945495 +vt 0.088962 0.595030 +vt 0.089950 0.598958 +vt 0.102151 0.593414 +vt 0.102364 0.597686 +vt 0.334804 0.436016 +vt 0.335172 0.041774 +vt 0.417909 0.041333 +vt 0.417682 0.436509 +vt 0.518178 0.041780 +vt 0.517618 0.435877 +vt 0.124303 0.819037 +vt 0.124255 0.817538 +vt 0.128666 0.817484 +vt 0.128591 0.818959 +vt 0.563232 0.525786 +vt 0.509659 0.525583 +vt 0.509728 0.507206 +vt 0.563302 0.507410 +vt 0.114320 0.796541 +vt 0.114237 0.798931 +vt 0.105661 0.798634 +vt 0.105744 0.796243 +vt 0.111704 0.871852 +vt 0.111620 0.874243 +vt 0.103045 0.873944 +vt 0.103128 0.871553 +vt 0.124165 0.856246 +vt 0.124215 0.854802 +vt 0.128406 0.854879 +vt 0.128474 0.856327 +vt 0.561557 0.962924 +vt 0.507987 0.962713 +vt 0.508058 0.944513 +vt 0.561630 0.944725 +vt 0.122581 0.593562 +vt 0.129376 0.593438 +vt 0.129176 0.597789 +vt 0.122724 0.596972 +vt 0.681211 0.436806 +vt 0.682616 0.042679 +vt 0.732956 0.043295 +vt 0.732349 0.436019 +vt 0.142313 0.648801 +vt 0.141353 0.644846 +vt 0.129082 0.650354 +vt 0.128882 0.646074 +usemtl Material +s off +f 31/1 10/2 3/3 29/4 +f 27/5 30/6 7/7 12/8 +f 25/9 26/10 6/11 2/12 +f 10/13 12/14 7/15 3/16 +f 18/17 20/18 8/19 4/20 +f 11/21 9/22 4/23 8/24 +f 78/25 70/26 10/2 31/1 +f 86/27 27/5 12/8 74/28 +f 70/29 74/30 12/14 10/13 +f 72/31 68/32 9/22 11/21 +f 25/33 2/34 14/35 32/36 +f 26/37 28/38 16/39 6/40 +f 2/41 6/11 16/42 14/43 +f 5/44 1/45 13/46 15/47 +f 9/48 21/49 18/50 4/51 +f 11/52 8/53 20/54 22/55 +f 1/56 5/44 19/57 17/58 +f 29/59 30/60 20/18 18/17 +f 68/61 76/62 21/49 9/48 +f 72/63 11/52 22/55 84/64 +f 1/65 17/66 23/67 13/68 +f 5/69 15/70 24/71 19/72 +f 21/49 31/1 29/4 18/50 +f 22/55 20/54 30/6 27/5 +f 17/58 19/57 26/10 25/9 +f 78/73 31/74 35/75 82/76 +f 84/64 22/55 27/5 86/27 +f 17/66 25/33 32/36 23/67 +f 19/72 24/71 28/38 26/37 +f 3/77 7/78 30/60 29/59 +f 80/79 82/80 35/81 33/82 +f 23/83 32/84 36/85 34/86 +f 31/74 21/87 33/88 35/75 +f 60/89 23/83 34/86 64/90 +f 104/91 100/92 38/93 43/94 +f 98/95 44/96 40/97 102/98 +f 100/99 102/100 40/101 38/102 +f 101/103 99/104 37/105 39/106 +f 99/107 103/108 41/109 37/110 +f 101/111 39/112 42/113 97/114 +f 104/115 43/116 46/117 106/118 +f 97/114 42/113 44/96 98/95 +f 105/119 106/120 46/121 45/122 +f 91/123 41/124 45/125 93/126 +f 103/127 59/128 63/129 105/130 +f 59/128 60/89 64/90 63/129 +f 32/36 14/35 54/131 62/132 +f 62/132 54/131 53/133 61/134 +f 28/38 50/135 58/136 16/39 +f 50/135 49/137 57/138 58/136 +f 14/43 16/42 58/139 54/140 +f 54/140 58/139 57/141 53/142 +f 15/47 13/46 52/143 56/144 +f 56/144 52/143 51/145 55/146 +f 13/68 23/67 60/147 52/148 +f 52/148 60/147 59/149 51/150 +f 15/70 56/151 48/152 24/71 +f 56/151 55/153 47/154 48/152 +f 32/84 62/155 66/156 36/85 +f 62/155 61/157 65/158 66/156 +f 24/71 48/152 50/135 28/38 +f 48/152 47/154 49/137 50/135 +f 34/159 36/160 66/161 64/162 +f 64/162 66/161 65/163 63/164 +f 92/165 88/166 69/167 77/168 +f 77/168 69/167 70/26 78/25 +f 96/169 85/170 73/171 90/172 +f 85/170 86/27 74/28 73/171 +f 88/173 90/174 73/175 69/176 +f 69/176 73/175 74/30 70/29 +f 89/177 87/178 67/179 71/180 +f 71/180 67/179 68/32 72/31 +f 87/181 91/182 75/183 67/184 +f 67/184 75/183 76/62 68/61 +f 89/185 71/186 83/187 95/188 +f 71/186 72/63 84/64 83/187 +f 92/189 77/190 81/191 94/192 +f 77/190 78/73 82/76 81/191 +f 95/188 83/187 85/170 96/169 +f 83/187 84/64 86/27 85/170 +f 93/193 94/194 81/195 79/196 +f 79/196 81/195 82/80 80/79 +f 21/87 76/197 80/198 33/88 +f 76/197 75/199 79/200 80/198 +f 75/199 91/123 93/126 79/200 +f 43/94 38/93 88/166 92/165 +f 44/96 96/169 90/172 40/97 +f 38/102 40/101 90/174 88/173 +f 39/106 37/105 87/178 89/177 +f 37/110 41/109 91/182 87/181 +f 39/112 89/185 95/188 42/113 +f 43/116 92/189 94/192 46/117 +f 42/113 95/188 96/169 44/96 +f 45/122 46/121 94/194 93/193 +f 61/134 53/133 100/92 104/91 +f 49/137 98/95 102/98 57/138 +f 53/142 57/141 102/100 100/99 +f 55/146 51/145 99/104 101/103 +f 51/150 59/149 103/108 99/107 +f 55/153 101/111 97/114 47/154 +f 61/157 104/115 106/118 65/158 +f 47/154 97/114 98/95 49/137 +f 63/164 65/163 106/120 105/119 +f 41/124 103/127 105/130 45/125 diff --git a/homedecor/sounds/homedecor_book_close.ogg b/homedecor/sounds/homedecor_book_close.ogg new file mode 100644 index 00000000..22116a3f Binary files /dev/null and b/homedecor/sounds/homedecor_book_close.ogg differ diff --git a/homedecor/textures/homedecor_book_blue.png b/homedecor/textures/homedecor_book_blue.png new file mode 100644 index 00000000..19139838 Binary files /dev/null and b/homedecor/textures/homedecor_book_blue.png differ diff --git a/homedecor/textures/homedecor_book_blue_bottom.png b/homedecor/textures/homedecor_book_blue_bottom.png deleted file mode 100644 index cf7e2799..00000000 Binary files a/homedecor/textures/homedecor_book_blue_bottom.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_blue_inv.png b/homedecor/textures/homedecor_book_blue_inv.png index 4d8195fa..67820749 100644 Binary files a/homedecor/textures/homedecor_book_blue_inv.png and b/homedecor/textures/homedecor_book_blue_inv.png differ diff --git a/homedecor/textures/homedecor_book_blue_top.png b/homedecor/textures/homedecor_book_blue_top.png deleted file mode 100644 index ea4724c4..00000000 Binary files a/homedecor/textures/homedecor_book_blue_top.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_brown.png b/homedecor/textures/homedecor_book_brown.png new file mode 100644 index 00000000..54db053f Binary files /dev/null and b/homedecor/textures/homedecor_book_brown.png differ diff --git a/homedecor/textures/homedecor_book_brown_bottom.png b/homedecor/textures/homedecor_book_brown_bottom.png deleted file mode 100644 index f1164fb7..00000000 Binary files a/homedecor/textures/homedecor_book_brown_bottom.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_brown_inv.png b/homedecor/textures/homedecor_book_brown_inv.png index 3b2e49b5..c9add688 100644 Binary files a/homedecor/textures/homedecor_book_brown_inv.png and b/homedecor/textures/homedecor_book_brown_inv.png differ diff --git a/homedecor/textures/homedecor_book_brown_top.png b/homedecor/textures/homedecor_book_brown_top.png deleted file mode 100644 index 85aeb374..00000000 Binary files a/homedecor/textures/homedecor_book_brown_top.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_green.png b/homedecor/textures/homedecor_book_green.png new file mode 100644 index 00000000..22c7d804 Binary files /dev/null and b/homedecor/textures/homedecor_book_green.png differ diff --git a/homedecor/textures/homedecor_book_green_bottom.png b/homedecor/textures/homedecor_book_green_bottom.png deleted file mode 100644 index 8871dd1d..00000000 Binary files a/homedecor/textures/homedecor_book_green_bottom.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_green_inv.png b/homedecor/textures/homedecor_book_green_inv.png index 2d994c81..954d7a74 100644 Binary files a/homedecor/textures/homedecor_book_green_inv.png and b/homedecor/textures/homedecor_book_green_inv.png differ diff --git a/homedecor/textures/homedecor_book_green_top.png b/homedecor/textures/homedecor_book_green_top.png deleted file mode 100644 index cec1948e..00000000 Binary files a/homedecor/textures/homedecor_book_green_top.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_grey.png b/homedecor/textures/homedecor_book_grey.png new file mode 100644 index 00000000..d3f8f276 Binary files /dev/null and b/homedecor/textures/homedecor_book_grey.png differ diff --git a/homedecor/textures/homedecor_book_grey_bottom.png b/homedecor/textures/homedecor_book_grey_bottom.png deleted file mode 100644 index 404f2dec..00000000 Binary files a/homedecor/textures/homedecor_book_grey_bottom.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_grey_inv.png b/homedecor/textures/homedecor_book_grey_inv.png index 09a10626..aac5320d 100644 Binary files a/homedecor/textures/homedecor_book_grey_inv.png and b/homedecor/textures/homedecor_book_grey_inv.png differ diff --git a/homedecor/textures/homedecor_book_grey_top.png b/homedecor/textures/homedecor_book_grey_top.png deleted file mode 100644 index b38fc6bc..00000000 Binary files a/homedecor/textures/homedecor_book_grey_top.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_open_blue.png b/homedecor/textures/homedecor_book_open_blue.png new file mode 100644 index 00000000..7881d982 Binary files /dev/null and b/homedecor/textures/homedecor_book_open_blue.png differ diff --git a/homedecor/textures/homedecor_book_open_blue_bottom.png b/homedecor/textures/homedecor_book_open_blue_bottom.png deleted file mode 100644 index a254ed12..00000000 Binary files a/homedecor/textures/homedecor_book_open_blue_bottom.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_open_brown.png b/homedecor/textures/homedecor_book_open_brown.png new file mode 100644 index 00000000..7a065e1e Binary files /dev/null and b/homedecor/textures/homedecor_book_open_brown.png differ diff --git a/homedecor/textures/homedecor_book_open_brown_bottom.png b/homedecor/textures/homedecor_book_open_brown_bottom.png deleted file mode 100644 index 86543442..00000000 Binary files a/homedecor/textures/homedecor_book_open_brown_bottom.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_open_green.png b/homedecor/textures/homedecor_book_open_green.png new file mode 100644 index 00000000..aacecd04 Binary files /dev/null and b/homedecor/textures/homedecor_book_open_green.png differ diff --git a/homedecor/textures/homedecor_book_open_green_bottom.png b/homedecor/textures/homedecor_book_open_green_bottom.png deleted file mode 100644 index 0df1a39c..00000000 Binary files a/homedecor/textures/homedecor_book_open_green_bottom.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_open_grey.png b/homedecor/textures/homedecor_book_open_grey.png new file mode 100644 index 00000000..05f8b729 Binary files /dev/null and b/homedecor/textures/homedecor_book_open_grey.png differ diff --git a/homedecor/textures/homedecor_book_open_grey_bottom.png b/homedecor/textures/homedecor_book_open_grey_bottom.png deleted file mode 100644 index 8a019d81..00000000 Binary files a/homedecor/textures/homedecor_book_open_grey_bottom.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_open_red.png b/homedecor/textures/homedecor_book_open_red.png new file mode 100644 index 00000000..7ea535c7 Binary files /dev/null and b/homedecor/textures/homedecor_book_open_red.png differ diff --git a/homedecor/textures/homedecor_book_open_red_bottom.png b/homedecor/textures/homedecor_book_open_red_bottom.png deleted file mode 100644 index b6884438..00000000 Binary files a/homedecor/textures/homedecor_book_open_red_bottom.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_open_sides.png b/homedecor/textures/homedecor_book_open_sides.png deleted file mode 100644 index 4617fbda..00000000 Binary files a/homedecor/textures/homedecor_book_open_sides.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_open_top.png b/homedecor/textures/homedecor_book_open_top.png deleted file mode 100644 index 53c3d342..00000000 Binary files a/homedecor/textures/homedecor_book_open_top.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_open_violet.png b/homedecor/textures/homedecor_book_open_violet.png new file mode 100644 index 00000000..4f8cdd01 Binary files /dev/null and b/homedecor/textures/homedecor_book_open_violet.png differ diff --git a/homedecor/textures/homedecor_book_open_violet_bottom.png b/homedecor/textures/homedecor_book_open_violet_bottom.png deleted file mode 100644 index 1f148590..00000000 Binary files a/homedecor/textures/homedecor_book_open_violet_bottom.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_red.png b/homedecor/textures/homedecor_book_red.png new file mode 100644 index 00000000..91a06c88 Binary files /dev/null and b/homedecor/textures/homedecor_book_red.png differ diff --git a/homedecor/textures/homedecor_book_red_bottom.png b/homedecor/textures/homedecor_book_red_bottom.png deleted file mode 100644 index 52d312d9..00000000 Binary files a/homedecor/textures/homedecor_book_red_bottom.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_red_inv.png b/homedecor/textures/homedecor_book_red_inv.png index b491ae3a..8230dc08 100644 Binary files a/homedecor/textures/homedecor_book_red_inv.png and b/homedecor/textures/homedecor_book_red_inv.png differ diff --git a/homedecor/textures/homedecor_book_red_top.png b/homedecor/textures/homedecor_book_red_top.png deleted file mode 100644 index 15fb3e63..00000000 Binary files a/homedecor/textures/homedecor_book_red_top.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_violet.png b/homedecor/textures/homedecor_book_violet.png new file mode 100644 index 00000000..e21c419e Binary files /dev/null and b/homedecor/textures/homedecor_book_violet.png differ diff --git a/homedecor/textures/homedecor_book_violet_bottom.png b/homedecor/textures/homedecor_book_violet_bottom.png deleted file mode 100644 index 39f99895..00000000 Binary files a/homedecor/textures/homedecor_book_violet_bottom.png and /dev/null differ diff --git a/homedecor/textures/homedecor_book_violet_inv.png b/homedecor/textures/homedecor_book_violet_inv.png index 7572eb7b..0abf858d 100644 Binary files a/homedecor/textures/homedecor_book_violet_inv.png and b/homedecor/textures/homedecor_book_violet_inv.png differ diff --git a/homedecor/textures/homedecor_book_violet_top.png b/homedecor/textures/homedecor_book_violet_top.png deleted file mode 100644 index 51810579..00000000 Binary files a/homedecor/textures/homedecor_book_violet_top.png and /dev/null differ