Add basic screwdriver support
This commit is contained in:
parent
2b9f37b3e8
commit
320567e1f2
33 changed files with 144 additions and 5 deletions
|
@ -2,3 +2,4 @@ mcl_sounds
|
|||
mcl_core
|
||||
mcl_hunger
|
||||
mcl_death_messages
|
||||
screwdriver?
|
||||
|
|
|
@ -18,6 +18,9 @@ local anvildef = {
|
|||
_mcl_blast_resistance = 6000,
|
||||
_mcl_hardness = 5,
|
||||
}
|
||||
if minetest.get_modpath("screwdriver") then
|
||||
anvildef.on_rotate = screwdriver.rotate_simple
|
||||
end
|
||||
|
||||
local anvildef0 = table.copy(anvildef)
|
||||
anvildef0.description = "Anvil"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue