From dbdf0479129414ad6bcd4a825f58602980039ee1 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Tue, 27 Jun 2017 03:59:03 +0200 Subject: [PATCH] Rename horse-related textures --- horse.lua | 26 +++++++++--------- .../{horse.png => mobs_mc_horse_black.png} | Bin .../{horse1.png => mobs_mc_horse_brown.png} | Bin ...{horse3.png => mobs_mc_horse_chestnut.png} | Bin ...horse4.png => mobs_mc_horse_darkbrown.png} | Bin .../{horse5.png => mobs_mc_horse_gray.png} | Bin ...keleton.png => mobs_mc_horse_skeleton.png} | Bin .../{horse2.png => mobs_mc_horse_white.png} | Bin ...rsezombie.png => mobs_mc_horse_zombie.png} | Bin textures/{mule.png => mobs_mc_mule.png} | Bin ...e_inv.png => mobs_mc_spawn_icon_horse.png} | Bin ... => mobs_mc_spawn_icon_horse_skeleton.png} | Bin ...ng => mobs_mc_spawn_icon_horse_zombie.png} | Bin ...le_inv.png => mobs_mc_spawn_icon_mule.png} | Bin 14 files changed, 13 insertions(+), 13 deletions(-) rename textures/{horse.png => mobs_mc_horse_black.png} (100%) rename textures/{horse1.png => mobs_mc_horse_brown.png} (100%) rename textures/{horse3.png => mobs_mc_horse_chestnut.png} (100%) rename textures/{horse4.png => mobs_mc_horse_darkbrown.png} (100%) rename textures/{horse5.png => mobs_mc_horse_gray.png} (100%) rename textures/{horseskeleton.png => mobs_mc_horse_skeleton.png} (100%) rename textures/{horse2.png => mobs_mc_horse_white.png} (100%) rename textures/{horsezombie.png => mobs_mc_horse_zombie.png} (100%) rename textures/{mule.png => mobs_mc_mule.png} (100%) rename textures/{horse_inv.png => mobs_mc_spawn_icon_horse.png} (100%) rename textures/{horseskeleton_inv.png => mobs_mc_spawn_icon_horse_skeleton.png} (100%) rename textures/{horsezombie_inv.png => mobs_mc_spawn_icon_horse_zombie.png} (100%) rename textures/{mule_inv.png => mobs_mc_spawn_icon_mule.png} (100%) diff --git a/horse.lua b/horse.lua index c0dce32..9b51abb 100644 --- a/horse.lua +++ b/horse.lua @@ -27,12 +27,12 @@ local horse = { run_start = 0, run_end = 40, }, textures = { - {"horse.png"}, - {"horse1.png"}, - {"horse2.png"}, - {"horse3.png"}, - {"horse4.png"}, - {"horse5.png"}, + {"mobs_mc_horse_brown.png"}, + {"mobs_mc_horse_darkbrown.png"}, + {"mobs_mc_horse_white.png"}, + {"mobs_mc_horse_gray.png"}, + {"mobs_mc_horse_black.png"}, + {"mobs_mc_horse_chestnut.png"}, }, fear_height = 4, fly = false, @@ -140,7 +140,7 @@ mobs:register_mob("mobs_mc:horse", horse) -- Skeleton horse local skeleton_horse = table.copy(horse) -skeleton_horse.textures = {{"horseskeleton.png"}} +skeleton_horse.textures = {{"mobs_mc_horse_skeleton.png"}} skeleton_horse.drops = { {name = mobs_mc.items.bone, chance = 1, @@ -156,7 +156,7 @@ mobs:register_mob("mobs_mc:skeleton_horse", skeleton_horse) -- Zombie horse local zombie_horse = table.copy(horse) -zombie_horse.textures = {{"horsezombie.png"}} +zombie_horse.textures = {{"mobs_mc_horse_zombie.png"}} zombie_horse.drops = { {name = mobs_mc.items.rotten_flesh, chance = 1, @@ -173,7 +173,7 @@ mobs:register_mob("mobs_mc:zombie_horse", zombie_horse) -- Mule local mule = table.copy(horse) mule.mesh = "mobs_mc_mule.b3d" -mule.textures = {{"mule.png"},{"mule1.png"}} +mule.textures = {{"mobs_mc_mule.png"}} mule.animation = { speed_normal = 25, stand_start = 0, stand_end = 0, @@ -191,10 +191,10 @@ mobs:register_spawn("mobs_mc:horse", mobs_mc.spawn.grassland_savanna, minetest.L mobs:alias_mob("mobs:horse", "mobs_mc:horse") -- spawn eggs -mobs:register_egg("mobs_mc:horse", "Horse", "horse_inv.png", 0) -mobs:register_egg("mobs_mc:skeleton_horse", "Skeleton Horse", "horseskeleton_inv.png", 0) -mobs:register_egg("mobs_mc:zombie_horse", "Zombie Horse", "horsezombie_inv.png", 0) -mobs:register_egg("mobs_mc:mule", "Mule", "mule_inv.png", 0) +mobs:register_egg("mobs_mc:horse", "Horse", "mobs_mc_spawn_icon_horse.png", 0) +mobs:register_egg("mobs_mc:skeleton_horse", "Skeleton Horse", "mobs_mc_spawn_icon_horse_skeleton.png", 0) +mobs:register_egg("mobs_mc:zombie_horse", "Zombie Horse", "mobs_mc_spawn_icon_horse_zombie.png", 0) +mobs:register_egg("mobs_mc:mule", "Mule", "mobs_mc_spawn_icon_mule.png", 0) if minetest.settings:get_bool("log_mods") then diff --git a/textures/horse.png b/textures/mobs_mc_horse_black.png similarity index 100% rename from textures/horse.png rename to textures/mobs_mc_horse_black.png diff --git a/textures/horse1.png b/textures/mobs_mc_horse_brown.png similarity index 100% rename from textures/horse1.png rename to textures/mobs_mc_horse_brown.png diff --git a/textures/horse3.png b/textures/mobs_mc_horse_chestnut.png similarity index 100% rename from textures/horse3.png rename to textures/mobs_mc_horse_chestnut.png diff --git a/textures/horse4.png b/textures/mobs_mc_horse_darkbrown.png similarity index 100% rename from textures/horse4.png rename to textures/mobs_mc_horse_darkbrown.png diff --git a/textures/horse5.png b/textures/mobs_mc_horse_gray.png similarity index 100% rename from textures/horse5.png rename to textures/mobs_mc_horse_gray.png diff --git a/textures/horseskeleton.png b/textures/mobs_mc_horse_skeleton.png similarity index 100% rename from textures/horseskeleton.png rename to textures/mobs_mc_horse_skeleton.png diff --git a/textures/horse2.png b/textures/mobs_mc_horse_white.png similarity index 100% rename from textures/horse2.png rename to textures/mobs_mc_horse_white.png diff --git a/textures/horsezombie.png b/textures/mobs_mc_horse_zombie.png similarity index 100% rename from textures/horsezombie.png rename to textures/mobs_mc_horse_zombie.png diff --git a/textures/mule.png b/textures/mobs_mc_mule.png similarity index 100% rename from textures/mule.png rename to textures/mobs_mc_mule.png diff --git a/textures/horse_inv.png b/textures/mobs_mc_spawn_icon_horse.png similarity index 100% rename from textures/horse_inv.png rename to textures/mobs_mc_spawn_icon_horse.png diff --git a/textures/horseskeleton_inv.png b/textures/mobs_mc_spawn_icon_horse_skeleton.png similarity index 100% rename from textures/horseskeleton_inv.png rename to textures/mobs_mc_spawn_icon_horse_skeleton.png diff --git a/textures/horsezombie_inv.png b/textures/mobs_mc_spawn_icon_horse_zombie.png similarity index 100% rename from textures/horsezombie_inv.png rename to textures/mobs_mc_spawn_icon_horse_zombie.png diff --git a/textures/mule_inv.png b/textures/mobs_mc_spawn_icon_mule.png similarity index 100% rename from textures/mule_inv.png rename to textures/mobs_mc_spawn_icon_mule.png