adjust indent
This commit is contained in:
parent
3f4695ee36
commit
5bb6fb9fad
@ -1,27 +1,27 @@
|
|||||||
|
|
||||||
mobs:register_arrow("dmobs:fire", {
|
mobs:register_arrow("dmobs:fire", {
|
||||||
visual = "sprite",
|
visual = "sprite",
|
||||||
visual_size = {x = 0.5, y = 0.5},
|
visual_size = {x = 0.5, y = 0.5},
|
||||||
textures = {"dmobs_fire.png"},
|
textures = {"dmobs_fire.png"},
|
||||||
velocity = 8,
|
velocity = 8,
|
||||||
tail = 1, -- enable tail
|
tail = 1, -- enable tail
|
||||||
tail_texture = "fire_basic_flame.png",
|
tail_texture = "fire_basic_flame.png",
|
||||||
|
|
||||||
hit_player = function(self, player)
|
hit_player = function(self, player)
|
||||||
player:punch(self.object, 1.0, {
|
player:punch(self.object, 1.0, {
|
||||||
full_punch_interval = 1.0,
|
full_punch_interval = 1.0,
|
||||||
damage_groups = {fleshy = 8},
|
damage_groups = {fleshy = 8},
|
||||||
}, nil)
|
}, nil)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
hit_mob = function(self, player)
|
hit_mob = function(self, player)
|
||||||
player:punch(self.object, 1.0, {
|
player:punch(self.object, 1.0, {
|
||||||
full_punch_interval = 1.0,
|
full_punch_interval = 1.0,
|
||||||
damage_groups = {fleshy = 8},
|
damage_groups = {fleshy = 8},
|
||||||
}, nil)
|
}, nil)
|
||||||
end,
|
end,
|
||||||
|
|
||||||
hit_node = function(self, pos, node)
|
hit_node = function(self, pos, node)
|
||||||
mobs:explosion(pos, 2, 1, 1)
|
mobs:explosion(pos, 2, 1, 1)
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user