forked from mrkubax10/industrialtest
Machines now explode when there is too much power transferred
This commit is contained in:
@@ -70,6 +70,7 @@ if industrialtest.mclAvailable then
|
||||
end
|
||||
return itemstack
|
||||
end
|
||||
industrialtest.internal.explode=mcl_explosions.explode
|
||||
end
|
||||
|
||||
-- compatibilty that adds not existing elements
|
||||
@@ -647,6 +648,10 @@ if industrialtest.mclAvailable then
|
||||
y_min=mcl_vars.mg_overworld_min
|
||||
})
|
||||
elseif industrialtest.mtgAvailable then
|
||||
industrialtest.internal.explode=function(pos,radius)
|
||||
tnt.boom(pos,{radius=radius})
|
||||
end
|
||||
|
||||
industrialtest.registerMetal=function(name,displayName,hardness)
|
||||
minetest.register_craftitem("industrialtest:"..name.."_lump",{
|
||||
description=S(displayName.." Lump"),
|
||||
|
||||
Reference in New Issue
Block a user