60 Commits

Author SHA1 Message Date
Vanessa Dannenberg
e5f057fd65 fix missing check for coloredwood fences 2018-09-27 04:24:37 -04:00
Vanessa Dannenberg
f809be39e0 add stop-ahead, signal-ahead, and yield-ahead signs 2018-09-27 04:22:32 -04:00
Vanessa Dannenberg
8471420ae3 add wield images where needed 2018-09-27 03:56:04 -04:00
Vanessa Dannenberg
eb5eb8dcc9 add "stop for pedestrian" (in-crosswal) sign 2018-09-27 03:49:39 -04:00
Vanessa Dannenberg
b350098e3e check for "fencelike" drawtype instead of specific nodes
that way it works on more kinds of fences.
2018-09-27 02:19:06 -04:00
Vanessa Dannenberg
6002d55901 move custom after_place_node out of loop. derp :P 2018-09-27 02:14:38 -04:00
Vanessa Dannenberg
2d790e5740 convert roads/infrastructure signs to street signs versions
(and un-register them and their recipes)
2018-09-27 02:12:24 -04:00
Vanessa Dannenberg
1b705a4227 add stop, yield, and pedestrian crossing signs 2018-09-27 01:44:53 -04:00
Vanessa Dannenberg
6b5bddfacd make on-pole variants of the smaller signs
fully automatic placement of US route, US interstate, or yellow or
orange warning diamonds on a pole.  works with:

* all default fences
* homedecor's fences
* gloopblocks steel fence
* coloredwood fences
* Bobblocks "pole" and "wavypole" (which are fences also)
* streets signal/streetlight bigpole (straight piece only, only when vertical)
2018-09-26 22:24:25 -04:00
Vanessa Dannenberg
ca84272bf5 remove a debug print 2018-09-26 05:18:10 -04:00
Vanessa Dannenberg
ec67529419 add/fix screwdriver handling 2018-09-26 04:23:53 -04:00
Vanessa Dannenberg
561b8c68a9 fix LBM not restoring all signs 2018-09-26 04:00:36 -04:00
Vanessa Dannenberg
ed2608da1f make all highway etc signs wall mounted
(doesn't affect the street intersection sign)
2018-09-26 03:50:38 -04:00
Vanessa Dannenberg
71d069c4bc use wallmounted mode for all but the intersection signs. 2018-09-26 01:57:26 -04:00
Vanessa Dannenberg
024844c88c add orange variants of the highway signs and warning signs 2018-09-25 22:56:04 -04:00
Vanessa Dannenberg
bb36b78472 add 4-line warning sign, rename 3-line accordingly 2018-09-25 22:17:47 -04:00
Vanessa Dannenberg
df9b0e6f09 add "US Route", US "Interstate", and diamond-shaped warning signs
(1 line, 3 chars max in 31 px font for the route/interstate signs,
3 lines x 15 chars max in 15 px font for the warning sign)
2018-09-25 21:20:50 -04:00
Vanessa Dannenberg
c8e68f844a add blue/white and yellow/black variants
renamed green ones to have "green" in their names
2018-09-25 00:56:12 -04:00
Vanessa Dannenberg
3fd11131d3 add inv images and crafts for highway signs
consolidate signs_lib-based recipes
2018-09-24 22:53:03 -04:00
Vanessa Dannenberg
af4cbd5a35 add small and large highway signs
minor adjustment to medium sign size
tweaked text settings here and there a bit
2018-09-24 22:27:45 -04:00
Vanessa Dannenberg
fa15f7c0ad rework entities to get the text margins right. 2018-09-24 20:24:21 -04:00
Vanessa Dannenberg
079c21bd41 add a larger 2x2 sign for highways
uses a bigger, 31-px font
2018-09-24 19:38:10 -04:00
Vanessa Dannenberg
c95f7cce2f don't double-up the line texture to cover both sign sides
instead use the entity's UV mapping to handle it.
2018-09-24 15:38:43 -04:00
Vanessa Dannenberg
5c8262072d fix signs not updating properly via LBM or punch
also move the entities' surfaces outward a bit, to compensate for an engine
positioning glitch
2018-09-23 03:23:34 -04:00
Vanessa Dannenberg
b270628717 fix new sign entity being in the wrong place after restart 2018-09-21 20:38:58 -04:00
Vanessa Dannenberg
b664627336 add recipes to make the top-only section
and to make the full-height from top-only + steel ingot
2018-09-21 20:22:32 -04:00
Vanessa Dannenberg
9e2b65e84e add a version of the standard sign that's just the top part,
in case one wants to place it on top of some other kind of pole.
2018-09-21 20:17:31 -04:00
Vanessa Dannenberg
4a4567f027 automatically double-up the entered lines
so that line 1 does both sides of the top section
and line 2 does both sides of the bottom
2018-09-21 04:44:37 -04:00
Vanessa Dannenberg
1b0cc4ee64 clean-up input formspec 2018-09-21 02:55:21 -04:00
Vanessa Dannenberg
7bc0017232 default color = white 2018-09-21 02:11:19 -04:00
Vanessa Dannenberg
a7ce152b04 remove some cruft 2018-09-21 02:08:36 -04:00
Vanessa Dannenberg
0b095db961 fix derp :-) 2018-09-21 02:07:33 -04:00
Vanessa Dannenberg
09f60d79b9 fork from signs_lib to create a simple street name sign
(i.e. the two-up green signs found at most street corners.
2018-09-21 01:43:32 -04:00
Jat15
907797ba11 Fix crash if sign is "unknown block" 2018-05-25 03:01:24 +02:00
Vanessa Dannenberg
c30e7ce0fa
Merge pull request #26 from codexp/issue-25
add support for cyrillic characters
2018-05-11 09:21:51 -04:00
codexp
fa5b88197e add russian translation 2018-03-24 22:27:54 +01:00
codexp
c6e81f2882 add support for cyrillic cahracters 2018-03-24 20:35:42 +01:00
Vanessa Ezekowitz
a755607f7d remove unneeded recipe for locked sign 2017-09-25 23:29:44 -04:00
fat115
96161c18dc updated intllib method (po/pot files)
added french translation (complete)
german and spanish translations are incomplete
2017-07-31 18:55:35 +02:00
tenplus1
cba3e847d9 add nil check
add nil check to fix this error: https://github.com/minetest-mods/signs_lib/issues/18
2017-07-19 19:46:54 +01:00
AntumDeluge
a33f58df61 Replace deprecated methods:
- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'
2017-05-12 21:57:11 -07:00
Dorian Wouters
523978edcf
Fix unplaceable signs on blocks w/ on_rightclick when sneaking 2017-03-05 13:56:13 -05:00
Vanessa Ezekowitz
7657d0d1f2 pass pointed_thing to on_rightclick 2017-01-28 06:59:19 -05:00
xisd
9daf035d44 colored metal signs optional and display size
That a small change but for someone who try to prevent having one craft guide page per item (and multiples variants) it make all the difference :)
This mod is great but it would be even greater if it was easier to configure
like an option use_big_font_size that would change CHARS_PERLINE from 30 to 12  and NUMBER_OF_LINES from 6 to 3
(I tried to do that but I failed)
2016-10-04 10:43:07 +02:00
Vanessa Ezekowitz
db0973439c minor API change: defaultcolor -> default_color 2016-09-15 08:40:16 -04:00
Vanessa Ezekowitz
4481ea8726 infinite stacks only depend on creative mode now
(don't care of unified inventory is installed)
2016-09-15 08:33:23 -04:00
Vanessa Ezekowitz
9dab7d8736 add default steel sign to restore-entities LBM 2016-09-15 07:57:34 -04:00
Vanessa Ezekowitz
a6caa51a85 allow custom nodes to define the text entity's size
in your node def, add:

text_size = {x=foo, y=bar},

Size defaults to x=0.8 and y=0.5, respectively.
2016-09-15 07:20:34 -04:00
Vanessa Ezekowitz
707f28c309 removed metal sign -> locked wooden sign recipe
(makes no sense in practice)
2016-09-09 06:45:50 -04:00
Vanessa Ezekowitz
a6be7f222d Allow setting default text color in sign node def
Caveat: signs used to reset the text color to black at the start of each
line. Now, they reset to the node's default text color, after which
users' "#x" color codes are applied.  This means some signs will change
to a new color where the user didn't explicitly set it.  This will only
be visible on green, red w/white border, white w/red border, blue, and
brown metal signs, as these have either white or red as the new default
color.  All other signs will render in black, as usual.
2016-09-09 05:37:36 -04:00