From efb3072458d1e9eac3e5549864f7db7e9b7528b4 Mon Sep 17 00:00:00 2001 From: cora Date: Fri, 14 Oct 2022 00:02:56 +0200 Subject: [PATCH] Add spawn egg colors, fix translator --- mods/ENTITIES/mobs_mc/hoglin+zoglin.lua | 4 ++-- mods/ENTITIES/mobs_mc/piglin.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua b/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua index 694ecc3cd8..f44ce1c089 100644 --- a/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua +++ b/mods/ENTITIES/mobs_mc/hoglin+zoglin.lua @@ -3,7 +3,7 @@ --made for MC like Survival game --License for code WTFPL and otherwise stated in readmes -local S = minetest.get_translator("extra_mobs") +local S = minetest.get_translator("mobs_mc") --################### --################### hoglin @@ -132,4 +132,4 @@ mcl_vars.mg_nether_min, mcl_vars.mg_nether_max) -- spawn eggs -mcl_mobs:register_egg("mobs_mc:hoglin", S("Hoglin"), "extra_mobs_spawn_icon_hoglin.png", 0) +mcl_mobs:register_egg("mobs_mc:hoglin", S("Hoglin"), "#85682e", "#2b2140", 0) diff --git a/mods/ENTITIES/mobs_mc/piglin.lua b/mods/ENTITIES/mobs_mc/piglin.lua index e06da576bd..4503dd3dfc 100644 --- a/mods/ENTITIES/mobs_mc/piglin.lua +++ b/mods/ENTITIES/mobs_mc/piglin.lua @@ -309,5 +309,5 @@ minetest.LIGHT_MAX+1, mcl_vars.mg_lava_nether_max, mcl_vars.mg_nether_max) -- spawn eggs -mcl_mobs:register_egg("mobs_mc:piglin", S("Piglin"), "#00ff00","#000000", 0) -mcl_mobs:register_egg("mobs_mc:piglin_brute", S("Piglin Brute"), "#ff0000","#000000", 0) +mcl_mobs:register_egg("mobs_mc:piglin", S("Piglin"), "#7b4a17","#d5c381", 0) +mcl_mobs:register_egg("mobs_mc:piglin_brute", S("Piglin Brute"), "#562b0c","#ddc89d", 0)