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
},
})
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.
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.
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.
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