Commit Graph

95 Commits

Author SHA1 Message Date
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
4516aa960b move kitchen related nodes into their associated files 2015-01-23 22:48:40 +01:00
jp
ff2163ae64 Update book wield images 2015-01-23 18:51:03 +01:00
Tim
b5188493cc abstract common nodebox forms, fixing some ignored ones in the process 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
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
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
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
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
Vanessa Ezekowitz
b3cd8e45fb shorten globe coll/sel box code a bit 2015-01-02 04:41:01 -05:00
Vanessa Ezekowitz
8cf3db8aae better wine rack model
basically stacked the existing model 4x, scaled it down, and added more
bottles to fill the empty spaces.
2015-01-02 04:39:17 -05:00
Vanessa Ezekowitz
ad79c1b7e4 use mesh node for brown and green bottles 2015-01-02 01:24:07 -05:00
Vanessa Ezekowitz
20ba8beaac fix groups on globe and wine rack 2015-01-02 00:47:08 -05:00
Vanessa Ezekowitz
ca4fa4061d Add wine rack 2015-01-02 00:44:38 -05:00
Vanessa Ezekowitz
d41c35a067 Add desk globe, model by jp 2015-01-01 15:28:49 -05:00
Diego Martinez
4be89a076b Remove reference to unused nodebox. 2014-12-24 00:17:38 -03:00
Vanessa Ezekowitz
b99abb8bc0 use mesh node for paper towels 2014-12-14 18:40:34 -05:00
Vanessa Ezekowitz
64a86c1524 Better inventory images for brass and wrought iron poles 2014-12-14 15:42:59 -05:00
Vanessa Ezekowitz
f23062f28f Use mesh node for flowerpots 2014-12-14 15:12:44 -05:00
Vanessa Ezekowitz
e7367558ab Use mesh node for dartboard
also delete a couple of excess files
2014-12-13 20:55:19 -05:00
Vanessa Ezekowitz
0d6d75a425 use mesh node for round pole 2014-12-13 17:32:31 -05:00
jp
3bb41cbb4f Textures optimizing 2014-11-03 12:46:45 +01:00
Vanessa Ezekowitz
71fb6f9e91 fix facedir detection on coffee steam, increase ABM interval, fix indentation 2014-10-29 18:06:01 -04:00
kilbith
689f9a8b43 Add Coffee Steam 2014-10-29 10:29:13 -04:00
Vanessa Ezekowitz
63e697cbb6 give coat tree an inv image 2014-09-30 13:17:43 -04:00
Vanessa Ezekowitz
97d1561261 add inventory images for books, by jp 2014-09-30 11:00:35 -04:00
kilbith
b848b0c286 Add calendar
Add calendar : https://cdn.mediacru.sh/ncpwQE94MO7N.png
Texture : http://mamadou3.free.fr/homedecor_calendar.png
2014-09-21 18:24:53 -03:00
kilbith
caf4fcf57b Add openable books
Add openable books (on punch) : https://cdn.mediacru.sh/RBCZcQT1VJjW.png
Textures : http://mamadou3.free.fr/books_textures.zip
2014-09-20 18:25:53 -03:00
kilbith
d7d5f5bf5e Kitchen faucet : simplified/improved nodeboxes
Kitchen faucet : simplified/improved nodeboxes
2014-09-20 17:53:31 -03:00
Vanessa Ezekowitz
763d8fa200 Add a tree swing
model and textures by jp

To place, point at the underside of a node, e.g. a ceiling or the bottom
side of tree leaves or something.  It will automatically stretch
downward trying to find the ground (well, anything that isn't
buildable_to anyway), down to a maximum of 4 meters' worth of rope.

To remove, dig the swing itself and it'll take the rope with it.
2014-09-18 16:30:25 -04:00
kilbith
1196c17b31 Add tree's swing (2 nodes)
Add tree's swing (2 nodes) : https://cdn.mediacru.sh/k3rWXDs4HFsh.png
Textures : http://mamadou3.free.fr/swing_textures.zip
2014-09-18 15:08:40 -04:00
kilbith
d8c20f333b BBQ: texture bug fixed
BBQ: texture bug fixed
2014-09-18 11:06:05 -04:00
kilbith
730f1c843b Add a metal tool chest/work table 2014-09-18 01:42:44 -04:00
Vanessa Ezekowitz
c3254a879a Add beer mug 2014-09-18 01:27:36 -04:00
kilbith
0ae222c9c8 Add Beer Tap 2014-09-18 00:30:07 -04:00
kilbith
83b62da350 Add a BBQ 2014-09-18 00:19:21 -04:00
kilbith
066430d956 Add garden stone path 2014-09-17 23:59:03 -04:00
Vanessa Ezekowitz
6930b0ab99 add paper towel roll, improve toilet paper model and textures 2014-09-11 12:30:18 -04:00
kilbith
4093ca5021 Add copper pans 2014-09-11 10:30:19 -04:00
Vanessa Ezekowitz
8c3169e233 inventory image for trophy 2014-09-10 14:01:37 -04:00
kilbith
dc0aec6f0d add skateboard 2014-09-10 13:59:04 -04:00