tweak dependencies
This commit is contained in:
parent
76dd8d4b8e
commit
fc2b86e113
@ -1 +0,0 @@
|
|||||||
default?
|
|
15
init.lua
15
init.lua
@ -15,12 +15,15 @@ local function add_fall_damage(node, damage)
|
|||||||
end
|
end
|
||||||
|
|
||||||
-- override falling nodes to add damage
|
-- override falling nodes to add damage
|
||||||
add_fall_damage("default:sand", 2)
|
minetest.after(1.0, function()
|
||||||
add_fall_damage("default:desert_sand", 2)
|
|
||||||
add_fall_damage("default:silver_sand", 2)
|
add_fall_damage("default:sand", 2)
|
||||||
add_fall_damage("default:gravel", 3)
|
add_fall_damage("default:desert_sand", 2)
|
||||||
add_fall_damage("caverealms:coal_dust", 3)
|
add_fall_damage("default:silver_sand", 2)
|
||||||
add_fall_damage("tnt:tnt_burning", 4)
|
add_fall_damage("default:gravel", 3)
|
||||||
|
add_fall_damage("caverealms:coal_dust", 3)
|
||||||
|
add_fall_damage("tnt:tnt_burning", 4)
|
||||||
|
end)
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Falling stuff
|
-- Falling stuff
|
||||||
|
2
mod.conf
2
mod.conf
@ -1,4 +1,4 @@
|
|||||||
name = falling_item
|
name = falling_item
|
||||||
depends =
|
depends =
|
||||||
optional_depends = default, caverealms, tnt
|
optional_depends = default
|
||||||
description = Fixes falling blocks so they don't replace specific nodes, can also have custom functions and be made to harm player when hit by one.
|
description = Fixes falling blocks so they don't replace specific nodes, can also have custom functions and be made to harm player when hit by one.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user