Commit Graph

9 Commits

Author SHA1 Message Date
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
jp
3bb41cbb4f Textures optimizing 2014-11-03 12:46:45 +01:00
Vanessa Ezekowitz
068bff4594 functionalize most of the two-node objects' placement code 2014-09-07 15:01:51 -04:00
Vanessa Ezekowitz
9bad267428 fixed locked fridges 2014-08-18 13:52:39 -04:00
Vanessa Ezekowitz
da3689dbe5 fix mis-placement of locked fridge 2014-08-17 13:08:27 -04:00
Vanessa Ezekowitz
e8dd191cfd multiple changes
fridge has new models by jp, and now uses two nodes instead of one.

an abm has been added to convert the old one-node version into this new
two-node version. inventories are kept in the process, but I can't do
anything about fridges that are themselves in someone's inventory or
chests.  If you want to keep them, place them in the world before you
update.

added coat rack on wall, and freestanding coat tree, models by jp

added doorbell, model and texture by jp with changes by me
2014-08-14 14:05:41 -04:00
Vanessa Ezekowitz
2762652d12 add steel fridge and oven
(no craft recipes yet)
2014-06-25 00:24:03 -04: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