mirror of
https://github.com/APercy/airutils.git
synced 2025-07-15 10:46:42 -04:00
added option to disable blast damage
This commit is contained in:
parent
beddd07827
commit
cc10bd1fef
2 changed files with 28 additions and 1 deletions
|
@ -283,7 +283,9 @@ function airutils.destroy(self, by_name)
|
|||
airutils.destroy_inventory(self)
|
||||
self.object:remove()
|
||||
|
||||
airutils.add_blast_damage(pos, 5 + 4, 10)
|
||||
if airutils.blast_damage == true and with_fire == true then
|
||||
airutils.add_blast_damage(pos, 7, 10)
|
||||
end
|
||||
|
||||
--[[pos.y=pos.y+2
|
||||
minetest.add_item({x=pos.x+math.random()-0.5,y=pos.y,z=pos.z+math.random()-0.5},'hidroplane:wings')
|
||||
|
@ -1010,3 +1012,4 @@ function airutils.get_adf_angle(self, pos)
|
|||
return adf
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue