From b4a95f223f13275a3bdc7695209163e72973e6fa Mon Sep 17 00:00:00 2001 From: Ombridride Date: Tue, 9 Dec 2014 14:07:44 +0100 Subject: [PATCH] Update dirt monster for multiple textures --- mods/mobs/dirtmonster.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mods/mobs/dirtmonster.lua b/mods/mobs/dirtmonster.lua index 3c921b4f..e3f23c7e 100644 --- a/mods/mobs/dirtmonster.lua +++ b/mods/mobs/dirtmonster.lua @@ -7,7 +7,11 @@ mobs:register_mob("mobs:dirt_monster", { collisionbox = {-0.4, -0.01, -0.4, 0.4, 1.9, 0.4}, visual = "mesh", mesh = "mobs_stone_monster.x", - textures = {"mobs_dirt_monster.png"}, + --textures = {"mobs_dirt_monster.png"}, + available_textures = { + total = 1, + texture_1 = {"mobs_dirt_monster.png"}, + }, visual_size = {x=3, y=2.6}, makes_footstep_sound = true, view_range = 16,