Commit Graph

51 Commits

Author SHA1 Message Date
jp
546f8b501c Opti. code 2015-02-28 10:14:46 +01:00
jp
4fe73ade80 rename sit functions 2015-02-25 11:17:42 +01:00
jp
d3199606ec Reorganize files 2015-02-25 10:35:29 +01: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
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
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
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
b5188493cc abstract common nodebox forms, fixing some ignored ones in the process 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
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
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
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
Tim
be4ed12b6c whitespace cleanup:
* remove all trailing whitespaces
* make inbox and computer use the prevalent indentation rules
* CRLF->LF where found
2015-01-21 00:44:23 +01:00
Vanessa Ezekowitz
d1064c2beb Use mesh node for open-frame bookshelf 2014-12-14 01:19:36 -05:00
Vanessa Ezekowitz
3c3aa9e0d0 fix messed-up front/back images on kitchen chairs
Signed-off-by: Vanessa Ezekowitz <vanessaezekowitz@gmail.com>
2014-12-10 13:34:16 -05:00
jp
3bb41cbb4f Textures optimizing 2014-11-03 12:46:45 +01:00
jp
0e8bd681c0 Remove another useless nodebox 2014-10-31 22:29:05 +01:00
jp
1790358200 Update beds 2014-10-31 20:33:28 +01:00
kilbith
1b13161416 Bed model: wider & lighter 2014-10-13 11:29:36 +02:00
Vanessa Ezekowitz
86b6326dcf move "3dforniture" lamps to lighting.lua 2014-09-30 10:40:36 -04:00
Vanessa Ezekowitz
af3b4780d4 fix crash in lamps 2014-09-20 19:30:35 -04:00
kilbith
5f19955c8f Add standing lamps
Add standing lamps : https://cdn.mediacru.sh/yAdKFmB1cDq2.png
Textures : http://mamadou3.free.fr/standing_lamps_textures.zip
2014-09-20 18:25:52 -03:00
Vanessa Ezekowitz
2584dcb191 rewrite bed extension logic so that any colors can form bunks 2014-09-18 14:46:26 -04:00
Vanessa Ezekowitz
cc036527b0 fix drop on extended bed foot 2014-09-18 02:23:11 -04:00
kilbith
b72634f67c Beds extension 2014-09-17 23:33:18 -04:00
kilbith
8c68ad9662 Added a grandfather clock 2014-09-10 12:23:55 -04:00
kilbith
f94aa7616e Added a wall shelf 2014-09-10 11:56:14 -04:00
Vanessa Ezekowitz
068bff4594 functionalize most of the two-node objects' placement code 2014-09-07 15:01:51 -04:00
Vanessa Ezekowitz
5077df05de forgot deck chair description 2014-09-02 03:03:43 -04:00
kilbith
f330d19d03 Added a deckchair 2014-09-01 13:47:46 -04:00
kilbith
b733c4c5b3 Simple bench closer from the node behind
Simple bench closer from the node behind (prettier usage) : https://cdn.mediacru.sh/SWJdRE4pI0L9.png
2014-08-22 23:19:16 +02:00
kilbith
578bc6008b Updated bed colors
- Red & green replaced by the default wool textures (the previous were too dark).
- Prettier violet texture
- Added brown, darkgrey, orange, yellow and pink colors (based on the default wool textures too).
2014-08-21 12:04:54 -04:00
kilbith
2609e68d9d More colors for the bed
red, (dark) green, violet
2014-08-20 14:58:00 -04:00
kilbith
784de299e3 Added a simple bench
slabs to make it can be from moreblocks or default stairs mod
2014-08-19 10:45:16 -04:00
kilbith
ce760bedc0 Little tweaks on the bench 1
Little tweaks on the bench 1
2014-08-18 19:28:23 +02:00
Vanessa Ezekowitz
c8bfaa6e79 add garden benches 2014-08-17 21:55:55 -04:00
Vanessa Ezekowitz
365247b7c3 prevent crash if screwdriver was able to rotate a part of bed, pool table,
or desk.  (really anything that is a side-by-side object).
2014-08-14 15:34:35 -04:00
kilbith
bd6d361933 Update furniture.lua - wardrobe part
Visually identic, pile of useless nodeboxes removed.
2014-08-10 08:33:20 +02:00
Vanessa Ezekowitz
075a6195dc add bed, wardrobe and pool table 2014-08-07 14:49:26 -04:00
Vanessa Ezekowitz
5b705cf4ed Move the openframe bookshelf into the main homedecor mod
Moved the craft recipe too
this leaves just the default bookshelf and the moreblocks empty counterpart
in the 3d extras mod.
2014-07-13 08:37:42 -04:00
Vanessa Ezekowitz
f78ee16d6f add several colors of kitchen chairs
(same colors as armchairs)

this necessitated a slight change to the existing model, it is now exactly
fit to pixels so that the new textures will align correctly.

Also, phased out the *lat1/lat2 textures used on the armchairs - redundant.
2014-06-26 23:20:13 -04:00
Vanessa Ezekowitz
da4039e2c5 add white and "mahogany" "3dforniture" tables,
better wood texture for "3dforniture" wooden objects
2014-06-25 03:57:52 -04:00
Vanessa Ezekowitz
2fe54e38e0 add table lamps in different colors to match curtains 2014-06-25 02:08:54 -04:00
Vanessa Ezekowitz
41b1730ff2 Get rid of second and third shades of 3dforniture-related textures.
Minetest has per-face shading of nodes now so these textures are redundant.
2014-06-18 06:53:07 -04:00
Xanthin
e702ef9f13 Fixes to translation. 2014-04-04 09:10:26 -03:00