Just a minimal code reduction, but big reduction in code
duplication. This could help if in the future, support for
different "internationalization" mods will be added, or in
case Minetest supports I18N/L10N internally in the engine.
Dropped support for punching doors to open them - only right-click now.
Moved gates out of fences and into doors file, renamed that file to
doors_and_gates.lua.
Changed gates to also use right click to open, and in the process
completely rewrote how gates are defined and managed; this necessitated
creating some duplicate textures. Some of them are blank, and texture
pack authors may find the extra filenames useful anyway.
Node names for all gates have changed, aliases are provided for backward
compatibility.
them.
Tweaked picket fence nodeboxes slightly to push them as close to the
back of the node as I could without Z-fighting with neighboring objects.
Minor code formatting tweaks
got rid of some commented-out code.
rather than crafting a sign-on-fencepost from one of each, how about just
placing a sign directly onto a fencepost instead? This commit adds this.
Place a brass or wrought iron fencepost, then attempt to place a sign against
it. The fencepost will be replaced with one bearing the sign - in the same
node. Dig to get the two pieces back as separate items, right click the placed
sign to edit the text thereon.
Note that as of this commit, there is a bug in minetest/builtin/item.lua that
causes signs not to be deducted from your inventory on placement.