mirror of
https://github.com/Sokomine/cottages.git
synced 2025-07-20 00:20:23 +02:00
refactor, cleanup, API, bugfixes (#1)
This commit is contained in:
50
.luacheckrc
Normal file
50
.luacheckrc
Normal file
@ -0,0 +1,50 @@
|
||||
std = "lua51+luajit+minetest+cottages"
|
||||
unused_args = false
|
||||
max_line_length = 120
|
||||
|
||||
stds.minetest = {
|
||||
read_globals = {
|
||||
"DIR_DELIM",
|
||||
"minetest",
|
||||
"core",
|
||||
"dump",
|
||||
"vector",
|
||||
"nodeupdate",
|
||||
"VoxelManip",
|
||||
"VoxelArea",
|
||||
"PseudoRandom",
|
||||
"ItemStack",
|
||||
"default",
|
||||
"table",
|
||||
"math",
|
||||
"string",
|
||||
}
|
||||
}
|
||||
|
||||
stds.cottages = {
|
||||
globals = {
|
||||
"cottages",
|
||||
},
|
||||
read_globals = {
|
||||
player_api = {
|
||||
fields = {
|
||||
player_attached = {
|
||||
read_only = false,
|
||||
other_fields = true,
|
||||
},
|
||||
},
|
||||
other_fields = true,
|
||||
},
|
||||
|
||||
"carts",
|
||||
"default",
|
||||
"doors",
|
||||
"fs_layout",
|
||||
"futil",
|
||||
"node_entity_queue",
|
||||
"player_monoids",
|
||||
"stairs",
|
||||
"stamina",
|
||||
"unified_inventory",
|
||||
},
|
||||
}
|
Reference in New Issue
Block a user