Lightning no longer turns villagers to witches

Because witches are incomplete.
Also add villager TODOs.
This commit is contained in:
Wuzzy 2018-06-10 15:22:32 +02:00
parent a804144ed4
commit e051eae5bc
3 changed files with 13 additions and 1 deletions

View file

@ -191,10 +191,14 @@ lightning.strike = function(pos)
obj:set_yaw(rot)
-- villager → witch
elseif lua.name == "mobs_mc:villager" then
-- Witches are incomplete, this code is unused
-- TODO: Enable this code when witches are working.
--[[
local rot = obj:get_yaw()
obj:remove()
obj = minetest.add_entity(pos2, "mobs_mc:witch")
obj:set_yaw(rot)
]]
-- TODO: creeper → charged creeper
elseif lua.name == "mobs_mc:creeper" then