Topic: [Mod] Home Decor  [homedecor]
VanessaE's Home Decor Mod
This is what I consider to be a fairly feature-filled home decor mod. It supplies a bunch of stuff found in and around most homes, like window shutters, flower pots, home electronics, brass and wrought-iron tables, kitchen stuff, bathroom fixtures, and lots more!
Most stuff can be made from materials found throughout a vanilla game world. Some stuff can only be crafted by using materials from another mod. Currently, this mod can use materials/recipes from More Ores, More Blocks, Mesecons, Vessels, and Wool (or Cotton).
This mod is a work-in-progress, but is complete enough to be useful, and shouldn't irritate anyone too badly. :-)
Dependencies: The standard "common" game content and a Feb. 13, 2013 or later build of Minetest to avoid a node duplication bug.
Conflicts: thexyz's signs mod (and its forks) and Tonyka's 3dforniture mod. In both cases, Home Decor already covers the functionality and node/item/texture names found in them anyway.
License: LGPL for all lua code. CC-By-SA for the door and gate sounds. WTFPL for all of my textures and everything else.
...or browse the code: https://github.com/VanessaE/homedecor
Install: Unzip the distribution archive, rename the resultant VanessaE-homedecor-blahblah folder to just "homedecor", and move it into Minetest's mods directory.
Please browse over to my Home Decor article on Wikia for a complete crafting guide.
Some of the items shown in that guide require the presence of one or more extra mods (see above). Look for the orange highlights.
Various bits of code (especially for the inventory code used in various places), plus a few miscellaneous images, were borrowed from the files which come with Minetest and altered to suit.
Many thanks to Jeija for coming up with an elegant cylinder using nodeboxes (see his 'irregular' mods). A variation of his code is used for the round brass lampposts.
Many thanks also to GloopMaster for explaining how to do use the inventory stuff.
A special thanks to jin_xi and cornernote for helping me figure out what was going wrong with the on-placement code for the fridge.
This mod includes a variant of PilzAdam's/thexyz's visible-text signs mods, and the shapes for the various 3dforniture objects came from Tonyka's mod (though all code has been written from scratch). Many thanks to Kaeza for integrating these mods into Home Decor!
This mod checks for the presence of randomproof's node_ownership and/or glomie's protection mod and establishes if the spot you're about to build on is owned by someone else before allowing placement of a door or placement of a sign onto a post.
All items can be accessed either by crafting various materials and items together, or with the usual /give commands or from your Creative Mode inventory. To get a list of the actual node names, just go into the homedecor/ folder and run the listnodes.sh Bash script.
As mentioned above, a re-implemented version of Tonyka's The 3dforniture mod has been incorporated into Home Decor, courtesy of Kaeza. Textures used for those nodes are from my 16px HDX texture pack. Node and texture names remain the same, with the help of a few aliases, so that existing maps, texture packs, other mods, etc. need no changes. A couple of recipes are different from the original mod owing to the availability of more suitable materials, and to avoid recipe conflicts with other mods. One other change that was made to 3dforniture is that the desk lamp no longer shows several copies in the creative inventory, and different textures are used for the different brightness levels, for added flexibility.
Also as mentioned above, I made my own tweak of thexyz's nodebox-based 3d signs mod (based on PilzAdam's fork), which was intended to make it possible to put a sign directly onto a wooden fencepost. That code has since been incorporated into Home Decor so that signs can be placed onto wrought iron and brass fenceposts also. The yard signs and regular wall signs are of course still included in this version of that code.
For information on creating the more esoteric colors used in this mod, see the Unified Dyes Page. Only a few of the colors provided by that mod are used by this one, and not all of the colors used in this mod require Unified Dyes (most come from the game's built-in ones or via mixtures of various materials). White paint is made by both Home Decor and by Unified Dyes, and are interchangeable.
For those items that require an in-game dye color, most have an alternate recipe that uses some common in-game material (such as an apple for red or Mese for yellow). But please note that this is only temporary (once the game's dye system becomes usable right out of the box, these alternate recipes will be removed). A few things require colors from Unified Dyes (which can also supply the in-game colors if so desired). When that mod is used to supply a color, the game will return the empty bottles/buckets back to the player unless otherwise specified.
Many items can be used as fuel but the burn times need tuning, and I need to tune the cook time and fuel usage on the smelted items. Sound effects could use some work, too.
The sounds used for doors and gates were copied from http://www.freesound.org/people/Slanesh/sounds/31768/ and http://www.freesound.org/people/j1987/sounds/106116/, respectively. The toilet flushing sound came directly from the 3dforniture mod.