Vanessa Dannenberg
78418de9c9
create a generic hanging sign feature and
...
move basic_signs' hanging wooden sign back to here, use it.
2019-09-15 01:23:40 -04:00
Vanessa Dannenberg
f6673dc0f1
added a proper register-sign API call
...
(see api.lua and standard_signs.lua for examples)
make selectionbox call now ignores the old onpole flag (it's automatic now)
removed debug print()'s
moved the signs-on-fences lbm settings to here, from basic_signs.
some misc cleanups
added reference models for standard wooden sign ("wallmounted" on wall,
"facedir" on wall, and pole-mount variants, using standard-size pole
mount), and a separate .blend with street_signs' OM3 sign on slim pole
mount.
2019-09-14 22:45:01 -04:00
Vanessa Dannenberg
fe57c23132
Add standard wood and steel signs sound defs
...
use them in standard signs.
2019-09-14 17:59:21 -04:00
Vanessa Dannenberg
94745e123e
get standard sign groups directly from the original default node defs
...
(instead of hard-coding them)
2019-09-14 17:45:42 -04:00
Vanessa Dannenberg
5131eac4bb
Move text entity out a bit further from sign surface
...
was ~7.81 mm (2/256), now ~11.72 mm (3/256)
2019-09-14 17:31:38 -04:00
Vanessa Dannenberg
de69b246ec
fix wrong priv
2019-09-13 17:12:40 -04:00
Vanessa Dannenberg
e2d522373d
add chat command to sweep-away
...
and regenerate all sign entities in loaded map
(uses LBM to log all loaded blocks,
but only those with nodes in "group:sign").
2019-09-13 16:51:51 -04:00
Vanessa Dannenberg
d262f95744
fix bad material order in facedir-onpole model
2019-09-12 12:01:51 -04:00
Vanessa Dannenberg
d34d27bb81
fix 'dummy' formspec images (the hacky way)
2019-09-12 11:31:19 -04:00
Vanessa Dannenberg
e86ab17aea
Fix bad UV mapping and font settings on standard signs
2019-09-12 00:29:40 -04:00
Vanessa Dannenberg
261e519e72
allow rotation to all 6 faces for both wallmounted and facedir signs, make them follow the same rotation pattern.
2019-09-11 17:03:48 -04:00
Vanessa Dannenberg
fb77cc5708
Fix missing offsets on wallmount selboxes
2019-09-11 16:21:44 -04:00
Vanessa Dannenberg
4614d66cbe
Fix broken/bad screwdriver rotation handling
2019-09-11 16:03:02 -04:00
Vanessa Dannenberg
eba3ce1308
fix incorrect "onpole" activation when placing on top/bottom of post
2019-09-11 15:17:19 -04:00
Vanessa Dannenberg
4ff54c9a4d
Re-built onto the new API formerly part of my street_signs mod
...
Any sign can now use a 15 or 31 px font, at any reasonable visual scale,
line width, number of lines, etc.
Split most signs off into a separate mod, basic_signs, which depends on
this one. Only the default minetest_game wood and steel signs remain in
signs_lib, completely redefined. The wall/yard/ceiling function for
wooden signs has been rewitten and moved to basic_signs, too.
signs_lib can now put almost any wall sign onto almost any kind of
posts/fence, as with most signs in my street_signs mod. Mods can add
their fences/posts to its "allowed" list, if needed (signs_lib tries to
detect most kinds of suitable fences, poles, posts, etc).
All signs affected by these changes are similar to what they've always
been, for continuity. The main difference is that they all use a 15px
font now, with a slightly larger scale, and the positions of some have
changed slightly.
Dropped the old "@KEYWORD" feature (but it could be re-added if it turns
out to be needed), and most of the old cruft like "|" for line breaks.
Created new wood and steel sign textures, derived from HDX.
See standard_signs.lua for examples of how the new API is used. The
"standard" text sizing/position/etc. variables are all at the top of
api.lua.
2019-09-11 12:03:04 -04:00
Vanessa Dannenberg
16f839943b
remove redundant node redefine
2019-05-31 14:40:30 -04:00
Vanessa Dannenberg
1d33e15ea5
rework sign type and ownership checks
...
minor tweaks elsewhere to fit those changes
got rid of a couple of obsolete MT/mtg version checks
2019-05-27 13:32:16 -04:00
Vanessa Dannenberg
dfa47c2519
add protection and ownership checks to default metal sign
2019-05-25 04:45:30 -04:00
Vanessa Dannenberg
34a7242616
add protection checks to all rotate functions
...
add ownership check to rotation of locked sign
2019-05-25 04:38:17 -04:00
cheapie
c199a33bb8
Cache character textures
2018-11-21 18:49:13 -06:00
Vanessa Dannenberg
b057341a07
license fixups: use LGPL 3.0 for code,
...
CC-by-SA 4.0 for media and everything else
2018-11-08 19:02:48 -05:00
Vanessa Dannenberg
eee4cb8112
use basic_materials for padlock
...
to make locked sign
2018-10-31 13:29:06 -04:00
Vanessa Dannenberg
0f78ef70de
add arrow symbols to fonts
...
accessible by putting ^1 to ^8 (think "arrow number 1", etc) in your text
for narrow-width arrows (good for "wide font" highway signs), or ^a to ^h
for double-width arrows (good for all of the normal narrow-font signs).
in order, arrows 1 and "a" point up, 2/b points up-and-right, 3/c points
right, and so on, turning clockwise
Any other ^x pair just renders directly (no escape char, sorry)
2018-10-09 07:49:41 -04:00
Vanessa Dannenberg
fac33e369f
Merge branch 'patch-1' into 'master'
...
pass node information to sign update function, remove all entities on update incase of rogue
See merge request VanessaE/signs_lib!1
2018-09-26 19:21:22 +00:00
tenplus1
00148f4770
remove print
2018-09-26 12:21:17 +00:00
tenplus1
e57faeb8cf
pass node information to sign update function, remove all entities on update incase of rogue
2018-09-26 12:13:34 +00:00
Vanessa Dannenberg
6995c3e768
fix screwdriver rotation on all sign types
...
add it where missing
2018-09-26 05:14:27 -04:00
Vanessa Dannenberg
69b172f001
ditto for orange sign
2018-09-25 22:52:41 -04:00
Vanessa Dannenberg
908a087570
tweak yellow signs to comply with MUTCD 2009
2018-09-25 21:21:12 -04:00
Vanessa Dannenberg
a2f7f62bf2
Merge pull request #32 from Jat15/patch-unknown
...
Fix crash if sign is "unknown block"
2018-05-24 23:46: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
Vanessa Dannenberg
dc16606b8a
Merge pull request #29 from codexp/german-translation
...
update german translation
2018-05-11 09:00:28 -04:00
Vanessa Dannenberg
2a521af511
Merge pull request #28 from codexp/russian-translation
...
add Russian translation
2018-05-11 09:00:13 -04:00
codexp
2af55ad7c5
update german translation
2018-03-24 22:39:40 +01: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 Dannenberg
fc529993b8
Merge pull request #23 from MuhdNurHidayat/master
...
Add Malay translation
2017-11-16 14:02:06 -05:00
Muhammad Nur Hidayat Yasuyoshi (MNH48.com)
2ac9f2d3f4
Add Malay translation
2017-11-17 02:38:46 +08:00
Vanessa Ezekowitz
a755607f7d
remove unneeded recipe for locked sign
2017-09-25 23:29:44 -04:00
Vanessa Ezekowitz
f6b8c941c3
Merge pull request #21 from fat115/master
...
updated intllib method (po/pot files)
2017-08-12 16:28:58 -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
Vanessa Ezekowitz
217ea08cac
Merge pull request #20 from tenplus1/patch-1
...
add nil check
2017-07-20 01:44:27 -04: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
Carlos Barraza
3e001599a6
Add spanish translation.
2017-05-20 12:10:41 -03:00
Vanessa Ezekowitz
347d6ffaa4
Merge pull request #14 from AntumDeluge/settings
...
Replace deprecated methods
2017-05-18 05:44:03 -04:00
Vanessa Ezekowitz
1470570405
Merge pull request #13 from AntumDeluge/craft_guide
...
Add cornernote's 'craft_guide' as optional dependency:
2017-05-18 05:43:55 -04: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
AntumDeluge
770978c632
Add cornernote's 'craft_guide' as optional dependency:
...
http://cornernote.github.io/minetest-craft_guide/
2017-05-11 12:10:12 -07:00
Vanessa Ezekowitz
2c36937054
Merge pull request #11 from MinetestForFun/master
...
Fix unplaceable signs on blocks w/ on_rightclick when sneaking
2017-03-05 14:19:52 -05:00