as used by CWz's mod of the same name
Write @KEYWORD (all caps, with the 'at') into the sign's text to display
the keyword. Keyword displayed is automatically updated if the 15-second
update interval detects that it differs from the minetest.conf setting.
The keyword setting is only read at startup.
instead of using 6d facedir
Caveat: this breaks worlds that used signs_lib, in the sense that many
(if not most) default and wooden locked wall signs in areas that were
affected by signs_lib will have to be fixed using the screwdriver.
The intent of this commit is to make signs_lib behave the same way
default signs always have in the past, instead of forcing 6dfacedir on
everyone.
This sucks, but it had to be done sooner or later. when this mod was
first written, wallmounted nodeboxes weren't possible.
This change ONLY affects the default wooden wall signs and locked wooden
wall signs. Metal signs, yard signs, signs on fenceposts, and hanging
signs are not affected.
Red w/white border (e.g. "Stop" or similar),
white w/red border (e.g. "Yield", "Do not enter", and similar),
white w/black border (speed limit, other info signs)
renamed and simplified their edge/top/bottom textures since they always have
metal edges anyways (made them all use the same files). Simplified the code
that creates them. Minor changes to the code that places them to facilitate
this expansion (also allows for future expansion if necessary).
(intended for traffic signage or similar)
Rework related textures. Use steel ingots and green, white, black, yellow dyes
to craft. Can also use "sheet metal" from my fork of Zeg9's steel mod.
each sign type has a separate table which now defines the nodebox
model and position of the text on that model, instead of separate
sets of tables for each.
MUCH more readable background texture for all signs
use exact-to-pixel dimensions on all signs
move sign models to start of signs_lib where they can be seen
make homedecor's brass/iron signs-on-posts use them
adjust all textures accordingly
This also removes the pipe as line separator, and uses real
newlines instead.
To be compatible with older signs, those older signs are *NOT*
updated, and still use the old line handling code. In order to
take advantage of the new UI, old signs will have to be
replaced. This is an unfortunate drawback that cannot be
fixed.
Newly-placed signs will have the new features right away.
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