diff --git a/.github/workflows/luacheck.yml b/.github/workflows/luacheck.yml index a13efa9..e94bfa5 100644 --- a/.github/workflows/luacheck.yml +++ b/.github/workflows/luacheck.yml @@ -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 diff --git a/.luacheckrc b/.luacheckrc index 0bf2cdd..2d7f5d2 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -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" +} diff --git a/cavestuff/nodes.lua b/cavestuff/nodes.lua index b0e15d9..a5211d7 100644 --- a/cavestuff/nodes.lua +++ b/cavestuff/nodes.lua @@ -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,