Commit Graph

20 Commits

Author SHA1 Message Date
Tim
2d433f9652 remove debug statements 2015-08-19 17:09:50 +02:00
Tim
2ed7ae6a56 move inventory registration functions into dedicated handler file 2015-08-19 16:14:17 +02:00
Tim
91092d99be introduce nodebox abstractions used by fences, like corner nodeboxes, and indirectly slab_x; update fences accordingly 2015-08-19 15:32:19 +02:00
Tim
7d087815c8 fix slab_z nodebox direction inconsistencies 2015-08-19 15:06:53 +02:00
Tim
faf6cefa99 use the default background for all automatic inventory formspecs 2015-08-16 19:06:44 +02:00
Vanessa Ezekowitz
01b55f1a9a better prediction for placing diagonals at the top of the stack
better prediction for placing horizontals at the top and bottom of the
stack, particularly if they're placed within 1 node of the correct spot.
2015-05-11 20:14:02 -04:00
Vanessa Ezekowitz
10b859ba59 add a horizontal banister, rename the diagonals (+alias)
includes just enough code to try to auto-route them as they're placed.

the "root" node is now the horizontal one - if you have diagonals and
they don't place right, they should after you dig them and place again.
2015-05-11 18:03:21 -04:00
kilbith
3f16e7dbc0 Move sit function 2015-05-11 20:21:27 +02:00
Vanessa Ezekowitz
e010bdeb27 pass outlet position to particle handler as a table rather than separate vars 2015-05-10 22:34:30 -04:00
Vanessa Ezekowitz
9c9e525cd7 make bathroom taps use the new particles code
also make shower tray turn off taps above it, if any
minor tweak to particles function to add Y velocity
added more detailed collision boxes to the sinks to accommodate particles
2015-05-10 22:10:26 -04:00
Vanessa Ezekowitz
12f5ac9d02 abstract the particle spawner start/stop functions 2015-05-10 21:03:50 -04:00
Vanessa Ezekowitz
c8633be1dc add banisters, placed on side of blocks
when placing, code will try to determine if the bannister should be
left- or right-sided.  Defaults to left-sided; hold shift while placing
to force right-sided.
2015-04-27 03:09:37 -04:00
Vanessa Ezekowitz
67d4da05f6 make king size placement work right-first as well as left-first 2015-04-22 04:50:49 -04:00
Vanessa Ezekowitz
5cb73ffa7e Add king-sized bed model
create it by placing two twins of the same color side by side, left first

also moved the bed extension functions into handlers/expansion.lua,
renamed them, and made a few other minor tweaks to that file accordingly.
2015-04-22 00:43:22 -04:00
Vanessa Ezekowitz
34b05db22e use mesh nodes for refrigerators 2015-03-21 01:11:31 -04:00
Tim
db703e555d add sanity check to avoid cases in which expanded items would be placed against unknown nodes into other unknown nodes as pointed_think.above node
this resolves #205
2015-03-03 18:53:02 +01:00
Tim
af402c56a5 also avoid facedir setting for plantlike, raillike and firelike to avoid clashes if paramtype is used internally in the engine for something else 2015-02-05 10:51:34 +01:00
Tim
a19f3753b9 don't apply a facedir to glasslike_framed to avoid the drawtype to fail drawing the frames 2015-02-05 10:34:17 +01:00
Tim
b0714c7897 fix #176 2015-01-26 15:58:37 +01:00
Tim
5fb4bff628 move handlers into subdirectory to split them apart from the actual game content 2015-01-23 22:53:57 +01:00