mirror of
https://github.com/mt-mods/led_marquee.git
synced 2025-06-28 22:36:41 +02:00
Compare commits
4 Commits
2021-02-25
...
2021-04-14
Author | SHA1 | Date | |
---|---|---|---|
2bf2651cee | |||
aafa748f92 | |||
39f571f788 | |||
108f0dad1a |
4
init.lua
4
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 > 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",
|
||||
|
Reference in New Issue
Block a user