Vanessa Ezekowitz
5a3fc0b775
clean up table and standing lamp models a bit, improve shading
...
better UV mapping on light bulb
2015-02-04 23:03:41 -05:00
Vanessa Ezekowitz
f347c1ba3c
use mesh node for trash can
2015-01-28 02:25:46 -05:00
Vanessa Ezekowitz
6be02dd68f
use mesh node for beer mug
2015-01-28 00:57:41 -05:00
Vanessa Ezekowitz
ef493ef02a
use mesh node for cutlery set
2015-01-27 22:07:19 -05:00
kilbith
44b5d34449
Functionalize misc. sit instructions
2015-01-27 19:43:12 +01:00
kilbith
b633ea8d8d
Allow sit on the office chairs
...
... also remove useless definitions (set by default).
2015-01-27 12:45:29 +01:00
Vanessa Ezekowitz
bf2f1b0e90
add fancy office chairs
2015-01-27 06:01:29 -05:00
kilbith
8f7e8ae698
localize fdir in door_and_gates.lua
2015-01-26 16:00:46 +01:00
Tim
b0714c7897
fix #176
2015-01-26 15:58:37 +01:00
Vanessa Ezekowitz
464f378166
fix collision boxes on shutters
2015-01-25 15:32:36 -05:00
kilbith
931a5b0746
Move checking at right place
2015-01-24 22:41:38 +01:00
jp
da2af88eb8
fix typo
2015-01-24 21:27:45 +01:00
jp
c6790ad21e
Allow sit on some furnitures
2015-01-24 20:10:54 +01:00
Tim
307d969f4c
remove unnecessary nodeupdate() usage
...
this undocumented function is internally being used for falling or attached nodes and shouldn't be needed here
2015-01-24 19:47:41 +01:00
kilbith
fc436a1a1c
Remove vertical expansion on standing lamp
...
use new API function to handle the second-node air
2015-01-24 12:40:44 -05:00
Vanessa Ezekowitz
9ffe942e61
fix a few missing parameters on openframe bookshelf
2015-01-23 19:29:51 -05:00
Tim
78045a752f
move most other homedecor nodes to the new registration function, remove any unnecessary fields due to minetest or homedecor defaults
2015-01-24 00:34:02 +01:00
kilbith
be9d1e0b7e
Delete useless params
2015-01-23 23:45:26 +01:00
jp
692a35679a
New cardboard boxes
2015-01-23 17:41:55 -05:00
Tim
5fb4bff628
move handlers into subdirectory to split them apart from the actual game content
2015-01-23 22:53:57 +01:00
Tim
4516aa960b
move kitchen related nodes into their associated files
2015-01-23 22:48:40 +01:00
Tim
f9a59c1738
rename kitchen and bathroom related files to their actual contained functionality
2015-01-23 22:26:38 +01:00
Tim
f60eb9ca47
whitespace cleanup, now also making most of homedecor consistenly use the same indentation style
2015-01-23 22:14:00 +01:00
Tim
64a81ebf7a
make error messages more useful for nodebox lookups
2015-01-23 21:58:34 +01:00
Vanessa Ezekowitz
a97bbbc23e
OPTIMIZE _ALL_ THE TEXTURES! \:D/
2015-01-23 13:53:00 -05:00
Vanessa Ezekowitz
63d8ddc67b
arg --> ...
2015-01-23 12:59:33 -05:00
jp
ff2163ae64
Update book wield images
2015-01-23 18:51:03 +01:00
Tim
cfff6490cb
reduce some unnecessarily verbose boolean expressions in door_and_gates.lua
2015-01-23 12:37:23 -05:00
Tim
b5188493cc
abstract common nodebox forms, fixing some ignored ones in the process
2015-01-23 12:37:23 -05:00
Tim
6245956ba4
add missing gettext variable
2015-01-23 12:37:23 -05:00
Tim
e010ab83fc
remove an obsolete function from init.lua
2015-01-23 12:37:23 -05:00
Tim
3c357b4b49
fix formspecs and use the inventory sizes for cardboard box and medicine cabinet, that their formspecs allowed to use before
2015-01-23 12:37:23 -05:00
Tim
cc9a1a9c3c
select a formspec automaticly from a table if none is supplied
2015-01-23 12:37:23 -05:00
Tim
0341a00f9f
also make the japanese door use the expand function, giving it a proper construction (buildable_to) and prevent crashes when rightclicking onknown nodes with it
2015-01-23 12:37:23 -05:00
Tim
5b35bb571b
remove a leftover empty function
2015-01-23 12:37:23 -05:00
Tim
306a6798b3
add an after_unexpand hook to allow beds to properly expand and unexpand, and update beds to use expansion in the process
2015-01-23 12:37:23 -05:00
Tim
b87ce2d2a7
allow "air" to be set in expand.top/forward/right to allow for better handled multinode meshnodes
2015-01-23 12:37:23 -05:00
Tim
d6ce145f9c
use an expand def-field to automaticly expand and unexpand the three available types of expansion and let nearly all decor use this form
...
example of usage:
expand = { top="homedecor:newnode", right="homedecor:rightnode", forward="homedecor:forwardnode" }
2015-01-23 12:37:23 -05:00
Tim
9912f72de6
don't assume all locked multinodes to be refrigerators
2015-01-23 12:37:23 -05:00
Tim
cdbdcbef14
make doors use the new expansion functions
2015-01-23 12:37:23 -05:00
Tim
fefb3f9f20
make sure any expansion node is being replaced with air if it's buildable_to and no other second node is being used as replacement
2015-01-23 12:37:23 -05:00
Tim
8f0c7c20c6
make expanded items test for on_rightclick before actually placing
2015-01-23 12:37:23 -05:00
Tim
0a0c558c3a
rewrite the node stacking/expansion code, preventing a crash building on unknown nodes, and reduce table lookups and overall code
2015-01-23 12:37:23 -05:00
Tim
b4b281d9ea
abstract most inventory handling code into a homedecor registration function
...
drawtype and param related defaults are being handled as well
for now we still leave the locked-node generation to locked.lua, due to its furnace-like node support
example:
homedecor.register("penbox", {
<common defs>
infotext=S("Penbox"),
inventory = {
size=8,
formspec=…
lockable=true -- will be supported later
},
})
2015-01-23 12:37:23 -05:00
Diego Martinez
2cdf6667dc
Set infotext to the book's title.
...
Also use `swap_node` to avoid losing metadata on (placed)
book open/close.
2015-01-23 14:25:01 -03:00
Diego Martinez
0c7dfa9ba6
Move register_on_player_receive_fields
out of the loop.
...
Avoids registering one `on_receive_fields` per book color,
which is wasteful.
Also, minor fixes mainly for conciseness' sake.
2015-01-23 14:16:40 -03:00
Diego Martinez
5bae438647
Keep metadata on book place/dig.
2015-01-23 14:05:53 -03:00
jp
365dc1c639
Improved Books
2015-01-22 13:01:04 -05:00
Tim
9a13728492
fix the medicine cabinet deleting inventory on punch
2015-01-21 13:42:20 +01:00
Tim
2cd99d6462
add the flower pots to the potting_group to make bushes_classic bushes regrow berries on them
2015-01-21 04:40:38 +01:00