mirror of
https://cheapiesystems.com/git/digiscreen
synced 2024-12-04 20:53:44 +01:00
Add luacheck configuration and fix deprecated digilines API usage
This commit is contained in:
parent
8472cc3178
commit
32ce8664dd
8
.luacheckrc
Normal file
8
.luacheckrc
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
max_line_length = 160
|
||||||
|
|
||||||
|
read_globals = {
|
||||||
|
"minetest",
|
||||||
|
"vector",
|
||||||
|
"digilines",
|
||||||
|
"screwdriver",
|
||||||
|
}
|
2
init.lua
2
init.lua
@ -136,7 +136,7 @@ minetest.register_node("digiscreen:digiscreen",{
|
|||||||
end,
|
end,
|
||||||
digiline = {
|
digiline = {
|
||||||
wire = {
|
wire = {
|
||||||
rules = digiline.rules.default,
|
rules = digilines.rules.default,
|
||||||
},
|
},
|
||||||
effector = {
|
effector = {
|
||||||
action = function(pos,_,channel,msg)
|
action = function(pos,_,channel,msg)
|
||||||
|
Loading…
Reference in New Issue
Block a user