Commit Graph

45 Commits

Author SHA1 Message Date
Diego Martinez
8e953b4ee8 Add safeguard to prevent entity duplication. 2014-09-27 15:44:55 -03:00
Diego Martinez
5dd778cbdf Quick patch to fix texture errors.
Reportedly, the color would be nil in some rare case.
2014-09-19 15:57:20 -03:00
Diego Martinez
9901cd6dde Fix word wrapping 2014-09-08 00:46:44 -03:00
Vanessa Ezekowitz
338dc8a38f Add a color reference to the signs dialog 2014-09-01 22:31:56 -04:00
Vanessa Ezekowitz
91a9eaaeda add all of the recently-added signs to the auto-update ABM 2014-08-31 01:14:57 -04:00
Vanessa Ezekowitz
b6892806b8 fix locked sign ownership 2014-08-28 19:10:30 -04:00
Vanessa Ezekowitz
76b0435163 add locked wall sign, drop-in replacement for the old locked_sign mod
except because they used the old legacy wallmount draw type, you will have
to use the screwdriver to rotate these signs after updating.
2014-08-17 15:53:22 -04:00
Vanessa Ezekowitz
5d73e994a7 better handling of abusive sign input,
avoid breaking old signs' word wrapping

also increase the sign input limit to 600 chars, to allow for ample amounts of
color codes.
2014-08-11 21:08:59 -04:00
Vanessa Ezekowitz
6d73ca3f9f Added more metal sign colors
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).
2014-08-10 11:47:44 -04:00
Vanessa Ezekowitz
03902e5392 trim text to 480 chars on input
hard-cut rendered text to SIGNS_WIDTH

(text already stored in a sign is unaffected)
2014-08-08 23:47:20 -04:00
Vanessa Ezekowitz
d652a47f69 make signs auto-recover after /clearobjects 2014-08-05 21:09:55 -04:00
Vanessa Ezekowitz
c26d52ebdd PNGCRUSH _ALL_ THE TEXTURES! "\_:D/ 2014-08-04 13:47:16 -04:00
Vanessa Ezekowitz
e47b86f789 raise green and yellow signs' fronts to 32px
(the black and white borders are too thick at 16px)
2014-08-03 23:34:57 -04:00
Vanessa Ezekowitz
86cf33201d add green and yellow wall signs
(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.
2014-08-03 21:03:56 -04:00
Vanessa Ezekowitz
5f34d62ceb rename green/yellow sign images for consistency 2014-08-03 20:16:35 -04:00
Vanessa Ezekowitz
37ed09edae consolidate text pos and nodebox def tables
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.
2014-08-03 19:53:52 -04:00
Vanessa Ezekowitz
c5ce3bc53d texture and size cleanups on signs
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
2014-08-03 19:44:21 -04:00
Diego Martinez
d408c04d5e Fix signs' text not rendering correctly after restart. 2014-07-21 13:19:46 -03:00
Diego Martinez
6518120958 Change formspec to use textarea element.
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.
2014-07-16 14:08:37 -03:00
Vanessa Ezekowitz
316f03b95a Add background image to signs_lib formspec 2014-07-14 14:45:43 -04:00
Vanessa Ezekowitz
bcdd04b7f4 fix crash in signs_lib 2014-07-06 06:56:31 -04:00
Diego Martínez
a985c6f868 Fix signs not subtracting from stack.
Reported by Zeno`.
2014-06-30 22:31:38 -03:00
Vanessa Ezekowitz
7e2052fe98 added stock green and yellow sign images.
fits wall and yard sign models only, not used within this mod (for
use by other, third-party mods).  uses one common grey "metal" back image.
2014-06-23 07:10:46 -04:00
Vanessa Ezekowitz
7821848a7a fix indentation error in sign-on-post node def 2014-06-23 06:50:59 -04:00
Vanessa Ezekowitz
8cfe951223 expose signs' entity position tables for API 2014-06-23 06:47:19 -04:00
Vanessa Ezekowitz
9021760e7e functionalize the code for determining the type of sign
to be placed and the on_receive_fields calls, expose them in the API.
2014-06-23 06:33:54 -04:00
Vanessa Ezekowitz
f6e85db33d Add hanging-from-the-ceiling sign
point at the ceiling while placing a regular sign and it becomes a ceiling-
mounted one handing from a pair of short chains.
2014-06-11 00:06:56 -04:00
Vanessa Ezekowitz
9be635cb5f change license to LGPL to conform to what's written in the forum post
since forever.

Also clarify it in the copyright message, spread the license file around
a bit, and remove some useless "last changed" dates since they've been
inaccurate for a long time.
2014-06-06 03:26:42 -04:00
Diego Martinez
cf6e079044 Fix wrapped lines not drawing. 2014-06-04 05:35:46 -03:00
Diego Martinez
c15c0f06ef Remove debugging statement from last addition. 2014-06-03 07:41:43 -03:00
Diego Martinez
0d84bc13e2 Add support for colored text. 2014-06-03 07:04:26 -03:00
Diego Martinez
7bf1c43c2d Fix signs logging for real now. 2014-05-21 05:40:37 -03:00
Diego Martínez
287559ac97 Print actions to log file when players write to signs. 2014-04-26 10:04:30 -03:00
Xanthin
75d684e628 Add german translation. 2014-04-04 09:11:25 -03:00
Xanthin
e702ef9f13 Fixes to translation. 2014-04-04 09:10:26 -03:00
Vanessa Ezekowitz
ab4b89d76b fix missing infinite stacks detection on signs lib 2014-03-14 12:09:59 -04:00
Vanessa Ezekowitz
a9d42ea19d Fix quoting error in signs lib 2014-02-03 20:18:02 -05:00
Vanessa Ezekowitz
a6122f03d9 Remove old ownership code and use Minetest's built-in ownership code instead
Some minor code rewrites here and there to accommodate this changeover.
2014-01-30 15:53:21 -05:00
Vanessa Ezekowitz
b11b3a95ec that time I was a little UNDERzealous with the coloring of the signs :D 2014-01-25 22:07:50 -05:00
Vanessa Ezekowitz
42077fe331 git a little overzealous on the recoloring of the signs textures - forgot that
the posts need to remain plain-wood-colored.
2014-01-25 21:46:31 -05:00
Vanessa Ezekowitz
72f9da9f3b make the signs textures a little darker, more saturated, so that they
stand out better against default wood.
2014-01-25 13:49:11 -05:00
Vanessa Ezekowitz
3231144272 move signs textures to the right mod 2014-01-25 13:42:59 -05:00
Vanessa Ezekowitz
8f003997b1 fix crash, try #2 2014-01-25 13:36:01 -05:00
Vanessa Ezekowitz
8eb5b6c394 fix crash 2014-01-25 13:20:01 -05:00
Vanessa Ezekowitz
e057d357c8 split signs_lib from homedecor, put them into their own separate mods
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
2014-01-25 12:57:05 -05:00