2024-05-26 15:37:06 +02:00
|
|
|
read_globals = {
|
|
|
|
"minetest", "VoxelArea", "ItemStack",
|
2024-04-20 20:00:41 +02:00
|
|
|
"unified_inventory", "sfinv", "smart_inventory", "inventory_plus",
|
2024-05-26 15:37:06 +02:00
|
|
|
"dump",
|
|
|
|
|
|
|
|
table = {fields = {"copy", "indexof", "insert_all"}},
|
|
|
|
vector = {fields = {
|
|
|
|
-- as of 5.0
|
|
|
|
"new", "direction", "distance", "length", "normalize", "floor", "round",
|
2024-05-26 15:42:15 +02:00
|
|
|
"apply", "equals", "sort", "add", "subtract", "multiply", "divide",
|
|
|
|
-- polyfilled
|
|
|
|
"copy"
|
2024-05-26 15:37:06 +02:00
|
|
|
}},
|
2023-06-09 19:48:46 +02:00
|
|
|
}
|
|
|
|
globals = {"worldedit"}
|
2024-05-26 15:37:06 +02:00
|
|
|
|
2023-06-09 19:48:46 +02:00
|
|
|
-- Ignore these errors until someone decides to fix them
|
2023-06-19 18:24:31 +02:00
|
|
|
ignore = {"212", "213", "411", "412", "421", "422", "431", "432", "631"}
|
2024-04-21 23:54:00 +02:00
|
|
|
|
2024-05-26 15:42:15 +02:00
|
|
|
files["worldedit/common.lua"] = {
|
|
|
|
globals = {"vector"},
|
|
|
|
}
|
2024-04-21 23:54:00 +02:00
|
|
|
files["worldedit/test"] = {
|
|
|
|
read_globals = {"testnode1", "testnode2", "testnode3", "area", "check", "place_pattern"},
|
|
|
|
}
|
|
|
|
files["worldedit/test/init.lua"] = {
|
|
|
|
globals = {"testnode1", "testnode2", "testnode3", "area", "check", "place_pattern"},
|
|
|
|
}
|