Commit Graph

673 Commits

Author SHA1 Message Date
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
7f7ba92bc8 use mesh node for cd/dvd cabinet 2015-04-26 23:23:45 -04:00
Vanessa Ezekowitz
72e58b0158 use mesh node for chimney 2015-04-26 22:52:11 -04:00
Vanessa Ezekowitz
31bc60f055 use mesh node for filing cabinet 2015-04-26 22:25:18 -04:00
Vanessa Ezekowitz
a75c55cfc3 join desk model's objects into one 2015-04-26 22:07:22 -04:00
Vanessa Ezekowitz
020754d13a redraw wine-rack, simplify the bottle meshes used therein
(cuts the number of tris down from >7k to 4.6k)
better UV maps/materials use
2015-04-26 21:57:56 -04:00
Vanessa Ezekowitz
a6d05f451b rework window shutter UV map, simplified the textures 2015-04-26 19:11:26 -04:00
Vanessa Ezekowitz
4ac7b55d2f add generic gold tile, use it for trophy
tweak trophy UV map to use more of it.
2015-04-26 18:51:22 -04:00
Vanessa Ezekowitz
5013be4c09 better UV mapping on toilet paper and paper towels
added better imagery
moved toilet paper to bathroom_sanitation.lua
2015-04-26 18:02:47 -04:00
Vanessa Ezekowitz
d645b5ade5 rework UV map + texture for kitchen sink 2015-04-26 16:41:55 -04:00
Vanessa Ezekowitz
14a5f4c411 tweak speakers' UV maps a bit 2015-04-26 16:24:05 -04:00
Vanessa Ezekowitz
a820c7ffb2 better UV maps for speakers, tweaks to related textures 2015-04-26 15:32:13 -04:00
jeanpatrick.guerrero@gmail.com
95c89f7cfd Randomly receive a phone call 2015-04-26 13:36:21 -04:00
jp
ff6073664d Beds : use default sleeping function and adjust s/c_box 2015-04-26 10:37:50 +02:00
Vanessa Ezekowitz
f1428f7be7 *really* fix glass/wood oak door aliases 2015-04-25 10:42:19 -04:00
Vanessa Ezekowitz
bb24ffb3ee fix broken aliases for wood/glass oak colored door 2015-04-25 10:18:46 -04:00
Vanessa Ezekowitz
aadbe21841 remove right-opening doors from creative inv 2015-04-25 10:15:43 -04:00
Vanessa Ezekowitz
9ccb6b5188 use mesh nodes for all doors
and for Japanese walls

makes it somewhat easier to add new door types
far fewer textures as well.
2015-04-25 03:13:47 -04:00
Vanessa Ezekowitz
b90c03cd8e added recipes to craft king bed from two twins 2015-04-22 04:54:40 -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
029611417e use inventory image for ceiling lamp 2015-04-22 04:41:15 -04:00
Vanessa Ezekowitz
8597b39122 take "off" ceiling lamp out of creative inv 2015-04-22 04:37:18 -04:00
Vanessa Ezekowitz
12cc9da08c allow shift-dig a king size bed to get the two twin beds back 2015-04-22 04:34:51 -04:00
Vanessa Ezekowitz
4b411d0466 add brass and wrought-iron candlesticks 2015-04-22 01:31:07 -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
8b924be206 add hanging-from-chain ceiling lamp 2015-04-21 21:33:06 -04:00
Vanessa Ezekowitz
09c560cfe5 reduce the depth of the bevel on the edges of the bed 2015-04-21 18:29:04 -04:00
Vanessa Ezekowitz
dab2e9a5f2 better UV maps for picture frames
higher-quality imagery
2015-04-21 17:58:50 -04:00
Vanessa Ezekowitz
814d43f541 do similar for marble 2015-04-18 17:15:22 -04:00
Vanessa Ezekowitz
5de0fc7538 use mesh nodes for former-3dforniture toilets 2015-04-18 04:25:00 -04:00
jp
877e6f3607 Better invo images for candles 2015-04-17 12:47:21 -04:00
Vanessa Ezekowitz
e60562d58b use mesh node for former 3dforniture bathroom sink 2015-04-17 12:45:14 -04:00
Vanessa Ezekowitz
e71bbdc0ef better mesh/UV mapping for openframe bookshelf 2015-04-17 09:28:41 -04:00
Vanessa Ezekowitz
c2575df10c fix collision box on oil lamp 2015-04-17 06:11:05 -04:00
Vanessa Ezekowitz
52ef3e9099 use mesh node for oil lamp
also turn the light level up one step
2015-04-17 02:47:55 -04:00
Vanessa Ezekowitz
c6dd69769e use mesh node for coffee maker 2015-04-16 23:39:18 -04:00
Vanessa Ezekowitz
8e5197af58 use mesh node for calendar 2015-04-16 05:23:08 -04:00
Vanessa Ezekowitz
dcde7c9d6a the complex selection box doesn't look good
went back to a single select box covering the entire model
kept the equivalent collision box
2015-04-15 19:15:12 -04:00
Vanessa Ezekowitz
b2815ea683 new inv img for coatrack 2015-04-15 18:59:44 -04:00
Vanessa Ezekowitz
414364d0ca better selectbox for coatrack 2015-04-15 18:58:33 -04:00
Vanessa Ezekowitz
9767b5d5f8 use mesh node for coat rack/tree 2015-04-15 18:41:22 -04:00
Vanessa Ezekowitz
20b8a8f875 use the existing copy of old default wood
called "generic wood".
(gets rid of the redundant copy I added as "old wood")
2015-04-15 18:16:25 -04:00
Vanessa Ezekowitz
12c40f75a2 just use one texture entry for simple bench 2015-04-15 16:36:10 -04:00
Vanessa Ezekowitz
2755a39403 fix bad ref to bench img 2015-04-15 15:48:31 -04:00
Vanessa Ezekowitz
f5fd1b173d new inventory images for large benches 2015-04-15 15:33:53 -04:00
Vanessa Ezekowitz
fa2498d8fd use mesh node for large style-2 bench 2015-04-15 15:28:52 -04:00
jp
69bc9c374c Switch Garden Bench 1 to mesh 2015-04-15 12:40:47 -04:00
Vanessa Ezekowitz
905366ed38 add inventory image for sport bench 2015-04-15 03:04:29 -04:00
Vanessa Ezekowitz
800fff3a02 use mesh node for sport bench 2015-04-15 03:01:48 -04:00
Vanessa Ezekowitz
d6a86d736a use mesh nodes for kitchen chairs
also fix their selectboxes
2015-04-15 01:52:30 -04:00
Vanessa Ezekowitz
3506ede1f5 use mesh node for radiator 2015-04-14 22:44:37 -04:00
Vanessa Ezekowitz
57fe4a3152 tweak trophy model 2015-04-14 17:32:24 -04:00
Vanessa Ezekowitz
5882c95774 fix selection box on trophy 2015-04-14 17:14:02 -04:00
Vanessa Ezekowitz
69f7fea406 use mesh node for trophy, modified recipe to fit the look of the new model 2015-04-14 16:53:45 -04:00
Vanessa Ezekowitz
ca4b20505a rework meshes for table and standing lamps, better use of materials
use default wool for the lamp shades

also, use ^[colorize to brighten the lampshades and lightbulbs according
to the lamp's light/brightness setting, instead of baking it into the
textures.
2015-04-14 15:34:17 -04:00
Vanessa Ezekowitz
f87c5271b1 use smooth shading on green trash cans 2015-04-14 14:12:38 -04:00
Vanessa Ezekowitz
142519e188 fix edges of wall sconce back (should be transparent) 2015-04-14 14:00:18 -04:00
Vanessa Ezekowitz
95a7699f20 use smooth shading on candles 2015-04-14 13:44:33 -04:00
Vanessa Ezekowitz
79b5c94f6c add wall sconce 2015-04-14 13:42:22 -04:00
Vanessa Ezekowitz
8e1dd5f268 use mesh nodes for candles 2015-04-14 11:58:05 -04:00
Vanessa Ezekowitz
71c9d2218b fix normals on deckchair seat area 2015-04-14 10:58:29 -04:00
Vanessa Ezekowitz
0e317a3460 make deckchair white, add variant for blue stripes 2015-04-14 10:50:15 -04:00
jp
ba1167871f Switch Deck Chair to mesh 2015-04-14 10:45:07 -04:00
Vanessa Ezekowitz
64c8deb868 improved model + UV mapping + texture handling for flowerpot 2015-04-06 16:38:12 -04:00
kilbith
a0b0211427 Add glass door on Grandfather Clock 2015-04-06 16:55:56 +02:00
kilbith
bcaa25adf4 Add Wall Lamp 2015-04-04 19:51:48 +02:00
kilbith
f54c6d3645 Adjust hanging lantern position 2015-04-03 00:43:25 +02:00
kilbith
ca5d9b0d50 Disable sit for benches 2015-04-01 00:42:07 -04:00
kilbith
b01d3b2b4f Disable sitting functions (broken) 2015-04-01 00:42:07 -04:00
Vanessa Ezekowitz
677106529b Change books' description to indicate that they're writable 2015-03-31 11:43:15 -04:00
Vanessa Ezekowitz
7c9a172510 actually use the inventory image for towel rod 2015-03-31 11:42:33 -04:00
Vanessa Ezekowitz
6ce3b5acb4 adjust ground lantern Y position 2015-03-31 11:41:37 -04:00
Vanessa Ezekowitz
f39908f9fb adjust picture frame Y position 2015-03-31 11:40:57 -04:00
Vanessa Ezekowitz
15766e2537 new inventory images for books 2015-03-31 11:39:22 -04:00
Vanessa Ezekowitz
4a7d89f948 new inventory images for mailbox, copper pans, towel rod 2015-03-31 11:37:34 -04:00
Vanessa Ezekowitz
18020fccd0 fix extra "ghost" model in towel rod
also get rid of redundant .mtl files
2015-03-31 11:30:09 -04:00
Vanessa Ezekowitz
885e838b57 use mesh node for towel on rod 2015-03-31 02:12:42 -04:00
Vanessa Ezekowitz
9bc7f5c5ba use mesh nodes for former-"3dforniture" armchairs 2015-03-31 01:04:27 -04:00
Vanessa Ezekowitz
74951e6b5e use mesh nodes for copper pans 2015-03-30 21:52:26 -04:00
Vanessa Ezekowitz
e662bb36b9 use mesh node for grandfather clock 2015-03-30 21:06:07 -04:00
Vanessa Ezekowitz
38318ef82b new telephone inv img 2015-03-30 17:45:54 -04:00
Vanessa Ezekowitz
ca911dbc71 use mesh node for phone 2015-03-30 17:37:23 -04:00
Vanessa Ezekowitz
b28e3eea40 new inventory image for former-"3dforniture" chains 2015-03-30 15:06:07 -04:00
Vanessa Ezekowitz
f565fb666a use mesh node for former-"3dforniture" torch 2015-03-30 14:59:39 -04:00
Vanessa Ezekowitz
a33b296b09 use mesh node for tool cabinet 2015-03-30 03:42:33 -04:00
Vanessa Ezekowitz
e105fad1d4 use mesh nodes for beds 2015-03-29 23:26:59 -04:00
Vanessa Ezekowitz
2ed516a9f6 replace wardrobe with mesh node 2015-03-29 20:59:47 -04:00
Vanessa Ezekowitz
f8a071aa4b use mesh node for forniture chains, model by kilbith 2015-03-29 20:12:58 -04:00
kilbith
58f64d265f Add green Trash Can 2015-03-29 16:45:08 +02:00
kilbith
f580f26124 Add Ceiling Lantern 2015-03-29 10:42:27 -04:00
kilbith
6f33c9ff0c Afterward tweaking 2015-03-29 13:13:17 +02:00
Vanessa Ezekowitz
0f0942d08c use mesh node for barbecue 2015-03-29 02:53:23 -04:00
Vanessa Ezekowitz
a8a052bde3 use mesh nodes for windowblinds 2015-03-29 01:48:10 -04:00
Vanessa Ezekowitz
4ffc39e91f use mesh node for kitchen faucet 2015-03-29 00:09:49 -04:00
Vanessa Ezekowitz
28cf1e4276 add bathroom sundries set
model by jp, textures and tweaks by me
2015-03-28 22:42:53 -04:00
kilbith
73aa4b2614 Switch Shower Head and Skateboard to mesh
with changes by VanessaE
2015-03-28 16:11:08 -04:00
Vanessa Ezekowitz
ad74a7257e punch the large speaker to take its cover off or put it on 2015-03-28 00:03:49 -04:00
Vanessa Ezekowitz
e64f69ec8c fix broken small-speaker selectbox 2015-03-28 00:01:15 -04:00
Vanessa Ezekowitz
65aa834821 add "open front" version of large speaker 2015-03-28 00:00:23 -04:00
Vanessa Ezekowitz
e377f2af6d use mesh nodes for speakers 2015-03-27 22:55:41 -04:00
kilbith
6385013037 Update piano textures and recipe 2015-03-26 13:46:38 +01:00
Vanessa Ezekowitz
1f040f131a fix missing locked fridge aliases 2015-03-24 19:28:42 -04:00
Vanessa Ezekowitz
1796cf8bba swap out old _base, _bottom, _left, etc nodenames in crafts
i.e. for all of the two-part nodes that have recently been converted
into single-part meshes and given new node names (with aliases).
2015-03-23 03:42:23 -04:00
Vanessa Ezekowitz
a89456e925 change recipe for pool table to use hardwood blocks and slabs 2015-03-23 03:20:26 -04:00
Vanessa Ezekowitz
2c320c7927 git inventory to tool cabinet 2015-03-23 02:31:24 -04:00
Vanessa Ezekowitz
64451a6abf add recipe for tool cabinet 2015-03-23 02:29:09 -04:00
Vanessa Ezekowitz
8b806bf082 if technic isn't installed, define its granite node (as a building
material only) and make it from 5 tar + 4 marble (both from
building_blocks).

If moreblocks is installed (and technic isn't), this node is routed
through the stairsplus component, and a recipe is added that uses
moreblocks' own tar node also.
2015-03-23 02:09:39 -04:00
Vanessa Ezekowitz
311b1ea4c5 add craft recipe for globe 2015-03-23 01:52:44 -04:00
Vanessa Ezekowitz
06a67cc49d give desk inventory (24 slots) 2015-03-23 01:44:27 -04:00
Vanessa Ezekowitz
2e3901d6cd use mesh node for pool table 2015-03-23 01:25:13 -04:00
Vanessa Ezekowitz
fe10b8ae83 fix wrong well base alias 2015-03-22 13:42:42 -04:00
Vanessa Ezekowitz
cdc9f21c3c rename piano left -> piano, add alias 2015-03-22 07:17:13 -04:00
Vanessa Ezekowitz
7274c7ab1c fix missing desk inv image 2015-03-22 01:38:42 -04:00
Vanessa Ezekowitz
b5f41930ab use mesh node for piano 2015-03-22 01:36:56 -04:00
Vanessa Ezekowitz
171ef498a2 use mesh node for desk 2015-03-21 22:51:51 -04:00
Vanessa Ezekowitz
34b05db22e use mesh nodes for refrigerators 2015-03-21 01:11:31 -04:00
Vanessa Ezekowitz
261138f8d0 fridge one-to-two conversion ABMs are obsolete 2015-03-20 22:04:43 -04:00
Vanessa Ezekowitz
44dd86d55c use mesh node for dog house 2015-03-20 22:01:37 -04:00
Vanessa Ezekowitz
7bba079010 replace water well with meshnode version 2015-03-20 02:23:23 -04:00
jp
dca81b1648 Clean-up 2015-03-05 23:10:27 +01: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
jp
f96e890155 fix images names 2015-03-01 19:45:34 +01:00
jp
546f8b501c Opti. code 2015-02-28 10:14:46 +01:00
kilbith
2d0d6c53f9 clocks: fix boxes and wield image 2015-02-27 03:11:41 -05:00
Vanessa Ezekowitz
7359f4eb99 Merge branch 'lantern' of github.com:kilbith/homedecor_modpack 2015-02-27 01:41:38 -05:00
Vanessa Ezekowitz
7b16542f32 Merge branch 'wall_lantern' of github.com:kilbith/homedecor_modpack 2015-02-27 01:39:39 -05:00
Vanessa Ezekowitz
1f8bbf1ae8 Add crafts for thin --> thick glowlight slabs 2015-02-27 01:28:32 -05: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
jp
7b829e874b Switch wall lantern to mesh 2015-02-23 13:56:27 +01:00
jp
c681f017aa Add hanging lantern (mesh) 2015-02-23 12:26:42 +01:00
Vanessa Ezekowitz
d009cdd649 fix normals in "open" book model 2015-02-22 09:38:44 -05:00
jeanpatrick.guerrero@gmail.com
576a89216d Add desk lamps (mesh) 2015-02-20 16:15:57 -05:00
kilbith
280c4a732b Log the book content 2015-02-20 15:53:50 -05:00
jeanpatrick.guerrero@gmail.com
49eacb7726 Books: swap to mesh 2015-02-20 15:51:16 -05:00
jeanpatrick.guerrero@gmail.com
876e2645ea Add mesh picture frames 2015-02-20 15:48:32 -05:00
jp
7a15ceada5 Books: lines wrapping for reader 2015-02-10 22:49:08 +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
24db06a0b0 fix intllib support and remove unnecessary checks of it 2015-02-05 10:15:05 +01:00
Vanessa Ezekowitz
9f87c47ebe use inventory images for table lamps 2015-02-05 03:01:38 -05:00
Vanessa Ezekowitz
adf01de74a clean up UVs a bit more (map the light bulp differently) 2015-02-05 00:29:27 -05:00
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
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
kilbith
29bf986ea8 Small sounds fix 2015-01-20 19:49:46 +01:00
jp
f136b92018 Cleaning cg72's code 2015-01-20 12:13:45 +01:00
Tim
3106b62945 update remaining node_box->collision_box for meshnodes 2015-01-19 22:57:48 +01:00
Vanessa Ezekowitz
5fb565cbd6 fixed a couple missing faces in wine rack mesh and optimized it a bit 2015-01-18 22:12:55 -05:00
Vanessa Ezekowitz
88e5c28d39 use mesh nodes for standing lamp and "3dforniture" table lamp
rewrote the surrounding code a bit to clean it up
all new textures, got rid of related, obsolete files.
2015-01-03 01:52:39 -05:00
Vanessa Ezekowitz
8b14e599a1 fix sel/coll boxes on 4-bottle packs 2015-01-02 05:40:02 -05:00
Vanessa Ezekowitz
f8f595b3b9 add 4-packs of green and brown bottles, and a 4-pack with both colors
add recipe for wine rack using multiple 4-packs of brown bottles + wood
2015-01-02 05:29:42 -05:00