Commit Graph

456 Commits

Author SHA1 Message Date
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
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
05bca18407 get rid of blender model files
they're redundant and only serve to bloat up the repo.
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
Vanessa Ezekowitz
a14151accb new inventory images for small round tables 2014-12-27 15:14:42 -05:00
Vanessa Ezekowitz
bb8b3eea20 use current intllib API 2014-12-27 01:13:05 -05:00
Vanessa Ezekowitz
6905c363eb reduce small round table model to exactly 1 standard pixel in thickness
also remove some redundant .blend1/.blend2 files
2014-12-26 18:39:39 -05:00
Vanessa Ezekowitz
ca9949daf4 tone down brightness of glass streaks on large table 2014-12-26 18:28:42 -05:00
Vanessa Ezekowitz
6ed5fcb064 pixel tweak to glass table 2014-12-26 18:27:58 -05:00
Vanessa Ezekowitz
0457fc43ee better model for small round tables
better texture for the glass one
2014-12-26 18:19:45 -05:00
cheapie
0a1eb1c83c Added beeswax -> oil + yellow dye crafting recipe, using technic's centrifuge. 2014-12-26 12:48:18 -05:00
Vanessa Ezekowitz
258304569f fix collision boxes on tables 2014-12-25 21:42:12 -05:00
kilbith
1e31d0e02a Sticky cobwebs
Besides the realistic matter, it adds fun when players use it in PvP arenas, for making different kind of traps or amortize a fall.
2014-12-25 21:42:12 -05:00
Diego Martinez
4be89a076b Remove reference to unused nodebox. 2014-12-24 00:17:38 -03:00
Vanessa Ezekowitz
ea5083bc03 fix a few bad pixels on dartboard, flatten image 2014-12-22 12:27:51 -05:00
Vanessa Ezekowitz
cd5e82d84e use minetest.rotate_node to place slopes
(6dfacedir prediction)
2014-12-22 12:10:31 -05:00
Vanessa Ezekowitz
a64b436dc2 don't reference obsolete pole images as fence wields 2014-12-20 18:13:16 -05:00
Vanessa Ezekowitz
46b49eef7e use mesh node for toilet paper 2014-12-14 19:05:41 -05:00
Vanessa Ezekowitz
b99abb8bc0 use mesh node for paper towels 2014-12-14 18:40:34 -05:00
Vanessa Ezekowitz
1b6f68c92a Add inventory images for square glass/wood tables 2014-12-14 16:00:37 -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
9d903b82be Use mesh node for small square table 2014-12-14 13:22:44 -05:00
Vanessa Ezekowitz
84506cab4c phase out the _t, _b, and _s glass/wood table variants
Uses the engine's 6dfacedir code and the rotate helper function
to do the job instead.  ABMs added to convert old nodes.
2014-12-14 12:38:15 -05:00
Vanessa Ezekowitz
d1064c2beb Use mesh node for open-frame bookshelf 2014-12-14 01:19:36 -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
3b0e6ad95d use mesh node for round tabletops 2014-12-13 20:31:57 -05:00
Vanessa Ezekowitz
26dd190226 use mesh node for kitchen sink 2014-12-13 19:26:38 -05:00
Vanessa Ezekowitz
200bfeff4e add proper selection and collision boxes to slopes 2014-12-13 18:31:47 -05:00
Vanessa Ezekowitz
d59a52f8a9 old cruft from nodebox-based slopes 2014-12-13 18:27:45 -05:00
Vanessa Ezekowitz
a72f806130 use mesh node for analog clocks 2014-12-13 18:26:39 -05:00
Vanessa Ezekowitz
6bf754d38d Add streaks to glass slope 2014-12-13 17:36:11 -05:00
Vanessa Ezekowitz
0d6d75a425 use mesh node for round pole 2014-12-13 17:32:31 -05:00
Vanessa Ezekowitz
d8252aee6b Upgrade roof slopes to use proper meshes
instead of hundreds of nodeboxes per.
2014-12-13 17:03:08 -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
Vanessa Ezekowitz
4b148c416b delete obsolete door inv images 2014-11-23 03:45:42 -05:00
Vanessa Ezekowitz
0a1e194b3c don't try to register "right" door inv images
they don't exist, and aren't used anyway
2014-11-23 03:18:23 -05:00
Vanessa Ezekowitz
5c918706cd local-ize a couple of variable refs 2014-11-23 01:51:14 -05:00
Vanessa Ezekowitz
b586285741 replace window shutters with wall-mounted mesh node version
fixes bad rotation that was introduced with fd1e5a516a
(because nodeboxes can't be wallmounted, and facedir != wallmounted param2)

requires minetest from git commit dd4c21c1808acedfbcf8402c09ce9129b6ac31c7 or later.
2014-11-23 00:51:44 -05:00
Vanessa Ezekowitz
e3c16b41ea make building_blocks optional to the main homedecor mod 2014-11-22 15:49:34 -05:00
Vanessa Ezekowitz
5d078198f2 make signs_lib optional for base homedecor mod 2014-11-22 15:43:35 -05:00
kilbith
b34857b263 Fix little omission (jpn wall top) 2014-11-13 10:29:00 +01:00
kilbith
361b742c56 Update doors_and_gates.lua
japanese doors tweaks
2014-11-12 15:41:49 -05:00
jp
76350ac642 Add new door 2014-11-07 13:39:48 +01:00
jp
9ee9262a54 Textures optimizing 2014-11-03 14:06:57 +01:00
jp
3bb41cbb4f Textures optimizing 2014-11-03 12:46:45 +01:00
Vanessa Ezekowitz
71dad95d40 PNGCRUSH _ALL_ THE TEXTURES! "\_:D/ 2014-11-02 13:03:34 -05:00
Vanessa Ezekowitz
697c41fa46 Merge branch 'master' of https://github.com/kilbith2/homedecor_modpack 2014-11-02 09:19:22 -05:00
jp
0e8bd681c0 Remove another useless nodebox 2014-10-31 22:29:05 +01:00
jp
3d997dbdc4 Grandfather clock update 2014-10-31 21:31:21 +01:00
jp
1790358200 Update beds 2014-10-31 20:33:28 +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
kilbith
bd3542ed0e Add calendar recipe 2014-10-25 11:50:07 -04:00
kilbith
637218ea1b Update lantern texture 2014-10-20 08:59:18 +02:00
Vanessa Ezekowitz
5ffaec19ff do the same for white ovens 2014-10-19 21:01:04 -04:00
kilbith
5f5122423a new oven textures 2014-10-19 20:55:55 -04:00
Vanessa Ezekowitz
01447dd319 Merge branch 'patch-1' of https://github.com/kilbith/homedecor_modpack 2014-10-19 20:49:15 -04:00
Vanessa Ezekowitz
168ecbb05d Merge branch 'master' of https://github.com/kilbith3/homedecor_modpack 2014-10-19 20:49:04 -04:00
Vanessa Ezekowitz
85db2fd751 Merge branch 'master' of https://github.com/kilbith2/homedecor_modpack 2014-10-19 20:48:54 -04:00
kilbith
b9e62b0a0c Update wrought iron fences
- Add nodeboxes (cross, and crosses + sides for the corner piece).
- Readjustment of the selection boxes.

https://cdn.mediacru.sh/pr00x9SA-Igm.png
https://cdn.mediacru.sh/jDg96C9zMDrz.png
2014-10-18 15:49:21 +02:00
kilbith
7c511ac140 Update thin/little candle 2014-10-17 16:09:37 +02:00
kilbith
015728049b Add wall lantern 2014-10-16 09:22:58 +02:00
kilbith
3d843eb45c door textures 2014-10-16 09:16:37 +02:00
kilbith
8e3b0f4c45 New door: standard glass & wood 2014-10-16 09:15:21 +02:00
kilbith
5a8113d177 Update lamps textures 2014-10-14 09:27:19 +02:00
kilbith
c0940f1885 Update beds textures 2014-10-13 21:27:47 +02:00
kilbith
a44b29c9b5 Some pixels updated 2014-10-13 14:47:04 +02:00
kilbith
1b13161416 Bed model: wider & lighter 2014-10-13 11:29:36 +02:00
Vanessa Ezekowitz
7e55ae95cb fix brain-o with homedecor/glooptest steel/iron chainlinks 2014-10-12 01:14:11 -04:00
kilbith
44372532e4 Fix corner edge 2014-10-06 21:12:38 +02:00
Vanessa Ezekowitz
2a04eadcc7 add vertical edge to corner piece 2014-10-06 14:38:46 -04:00
kilbith
2c02e8ba36 Improved wrought iron fence model, added corner version 2014-10-06 14:26:14 -04:00
Vanessa Ezekowitz
2a2fa3d429 add recipe for japanese door 2014-10-05 16:25:59 -04:00
Vanessa Ezekowitz
7919512b3e remove some commented-out code 2014-10-05 16:05:47 -04:00
kilbith
3676b52768 Add actual sliding door to Japanese-style walls
Flatten images for door and walls to prevent alpha-sorting glitches
2014-10-05 16:04:27 -04:00
Vanessa Ezekowitz
29cdb89f60 ignore cobwebs when searching for walls to put them on 2014-10-02 23:20:40 -04:00
kilbith
90f6061fe8 Makes the sink realistic 2014-10-02 13:42:14 +02:00
Diego Martinez
27a59c0716 Fix locked ovens reverting to unlocked. 2014-10-01 02:49:17 -03:00
Vanessa Ezekowitz
63e697cbb6 give coat tree an inv image 2014-09-30 13:17:43 -04:00
Vanessa Ezekowitz
f65bc506e3 update trash can inv image 2014-09-30 13:06:31 -04:00
Vanessa Ezekowitz
dd7a9caad5 add alternate recipes for standing lamps 2014-09-30 12:49:53 -04:00
Vanessa Ezekowitz
ddf2666525 fix white standing lamp recipe 2014-09-30 11:57:06 -04:00
Vanessa Ezekowitz
e6f4612ceb add recipes for wrought iron fence #2 and its door, bedroom door, glass
shingle
2014-09-30 11:52:27 -04:00
Vanessa Ezekowitz
d8bbbc9840 add recipes for the colored books 2014-09-30 11:13:31 -04:00
Vanessa Ezekowitz
cf2cef8a79 add recipes for standing lamps 2014-09-30 11:06:18 -04:00
Vanessa Ezekowitz
97d1561261 add inventory images for books, by jp 2014-09-30 11:00:35 -04:00
Vanessa Ezekowitz
a0f656a85d add inventory images for standing lamps, by jp 2014-09-30 10:58:46 -04:00
Vanessa Ezekowitz
4021edd243 properly name each lamp by color 2014-09-30 10:53:56 -04:00
Vanessa Ezekowitz
86b6326dcf move "3dforniture" lamps to lighting.lua 2014-09-30 10:40:36 -04:00
kilbith
e2a8c928f7 Better candles descriptions
Better candles descriptions
2014-09-23 12:38:10 -04:00
kilbith
5f1ce0b01f Add thin candle, repurpose "thick" candle recipe for it
add new recipe for thick candle
2014-09-22 03:20:02 -04:00
Vanessa Ezekowitz
b8807bfe83 new trash can texture 2014-09-22 03:15:47 -04:00
Vanessa Ezekowitz
85e0d13957 add a second type of wrought iron fence
to go with the door that just went in
2014-09-22 03:14:09 -04:00
Vanessa Ezekowitz
15a11737e5 add a wrought iron gate/door 2014-09-22 03:04:03 -04:00
Vanessa Ezekowitz
d679ce058d added a white bedroom-style door 2014-09-22 02:20:58 -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
Vanessa Ezekowitz
af3b4780d4 fix crash in lamps 2014-09-20 19:30:35 -04:00
Diego Martinez
f59f1bc9d1 Added missing textures for new items.
Textures by kilbith/jp.
2014-09-20 18:30:54 -03:00
Diego Martinez
b7ad0f5472 Oops. Added missing glass shigles' textures.
Textures made by kilbith/jp.
2014-09-20 18:25:55 -03:00
kilbith
065ff29402 Openable medicine cabinet
Openable medicine cabinet (on punch) : https://cdn.mediacru.sh/JQcxf58tptfP.png
Textures : http://mamadou3.free.fr/medicine_cabinet_open_textures.zip
2014-09-20 18:25:54 -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
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
kilbith
d7d5f5bf5e Kitchen faucet : simplified/improved nodeboxes
Kitchen faucet : simplified/improved nodeboxes
2014-09-20 17:53:31 -03:00
kilbith
fd1e5a516a Prettier shutters
Prettier shutters : https://cdn.mediacru.sh/uuQuB3D_aXbq.png
2014-09-20 17:53:30 -03:00
kilbith
9cc5853ccc Add glass shingles
Add glass shingles : https://cdn.mediacru.sh/DJDalHp5xuNp.jpg
Textures : http://mamadou3.free.fr/shingles_glass_textures.zip
2014-09-20 17:53:29 -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
Vanessa Ezekowitz
2584dcb191 rewrite bed extension logic so that any colors can form bunks 2014-09-18 14:46:26 -04:00
kilbith
d8c20f333b BBQ: texture bug fixed
BBQ: texture bug fixed
2014-09-18 11:06:05 -04:00
kilbith
0a4fd59cba coffee maker texture fix 2014-09-18 11:05:09 -04:00
kilbith
dcf216e89e optimized a bunch of textures, added missing bed grey footext 2014-09-18 02:29:42 -04:00
Vanessa Ezekowitz
cc036527b0 fix drop on extended bed foot 2014-09-18 02:23:11 -04:00
kilbith
730f1c843b Add a metal tool chest/work table 2014-09-18 01:42:44 -04:00