Add old settings to LuaCheck ignore

These should be updated in another PR to use `settingtypes.txt`.
This commit is contained in:
David Leal 2023-07-19 14:17:26 -06:00
parent 9466484625
commit 1d116a5c1f
No known key found for this signature in database
GPG Key ID: 3C482B03FD220E68
3 changed files with 15 additions and 2 deletions

View File

@ -4,7 +4,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: actions/checkout@v3
- name: apt
run: sudo apt-get install -y luarocks
- name: luacheck install

View File

@ -15,3 +15,16 @@ read_globals = {
"default",
"moretrees",
}
-- TODO: Use `settingtypes.txt` for these old settings.
ignore = {
"Roots", "Auto_Roof_Corner", "REEDMACE_GENERATES", "SMALL_JUNCUS_GENERATES",
"EXTRA_TALL_GRASS_GENERATES", "HAY_DRYING_TIME", "GRASS_REGROWING_TIME", "GRASS_REGROWING_CHANCE",
"JUNCUS_NEAR_WATER_PER_MAPBLOCK", "JUNCUS_NEAR_WATER_RARITY", "JUNCUS_AT_BEACH_PER_MAPBLOCK",
"JUNCUS_AT_BEACH_RARITY", "TALL_GRASS_PER_MAPBLOCK", "TALL_GRASS_RARITY", "AUTO_ROOF_CORNER", "REED_WILL_DRY",
"REED_DRYING_TIME", "REEDMACE_GROWING_TIME", "REEDMACE_GROWING_CHANCE", "REEDMACE_NEAR_WATER_PER_MAPBLOCK",
"REEDMACE_NEAR_WATER_RARITY", "REEDMACE_IN_WATER_PER_MAPBLOCK", "REEDMACE_IN_WATER_RARITY", "REEDMACE_FOR_OASES_PER_MAPBLOCK",
"REEDMACE_FOR_OASES_RARITY", "Big_Twigs", "Twigs_on_ground", "Twigs_on_ground_Max_Count", "Twigs_on_ground_Rarity", "Twigs_on_water",
"Twigs_on_water_Max_Count", "Twigs_on_water_Rarity", "Horizontal_Trunks", "Trunks_Max_Count", "Trunks_Rarity", "Moss_on_ground", "Moss_on_ground_Max_Count",
"Moss_on_ground_Rarity", "Moss_on_trunk", "Moss_on_trunk_Max_Count", "Moss_on_trunk_Rarity"
}

View File

@ -32,7 +32,7 @@ minetest.register_node("cavestuff:pebble_2",{
mesh = "cavestuff_pebble.obj",
tiles = {"undergrowth_pebble.png"},
drop = "cavestuff:pebble_1",
paramtype = "light",
paramtype = "light",
paramtype2 = "facedir",
groups = {cracky=3, stone=1, attached_node=1, not_in_creative_inventory=1},
selection_box = cbox,