Commit Graph

6 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
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
cc9a1a9c3c select a formspec automaticly from a table if none is supplied 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
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