1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-16 07:10:35 +01:00
Commit Graph

14 Commits

Author SHA1 Message Date
Vanessa Ezekowitz
2550672352 Replaced most uses of get_modpath() with variables cached at the top of init.lua 2013-10-09 12:27:49 -04:00
Vanessa Ezekowitz
f383207166 limited door alpha usage to just the exterior fancy door
since it's the only one that actually needs it.
2013-07-14 17:56:00 -04:00
Vanessa Ezekowitz
2efa203185 Phased out all deprecated minetest.env:* uses in favor of minetest.* 2013-06-30 23:55:07 -04:00
Vanessa Ezekowitz
333a74418f corrected the syntax of the sound play commands for gates/doors 2013-06-09 20:02:07 -04:00
Vanessa Ezekowitz
1e6ba1103b fixed missing itemstack fields in on_rightclick calls in lights/doors 2013-06-07 13:33:37 -04:00
Vanessa Ezekowitz
35eaadfb8a Made all gates open/close any gates above and/or below if same type.
Reduced hear distance for doors and gates
2013-06-05 16:46:59 -04:00
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