From 69d4d5dcad4495b997f9ff7f7b1d4f99e7779da4 Mon Sep 17 00:00:00 2001 From: Ombridride Date: Tue, 9 Dec 2014 14:09:14 +0100 Subject: [PATCH] Update the DM for multiple textures --- mods/mobs/dungeonmaster.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mods/mobs/dungeonmaster.lua b/mods/mobs/dungeonmaster.lua index 5d393ff7..2c41d2cd 100644 --- a/mods/mobs/dungeonmaster.lua +++ b/mods/mobs/dungeonmaster.lua @@ -8,7 +8,13 @@ mobs:register_mob("mobs:dungeon_master", { collisionbox = {-0.7, -0.01, -0.7, 0.7, 2.6, 0.7}, visual = "mesh", mesh = "mobs_dungeon_master.x", - textures = {"mobs_dungeon_master.png"}, + --textures = {"mobs_dungeon_master.png"}, + available_textures = { + total = 3, + texture_1 = {"mobs_dungeon_master.png"}, + texture_2 = {"mobs_dungeon_master_cobblestone.png"}, + texture_3 = {"mobs_dungeon_master_strangewhite.png"}, + }, visual_size = {x=8, y=8}, makes_footstep_sound = true, view_range = 16,