mirror of
https://codeberg.org/tenplus1/mobs_redo.git
synced 2025-04-16 19:00:21 +02:00
added mobs_heart_particle.png
This commit is contained in:
parent
01a60d9a55
commit
3a7b1bbfe6
4
api.lua
4
api.lua
@ -1207,7 +1207,7 @@ function mob_class:breed()
|
|||||||
local prop = self.object:get_properties().collisionbox
|
local prop = self.object:get_properties().collisionbox
|
||||||
|
|
||||||
effect({x = pos.x, y = pos.y + prop[5], z = pos.z}, 8,
|
effect({x = pos.x, y = pos.y + prop[5], z = pos.z}, 8,
|
||||||
"heart.png", 3, 4, 1, 0.1, 1, true)
|
"mobs_heart_particle.png", 3, 4, 1, 0.1, 1, true)
|
||||||
|
|
||||||
local objs = minetest.get_objects_inside_radius(pos, 3)
|
local objs = minetest.get_objects_inside_radius(pos, 3)
|
||||||
local ent
|
local ent
|
||||||
@ -1557,7 +1557,7 @@ function mob_class:smart_mobs(s, p, dist, dtime)
|
|||||||
size = 4,
|
size = 4,
|
||||||
collisiondetection = false,
|
collisiondetection = false,
|
||||||
vertical = false,
|
vertical = false,
|
||||||
texture = "heart.png",
|
texture = "mobs_heart_particle.png",
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
end]]
|
end]]
|
||||||
|
@ -23,6 +23,7 @@ THE SOFTWARE.
|
|||||||
Textures borrowed from minetest_game (CC BY-SA 3.0):
|
Textures borrowed from minetest_game (CC BY-SA 3.0):
|
||||||
mobs_tnt_smoke.png
|
mobs_tnt_smoke.png
|
||||||
mobs_bubble_particle.png
|
mobs_bubble_particle.png
|
||||||
|
mobs_heart_particle.png
|
||||||
|
|
||||||
Textures under CC0 license by TenPlus1
|
Textures under CC0 license by TenPlus1
|
||||||
|
|
||||||
|
BIN
textures/mobs_heart_particle.png
Normal file
BIN
textures/mobs_heart_particle.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 279 B |
Loading…
x
Reference in New Issue
Block a user