Compare commits
5 Commits
2021-04-14
...
c09527c029
Author | SHA1 | Date | |
---|---|---|---|
c09527c029 | |||
0f31f4832c | |||
023966f9c4 | |||
79bc4755dd | |||
b081594e2c |
3
init.lua
@ -388,7 +388,7 @@ local on_digiline_receive_string = function(pos, node, channel, msg)
|
||||
end
|
||||
else
|
||||
local asc = string.byte(msg)
|
||||
if asc > 30 and asc < 256 then
|
||||
if asc > 29 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)
|
||||
@ -479,3 +479,4 @@ minetest.register_craft({
|
||||
},
|
||||
})
|
||||
|
||||
minetest.log("action", "[led_marquee] loaded.")
|
||||
|
Before Width: | Height: | Size: 137 B After Width: | Height: | Size: 145 B |
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 135 B |
Before Width: | Height: | Size: 189 B After Width: | Height: | Size: 168 B |
Before Width: | Height: | Size: 115 B After Width: | Height: | Size: 83 B |