diff --git a/mods/cme/sheep/init.lua b/mods/cme/sheep/init.lua index 065e244..935cabc 100644 --- a/mods/cme/sheep/init.lua +++ b/mods/cme/sheep/init.lua @@ -1,6 +1,6 @@ ---= Sheep for Creatures MOB-Engine (cme) =-- +--= Sheep for Creatures MOB-Engine (cme) - TNG-Version =-- -- Copyright (C) 2015-2016 BlockMen --- Copyright (C) 2016 LNJ +-- Copyright (C) 2016 LNJ -- -- init.lua -- @@ -128,12 +128,14 @@ local def = { texture = "creatures_egg_sheep.png", }, + --[[ spawner = { description = "Sheep Spawner", range = 8, player_range = 20, number = 6, } + ]] }, on_punch = function(self, puncher) @@ -181,7 +183,7 @@ local def = { core.sound_play("hunger_eat", {pos = pos, gain = 1, max_hear_distance = 10}) item:take_item() - + core.log("action", clicker:get_player_name() .. " fed a sheep at " .. core.pos_to_string(pos)) elseif name == "default:shears" and self.has_wool then shear(self, math.random(2, 3), true) diff --git a/mods/legacy/aliases.lua b/mods/legacy/aliases.lua index 607160f..6ba4f2b 100644 --- a/mods/legacy/aliases.lua +++ b/mods/legacy/aliases.lua @@ -134,3 +134,11 @@ core.register_alias("wool:gold", "default:wool_yellow") core.register_alias("creatures:fried_egg", "food:fried_egg") core.register_alias("farming:bread", "food:roll") core.register_alias("farming:flour", "food:flour") + + +-- +-- CME - removed sheep spawner +-- + +core.register_alias("creatures:sheep_spawner", "default:stone") +legacy.register_entity_remove("creatures:sheep_spawner_dummy")