mirror of
https://github.com/Splizard/minetest-mod-snow.git
synced 2024-12-27 15:10:20 +01:00
Small line-to-long style fix and update .luacheckrc
This commit is contained in:
parent
4f4489fc93
commit
9dc9ab3a39
11
.luacheckrc
11
.luacheckrc
@ -1,5 +1,5 @@
|
|||||||
read_globals = {
|
read_globals = {
|
||||||
"dump", "vector", "minetest",
|
"dump", "vector",
|
||||||
"table", "math", "PseudoRandom", "VoxelArea",
|
"table", "math", "PseudoRandom", "VoxelArea",
|
||||||
"stairs", "stairsplus", "skins", "treecapitator",
|
"stairs", "stairsplus", "skins", "treecapitator",
|
||||||
default = {
|
default = {
|
||||||
@ -10,6 +10,15 @@ read_globals = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
other_fields = true
|
other_fields = true
|
||||||
|
},
|
||||||
|
minetest = {
|
||||||
|
fields = {
|
||||||
|
registered_nodes = {
|
||||||
|
read_only = false,
|
||||||
|
other_fields = true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
other_fields = true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
globals = {"snow"}
|
globals = {"snow"}
|
||||||
|
@ -311,7 +311,8 @@ nodedef = {
|
|||||||
-- by player position. ~ LazyJ
|
-- by player position. ~ LazyJ
|
||||||
-- I made this a little harder to dig than snow blocks because
|
-- I made this a little harder to dig than snow blocks because
|
||||||
-- I imagine snow brick as being much more dense and solid than fluffy snow. ~ LazyJ
|
-- I imagine snow brick as being much more dense and solid than fluffy snow. ~ LazyJ
|
||||||
groups = {cracky=2, crumbly=2, choppy=2, oddly_breakable_by_hand=2, melts=1, icemaker=1, cooks_into_ice=1, cools_lava = 1, snowy = 1},
|
groups = {cracky=2, crumbly=2, choppy=2, oddly_breakable_by_hand=2, melts=1,
|
||||||
|
icemaker=1, cooks_into_ice=1, cools_lava = 1, snowy = 1},
|
||||||
--Let's use the new snow sounds instead of the old grass sounds. ~ LazyJ
|
--Let's use the new snow sounds instead of the old grass sounds. ~ LazyJ
|
||||||
sounds = default.node_sound_snow_defaults(),
|
sounds = default.node_sound_snow_defaults(),
|
||||||
-- The "on_construct" part below, thinking in terms of layers,
|
-- The "on_construct" part below, thinking in terms of layers,
|
||||||
|
Loading…
Reference in New Issue
Block a user