diff --git a/mods/ENTITIES/mcl_mobs/api.lua b/mods/ENTITIES/mcl_mobs/api.lua index 2b610912..21a6b39d 100644 --- a/mods/ENTITIES/mcl_mobs/api.lua +++ b/mods/ENTITIES/mcl_mobs/api.lua @@ -420,13 +420,7 @@ local damage_effect = function(self, damage) pos.y = pos.y + (self.collisionbox[5] - self.collisionbox[2]) * .5 - local texture - -- do we have a single blood texture or multiple? - if type(self.blood_texture) == "table" then - texture = self.blood_texture[random(1, #self.blood_texture)] - else - texture = self.blood_texture - end + local texture = "mobs_blood.png" -- full heart damage (one particle for each 2 HP damage) if amount_large > 0 then effect(pos, amount_large, texture, 2, 2, 1.75, 0, nil, true) @@ -3182,7 +3176,6 @@ minetest.register_entity(name, { group_attack = def.group_attack or false, passive = def.passive or false, knock_back = def.knock_back ~= false, - blood_texture = def.blood_texture or "mobs_blood.png", shoot_offset = def.shoot_offset or 0, floats = def.floats or 1, -- floats in water by default replace_rate = def.replace_rate, diff --git a/mods/ENTITIES/mcl_mobs/api.txt b/mods/ENTITIES/mcl_mobs/api.txt index 3ae95dc5..0373b369 100644 --- a/mods/ENTITIES/mcl_mobs/api.txt +++ b/mods/ENTITIES/mcl_mobs/api.txt @@ -123,8 +123,6 @@ functions needed for the mob to work properly which contains the following: e.g. {"player", "mobs_animal:chicken"}. 'runaway_from' contains a table with mob names to run away from, add "player" to list to runaway from player also. - 'blood_texture' has the texture name to use for droplets e.g. - "mobs_blood.png", or table {"blood1.png", "blood2.png"} 'pathfinding' set to 1 for mobs to use pathfinder feature to locate player, set to 2 so they can build/break also (only works with dogfight attack and when 'mobs_griefing' diff --git a/mods/ENTITIES/mobs_mc/slime+magma_cube.lua b/mods/ENTITIES/mobs_mc/slime+magma_cube.lua index f3f6ba4a..00486499 100644 --- a/mods/ENTITIES/mobs_mc/slime+magma_cube.lua +++ b/mods/ENTITIES/mobs_mc/slime+magma_cube.lua @@ -66,7 +66,6 @@ local slime_big = { textures = {{"mobs_mc_slime.png"}}, visual = "mesh", mesh = "mobs_mc_slime.b3d", - blood_texture ="mobs_mc_slime_blood.png", makes_footstep_sound = true, sounds = { jump = "green_slime_jump", @@ -165,7 +164,6 @@ local magma_cube_big = { textures = {{ "mobs_mc_magmacube.png" }}, visual = "mesh", mesh = "mobs_mc_magmacube.b3d", - blood_texture = "mobs_mc_magmacube_blood.png", makes_footstep_sound = true, sounds = { jump = "mobs_mc_magma_cube_big", diff --git a/mods/ENTITIES/mobs_mc/squid.lua b/mods/ENTITIES/mobs_mc/squid.lua index 28d2fe73..d2a45f44 100644 --- a/mods/ENTITIES/mobs_mc/squid.lua +++ b/mods/ENTITIES/mobs_mc/squid.lua @@ -51,7 +51,6 @@ mobs:register_mob("mobs_mc:squid", { view_range = 16, runaway = true, fear_height = 4, - blood_texture = "mobs_mc_squid_blood.png", }) -- TODO: Behaviour: squirt diff --git a/mods/ENTITIES/mobs_mc/textures/mobs_mc_magmacube_blood.png b/mods/ENTITIES/mobs_mc/textures/mobs_mc_magmacube_blood.png deleted file mode 100644 index 46b699be..00000000 Binary files a/mods/ENTITIES/mobs_mc/textures/mobs_mc_magmacube_blood.png and /dev/null differ diff --git a/mods/ENTITIES/mobs_mc/textures/mobs_mc_slime_blood.png b/mods/ENTITIES/mobs_mc/textures/mobs_mc_slime_blood.png deleted file mode 100644 index 29e94a0e..00000000 Binary files a/mods/ENTITIES/mobs_mc/textures/mobs_mc_slime_blood.png and /dev/null differ diff --git a/mods/ENTITIES/mobs_mc/textures/mobs_mc_squid_blood.png b/mods/ENTITIES/mobs_mc/textures/mobs_mc_squid_blood.png deleted file mode 100644 index a991d65d..00000000 Binary files a/mods/ENTITIES/mobs_mc/textures/mobs_mc_squid_blood.png and /dev/null differ