Compare commits
11 Commits
2021-02-25
...
52e4fe1b0b
Author | SHA1 | Date | |
---|---|---|---|
52e4fe1b0b | |||
2bf2651cee | |||
aafa748f92 | |||
efb6d93204 | |||
39f571f788 | |||
c09527c029 | |||
0f31f4832c | |||
108f0dad1a | |||
023966f9c4 | |||
79bc4755dd | |||
b081594e2c |
5
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",
|
||||
@ -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 |