Page 1 of 1

[Mod] lemon_signs [lemon_signs]

Posted: Sun Feb 04, 2018 16:34
by lemon-melon
This is my first time modding. Based on the LCD display in the digilines mod, but with some formatting available.

I may not have much time to work on this.

- <display 2 3> to change the display dimensions
- <c #C0FFEE> to change the foreground color
- <bg #C0FFEE> to change the background color
- <bdr #ABCDEF> to change the border color
- <n> for a newline
- <n s=3> to change the text size
- <lt> and <gt> to use the < and > characters normally

Known issues

- The code is very slow.
- When changing font sizes there is sometimes overlap between lines.
- You can't change font size within a line.
- You need to do line wrapping manually.
- Large displays should require multiple blocks.
- No crafting.
- Is there a better licence?

Download at https://github.com/lemon-melon/lemon_signs

Image

(It's nothing to do with lemons, that's just a unique name based on my username.)
Screenshot from 2018-02-04 16-25-23.png
Screenshot from 2018-02-04 16-25-23.png (308.05 KiB) Viewed 212 times

Re: [Mod] lemon_signs [lemon_signs]

Posted: Sun Feb 04, 2018 18:33
by azekill_DIABLO
it looks awesome. I first expected lemons on signs, to be honest, and i'm surprised!

use this code in your post to display your images:

Code: Select all

[img]<url of image>[/img]
So for this is:

Code: Select all

[img]https://forum.minetest.net/download/file.php?id=14014[/img]
It does this:
Image

Re: [Mod] lemon_signs [lemon_signs]

Posted: Sun Feb 04, 2018 18:47
by lemon-melon
azekill_DIABLO wrote:it looks awesome. I first expected lemons on signs, to be honest, and i'm surprised!

use this code in your post to display your images:

Code: Select all

[img]<url of image>[/img]
So for this is:

Code: Select all

[img]https://forum.minetest.net/download/file.php?id=14014[/img]
It does this:
Image
Thanks!