]> git.lizzy.rs Git - signs_lib.git/log
signs_lib.git
4 years agocentralize entity handling
Vanessa Dannenberg [Wed, 18 Sep 2019 17:51:53 +0000 (13:51 -0400)]
centralize entity handling
minor re-factor as needed for that
don't store entities statically, let the LBM generate them.

this works around Minetest's reload-positioning inaccuracy at very large
positive or negative X/Z coords (tested -18000/+18000 at all four corners,
both new signs and after reboot)

4 years agotreat streets:streetlamp_basic_top_* as a type of post
Vanessa Dannenberg [Tue, 17 Sep 2019 02:46:26 +0000 (22:46 -0400)]
treat streets:streetlamp_basic_top_* as a type of post
as far as sign placement is concerned.

4 years agofix non-writable signs not fitting onto a pole/fence
Vanessa Dannenberg [Sun, 15 Sep 2019 22:37:03 +0000 (18:37 -0400)]
fix non-writable signs not fitting onto a pole/fence

4 years agoUse sign formspec to switch between wide/narrow font
Vanessa Dannenberg [Sun, 15 Sep 2019 20:10:11 +0000 (16:10 -0400)]
Use sign formspec to switch between wide/narrow font

if available on a given sign.  The sign must have a
"foo:bar_widefont" variant, with the horizontal scaling set
appropriately (about half of the normal value for the
narrow-font sign)

Add new corresponding API to anto-generate those signs where
desired; use this feature in default wood and steel signs

4 years agoadd "wide font" overlay image
Vanessa Dannenberg [Sun, 15 Sep 2019 07:18:52 +0000 (03:18 -0400)]
add "wide font" overlay image

4 years agoAllow mod to specify custom selbox for on-pole variants
Vanessa Dannenberg [Sun, 15 Sep 2019 05:56:41 +0000 (01:56 -0400)]
Allow mod to specify custom selbox for on-pole variants

4 years agoallow locked and all steel signs to hang from ceiling
Vanessa Dannenberg [Sun, 15 Sep 2019 05:26:05 +0000 (01:26 -0400)]
allow locked and all steel signs to hang from ceiling

4 years agocreate a generic hanging sign feature and
Vanessa Dannenberg [Sun, 15 Sep 2019 05:23:40 +0000 (01:23 -0400)]
create a generic hanging sign feature and
move basic_signs' hanging wooden sign back to here, use it.

4 years agoadded a proper register-sign API call
Vanessa Dannenberg [Sun, 15 Sep 2019 00:46:20 +0000 (20:46 -0400)]
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.

4 years agoAdd standard wood and steel signs sound defs
Vanessa Dannenberg [Sat, 14 Sep 2019 21:59:21 +0000 (17:59 -0400)]
Add standard wood and steel signs sound defs
use them in standard signs.

4 years agoget standard sign groups directly from the original default node defs
Vanessa Dannenberg [Sat, 14 Sep 2019 21:42:51 +0000 (17:42 -0400)]
get standard sign groups directly from the original default node defs
(instead of hard-coding them)

4 years agoMove text entity out a bit further from sign surface
Vanessa Dannenberg [Sat, 14 Sep 2019 21:30:07 +0000 (17:30 -0400)]
Move text entity out a bit further from sign surface
was ~7.81 mm (2/256), now ~11.72 mm (3/256)

4 years agofix wrong priv
Vanessa Dannenberg [Fri, 13 Sep 2019 21:12:40 +0000 (17:12 -0400)]
fix wrong priv

4 years agoadd chat command to sweep-away
Vanessa Dannenberg [Fri, 13 Sep 2019 20:51:51 +0000 (16:51 -0400)]
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").

4 years agofix bad material order in facedir-onpole model
Vanessa Dannenberg [Thu, 12 Sep 2019 16:01:51 +0000 (12:01 -0400)]
fix bad material order in facedir-onpole model

4 years agofix 'dummy' formspec images (the hacky way)
Vanessa Dannenberg [Thu, 12 Sep 2019 15:31:19 +0000 (11:31 -0400)]
fix 'dummy' formspec images (the hacky way)

4 years agoFix bad UV mapping and font settings on standard signs
Vanessa Dannenberg [Thu, 12 Sep 2019 04:29:40 +0000 (00:29 -0400)]
Fix bad UV mapping and font settings on standard signs

4 years agoallow rotation to all 6 faces for both wallmounted and facedir signs, make them follo...
Vanessa Dannenberg [Wed, 11 Sep 2019 21:03:48 +0000 (17:03 -0400)]
allow rotation to all 6 faces for both wallmounted and facedir signs, make them follow the same rotation pattern.

4 years agoFix missing offsets on wallmount selboxes
Vanessa Dannenberg [Wed, 11 Sep 2019 20:21:44 +0000 (16:21 -0400)]
Fix missing offsets on wallmount selboxes

4 years agoFix broken/bad screwdriver rotation handling
Vanessa Dannenberg [Wed, 11 Sep 2019 19:54:50 +0000 (15:54 -0400)]
Fix broken/bad screwdriver rotation handling

4 years agofix incorrect "onpole" activation when placing on top/bottom of post
Vanessa Dannenberg [Wed, 11 Sep 2019 19:17:19 +0000 (15:17 -0400)]
fix incorrect "onpole" activation when placing on top/bottom of post

4 years agoRe-built onto the new API formerly part of my street_signs mod
Vanessa Dannenberg [Wed, 11 Sep 2019 16:03:04 +0000 (12:03 -0400)]
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.

5 years agoremove redundant node redefine
Vanessa Dannenberg [Fri, 31 May 2019 18:40:30 +0000 (14:40 -0400)]
remove redundant node redefine

5 years agorework sign type and ownership checks
Vanessa Dannenberg [Mon, 27 May 2019 15:52:43 +0000 (11:52 -0400)]
rework sign type and ownership checks
minor tweaks elsewhere to fit those changes

got rid of a couple of obsolete MT/mtg version checks

5 years agoadd protection and ownership checks to default metal sign
Vanessa Dannenberg [Sat, 25 May 2019 08:45:30 +0000 (04:45 -0400)]
add protection and ownership checks to default metal sign

5 years agoadd protection checks to all rotate functions
Vanessa Dannenberg [Sat, 25 May 2019 08:38:17 +0000 (04:38 -0400)]
add protection checks to all rotate functions
add ownership check to rotation of locked sign

5 years agoCache character textures
cheapie [Thu, 22 Nov 2018 00:49:13 +0000 (18:49 -0600)]
Cache character textures

5 years agolicense fixups: use LGPL 3.0 for code,
Vanessa Dannenberg [Fri, 9 Nov 2018 00:02:48 +0000 (19:02 -0500)]
license fixups:  use LGPL 3.0 for code,
CC-by-SA 4.0 for media and everything else

5 years agouse basic_materials for padlock
Vanessa Dannenberg [Wed, 31 Oct 2018 17:29:06 +0000 (13:29 -0400)]
use basic_materials for padlock
to make locked sign

5 years agoadd arrow symbols to fonts
Vanessa Dannenberg [Tue, 9 Oct 2018 11:49:41 +0000 (07:49 -0400)]
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)

5 years agoMerge branch 'patch-1' into 'master'
Vanessa Dannenberg [Wed, 26 Sep 2018 19:21:22 +0000 (19:21 +0000)]
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

5 years agoremove print
tenplus1 [Wed, 26 Sep 2018 12:21:17 +0000 (12:21 +0000)]
remove print

5 years agopass node information to sign update function, remove all entities on update incase...
tenplus1 [Wed, 26 Sep 2018 12:13:34 +0000 (12:13 +0000)]
pass node information to sign update function, remove all entities on update incase of rogue

5 years agofix screwdriver rotation on all sign types
Vanessa Dannenberg [Wed, 26 Sep 2018 09:14:27 +0000 (05:14 -0400)]
fix screwdriver rotation on all sign types
add it where missing

5 years agoditto for orange sign
Vanessa Dannenberg [Wed, 26 Sep 2018 02:52:41 +0000 (22:52 -0400)]
ditto for orange sign

5 years agotweak yellow signs to comply with MUTCD 2009
Vanessa Dannenberg [Wed, 26 Sep 2018 01:21:12 +0000 (21:21 -0400)]
tweak yellow signs to comply with MUTCD 2009

6 years agoMerge pull request #32 from Jat15/patch-unknown
Vanessa Dannenberg [Fri, 25 May 2018 03:46:32 +0000 (23:46 -0400)]
Merge pull request #32 from Jat15/patch-unknown

Fix crash if sign is "unknown block"

6 years agoFix crash if sign is "unknown block"
Jat15 [Fri, 25 May 2018 01:01:24 +0000 (03:01 +0200)]
Fix crash if sign is "unknown block"

6 years agoMerge pull request #26 from codexp/issue-25
Vanessa Dannenberg [Fri, 11 May 2018 13:21:51 +0000 (09:21 -0400)]
Merge pull request #26 from codexp/issue-25

add support for cyrillic characters

6 years agoMerge pull request #29 from codexp/german-translation
Vanessa Dannenberg [Fri, 11 May 2018 13:00:28 +0000 (09:00 -0400)]
Merge pull request #29 from codexp/german-translation

update german translation

6 years agoMerge pull request #28 from codexp/russian-translation
Vanessa Dannenberg [Fri, 11 May 2018 13:00:13 +0000 (09:00 -0400)]
Merge pull request #28 from codexp/russian-translation

add Russian translation

6 years agoupdate german translation
codexp [Sat, 24 Mar 2018 21:39:40 +0000 (22:39 +0100)]
update german translation

6 years agoadd russian translation
codexp [Sat, 24 Mar 2018 21:27:54 +0000 (22:27 +0100)]
add russian translation

6 years agoadd support for cyrillic cahracters
codexp [Sat, 24 Mar 2018 19:35:42 +0000 (20:35 +0100)]
add support for cyrillic cahracters

6 years agoMerge pull request #23 from MuhdNurHidayat/master
Vanessa Dannenberg [Thu, 16 Nov 2017 19:02:06 +0000 (14:02 -0500)]
Merge pull request #23 from MuhdNurHidayat/master

Add Malay translation

6 years agoAdd Malay translation
Muhammad Nur Hidayat Yasuyoshi (MNH48.com) [Thu, 16 Nov 2017 18:38:46 +0000 (02:38 +0800)]
Add Malay translation

6 years agoremove unneeded recipe for locked sign
Vanessa Ezekowitz [Tue, 26 Sep 2017 03:29:44 +0000 (23:29 -0400)]
remove unneeded recipe for locked sign

6 years agoMerge pull request #21 from fat115/master
Vanessa Ezekowitz [Sat, 12 Aug 2017 20:28:58 +0000 (16:28 -0400)]
Merge pull request #21 from fat115/master

updated intllib method (po/pot files)

6 years agoupdated intllib method (po/pot files)
fat115 [Mon, 31 Jul 2017 16:55:35 +0000 (18:55 +0200)]
updated intllib method (po/pot files)
added french translation (complete)
german and spanish translations are incomplete

6 years agoMerge pull request #20 from tenplus1/patch-1
Vanessa Ezekowitz [Thu, 20 Jul 2017 05:44:27 +0000 (01:44 -0400)]
Merge pull request #20 from tenplus1/patch-1

add nil check

6 years agoadd nil check
tenplus1 [Wed, 19 Jul 2017 18:46:54 +0000 (19:46 +0100)]
add nil check

add nil check to fix this error: https://github.com/minetest-mods/signs_lib/issues/18

7 years agoAdd spanish translation.
Carlos Barraza [Thu, 27 Apr 2017 19:32:34 +0000 (16:32 -0300)]
Add spanish translation.

7 years agoMerge pull request #14 from AntumDeluge/settings
Vanessa Ezekowitz [Thu, 18 May 2017 09:44:03 +0000 (05:44 -0400)]
Merge pull request #14 from AntumDeluge/settings

Replace deprecated methods

7 years agoMerge pull request #13 from AntumDeluge/craft_guide
Vanessa Ezekowitz [Thu, 18 May 2017 09:43:55 +0000 (05:43 -0400)]
Merge pull request #13 from AntumDeluge/craft_guide

Add cornernote's 'craft_guide' as optional dependency:

7 years agoReplace deprecated methods:
AntumDeluge [Sat, 13 May 2017 04:57:11 +0000 (21:57 -0700)]
Replace deprecated methods:

- 'setting_get' with 'settings:get'
- 'setting_getbool' with 'settings:get_bool'

7 years agoAdd cornernote's 'craft_guide' as optional dependency:
AntumDeluge [Thu, 11 May 2017 19:10:12 +0000 (12:10 -0700)]
Add cornernote's 'craft_guide' as optional dependency:

http://cornernote.github.io/minetest-craft_guide/

7 years agoMerge pull request #11 from MinetestForFun/master
Vanessa Ezekowitz [Sun, 5 Mar 2017 19:19:52 +0000 (14:19 -0500)]
Merge pull request #11 from MinetestForFun/master

Fix unplaceable signs on blocks w/ on_rightclick when sneaking

7 years agoFix unplaceable signs on blocks w/ on_rightclick when sneaking
Dorian Wouters [Sun, 5 Mar 2017 18:56:13 +0000 (13:56 -0500)]
Fix unplaceable signs on blocks w/ on_rightclick when sneaking

7 years agopass pointed_thing to on_rightclick
Vanessa Ezekowitz [Sat, 28 Jan 2017 11:59:19 +0000 (06:59 -0500)]
pass pointed_thing to on_rightclick

7 years agoMerge pull request #7 from xisd/patch-1
Vanessa Ezekowitz [Tue, 4 Oct 2016 09:14:42 +0000 (05:14 -0400)]
Merge pull request #7 from xisd/patch-1

make colored metal signs optional (default to enabled)

7 years agocolored metal signs optional and display size
xisd [Tue, 4 Oct 2016 08:43:07 +0000 (10:43 +0200)]
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)

7 years agominor API change: defaultcolor -> default_color
Vanessa Ezekowitz [Thu, 15 Sep 2016 12:40:16 +0000 (08:40 -0400)]
minor API change: defaultcolor -> default_color

7 years agoinfinite stacks only depend on creative mode now
Vanessa Ezekowitz [Thu, 15 Sep 2016 12:33:23 +0000 (08:33 -0400)]
infinite stacks only depend on creative mode now
(don't care of unified inventory is installed)

7 years agoadd default steel sign to restore-entities LBM
Vanessa Ezekowitz [Thu, 15 Sep 2016 11:57:34 +0000 (07:57 -0400)]
add default steel sign to restore-entities LBM

7 years agoallow custom nodes to define the text entity's size
Vanessa Ezekowitz [Thu, 15 Sep 2016 10:57:38 +0000 (06:57 -0400)]
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.

7 years agoremoved metal sign -> locked wooden sign recipe
Vanessa Ezekowitz [Fri, 9 Sep 2016 10:45:50 +0000 (06:45 -0400)]
removed metal sign -> locked wooden sign recipe
(makes no sense in practice)

7 years agoAllow setting default text color in sign node def
Vanessa Ezekowitz [Fri, 9 Sep 2016 09:37:36 +0000 (05:37 -0400)]
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.

7 years agoadded option to specify text position when making a custom sign node
Vanessa Ezekowitz [Fri, 9 Sep 2016 08:32:51 +0000 (04:32 -0400)]
added option to specify text position when making a custom sign node

7 years agoremove debug stuff
Vanessa Ezekowitz [Fri, 9 Sep 2016 08:14:14 +0000 (04:14 -0400)]
remove debug stuff

7 years agoadd support for visible text on default steel signs
Vanessa Ezekowitz [Fri, 9 Sep 2016 08:08:20 +0000 (04:08 -0400)]
add support for visible text on default steel signs
(if defined by subgame)

7 years agoUse minetest_game steel sign to craft the various colored metal signs
Vanessa Ezekowitz [Fri, 9 Sep 2016 07:45:25 +0000 (03:45 -0400)]
Use minetest_game steel sign to craft the various colored metal signs
instead of using steel ingots.  Reduced yield to one per craft.

(the "sheet metal" recipes still exist for users of "steel" mod, yield
there is unchanged)

7 years agoadjusted positions of all signs' entities
Vanessa Ezekowitz [Fri, 9 Sep 2016 07:28:32 +0000 (03:28 -0400)]
adjusted positions of all signs' entities
to move them to approx. 1 pixels in front of the surface

(trying to workaround an apparent irrlicht/Minetest precision glitch on
entity reload)

7 years agoClarify comment/reason for LBM
Vanessa Ezekowitz [Fri, 9 Sep 2016 06:55:21 +0000 (02:55 -0400)]
Clarify comment/reason for LBM

7 years agoMerge pull request #6 from cheapie/master
Vanessa Ezekowitz [Sat, 3 Sep 2016 21:59:15 +0000 (17:59 -0400)]
Merge pull request #6 from cheapie/master

Use LBM instead of ABM to restore sign text

7 years agoUse LBM instead of ABM to restore sign text
Carter Kolwey [Sat, 3 Sep 2016 20:09:55 +0000 (15:09 -0500)]
Use LBM instead of ABM to restore sign text

8 years ago"debug" is not a valid log level.
Auke Kok [Sun, 24 Apr 2016 02:57:16 +0000 (19:57 -0700)]
"debug" is not a valid log level.

8 years agoAdd screenshot.png
Auke Kok [Mon, 28 Mar 2016 05:24:35 +0000 (22:24 -0700)]
Add screenshot.png

8 years agoAdding standard mod files
Auke Kok [Mon, 28 Mar 2016 04:35:38 +0000 (21:35 -0700)]
Adding standard mod files

8 years agoSupport renamed default wooden sign.
Diego Martinez [Mon, 14 Mar 2016 23:09:45 +0000 (20:09 -0300)]
Support renamed default wooden sign.

8 years agoFirst commit.
Diego Martinez [Mon, 14 Mar 2016 22:03:44 +0000 (19:03 -0300)]
First commit.

Split from [homedecor](https://github.com/VanessaE/homedecor_modpack).
See the homedecor repository's commit log for full history.

Additionally, removed extra fonts. These will be distributed separately
to avoid bloating the repo too much.