1
0
mirror of https://github.com/mt-mods/led_marquee.git synced 2025-07-21 09:40:29 +02:00

12 Commits

8 changed files with 7 additions and 8 deletions

View File

@ -1,5 +0,0 @@
default
digilines
mesecons_luacontroller
mesecons_microcontroller?
mesecons_lamp?

View File

@ -1 +0,0 @@
This mod provides a simple LED marquee that accepts single characters, strings, and special control words via digilines.

View File

@ -388,7 +388,7 @@ local on_digiline_receive_string = function(pos, node, channel, msg)
end
else
local asc = string.byte(msg)
if asc > 29 and asc < 256 then
if asc > 30 and asc < 256 then
minetest.swap_node(pos, { name = "led_marquee:char_"..asc, param2 = fdir + (last_color*8)})
meta:set_string("last_msg", tostring(msg))
meta:set_int("index", 1)
@ -437,7 +437,7 @@ for i = 31, 255 do
inventory_image = wimage,
wield_image = wimage,
palette="led_marquee_palette.png",
use_texture_alpha = true,
use_texture_alpha = "blend",
groups = groups,
paramtype = "light",
paramtype2 = "colorwallmounted",
@ -479,3 +479,4 @@ minetest.register_craft({
},
})
minetest.log("action", "[led_marquee] loaded.")

View File

@ -1,2 +1,6 @@
name = led_marquee
title = LED Marquee
description = This mod provides a simple LED marquee that accepts single characters, strings, and special control words via digilines.
depends = default,digilines,mesecons_luacontroller
optional_depends = mesecons_microcontroller,mesecons_lamp
min_minetest_version = 5.2.0

Binary file not shown.

Before

Width:  |  Height:  |  Size: 137 B

After

Width:  |  Height:  |  Size: 145 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 165 B

After

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 189 B

After

Width:  |  Height:  |  Size: 168 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 115 B

After

Width:  |  Height:  |  Size: 83 B