[Mod] lemon_signs [lemon_signs]

Post Reply
lemon-melon
New member
Posts: 7
Joined: Mon Jul 10, 2017 13:49
GitHub: lemon-melon

[Mod] lemon_signs [lemon_signs]

by lemon-melon » Post

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
(308.05 KiB) Not downloaded yet
Last edited by lemon-melon on Wed Feb 14, 2018 12:27, edited 3 times in total.

User avatar
azekill_DIABLO
Member
Posts: 7497
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] lemon_signs [lemon_signs]

by azekill_DIABLO » Post

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

lemon-melon
New member
Posts: 7
Joined: Mon Jul 10, 2017 13:49
GitHub: lemon-melon

Re: [Mod] lemon_signs [lemon_signs]

by lemon-melon » Post

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!

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 5 guests