1
0
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:
fluxionary
2022-10-09 14:13:47 -07:00
committed by flux
parent dbe69bcfaf
commit 846308ef5a
106 changed files with 5594 additions and 4596 deletions

50
.luacheckrc Normal file
View 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",
},
}