[Mod] lemon_signs [lemon_signs]

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

[Mod] lemon_signs [lemon_signs]

by lemon-melon » Sun Feb 04, 2018 16:34

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: 7460
Joined: Wed Oct 29, 2014 20:05
Location: OMICRON
GitHub: azekillDIABLO
In-game: azekill_DIABLO

Re: [Mod] lemon_signs [lemon_signs]

by azekill_DIABLO » Sun Feb 04, 2018 18:33

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 » Sun Feb 04, 2018 18:47

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!
 


Return to WIP Mods



Who is online

Users browsing this forum: davidthecreator, gpcf, texmex and 4 guests