1
0
mirror of https://github.com/mt-mods/homedecor_modpack.git synced 2024-11-15 23:00:35 +01:00
Commit Graph

29 Commits

Author SHA1 Message Date
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
b5188493cc abstract common nodebox forms, fixing some ignored ones in the process 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
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
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
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
bb8b3eea20 use current intllib API 2014-12-27 01:13:05 -05: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
Vanessa Ezekowitz
068bff4594 functionalize most of the two-node objects' placement code 2014-09-07 15:01:51 -04:00
Vanessa Ezekowitz
60d34095a5 make cobwebs sit in corners when so-placed.
Algorithm tries to find an X-/Z+ or X+/Z- corner first (places the
cobweb using the torchlike "on-floor" mode) then an X-/Z- or X+/Z+
corner ("on-ceiling), then opposing X-/X+ walls (nodebox, not rotated),
then opposing Z-/Z+ walls (nodebox, rotated 90 degrees), then falls back
to plantlike (which also happens to fit places where e.g. three walls
come together only 1m apart)

ABM added to convert old ones.

Node name has changed so if you have cobwebs in your inventory, sorry
about that.
2014-09-04 16:27:05 -04:00
Vanessa Ezekowitz
0202d3ed5e add cobwebs 2014-08-12 12:14:21 -04:00
Vanessa Ezekowitz
269db07a00 add space heater
rename fans.lua -> climate-control.lua and move air conditioner into it
along with the new heater.
2014-07-18 10:55:09 -04:00
Jordach
f73cfa1cf5 desk fans (YAHN)
uses new fan blades object for recipe
2014-07-18 09:54:22 -04:00
Vanessa Ezekowitz
86345c778f merge no-moreblocks recipes back into crafts.lua
as these are now the preferred recipes.
2014-06-30 13:07:19 -04:00
Vanessa Ezekowitz
ba3abaa6a6 avoid duplicating get_nodedef_field() function
(both doors/gates and desk need it)

moved to init.lua and into homedecor.* namespace.
2014-06-29 10:47:25 -04:00
Vanessa Ezekowitz
949a2a94d8 Add towel rod with towel
moved bathroom/kitchen tiles into misc-bathroom.lua
also, rename misc_nodes.lua -> misc-nodes.lua
2014-06-26 21:33:27 -04:00
crazyginger72
25e47f3f9c Add blinds and framed windowpanes 2014-06-26 20:13:16 -04:00
Vanessa Ezekowitz
a7fdbe320c add decorative electrical outlet and light switch 2014-06-25 23:08:20 -04:00
Vanessa Ezekowitz
8465422c37 added a whole bunch of paintings
total of 20, wall-hanging style
no crafting recipes yet.
2014-06-25 07:31:50 -04:00
Vanessa Ezekowitz
18049bf229 Add various kinds of decorative clocks.
(as usual, no crafting recipes are available yet)
2014-06-25 05:59:34 -04:00
Vanessa Ezekowitz
b3268caa4b added decorative washing machine and tumble dryer
(no craft recipes yet)
2014-06-25 01:02:26 -04:00
Vanessa Ezekowitz
f9e4245a05 new alternate no-moreblocks recipes from Zeno
based around a "power crystal" to replace glowglass, basically.
2014-06-18 00:45:45 -04:00
Vanessa Ezekowitz
9be635cb5f change license to LGPL to conform to what's written in the forum post
since forever.

Also clarify it in the copyright message, spread the license file around
a bit, and remove some useless "last changed" dates since they've been
inaccurate for a long time.
2014-06-06 03:26:42 -04:00
Vanessa Ezekowitz
a6122f03d9 Remove old ownership code and use Minetest's built-in ownership code instead
Some minor code rewrites here and there to accommodate this changeover.
2014-01-30 15:53:21 -05:00
Vanessa Ezekowitz
e057d357c8 split signs_lib from homedecor, put them into their own separate mods
package the two together as a modpack so that regular homedecor users don't
see a functional change, but others can take signs_lib and use it as a
standalone mod.

also get rid of some *~ files
2014-01-25 12:57:05 -05:00