Commit Graph

5 Commits

Author SHA1 Message Date
Vanessa Dannenberg dcdee22265 allow mods to pass a function or just `true`
to the pole and horiz pole check routines, in case they need
their own, custom checking routines, if the usual, simple
checks aren't good enough.

got rid of the allowed-poles table, as it's now obsolete

moved all existing special code into compat.lua, altered to
use this feature.
2019-09-22 03:19:31 -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 eee4cb8112 use basic_materials for padlock
to make locked sign
2018-10-31 13:29:06 -04: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
Diego Martinez 7d87049693 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.
2016-03-14 19:03:44 -03:00