Commit Graph

8 Commits

Author SHA1 Message Date
Vanessa Ezekowitz
b5d319d3e5 Fixed a node replacement bug in doors
rewrote and streamlined the doors code in the process
also fixed missing detection of infinite stacks (e.g. default creative mode)
2013-04-29 07:07:05 -04:00
Vanessa Ezekowitz
68950ff4e1 reset sound gain to 1.0 for now, since larger values don't work anyway. 2013-04-29 05:32:54 -04:00
Vanessa Ezekowitz
0a0cf536a3 Added sounds to doors and gates 2013-04-29 05:27:18 -04:00
Vanessa Ezekowitz
ac25d1b851 Use homedecor_blanktile.png on the top face of bottom half of door and vice
versa.  Gets rid of the visual division between the two halves of the glass
door.
2013-04-28 01:59:48 -04:00
Vanessa Ezekowitz
b53043fa01 Made door alpha enabled by default - but you gotta be using shaders if
you are running an alpha-capable client!
2013-04-28 01:30:51 -04:00
Vanessa Ezekowitz
8f2090d3d3 Added experimental alpha support to fancy door, disabled by default.
To enable, uncomment "use_texture_alpha" on lines 72 and 99 of
doors_and_gates.lua, and make sure that if you are using a texture pack,
that it has support for alpha on these doors. (HDX does, as do the
default textures).

Note that alpha support is glitchy - without shaders it will not work at all,
and the doors' nodeboxes will be screwed up.  With shaders, it mostly works,
but the whole door is slightly translucent where it should not be.
2013-04-27 06:51:38 -04:00
Vanessa Ezekowitz
276aac92c1 fixed broken gate recipes and a couple of swapped gate aliases. 2013-04-20 16:42:35 -04:00
Vanessa Ezekowitz
8fd34a9dc6 Several changes (see below)
Dropped support for punching doors to open them - only right-click now.

Moved gates out of fences and into doors file, renamed that file to
doors_and_gates.lua.

Changed gates to also use right click to open, and in the process
completely rewrote how gates are defined and managed; this necessitated
creating some duplicate textures.  Some of them are blank, and texture
pack authors may find the extra filenames useful anyway.

Node names for all gates have changed, aliases are provided for backward
compatibility.
2013-04-20 00:11:31 -04:00